diff options
| author | Glenn Morris | 2015-03-24 23:26:48 -0700 |
|---|---|---|
| committer | Glenn Morris | 2015-03-24 23:26:48 -0700 |
| commit | f314d48159083f9f660fe6a3fb038016a77ae4bf (patch) | |
| tree | 577a2b2f05848832a91cc3df89254dd93e10fe1e | |
| parent | c2385c6f36d346d6524a4119109f52d4fd975244 (diff) | |
| download | emacs-f314d48159083f9f660fe6a3fb038016a77ae4bf.tar.gz emacs-f314d48159083f9f660fe6a3fb038016a77ae4bf.zip | |
browse-url: mark some of the more obsolete stuff as such
* lisp/net/browse-url.el (browse-url-browser-function)
(browse-url-default-browser):
Remove obsolete items from the explicit listing.
(browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
(browse-url-netscape-program, browse-url-netscape-arguments)
(browse-url-netscape-startup-arguments)
(browse-url-galeon-program, browse-url-galeon-arguments)
(browse-url-galeon-startup-arguments)
(browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
(browse-url-galeon-new-window-is-tab)
(browse-url-netscape-new-window-is-tab)
(browse-url-mosaic-program, browse-url-mosaic-arguments)
(browse-url-mosaic-pidfile, browse-url-CCI-port)
(browse-url-CCI-host, browse-url-netscape-version)
(browse-url-netscape, browse-url-netscape-sentinel)
(browse-url-netscape-reload, browse-url-netscape-send)
(browse-url-galeon, browse-url-galeon-sentinel)
(browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
(browse-url-w3-gnudoit): Make obsolete.
* etc/NEWS: Mention this.
* doc/misc/idlwave.texi (HTML Help Browser Tips): Remove obsolete info.
* lisp/ffap.el (ffap-url-fetcher): Simplify default and doc.
* lisp/x-dnd.el: Comment update.
| -rw-r--r-- | doc/misc/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/misc/idlwave.texi | 23 | ||||
| -rw-r--r-- | etc/NEWS | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 23 | ||||
| -rw-r--r-- | lisp/ffap.el | 14 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 154 | ||||
| -rw-r--r-- | lisp/x-dnd.el | 8 |
7 files changed, 99 insertions, 135 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 62f565191dc..b7419b5369b 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,10 +1,15 @@ | |||
| 1 | 2015-03-25 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * idlwave.texi (HTML Help Browser Tips): Remove obsolete info. | ||
| 4 | |||
| 1 | 2015-03-18 Eli Zaretskii <eliz@gnu.org> | 5 | 2015-03-18 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * efaq-w32.texi: Remove outdated information and update. | 7 | * efaq-w32.texi: Remove outdated information and update. |
| 4 | 8 | ||
| 5 | 2015-03-18 Martin Rudalics <rudalics@gmx.at> | 9 | 2015-03-18 Martin Rudalics <rudalics@gmx.at> |
| 6 | 10 | ||
| 7 | * efaq.texi (Fullscreen mode on MS-Windows): Fix description (Bug#20110). | 11 | * efaq.texi (Fullscreen mode on MS-Windows): |
| 12 | Fix description (Bug#20110). | ||
| 8 | 13 | ||
| 9 | 2015-03-04 Michael Albinus <michael.albinus@gmx.de> | 14 | 2015-03-04 Michael Albinus <michael.albinus@gmx.de> |
| 10 | 15 | ||
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi index 7cf9673add5..f6d702c4963 100644 --- a/doc/misc/idlwave.texi +++ b/doc/misc/idlwave.texi | |||
| @@ -3800,31 +3800,25 @@ available, it is the preferred choice, and the default. The variable | |||
| 3800 | whether this help browser is used. If you use the IDL Assistant, the | 3800 | whether this help browser is used. If you use the IDL Assistant, the |
| 3801 | tips here are not relevant. | 3801 | tips here are not relevant. |
| 3802 | 3802 | ||
| 3803 | Since IDLWAVE runs on a many different system types, a single browser | 3803 | Since IDLWAVE runs on many different system types, a single browser |
| 3804 | configuration is not possible, but choices abound. On many systems, | 3804 | configuration is not possible, but choices abound. The default |
| 3805 | the default browser configured in @code{browse-url-browser-function}, | 3805 | @code{idlwave-help-browser-function} inherits the browser configured |
| 3806 | and hence inherited by default by | 3806 | in @code{browse-url-browser-function}. |
| 3807 | @code{idlwave-help-browser-function}, is Netscape. Unfortunately, the | ||
| 3808 | HTML manuals decompiled from the original source contain formatting | ||
| 3809 | structures which Netscape 4.x does not handle well, though they are | ||
| 3810 | still readable. A much better choice is Mozilla, or one of the | ||
| 3811 | Mozilla-derived browsers such as | ||
| 3812 | @uref{http://galeon.sourceforge.net/,Galeon} (GNU/Linux), | ||
| 3813 | @uref{http://www.mozilla.org/projects/camino/,Camino} (MacOSX), or | ||
| 3814 | @uref{http://www.mozilla.org/projects/firebird/,Firebird} (all | ||
| 3815 | platforms). Newer versions of Emacs provide a browser-function choice | ||
| 3816 | @code{browse-url-gnome-moz} which uses the Gnome-configured browser. | ||
| 3817 | 3807 | ||
| 3818 | Note that the HTML files decompiled from the help sources contain | 3808 | Note that the HTML files decompiled from the help sources contain |
| 3819 | specific references to the @samp{Symbol} font, which by default is not | 3809 | specific references to the @samp{Symbol} font, which by default is not |
| 3820 | permitted in normal encodings (it's invalid, technically). Though it | 3810 | permitted in normal encodings (it's invalid, technically). Though it |
| 3821 | only impacts a few symbols, you can trick Mozilla-based browsers into | 3811 | only impacts a few symbols, you can trick Mozilla-based browsers into |
| 3822 | recognizing @samp{Symbol} by following the directions | 3812 | recognizing @samp{Symbol} by following the directions |
| 3813 | @c This page is 11 years old. Is it still relevant? | ||
| 3823 | @uref{http://hutchinson.belmont.ma.us/tth/Xfonts.html, here}. With | 3814 | @uref{http://hutchinson.belmont.ma.us/tth/Xfonts.html, here}. With |
| 3824 | this fix in place, HTML help pages look almost identical to their PDF | 3815 | this fix in place, HTML help pages look almost identical to their PDF |
| 3825 | equivalents (yet can be bookmarked, browsed as history, searched, | 3816 | equivalents (yet can be bookmarked, browsed as history, searched, |
| 3826 | etc.). | 3817 | etc.). |
| 3827 | 3818 | ||
| 3819 | @c Not updated in over a decade. | ||
| 3820 | @C Maybe you want to recommend eww these days. | ||
| 3821 | @ignore | ||
| 3828 | @noindent Individual platform recommendations: | 3822 | @noindent Individual platform recommendations: |
| 3829 | 3823 | ||
| 3830 | @itemize @bullet | 3824 | @itemize @bullet |
| @@ -3861,6 +3855,7 @@ following, to get consistent behavior with the @kbd{q} key: | |||
| 3861 | Note that you can open the file in an external browser from within | 3855 | Note that you can open the file in an external browser from within |
| 3862 | @code{w3m} using @kbd{M}. | 3856 | @code{w3m} using @kbd{M}. |
| 3863 | @end itemize | 3857 | @end itemize |
| 3858 | @end ignore | ||
| 3864 | 3859 | ||
| 3865 | @node Configuration Examples | 3860 | @node Configuration Examples |
| 3866 | @appendix Configuration Examples | 3861 | @appendix Configuration Examples |
| @@ -582,7 +582,10 @@ command line's password prompt. | |||
| 582 | 582 | ||
| 583 | ** Browse-url | 583 | ** Browse-url |
| 584 | 584 | ||
| 585 | *** browse-url now supports the Conkeror Web Browser. | 585 | *** Support for the Conkeror web browser. |
| 586 | |||
| 587 | --- | ||
| 588 | *** Support for several ancient browsers is now officially obsolete. | ||
| 586 | 589 | ||
| 587 | +++ | 590 | +++ |
| 588 | ** tar-mode: new `tar-new-entry' command, allowing for new members to | 591 | ** tar-mode: new `tar-new-entry' command, allowing for new members to |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0d2f59227e9..72a45d0ca7a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2015-03-25 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * net/browse-url.el (browse-url-browser-function) | ||
| 4 | (browse-url-default-browser): | ||
| 5 | Remove obsolete items from the explicit listing. | ||
| 6 | (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes. | ||
| 7 | (browse-url-netscape-program, browse-url-netscape-arguments) | ||
| 8 | (browse-url-netscape-startup-arguments) | ||
| 9 | (browse-url-galeon-program, browse-url-galeon-arguments) | ||
| 10 | (browse-url-galeon-startup-arguments) | ||
| 11 | (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments) | ||
| 12 | (browse-url-galeon-new-window-is-tab) | ||
| 13 | (browse-url-netscape-new-window-is-tab) | ||
| 14 | (browse-url-mosaic-program, browse-url-mosaic-arguments) | ||
| 15 | (browse-url-mosaic-pidfile, browse-url-CCI-port) | ||
| 16 | (browse-url-CCI-host, browse-url-netscape-version) | ||
| 17 | (browse-url-netscape, browse-url-netscape-sentinel) | ||
| 18 | (browse-url-netscape-reload, browse-url-netscape-send) | ||
| 19 | (browse-url-galeon, browse-url-galeon-sentinel) | ||
| 20 | (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci) | ||
| 21 | (browse-url-w3-gnudoit): Make obsolete. | ||
| 22 | * ffap.el (ffap-url-fetcher): Simplify default and doc. | ||
| 23 | |||
| 1 | 2015-03-25 Olaf Rogalsky <olaf.rogalsky@gmail.com> | 24 | 2015-03-25 Olaf Rogalsky <olaf.rogalsky@gmail.com> |
| 2 | 25 | ||
| 3 | * xt-mouse.el: Add mouse-tracking support (bug#19416). | 26 | * xt-mouse.el: Add mouse-tracking support (bug#19416). |
diff --git a/lisp/ffap.el b/lisp/ffap.el index 350a6bdac20..d4e30a05dcc 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el | |||
| @@ -265,20 +265,10 @@ ffap most of the time." | |||
| 265 | :group 'ffap | 265 | :group 'ffap |
| 266 | :risky t) | 266 | :risky t) |
| 267 | 267 | ||
| 268 | (defcustom ffap-url-fetcher | 268 | (defcustom ffap-url-fetcher 'browse-url |
| 269 | (if (fboundp 'browse-url) | ||
| 270 | 'browse-url ; rely on browse-url-browser-function | ||
| 271 | 'w3-fetch) | ||
| 272 | ;; Remote control references: | ||
| 273 | ;; http://www.ncsa.uiuc.edu/SDG/Software/XMosaic/remote-control.html | ||
| 274 | ;; http://home.netscape.com/newsref/std/x-remote.html | ||
| 275 | "A function of one argument, called by ffap to fetch an URL. | 269 | "A function of one argument, called by ffap to fetch an URL. |
| 276 | Reasonable choices are `w3-fetch' or a `browse-url-*' function. | ||
| 277 | For a fancy alternative, get `ffap-url.el'." | 270 | For a fancy alternative, get `ffap-url.el'." |
| 278 | :type '(choice (const w3-fetch) | 271 | :type '(choice (const browse-url) |
| 279 | (const browse-url) ; in recent versions of browse-url | ||
| 280 | (const browse-url-netscape) | ||
| 281 | (const browse-url-mosaic) | ||
| 282 | function) | 272 | function) |
| 283 | :group 'ffap | 273 | :group 'ffap |
| 284 | :risky t) | 274 | :risky t) |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index b44bb71c046..c4ed2332aba 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -31,90 +31,33 @@ | |||
| 31 | ;; different methods of remote control so there is one function for | 31 | ;; different methods of remote control so there is one function for |
| 32 | ;; each supported browser. If the chosen browser is not running, it | 32 | ;; each supported browser. If the chosen browser is not running, it |
| 33 | ;; is started. Currently there is support for the following browsers, | 33 | ;; is started. Currently there is support for the following browsers, |
| 34 | ;; some of them probably now obsolete: | 34 | ;; as well as some other obsolete ones: |
| 35 | 35 | ||
| 36 | ;; Function Browser Earliest version | 36 | ;; Function Browser Earliest version |
| 37 | ;; browse-url-mozilla Mozilla Don't know | 37 | ;; browse-url-mozilla Mozilla Don't know |
| 38 | ;; browse-url-firefox Firefox Don't know (tried with 1.0.1) | 38 | ;; browse-url-firefox Firefox Don't know (tried with 1.0.1) |
| 39 | ;; browse-url-chromium Chromium 3.0 | 39 | ;; browse-url-chromium Chromium 3.0 |
| 40 | ;; browse-url-galeon Galeon Don't know | ||
| 41 | ;; browse-url-epiphany Epiphany Don't know | 40 | ;; browse-url-epiphany Epiphany Don't know |
| 42 | ;; browse-url-netscape Netscape 1.1b1 | ||
| 43 | ;; browse-url-mosaic XMosaic/mMosaic <= 2.4 | ||
| 44 | ;; browse-url-cci XMosaic 2.5 | ||
| 45 | ;; browse-url-conkeror Conkeror Don't know | 41 | ;; browse-url-conkeror Conkeror Don't know |
| 46 | ;; browse-url-w3 w3 0 | 42 | ;; browse-url-w3 w3 0 |
| 47 | ;; browse-url-w3-gnudoit w3 remotely | ||
| 48 | ;; browse-url-text-* Any text browser 0 | 43 | ;; browse-url-text-* Any text browser 0 |
| 49 | ;; browse-url-generic arbitrary | 44 | ;; browse-url-generic arbitrary |
| 50 | ;; browse-url-default-windows-browser MS-Windows browser | 45 | ;; browse-url-default-windows-browser MS-Windows browser |
| 51 | ;; browse-url-default-macosx-browser Mac OS X browser | 46 | ;; browse-url-default-macosx-browser Mac OS X browser |
| 52 | ;; browse-url-xdg-open Free Desktop xdg-open on Gnome, KDE, Xfce4, LXDE | 47 | ;; browse-url-xdg-open Free Desktop xdg-open on Gnome, KDE, Xfce4, LXDE |
| 53 | ;; browse-url-gnome-moz GNOME interface to Mozilla | ||
| 54 | ;; browse-url-kde KDE konqueror (kfm) | 48 | ;; browse-url-kde KDE konqueror (kfm) |
| 55 | ;; browse-url-elinks Elinks Don't know (tried with 0.12.GIT) | 49 | ;; browse-url-elinks Elinks Don't know (tried with 0.12.GIT) |
| 56 | 50 | ||
| 57 | ;; [A version of the Netscape browser is now free software | ||
| 58 | ;; <URL:http://www.mozilla.org/>, albeit not GPLed, so it is | ||
| 59 | ;; reasonable to have that as the default.] | ||
| 60 | |||
| 61 | ;; Note that versions of Netscape before 1.1b1 did not have remote | ||
| 62 | ;; control. <URL:http://www.netscape.com/newsref/std/x-remote.html>. | ||
| 63 | |||
| 64 | ;; Browsers can cache Web pages so it may be necessary to tell them to | 51 | ;; Browsers can cache Web pages so it may be necessary to tell them to |
| 65 | ;; reload the current page if it has changed (e.g., if you have edited | 52 | ;; reload the current page if it has changed (e.g., if you have edited |
| 66 | ;; it). There is currently no perfect automatic solution to this. | 53 | ;; it). There is currently no perfect automatic solution to this. |
| 67 | 54 | ||
| 68 | ;; Netscape allows you to specify the id of the window you want to | ||
| 69 | ;; control but which window DO you want to control and how do you | ||
| 70 | ;; discover its id? | ||
| 71 | |||
| 72 | ;; William M. Perry's excellent "w3" WWW browser for | ||
| 73 | ;; Emacs <URL:ftp://cs.indiana.edu/pub/elisp/w3/> | ||
| 74 | ;; has a function w3-follow-url-at-point, but that | ||
| 75 | ;; doesn't let you edit the URL like browse-url. | ||
| 76 | ;; The `gnuserv' package that can be used to control it in another | ||
| 77 | ;; Emacs process is available from | ||
| 78 | ;; <URL:ftp://ftp.splode.com/pub/users/friedman/packages/>. | ||
| 79 | |||
| 80 | ;; Lynx is now distributed by the FSF. See also | ||
| 81 | ;; <URL:http://lynx.browser.org/>. | ||
| 82 | |||
| 83 | ;; Free graphical browsers that could be used by `browse-url-generic' | ||
| 84 | ;; include Chimera <URL:ftp://ftp.cs.unlv.edu/pub/chimera> and | ||
| 85 | ;; <URL:http://www.unlv.edu/chimera/>, Arena | ||
| 86 | ;; <URL:ftp://ftp.yggdrasil.com/pub/dist/web/arena> and Amaya | ||
| 87 | ;; <URL:ftp://ftp.w3.org/pub/amaya>. mMosaic | ||
| 88 | ;; <URL:ftp://ftp.enst.fr/pub/mbone/mMosaic/>, | ||
| 89 | ;; <URL:http://www.enst.fr/~dauphin/mMosaic/> (with development | ||
| 90 | ;; support for Java applets and multicast) can be used like Mosaic by | ||
| 91 | ;; setting `browse-url-mosaic-program' appropriately. | ||
| 92 | |||
| 93 | ;; I [Denis Howe, not Dave Love] recommend Nelson Minar | ||
| 94 | ;; <nelson@santafe.edu>'s excellent html-helper-mode.el for editing | ||
| 95 | ;; HTML and thank Nelson for his many useful comments on this code. | ||
| 96 | ;; <URL:http://www.santafe.edu/%7Enelson/hhm-beta/> | ||
| 97 | |||
| 98 | ;; See also hm--html-menus <URL:http://www.tnt.uni-hannover.de/%7Emuenkel/ | ||
| 99 | ;; software/own/hm--html-menus/>. For composing correct HTML see also | ||
| 100 | ;; PSGML the general SGML structure editor package | ||
| 101 | ;; <URL:ftp://ftp.lysator.liu.se/pub/sgml>; hm--html-menus can be used | ||
| 102 | ;; with this. | ||
| 103 | |||
| 104 | ;; This package generalizes function html-previewer-process in Marc | 55 | ;; This package generalizes function html-previewer-process in Marc |
| 105 | ;; Andreessen's html-mode (LCD modes/html-mode.el.Z). See also the | 56 | ;; Andreessen's html-mode (LCD modes/html-mode.el.Z). See also the |
| 106 | ;; ffap.el package. The huge hyperbole package also contains similar | 57 | ;; ffap.el package. The huge hyperbole package also contains similar |
| 107 | ;; functions. | 58 | ;; functions. |
| 108 | 59 | ||
| 109 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 60 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 110 | ;; Help! | ||
| 111 | |||
| 112 | ;; Can you write and test some code for the Macintrash and Windoze | ||
| 113 | ;; Netscape remote control APIs? (See the URL above). | ||
| 114 | |||
| 115 | ;; Do any other browsers have remote control? | ||
| 116 | |||
| 117 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 118 | ;; Usage | 61 | ;; Usage |
| 119 | 62 | ||
| 120 | ;; To display the URL at or before point: | 63 | ;; To display the URL at or before point: |
| @@ -170,34 +113,9 @@ | |||
| 170 | ;; To always save modified buffers before displaying the file in a browser: | 113 | ;; To always save modified buffers before displaying the file in a browser: |
| 171 | ;; (setq browse-url-save-file t) | 114 | ;; (setq browse-url-save-file t) |
| 172 | 115 | ||
| 173 | ;; To get round the Netscape caching problem, you could EITHER have | ||
| 174 | ;; write-file in html-helper-mode make Netscape reload the document: | ||
| 175 | ;; | ||
| 176 | ;; (autoload 'browse-url-netscape-reload "browse-url" | ||
| 177 | ;; "Ask a WWW browser to redisplay the current file." t) | ||
| 178 | ;; (add-hook 'html-helper-mode-hook | ||
| 179 | ;; (lambda () | ||
| 180 | ;; (add-hook 'local-write-file-hooks | ||
| 181 | ;; (lambda () | ||
| 182 | ;; (let ((local-write-file-hooks)) | ||
| 183 | ;; (save-buffer)) | ||
| 184 | ;; (browse-url-netscape-reload) | ||
| 185 | ;; t) ; => file written by hook | ||
| 186 | ;; t))) ; append to l-w-f-hooks | ||
| 187 | ;; | ||
| 188 | ;; OR have browse-url-of-file ask Netscape to load and then reload the | ||
| 189 | ;; file: | ||
| 190 | ;; | ||
| 191 | ;; (add-hook 'browse-url-of-file-hook 'browse-url-netscape-reload) | ||
| 192 | |||
| 193 | ;; You may also want to customize browse-url-netscape-arguments, e.g. | ||
| 194 | ;; (setq browse-url-netscape-arguments '("-install")) | ||
| 195 | ;; | ||
| 196 | ;; or similarly for the other browsers. | ||
| 197 | |||
| 198 | ;; To invoke different browsers for different URLs: | 116 | ;; To invoke different browsers for different URLs: |
| 199 | ;; (setq browse-url-browser-function '(("^mailto:" . browse-url-mail) | 117 | ;; (setq browse-url-browser-function '(("^mailto:" . browse-url-mail) |
| 200 | ;; ("." . browse-url-netscape))) | 118 | ;; ("." . browse-url-firefox))) |
| 201 | 119 | ||
| 202 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 120 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 203 | ;;; Code: | 121 | ;;; Code: |
| @@ -226,17 +144,11 @@ function is passed the URL and any other args of `browse-url'. The last | |||
| 226 | regexp should probably be \".\" to specify a default browser." | 144 | regexp should probably be \".\" to specify a default browser." |
| 227 | :type '(choice | 145 | :type '(choice |
| 228 | (function-item :tag "Emacs W3" :value browse-url-w3) | 146 | (function-item :tag "Emacs W3" :value browse-url-w3) |
| 229 | (function-item :tag "W3 in another Emacs via `gnudoit'" | ||
| 230 | :value browse-url-w3-gnudoit) | ||
| 231 | (function-item :tag "eww" :value eww-browse-url) | 147 | (function-item :tag "eww" :value eww-browse-url) |
| 232 | (function-item :tag "Mozilla" :value browse-url-mozilla) | 148 | (function-item :tag "Mozilla" :value browse-url-mozilla) |
| 233 | (function-item :tag "Firefox" :value browse-url-firefox) | 149 | (function-item :tag "Firefox" :value browse-url-firefox) |
| 234 | (function-item :tag "Chromium" :value browse-url-chromium) | 150 | (function-item :tag "Chromium" :value browse-url-chromium) |
| 235 | (function-item :tag "Galeon" :value browse-url-galeon) | ||
| 236 | (function-item :tag "Epiphany" :value browse-url-epiphany) | 151 | (function-item :tag "Epiphany" :value browse-url-epiphany) |
| 237 | (function-item :tag "Netscape" :value browse-url-netscape) | ||
| 238 | (function-item :tag "Mosaic" :value browse-url-mosaic) | ||
| 239 | (function-item :tag "Mosaic using CCI" :value browse-url-cci) | ||
| 240 | (function-item :tag "Conkeror" :value browse-url-conkeror) | 152 | (function-item :tag "Conkeror" :value browse-url-conkeror) |
| 241 | (function-item :tag "Text browser in an xterm window" | 153 | (function-item :tag "Text browser in an xterm window" |
| 242 | :value browse-url-text-xterm) | 154 | :value browse-url-text-xterm) |
| @@ -250,8 +162,6 @@ regexp should probably be \".\" to specify a default browser." | |||
| 250 | :value browse-url-default-windows-browser) | 162 | :value browse-url-default-windows-browser) |
| 251 | (function-item :tag "Default Mac OS X browser" | 163 | (function-item :tag "Default Mac OS X browser" |
| 252 | :value browse-url-default-macosx-browser) | 164 | :value browse-url-default-macosx-browser) |
| 253 | (function-item :tag "GNOME invoking Mozilla" | ||
| 254 | :value browse-url-gnome-moz) | ||
| 255 | (function-item :tag "Default browser" | 165 | (function-item :tag "Default browser" |
| 256 | :value browse-url-default-browser) | 166 | :value browse-url-default-browser) |
| 257 | (function :tag "Your own function") | 167 | (function :tag "Your own function") |
| @@ -284,18 +194,25 @@ system, given vroot.h from the same directory, with cc flags | |||
| 284 | :type 'string | 194 | :type 'string |
| 285 | :group 'browse-url) | 195 | :group 'browse-url) |
| 286 | 196 | ||
| 197 | (make-obsolete-variable 'browse-url-netscape-program nil "25.1") | ||
| 198 | |||
| 287 | (defcustom browse-url-netscape-arguments nil | 199 | (defcustom browse-url-netscape-arguments nil |
| 288 | "A list of strings to pass to Netscape as arguments." | 200 | "A list of strings to pass to Netscape as arguments." |
| 289 | :type '(repeat (string :tag "Argument")) | 201 | :type '(repeat (string :tag "Argument")) |
| 290 | :group 'browse-url) | 202 | :group 'browse-url) |
| 291 | 203 | ||
| 204 | (make-obsolete-variable 'browse-url-netscape-arguments nil "25.1") | ||
| 205 | |||
| 292 | (defcustom browse-url-netscape-startup-arguments browse-url-netscape-arguments | 206 | (defcustom browse-url-netscape-startup-arguments browse-url-netscape-arguments |
| 293 | "A list of strings to pass to Netscape when it starts up. | 207 | "A list of strings to pass to Netscape when it starts up. |
| 294 | Defaults to the value of `browse-url-netscape-arguments' at the time | 208 | Defaults to the value of `browse-url-netscape-arguments' at the time |
| 295 | `browse-url' is loaded." | 209 | `browse-url' is loaded." |
| 296 | :type '(repeat (string :tag "Argument")) | 210 | :type '(repeat (string :tag "Argument")) |
| 211 | |||
| 297 | :group 'browse-url) | 212 | :group 'browse-url) |
| 298 | 213 | ||
| 214 | (make-obsolete-variable 'browse-url-netscape-startup-arguments nil "25.1") | ||
| 215 | |||
| 299 | (defcustom browse-url-browser-display nil | 216 | (defcustom browse-url-browser-display nil |
| 300 | "The X display for running the browser, if not same as Emacs's." | 217 | "The X display for running the browser, if not same as Emacs's." |
| 301 | :type '(choice string (const :tag "Default" nil)) | 218 | :type '(choice string (const :tag "Default" nil)) |
| @@ -363,11 +280,15 @@ Defaults to the value of `browse-url-firefox-arguments' at the time | |||
| 363 | :type 'string | 280 | :type 'string |
| 364 | :group 'browse-url) | 281 | :group 'browse-url) |
| 365 | 282 | ||
| 283 | (make-obsolete-variable 'browse-url-galeon-program nil "25.1") | ||
| 284 | |||
| 366 | (defcustom browse-url-galeon-arguments nil | 285 | (defcustom browse-url-galeon-arguments nil |
| 367 | "A list of strings to pass to Galeon as arguments." | 286 | "A list of strings to pass to Galeon as arguments." |
| 368 | :type '(repeat (string :tag "Argument")) | 287 | :type '(repeat (string :tag "Argument")) |
| 369 | :group 'browse-url) | 288 | :group 'browse-url) |
| 370 | 289 | ||
| 290 | (make-obsolete-variable 'browse-url-galeon-arguments nil "25.1") | ||
| 291 | |||
| 371 | (defcustom browse-url-galeon-startup-arguments browse-url-galeon-arguments | 292 | (defcustom browse-url-galeon-startup-arguments browse-url-galeon-arguments |
| 372 | "A list of strings to pass to Galeon when it starts up. | 293 | "A list of strings to pass to Galeon when it starts up. |
| 373 | Defaults to the value of `browse-url-galeon-arguments' at the time | 294 | Defaults to the value of `browse-url-galeon-arguments' at the time |
| @@ -375,6 +296,8 @@ Defaults to the value of `browse-url-galeon-arguments' at the time | |||
| 375 | :type '(repeat (string :tag "Argument")) | 296 | :type '(repeat (string :tag "Argument")) |
| 376 | :group 'browse-url) | 297 | :group 'browse-url) |
| 377 | 298 | ||
| 299 | (make-obsolete-variable 'browse-url-galeon-startup-arguments nil "25.1") | ||
| 300 | |||
| 378 | (defcustom browse-url-epiphany-program "epiphany" | 301 | (defcustom browse-url-epiphany-program "epiphany" |
| 379 | "The name by which to invoke Epiphany." | 302 | "The name by which to invoke Epiphany." |
| 380 | :type 'string | 303 | :type 'string |
| @@ -395,12 +318,16 @@ Defaults to the value of `browse-url-epiphany-arguments' at the time | |||
| 395 | ;; GNOME means of invoking either Mozilla or Netscape. | 318 | ;; GNOME means of invoking either Mozilla or Netscape. |
| 396 | (defvar browse-url-gnome-moz-program "gnome-moz-remote") | 319 | (defvar browse-url-gnome-moz-program "gnome-moz-remote") |
| 397 | 320 | ||
| 321 | (make-obsolete-variable 'browse-url-gnome-moz-program nil "25.1") | ||
| 322 | |||
| 398 | (defcustom browse-url-gnome-moz-arguments '() | 323 | (defcustom browse-url-gnome-moz-arguments '() |
| 399 | "A list of strings passed to the GNOME mozilla viewer as arguments." | 324 | "A list of strings passed to the GNOME mozilla viewer as arguments." |
| 400 | :version "21.1" | 325 | :version "21.1" |
| 401 | :type '(repeat (string :tag "Argument")) | 326 | :type '(repeat (string :tag "Argument")) |
| 402 | :group 'browse-url) | 327 | :group 'browse-url) |
| 403 | 328 | ||
| 329 | (make-obsolete-variable 'browse-url-gnome-moz-arguments nil "25.1") | ||
| 330 | |||
| 404 | (defcustom browse-url-mozilla-new-window-is-tab nil | 331 | (defcustom browse-url-mozilla-new-window-is-tab nil |
| 405 | "Whether to open up new windows in a tab or a new window. | 332 | "Whether to open up new windows in a tab or a new window. |
| 406 | If non-nil, then open the URL in a new tab rather than a new window if | 333 | If non-nil, then open the URL in a new tab rather than a new window if |
| @@ -432,6 +359,8 @@ If non-nil, then open the URL in a new tab rather than a new window if | |||
| 432 | :type 'boolean | 359 | :type 'boolean |
| 433 | :group 'browse-url) | 360 | :group 'browse-url) |
| 434 | 361 | ||
| 362 | (make-obsolete-variable 'browse-url-galeon-new-window-is-tab nil "25.1") | ||
| 363 | |||
| 435 | (defcustom browse-url-epiphany-new-window-is-tab nil | 364 | (defcustom browse-url-epiphany-new-window-is-tab nil |
| 436 | "Whether to open up new windows in a tab or a new window. | 365 | "Whether to open up new windows in a tab or a new window. |
| 437 | If non-nil, then open the URL in a new tab rather than a new window if | 366 | If non-nil, then open the URL in a new tab rather than a new window if |
| @@ -447,11 +376,12 @@ window." | |||
| 447 | :type 'boolean | 376 | :type 'boolean |
| 448 | :group 'browse-url) | 377 | :group 'browse-url) |
| 449 | 378 | ||
| 379 | (make-obsolete-variable 'browse-url-netscape-new-window-is-tab nil "25.1") | ||
| 380 | |||
| 450 | (defcustom browse-url-new-window-flag nil | 381 | (defcustom browse-url-new-window-flag nil |
| 451 | "Non-nil means always open a new browser window with appropriate browsers. | 382 | "Non-nil means always open a new browser window with appropriate browsers. |
| 452 | Passing an interactive argument to \\[browse-url], or specific browser | 383 | Passing an interactive argument to \\[browse-url], or specific browser |
| 453 | commands reverses the effect of this variable. Requires Netscape version | 384 | commands reverses the effect of this variable." |
| 454 | 1.1N or later or XMosaic version 2.5 or later if using those browsers." | ||
| 455 | :type 'boolean | 385 | :type 'boolean |
| 456 | :group 'browse-url) | 386 | :group 'browse-url) |
| 457 | 387 | ||
| @@ -461,16 +391,22 @@ commands reverses the effect of this variable. Requires Netscape version | |||
| 461 | :version "20.3" | 391 | :version "20.3" |
| 462 | :group 'browse-url) | 392 | :group 'browse-url) |
| 463 | 393 | ||
| 394 | (make-obsolete-variable 'browse-url-mosaic-program nil "25.1") | ||
| 395 | |||
| 464 | (defcustom browse-url-mosaic-arguments nil | 396 | (defcustom browse-url-mosaic-arguments nil |
| 465 | "A list of strings to pass to Mosaic as arguments." | 397 | "A list of strings to pass to Mosaic as arguments." |
| 466 | :type '(repeat (string :tag "Argument")) | 398 | :type '(repeat (string :tag "Argument")) |
| 467 | :group 'browse-url) | 399 | :group 'browse-url) |
| 468 | 400 | ||
| 401 | (make-obsolete-variable 'browse-url-mosaic-arguments nil "25.1") | ||
| 402 | |||
| 469 | (defcustom browse-url-mosaic-pidfile "~/.mosaicpid" | 403 | (defcustom browse-url-mosaic-pidfile "~/.mosaicpid" |
| 470 | "The name of the pidfile created by Mosaic." | 404 | "The name of the pidfile created by Mosaic." |
| 471 | :type 'string | 405 | :type 'string |
| 472 | :group 'browse-url) | 406 | :group 'browse-url) |
| 473 | 407 | ||
| 408 | (make-obsolete-variable 'browse-url-mosaic-pidfile nil "25.1") | ||
| 409 | |||
| 474 | (defcustom browse-url-conkeror-program "conkeror" | 410 | (defcustom browse-url-conkeror-program "conkeror" |
| 475 | "The name by which to invoke Conkeror." | 411 | "The name by which to invoke Conkeror." |
| 476 | :type 'string | 412 | :type 'string |
| @@ -521,12 +457,8 @@ Used by the `browse-url-of-file' command." | |||
| 521 | :group 'browse-url) | 457 | :group 'browse-url) |
| 522 | 458 | ||
| 523 | (defcustom browse-url-of-file-hook nil | 459 | (defcustom browse-url-of-file-hook nil |
| 524 | "Run after `browse-url-of-file' has asked a browser to load a file. | 460 | "Hook run after `browse-url-of-file' has asked a browser to load a file." |
| 525 | |||
| 526 | Set this to `browse-url-netscape-reload' to force Netscape to load the | ||
| 527 | file rather than displaying a cached copy." | ||
| 528 | :type 'hook | 461 | :type 'hook |
| 529 | :options '(browse-url-netscape-reload) | ||
| 530 | :group 'browse-url) | 462 | :group 'browse-url) |
| 531 | 463 | ||
| 532 | (defcustom browse-url-CCI-port 3003 | 464 | (defcustom browse-url-CCI-port 3003 |
| @@ -536,6 +468,8 @@ the value set in the browser." | |||
| 536 | :type 'integer | 468 | :type 'integer |
| 537 | :group 'browse-url) | 469 | :group 'browse-url) |
| 538 | 470 | ||
| 471 | (make-obsolete-variable 'browse-url-CCI-port nil "25.1") | ||
| 472 | |||
| 539 | (defcustom browse-url-CCI-host "localhost" | 473 | (defcustom browse-url-CCI-host "localhost" |
| 540 | "Host to access XMosaic via CCI. | 474 | "Host to access XMosaic via CCI. |
| 541 | This should be the host name of the machine running XMosaic with CCI | 475 | This should be the host name of the machine running XMosaic with CCI |
| @@ -543,6 +477,8 @@ enabled. The port number should be set in `browse-url-CCI-port'." | |||
| 543 | :type 'string | 477 | :type 'string |
| 544 | :group 'browse-url) | 478 | :group 'browse-url) |
| 545 | 479 | ||
| 480 | (make-obsolete-variable 'browse-url-CCI-host nil "25.1") | ||
| 481 | |||
| 546 | (defvar browse-url-temp-file-name nil) | 482 | (defvar browse-url-temp-file-name nil) |
| 547 | (make-variable-buffer-local 'browse-url-temp-file-name) | 483 | (make-variable-buffer-local 'browse-url-temp-file-name) |
| 548 | 484 | ||
| @@ -594,6 +530,8 @@ incompatibly at version 4." | |||
| 594 | :type 'number | 530 | :type 'number |
| 595 | :group 'browse-url) | 531 | :group 'browse-url) |
| 596 | 532 | ||
| 533 | (make-obsolete-variable 'browse-url-netscape-version nil "25.1") | ||
| 534 | |||
| 597 | (defcustom browse-url-text-browser "lynx" | 535 | (defcustom browse-url-text-browser "lynx" |
| 598 | "The name of the text browser to invoke." | 536 | "The name of the text browser to invoke." |
| 599 | :type 'string | 537 | :type 'string |
| @@ -946,14 +884,14 @@ used instead of `browse-url-new-window-flag'." | |||
| 946 | ((memq system-type '(darwin)) | 884 | ((memq system-type '(darwin)) |
| 947 | 'browse-url-default-macosx-browser) | 885 | 'browse-url-default-macosx-browser) |
| 948 | ((browse-url-can-use-xdg-open) 'browse-url-xdg-open) | 886 | ((browse-url-can-use-xdg-open) 'browse-url-xdg-open) |
| 949 | ((executable-find browse-url-gnome-moz-program) 'browse-url-gnome-moz) | 887 | ;;; ((executable-find browse-url-gnome-moz-program) 'browse-url-gnome-moz) |
| 950 | ((executable-find browse-url-mozilla-program) 'browse-url-mozilla) | 888 | ((executable-find browse-url-mozilla-program) 'browse-url-mozilla) |
| 951 | ((executable-find browse-url-firefox-program) 'browse-url-firefox) | 889 | ((executable-find browse-url-firefox-program) 'browse-url-firefox) |
| 952 | ((executable-find browse-url-chromium-program) 'browse-url-chromium) | 890 | ((executable-find browse-url-chromium-program) 'browse-url-chromium) |
| 953 | ((executable-find browse-url-galeon-program) 'browse-url-galeon) | 891 | ;;; ((executable-find browse-url-galeon-program) 'browse-url-galeon) |
| 954 | ((executable-find browse-url-kde-program) 'browse-url-kde) | 892 | ((executable-find browse-url-kde-program) 'browse-url-kde) |
| 955 | ((executable-find browse-url-netscape-program) 'browse-url-netscape) | 893 | ;;; ((executable-find browse-url-netscape-program) 'browse-url-netscape) |
| 956 | ((executable-find browse-url-mosaic-program) 'browse-url-mosaic) | 894 | ;;; ((executable-find browse-url-mosaic-program) 'browse-url-mosaic) |
| 957 | ((executable-find browse-url-conkeror-program) 'browse-url-conkeror) | 895 | ((executable-find browse-url-conkeror-program) 'browse-url-conkeror) |
| 958 | ((executable-find browse-url-xterm-program) 'browse-url-text-xterm) | 896 | ((executable-find browse-url-xterm-program) 'browse-url-text-xterm) |
| 959 | ((locate-library "w3") 'browse-url-w3) | 897 | ((locate-library "w3") 'browse-url-w3) |
| @@ -1019,6 +957,7 @@ is loaded in a new tab in an existing window instead. | |||
| 1019 | 957 | ||
| 1020 | When called non-interactively, optional second argument NEW-WINDOW is | 958 | When called non-interactively, optional second argument NEW-WINDOW is |
| 1021 | used instead of `browse-url-new-window-flag'." | 959 | used instead of `browse-url-new-window-flag'." |
| 960 | (declare (obsolete nil "25.1")) | ||
| 1022 | (interactive (browse-url-interactive-arg "URL: ")) | 961 | (interactive (browse-url-interactive-arg "URL: ")) |
| 1023 | (setq url (browse-url-encode-url url)) | 962 | (setq url (browse-url-encode-url url)) |
| 1024 | (let* ((process-environment (browse-url-process-environment)) | 963 | (let* ((process-environment (browse-url-process-environment)) |
| @@ -1046,6 +985,7 @@ used instead of `browse-url-new-window-flag'." | |||
| 1046 | 985 | ||
| 1047 | (defun browse-url-netscape-sentinel (process url) | 986 | (defun browse-url-netscape-sentinel (process url) |
| 1048 | "Handle a change to the process communicating with Netscape." | 987 | "Handle a change to the process communicating with Netscape." |
| 988 | (declare (obsolete nil "25.1")) | ||
| 1049 | (or (eq (process-exit-status process) 0) | 989 | (or (eq (process-exit-status process) 0) |
| 1050 | (let* ((process-environment (browse-url-process-environment))) | 990 | (let* ((process-environment (browse-url-process-environment))) |
| 1051 | ;; Netscape not running - start it | 991 | ;; Netscape not running - start it |
| @@ -1057,6 +997,7 @@ used instead of `browse-url-new-window-flag'." | |||
| 1057 | (defun browse-url-netscape-reload () | 997 | (defun browse-url-netscape-reload () |
| 1058 | "Ask Netscape to reload its current document. | 998 | "Ask Netscape to reload its current document. |
| 1059 | How depends on `browse-url-netscape-version'." | 999 | How depends on `browse-url-netscape-version'." |
| 1000 | (declare (obsolete nil "25.1")) | ||
| 1060 | (interactive) | 1001 | (interactive) |
| 1061 | ;; Backwards incompatibility reported by | 1002 | ;; Backwards incompatibility reported by |
| 1062 | ;; <peter.kruse@psychologie.uni-regensburg.de>. | 1003 | ;; <peter.kruse@psychologie.uni-regensburg.de>. |
| @@ -1066,6 +1007,7 @@ How depends on `browse-url-netscape-version'." | |||
| 1066 | 1007 | ||
| 1067 | (defun browse-url-netscape-send (command) | 1008 | (defun browse-url-netscape-send (command) |
| 1068 | "Send a remote control command to Netscape." | 1009 | "Send a remote control command to Netscape." |
| 1010 | (declare (obsolete nil "25.1")) | ||
| 1069 | (let* ((process-environment (browse-url-process-environment))) | 1011 | (let* ((process-environment (browse-url-process-environment))) |
| 1070 | (apply 'start-process "netscape" nil | 1012 | (apply 'start-process "netscape" nil |
| 1071 | browse-url-netscape-program | 1013 | browse-url-netscape-program |
| @@ -1184,6 +1126,7 @@ new tab in an existing window instead. | |||
| 1184 | 1126 | ||
| 1185 | When called non-interactively, optional second argument NEW-WINDOW is | 1127 | When called non-interactively, optional second argument NEW-WINDOW is |
| 1186 | used instead of `browse-url-new-window-flag'." | 1128 | used instead of `browse-url-new-window-flag'." |
| 1129 | (declare (obsolete nil "25.1")) | ||
| 1187 | (interactive (browse-url-interactive-arg "URL: ")) | 1130 | (interactive (browse-url-interactive-arg "URL: ")) |
| 1188 | (setq url (browse-url-encode-url url)) | 1131 | (setq url (browse-url-encode-url url)) |
| 1189 | (let* ((process-environment (browse-url-process-environment)) | 1132 | (let* ((process-environment (browse-url-process-environment)) |
| @@ -1205,6 +1148,7 @@ used instead of `browse-url-new-window-flag'." | |||
| 1205 | 1148 | ||
| 1206 | (defun browse-url-galeon-sentinel (process url) | 1149 | (defun browse-url-galeon-sentinel (process url) |
| 1207 | "Handle a change to the process communicating with Galeon." | 1150 | "Handle a change to the process communicating with Galeon." |
| 1151 | (declare (obsolete nil "25.1")) | ||
| 1208 | (or (eq (process-exit-status process) 0) | 1152 | (or (eq (process-exit-status process) 0) |
| 1209 | (let* ((process-environment (browse-url-process-environment))) | 1153 | (let* ((process-environment (browse-url-process-environment))) |
| 1210 | ;; Galeon is not running - start it | 1154 | ;; Galeon is not running - start it |
| @@ -1287,6 +1231,7 @@ effect of `browse-url-new-window-flag'. | |||
| 1287 | 1231 | ||
| 1288 | When called non-interactively, optional second argument NEW-WINDOW is | 1232 | When called non-interactively, optional second argument NEW-WINDOW is |
| 1289 | used instead of `browse-url-new-window-flag'." | 1233 | used instead of `browse-url-new-window-flag'." |
| 1234 | (declare (obsolete nil "25.1")) | ||
| 1290 | (interactive (browse-url-interactive-arg "URL: ")) | 1235 | (interactive (browse-url-interactive-arg "URL: ")) |
| 1291 | (apply 'start-process (concat "gnome-moz-remote " url) | 1236 | (apply 'start-process (concat "gnome-moz-remote " url) |
| 1292 | nil | 1237 | nil |
| @@ -1315,6 +1260,7 @@ the effect of `browse-url-new-window-flag'. | |||
| 1315 | 1260 | ||
| 1316 | When called non-interactively, optional second argument NEW-WINDOW is | 1261 | When called non-interactively, optional second argument NEW-WINDOW is |
| 1317 | used instead of `browse-url-new-window-flag'." | 1262 | used instead of `browse-url-new-window-flag'." |
| 1263 | (declare (obsolete nil "25.1")) | ||
| 1318 | (interactive (browse-url-interactive-arg "Mosaic URL: ")) | 1264 | (interactive (browse-url-interactive-arg "Mosaic URL: ")) |
| 1319 | (let ((pidfile (expand-file-name browse-url-mosaic-pidfile)) | 1265 | (let ((pidfile (expand-file-name browse-url-mosaic-pidfile)) |
| 1320 | pid) | 1266 | pid) |
| @@ -1365,6 +1311,7 @@ the effect of `browse-url-new-window-flag'. | |||
| 1365 | 1311 | ||
| 1366 | When called non-interactively, optional second argument NEW-WINDOW is | 1312 | When called non-interactively, optional second argument NEW-WINDOW is |
| 1367 | used instead of `browse-url-new-window-flag'." | 1313 | used instead of `browse-url-new-window-flag'." |
| 1314 | (declare (obsolete nil "25.1")) | ||
| 1368 | (interactive (browse-url-interactive-arg "Mosaic URL: ")) | 1315 | (interactive (browse-url-interactive-arg "Mosaic URL: ")) |
| 1369 | (open-network-stream "browse-url" " *browse-url*" | 1316 | (open-network-stream "browse-url" " *browse-url*" |
| 1370 | browse-url-CCI-host browse-url-CCI-port) | 1317 | browse-url-CCI-host browse-url-CCI-port) |
| @@ -1443,6 +1390,7 @@ used instead of `browse-url-new-window-flag'." | |||
| 1443 | "Ask another Emacs running gnuserv to load the URL using the W3 browser. | 1390 | "Ask another Emacs running gnuserv to load the URL using the W3 browser. |
| 1444 | The `browse-url-gnudoit-program' program is used with options given by | 1391 | The `browse-url-gnudoit-program' program is used with options given by |
| 1445 | `browse-url-gnudoit-args'. Default to the URL around or before point." | 1392 | `browse-url-gnudoit-args'. Default to the URL around or before point." |
| 1393 | (declare (obsolete nil "25.1")) | ||
| 1446 | (interactive (browse-url-interactive-arg "W3 URL: ")) | 1394 | (interactive (browse-url-interactive-arg "W3 URL: ")) |
| 1447 | (apply 'start-process (concat "gnudoit:" url) nil | 1395 | (apply 'start-process (concat "gnudoit:" url) nil |
| 1448 | browse-url-gnudoit-program | 1396 | browse-url-gnudoit-program |
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el index 526301327a5..b99db489a99 100644 --- a/lisp/x-dnd.el +++ b/lisp/x-dnd.el | |||
| @@ -217,10 +217,10 @@ WINDOW is the window where the drop happened. ACTION is ignored. | |||
| 217 | DATA is the moz-url, which is formatted as two strings separated by \\r\\n. | 217 | DATA is the moz-url, which is formatted as two strings separated by \\r\\n. |
| 218 | The first string is the URL, the second string is the title of that URL. | 218 | The first string is the URL, the second string is the title of that URL. |
| 219 | DATA is encoded in utf-16. Decode the URL and call `x-dnd-handle-uri-list'." | 219 | DATA is encoded in utf-16. Decode the URL and call `x-dnd-handle-uri-list'." |
| 220 | ;; Mozilla and applications based on it (Galeon for example) uses | 220 | ;; Mozilla and applications based on it use text/unicode, but it is |
| 221 | ;; text/unicode, but it is impossible to tell if it is le or be. Use what | 221 | ;; impossible to tell if it is le or be. Use what the machine Emacs |
| 222 | ;; the machine Emacs runs on use. This loses if dropping between machines | 222 | ;; runs on uses. This loses if dropping between machines |
| 223 | ;; with different endian, but it is the best we can do. | 223 | ;; with different endian-ness, but it is the best we can do. |
| 224 | (let* ((coding (if (eq (byteorder) ?B) 'utf-16be 'utf-16le)) | 224 | (let* ((coding (if (eq (byteorder) ?B) 'utf-16be 'utf-16le)) |
| 225 | (string (decode-coding-string data coding)) | 225 | (string (decode-coding-string data coding)) |
| 226 | (strings (split-string string "[\r\n]" t)) | 226 | (strings (split-string string "[\r\n]" t)) |