From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3986 Path: news.gmane.org!not-for-mail From: rdc1x@comcast.net (Robert D. Crawford) Newsgroups: gmane.emacs.gnus.user Subject: probs with firefox and gnus Date: 24 Jul 2004 09:33:21 -0500 Message-ID: <878yd95vbi.fsf@laptop.rdc1.home> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670006 21302 80.91.229.2 (31 Jan 2006 01:13:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:13:26 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:04 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer.monmouth.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 24 Jul 2004 09:33:26 -0500 Original-Sender: rdc@laptop.rdc1.home Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: 68.53.174.63 Original-X-Trace: sv3-2r3K+E9M1/kebUwCjV1u9y/yNx5xOMuTUcdFAiccV6usKjyUM5TyzSNpIjaRxW4YceevBiEOPgE6Jed!GwnVC5cB+rIlYQcHYQjP4AFpHtQRbwBGEAPil9oapskP52I0zb7jrZsG Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4127 Original-Lines: 65 X-Gnus-Article-Number: 4127 Tue Jan 17 17:33:04 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3986 Archived-At: I am new to the world of gnus (about 1.5 weeks) and I am having a bit of a problem getting gnus and firefox to work well together. I found code on the emacs wiki to open an url in a new tab, but it opens in a new window instead. Here is the pertinent info: Debian sid Emacs 21.3 Firefox 0.9.1 The function code looks like this on the site: ;; I have added line numbers for reference in this post only ;; I also changed formatting to keep the lines under ;; 72 characters 1. (defun browse-url-firefox-new-tab (url &optional new-window) 2. "Open URL in a new tab in Firefox." 3. (interactive (browse-url-interactive-arg "URL: ")) 4. (let ((cmd (shell-command-to-string 5. (concat "~/src/firefox/mozilla-xremote-client -a any 'openURL(" 6. url ",new-tab)'")))) 7. (unless (string= "" cmd) 8. (message "Starting Firefox...") 9. (start-process (concat "firefox " url) nil "~/src/firefox/firefox" url) 10. (message "Starting Firefox...done")))) I changed line 5 to read: 5. (concat "/usr/lib/mozilla/mozilla-xremote-client -a any 'openURL(" and 5. (concat "/usr/lib/mozilla-firefox/mozilla-firefox-xremote-client -a any 'openURL(" and 5. (concat "/usr/bin/firefox -a firefox -remote 'openURL(" but none of them seem to work. I also changed line 9 to reflect the local path to firefox. The line in my .emacs that pertains to this reads: '(browse-url-browser-function (quote browse-url-firefox-new-tab)) I have tried google, but I can't seem to find anything. What am I missing here? Thanks, rdc -- <========================================================================> Robert D. Crawford rdc1x@comcast.net Q: What do you call a blind pre-historic animal? A: Diyathinkhesaurus. Q: What do you call a blind pre-historic animal with a dog? A: Diyathinkhesaurus Rex. <========================================================================>