Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: matt_jones@blueyonder.co.uk (Matt N. Jones)
Subject: Re: Using W3M
Date: Sun, 20 Feb 2005 10:33:20 GMT	[thread overview]
Message-ID: <m2mztz8qt5.fsf@siteswap.co.uk> (raw)
In-Reply-To: <878y5kxqw5.fsf@ohara.isa-geek.net>

johnsu01 <x@x.x> writes:

> Matt Jones <matt_jones@blueyonder.co.uk> writes:
>
>> johnsu01 <x@x.x> writes:
>>
>>> Matt Jones <matt_jones@blueyonder.co.uk> 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


      reply	other threads:[~2005-02-20 10:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-18 19:22 Matt Jones
2005-02-19  2:08 ` johnsu01
2005-02-19  8:38   ` Matt Jones
2005-02-19 20:08     ` johnsu01
2005-02-20 10:33       ` Matt N. Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2mztz8qt5.fsf@siteswap.co.uk \
    --to=matt_jones@blueyonder.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).