[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: browse-url & firefox = window overpopulation

I did
 (eq window-system 'x)
   (defun browse-url-firefox (url &optional ignored)
     "Browse URL using a new tab in firefox."
     (interactive "sURL: ")
     (let ((process-environment (cons "DISPLAY=:0.0" process-environment)))
       (call-process "firefox" nil 0 nil
		   (format "openURL(%s, new-tab)" url))))
   (setq browse-url-save-file t)
   (global-set-key "\C-xw" 'browse-url-of-buffer)
   (setq browse-url-generic-program "mozilla")
   (setq browse-url-netscape-program "mozilla")
   (setq browse-url-browser-function
       '(("^mailto:"; . browse-url-mail)
;	 ("^/" . browse-url-netscape)
	 ("^/" . browse-url-firefox)
;	 ("^file:" . browse-url-netscape)
	 ("^file:" . browse-url-firefox)
	 ("." . browse-url-generic)))
but not only does it not open extra windows. It doesn't open any
window. Or something. Maybe related to 261176,

Eric> Do you actually have a window open?


Reply to: