unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* browse-url-firefox
@ 2008-01-05 16:31 Eli Zaretskii
  2008-01-05 17:43 ` browse-url-firefox Eli Zaretskii
  2008-01-06  0:40 ` browse-url-firefox Steve Youngs
  0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2008-01-05 16:31 UTC (permalink / raw)
  To: Steve Youngs; +Cc: emacs-devel

The following fragment from browse-url-firefox:

	  (apply 'start-process
		 (concat "firefox " url) nil
		 browse-url-firefox-program
		 (append
		  browse-url-firefox-arguments
		  (if (or (featurep 'dos-w32)
			  (string-match "win32" system-configuration))
		      (list url)
		    (list "-remote"
			  (concat "openURL("
				  url
				  (if (browse-url-maybe-new-window
				       new-window)
				      (if browse-url-firefox-new-window-is-tab
					  ",new-tab"
					",new-window"))
				  ")")))))))

has the effect of invoking Firefox with the URL specified twice on the
command line (so Firefox opens it in two tabs).  I think it's a bug,
and that the right fix is to not (concat "firefox " url), but to use a
literal "firefox" instead.  Does anyone see where I'm wrong?

Steve, do you have any objections to such a change?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-06  0:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-05 16:31 browse-url-firefox Eli Zaretskii
2008-01-05 17:43 ` browse-url-firefox Eli Zaretskii
2008-01-05 18:01   ` browse-url-firefox Gian Uberto Lauri
2008-01-05 18:16   ` browse-url-firefox Lennart Borgman (gmail)
2008-01-06  0:40 ` browse-url-firefox Steve Youngs

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).