Summary: | >=app-editors/emacs-24.3: "browse-url-firefox" doesn't work for www-client/firefox{,-bin} >= 36.0. Upstream patch available. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Teika kazura <teika> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mozilla |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Teika kazura
2015-03-03 23:28:18 UTC
CCing mozilla team. Looks like firefox still accepts the -remote option but ignores it. There is no warning or error message and it exits with successful status: $ firefox --version Mozilla Firefox 36.0 $ firefox -remote "openURL(http://www.gentoo.org/,new-tab)" $ echo $? 0 As for the Emacs fix, commit 1b0ebbdb isn't what I would call a clean patch, because it contains several unrelated changes like reformatting of docstrings. So I tend to apply the patch posted in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19921#5 instead. @teika: The patch posted in the upstream bug uses --new-tab and --new-window whereas the emacs-24 commit has -new-tab and -new-window. Any idea why this was changed? Both variants seem to work with firefox-31.4.0 (which documents "-") and firefox-36.0 (which documents "--"). Added to patchsets and fixed in emacs-23.4-r13 and emacs-24.4-r4: http://gitweb.gentoo.org/proj/emacs-tools.git/commit/?h=patchsets&id=a46bb508acc1e3fd08a299243d95fffd5faf6c35 (Upstream documentation at https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options has a single dash for options, so I guess this is the preferred syntax.) There is already an upstream bug for firefox ignoring invalid options: https://bugzilla.mozilla.org/show_bug.cgi?id=1123574 (In reply to Ulrich Müller from comment #1) > CCing mozilla team. Looks like firefox still accepts the -remote option but > ignores it. There is no warning or error message and it exits with > successful status: > > $ firefox --version > Mozilla Firefox 36.0 > $ firefox -remote "openURL(http://www.gentoo.org/,new-tab)" > $ echo $? > 0 > > > As for the Emacs fix, commit 1b0ebbdb isn't what I would call a clean patch, > because it contains several unrelated changes like reformatting of > docstrings. So I tend to apply the patch posted in > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19921#5 instead. > > @teika: The patch posted in the upstream bug uses --new-tab and --new-window > whereas the emacs-24 commit has -new-tab and -new-window. Any idea why this > was changed? Both variants seem to work with firefox-31.4.0 (which documents > "-") and firefox-36.0 (which documents "--"). -remote readded in 36.0.1 which has been committed to the tree. |