From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: browse-url-firefox Date: Sat, 05 Jan 2008 18:31:22 +0200 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1199550710 17329 80.91.229.12 (5 Jan 2008 16:31:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 16:31:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Steve Youngs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 05 17:32:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBBwO-0007hN-4E for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 17:32:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBBvy-00021q-Dz for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 11:31:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBBvp-0001zN-SQ for emacs-devel@gnu.org; Sat, 05 Jan 2008 11:31:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBBvn-0001yT-82 for emacs-devel@gnu.org; Sat, 05 Jan 2008 11:31:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBBvm-0001yO-Sp for emacs-devel@gnu.org; Sat, 05 Jan 2008 11:31:30 -0500 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBBvm-0007RA-J1 for emacs-devel@gnu.org; Sat, 05 Jan 2008 11:31:30 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-71-78.inter.net.il [80.230.71.78]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JUY84798 (AUTH halo1); Sat, 5 Jan 2008 18:30:57 +0200 (IST) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86191 Archived-At: 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?