From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4546 Path: news.gmane.org!not-for-mail From: matt_jones@blueyonder.co.uk (Matt N. Jones) Newsgroups: gmane.emacs.gnus.user Subject: Re: Using W3M Date: Sun, 20 Feb 2005 10:33:20 GMT Message-ID: References: <87k6p58gkb.fsf@ohara.isa-geek.net> <878y5kxqw5.fsf@ohara.isa-geek.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138670436 23724 80.91.229.2 (31 Jan 2006 01:20:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:20:36 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:56 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uio.no!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!pe1.news.blueyonder.co.uk!blueyonder!fe2.news.blueyonder.co.uk.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:RFWqLA0s0SLj3Y1PRpCzevBbGRc= Original-NNTP-Posting-Host: 82.39.117.254 Original-X-Trace: fe2.news.blueyonder.co.uk 1108895600 82.39.117.254 (Sun, 20 Feb 2005 10:33:20 GMT) Original-NNTP-Posting-Date: Sun, 20 Feb 2005 10:33:20 GMT Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4687 Original-Lines: 51 X-Gnus-Article-Number: 4687 Tue Jan 17 17:33:56 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4546 Archived-At: johnsu01 writes: > Matt Jones writes: > >> johnsu01 writes: >> >>> Matt Jones writes: >>> >>>> I'd like to browse URLs I'm sent via email with W3M. I can do this by >>>> positioning the cursor on the url and doing 'M-x w3m'. Should I be able >>>> to simply position the cursor and press return to load W3M with the URL? >>>> If so, what do I need to configure? >>>> >>>> In my .emacs I have: >>>> (require 'w3m-load) >>>> >>>> Matt >>> >>> Something like: >>> >>> (setq browse-url-browser-function 'w3m-browse-url) >> >> Thanks. I've tried that although it still doesn't seem to work. I get >> the error: >> >> Searching for program: No such file of directory, open >> >> I definitely have WŁ3Mand emacs-w3m installed. > > Oh, are you using MS Windows? > > Because I see a line (w32-shell-exectue "open" url) in > browse-url-default-windows-browser. > > Not sure how to help you with that one, but if you are using MS Windows, it > looks like you need to convince it not to use the > browse-url-default-windows-browser function to open the URL. > > If you are not using MS Windows, what does the Backtrace say if you do M-x > toggle-debug-on-error and then try to browse the URL? OK, I've fixed it now. For some reason, I had the following in my .gnus.el (setq gnus-button-url 'browse-url-generic browse-url-generic-program "open") I just removed this and now emacs-w3m is working fine. Thanks for your help Matt