On Thu, 29 Jul 2004 11:21:11 +0800 Dan Jacobson wrote: > Gentlemen, these didn't open a new window > (setq browse-url-generic-program "mozilla") > (setq browse-url-netscape-program "mozilla") > but they do with firefox. Tips?
May need some tuning but should be a good starting point: (defun firefox-browse-url (url &optional ignored) "Browse URL using a new tab in firefox." (interactive "sURL: ") (let ((process-environment (cons "DISPLAY=:0.0" process-environment))) (call-process "/home/dhansen/bin/firefox/firefox" nil 0 nil "-remote" (format "openURL(%s, new-tab)" url)))) -- David