aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-10-26 03:49:37 +0000
committerRichard M. Stallman2007-10-26 03:49:37 +0000
commit4eff4f67769709eac0c2e5266275625574ea360c (patch)
tree490ecdb2a1562603b5e6879981e3c16d1d5722ff
parentd22b00e51653ed4c81d1e078f1aa4ff9eb6b1a5b (diff)
downloademacs-4eff4f67769709eac0c2e5266275625574ea360c.tar.gz
emacs-4eff4f67769709eac0c2e5266275625574ea360c.zip
(browse-url-browser-function): Delete grail.
(browse-url-grail): Function and variable deleted. (browse-url-browser-function): Delete IXI Mosaic. (browse-url-default-browser): Don't try IXI Mosaic. (browse-url-iximosaic): Function deleted. (browse-url-browser-function): Delete MMM. (browse-url-default-browser): Don't try MMM. (browse-url-mmm): Function deleted.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/net/browse-url.el70
2 files changed, 12 insertions, 69 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c1e597a6b15..2e129f27fa5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,14 @@
12007-10-26 Gwern Branwen <gwern0@gmail.com> (tiny change)
2
3 * net/browse-url.el (browse-url-browser-function): Delete grail.
4 (browse-url-grail): Function and variable deleted.
5 (browse-url-browser-function): Delete IXI Mosaic.
6 (browse-url-default-browser): Don't try IXI Mosaic.
7 (browse-url-iximosaic): Function deleted.
8 (browse-url-browser-function): Delete MMM.
9 (browse-url-default-browser): Don't try MMM.
10 (browse-url-mmm): Function deleted.
11
12007-10-25 Glenn Morris <rgm@gnu.org> 122007-10-25 Glenn Morris <rgm@gnu.org>
2 13
3 * progmodes/f90.el (f90-indented-comment-re) 14 * progmodes/f90.el (f90-indented-comment-re)
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 04f83ed465a..fe76e03f377 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -46,10 +46,7 @@
46;; browse-url-cci XMosaic 2.5 46;; browse-url-cci XMosaic 2.5
47;; browse-url-w3 w3 0 47;; browse-url-w3 w3 0
48;; browse-url-w3-gnudoit w3 remotely 48;; browse-url-w3-gnudoit w3 remotely
49;; browse-url-iximosaic IXI Mosaic ?
50;; browse-url-lynx-* Lynx 0 49;; browse-url-lynx-* Lynx 0
51;; browse-url-grail Grail 0.3b1
52;; browse-url-mmm MMM ?
53;; browse-url-generic arbitrary 50;; browse-url-generic arbitrary
54;; browse-url-default-windows-browser MS-Windows browser 51;; browse-url-default-windows-browser MS-Windows browser
55;; browse-url-default-macosx-browser Mac OS X browser 52;; browse-url-default-macosx-browser Mac OS X browser
@@ -79,14 +76,6 @@
79;; Emacs process is available from 76;; Emacs process is available from
80;; <URL:ftp://ftp.splode.com/pub/users/friedman/packages/>. 77;; <URL:ftp://ftp.splode.com/pub/users/friedman/packages/>.
81 78
82;; Grail is the freely available WWW browser implemented in Python, a
83;; cool object-oriented freely available interpreted language. Grail
84;; 0.3b1 was the first version to have remote control as distributed.
85;; For more information on Grail see
86;; <URL:http://grail.cnri.reston.va.us/> and for more information on
87;; Python see <url:http://www.python.org/>. Grail support in
88;; browse-url.el written by Barry Warsaw <bwarsaw@python.org>.
89
90;; Lynx is now distributed by the FSF. See also 79;; Lynx is now distributed by the FSF. See also
91;; <URL:http://lynx.browser.org/>. 80;; <URL:http://lynx.browser.org/>.
92 81
@@ -255,13 +244,10 @@ regexp should probably be \".\" to specify a default browser."
255 (function-item :tag "Netscape" :value browse-url-netscape) 244 (function-item :tag "Netscape" :value browse-url-netscape)
256 (function-item :tag "Mosaic" :value browse-url-mosaic) 245 (function-item :tag "Mosaic" :value browse-url-mosaic)
257 (function-item :tag "Mosaic using CCI" :value browse-url-cci) 246 (function-item :tag "Mosaic using CCI" :value browse-url-cci)
258 (function-item :tag "IXI Mosaic" :value browse-url-iximosaic)
259 (function-item :tag "Lynx in an xterm window" 247 (function-item :tag "Lynx in an xterm window"
260 :value browse-url-lynx-xterm) 248 :value browse-url-lynx-xterm)
261 (function-item :tag "Lynx in an Emacs window" 249 (function-item :tag "Lynx in an Emacs window"
262 :value browse-url-lynx-emacs) 250 :value browse-url-lynx-emacs)
263 (function-item :tag "Grail" :value browse-url-grail)
264 (function-item :tag "MMM" :value browse-url-mmm)
265 (function-item :tag "KDE" :value browse-url-kde) 251 (function-item :tag "KDE" :value browse-url-kde)
266 (function-item :tag "Specified by `Browse Url Generic Program'" 252 (function-item :tag "Specified by `Browse Url Generic Program'"
267 :value browse-url-generic) 253 :value browse-url-generic)
@@ -856,8 +842,7 @@ When called non-interactively, optional second argument NEW-WINDOW is
856used instead of `browse-url-new-window-flag'. 842used instead of `browse-url-new-window-flag'.
857 843
858The order attempted is gnome-moz-remote, Mozilla, Firefox, 844The order attempted is gnome-moz-remote, Mozilla, Firefox,
859Galeon, Konqueror, Netscape, Mosaic, IXI Mosaic, Lynx in an 845Galeon, Konqueror, Netscape, Mosaic, Lynx in an xterm, and then W3."
860xterm, MMM, and then W3."
861 (apply 846 (apply
862 (cond 847 (cond
863 ((executable-find browse-url-gnome-moz-program) 'browse-url-gnome-moz) 848 ((executable-find browse-url-gnome-moz-program) 'browse-url-gnome-moz)
@@ -867,9 +852,7 @@ xterm, MMM, and then W3."
867 ((executable-find browse-url-kde-program) 'browse-url-kde) 852 ((executable-find browse-url-kde-program) 'browse-url-kde)
868 ((executable-find browse-url-netscape-program) 'browse-url-netscape) 853 ((executable-find browse-url-netscape-program) 'browse-url-netscape)
869 ((executable-find browse-url-mosaic-program) 'browse-url-mosaic) 854 ((executable-find browse-url-mosaic-program) 'browse-url-mosaic)
870 ((executable-find "tellw3b") 'browse-url-iximosaic)
871 ((executable-find browse-url-xterm-program) 'browse-url-lynx-xterm) 855 ((executable-find browse-url-xterm-program) 'browse-url-lynx-xterm)
872 ((executable-find "mmm") 'browse-url-mmm)
873 ((locate-library "w3") 'browse-url-w3) 856 ((locate-library "w3") 'browse-url-w3)
874 (t 857 (t
875 (lambda (&ignore args) (error "No usable browser found")))) 858 (lambda (&ignore args) (error "No usable browser found"))))
@@ -1253,28 +1236,6 @@ used instead of `browse-url-new-window-flag'."
1253 (append browse-url-mosaic-arguments (list url))) 1236 (append browse-url-mosaic-arguments (list url)))
1254 (message "Starting %s...done" browse-url-mosaic-program)))) 1237 (message "Starting %s...done" browse-url-mosaic-program))))
1255 1238
1256;; --- Grail ---
1257
1258(defvar browse-url-grail
1259 (concat (or (getenv "GRAILDIR") "~/.grail") "/user/rcgrail.py")
1260 "Location of Grail remote control client script `rcgrail.py'.
1261Typically found in $GRAILDIR/rcgrail.py, or ~/.grail/user/rcgrail.py.")
1262
1263;;;###autoload
1264(defun browse-url-grail (url &optional new-window)
1265 "Ask the Grail WWW browser to load URL.
1266Default to the URL around or before point. Runs the program in the
1267variable `browse-url-grail'."
1268 (interactive (browse-url-interactive-arg "Grail URL: "))
1269 (message "Sending URL to Grail...")
1270 (with-current-buffer (get-buffer-create " *Shell Command Output*")
1271 (erase-buffer)
1272 ;; don't worry about this failing.
1273 (if (browse-url-maybe-new-window new-window)
1274 (call-process browse-url-grail nil 0 nil "-b" url)
1275 (call-process browse-url-grail nil 0 nil url))
1276 (message "Sending URL to Grail... done")))
1277
1278;; --- Mosaic using CCI --- 1239;; --- Mosaic using CCI ---
1279 1240
1280;;;###autoload 1241;;;###autoload
@@ -1306,17 +1267,6 @@ used instead of `browse-url-new-window-flag'."
1306 (process-send-string "browse-url" "disconnect\r\n") 1267 (process-send-string "browse-url" "disconnect\r\n")
1307 (delete-process "browse-url")) 1268 (delete-process "browse-url"))
1308 1269
1309;; --- IXI Mosaic ---
1310
1311;;;###autoload
1312(defun browse-url-iximosaic (url &optional new-window)
1313 ;; new-window ignored
1314 "Ask the IXIMosaic WWW browser to load URL.
1315Default to the URL around or before point."
1316 (interactive (browse-url-interactive-arg "IXI Mosaic URL: "))
1317 (start-process "tellw3b" nil "tellw3b"
1318 "-service WWW_BROWSER ixi_showurl " url))
1319
1320;; --- W3 --- 1270;; --- W3 ---
1321 1271
1322;;;###autoload 1272;;;###autoload
@@ -1429,24 +1379,6 @@ used instead of `browse-url-new-window-flag'."
1429 url 1379 url
1430 "\r"))))) 1380 "\r")))))
1431 1381
1432;; --- MMM ---
1433
1434;;;###autoload
1435(defun browse-url-mmm (url &optional new-window)
1436 "Ask the MMM WWW browser to load URL.
1437Default to the URL around or before point."
1438 (interactive (browse-url-interactive-arg "MMM URL: "))
1439 (message "Sending URL to MMM...")
1440 (with-current-buffer (get-buffer-create " *Shell Command Output*")
1441 (erase-buffer)
1442 ;; mmm_remote just SEGVs if the file isn't there...
1443 (if (or (file-exists-p (expand-file-name "~/.mmm_remote"))
1444 ;; location in v 0.4:
1445 (file-exists-p (expand-file-name "~/.mmm/remote")))
1446 (call-process "mmm_remote" nil 0 nil url)
1447 (call-process "mmm" nil 0 nil "-external" url))
1448 (message "Sending URL to MMM... done")))
1449
1450;; --- mailto --- 1382;; --- mailto ---
1451 1383
1452(autoload 'rfc2368-parse-mailto-url "rfc2368") 1384(autoload 'rfc2368-parse-mailto-url "rfc2368")