info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using W3M


From: Matt N. Jones
Subject: Re: Using W3M
Date: Sun, 20 Feb 2005 10:33:20 GMT
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]