Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Using W3M
@ 2005-02-18 19:22 Matt Jones
  2005-02-19  2:08 ` johnsu01
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Jones @ 2005-02-18 19:22 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using W3M
  2005-02-18 19:22 Using W3M Matt Jones
@ 2005-02-19  2:08 ` johnsu01
  2005-02-19  8:38   ` Matt Jones
  0 siblings, 1 reply; 5+ messages in thread
From: johnsu01 @ 2005-02-19  2:08 UTC (permalink / raw)


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) 

will help.


-- 
-johnsu01
-http://www.wjsullivan.net
-GPG Key: AE8600B6


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using W3M
  2005-02-19  2:08 ` johnsu01
@ 2005-02-19  8:38   ` Matt Jones
  2005-02-19 20:08     ` johnsu01
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Jones @ 2005-02-19  8:38 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using W3M
  2005-02-19  8:38   ` Matt Jones
@ 2005-02-19 20:08     ` johnsu01
  2005-02-20 10:33       ` Matt N. Jones
  0 siblings, 1 reply; 5+ messages in thread
From: johnsu01 @ 2005-02-19 20:08 UTC (permalink / raw)


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?


-- 
-johnsu01
-http://www.wjsullivan.net
-GPG Key: AE8600B6


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using W3M
  2005-02-19 20:08     ` johnsu01
@ 2005-02-20 10:33       ` Matt N. Jones
  0 siblings, 0 replies; 5+ messages in thread
From: Matt N. Jones @ 2005-02-20 10:33 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-20 10:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-18 19:22 Using W3M 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 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).