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

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

Re: Best way to see html stuff


From: Richard Riley
Subject: Re: Best way to see html stuff
Date: Wed, 17 Dec 2008 17:57:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Tassilo Horn <tassilo@member.fsf.org> writes:

> Torben Knudsen <tk@es.aau.dk> writes:
>
> Hi Torben,
>
>> What is the advantages of using emacs-w3m?
>
> It's inside emacs, so you don't need any window switching and all
> article/summary mode bindings are available.  Indeed, the article buffer
> is the same as usual but rendered nicely.
>
>> How does emacs-w3m compare with firefox?
>
> Firefox renders more correct, especially when the mail contains CSS or
> frames.  But to reply or move to the next article you have to switch
> back to the emacs frame.
>
>> Can I still click on links and se them in firefox?
>
> With RET it'll be opened with emacs-w3m, but I think that there's a way
> to use an external browser.  (For example by advicing the function
> triggered by RET and call browse-url-browser-function whin in
> gnus-article-mode.
>
> Bye,
> Tassilo

I use this which also allows you to use hidden or rendered links in w3m
as well as text urls. Use prefix for launch in your configured external
browser (e.g C-u F4)


,----
| ; use f4 for direct URLs. C-u f4 for external default browser.
| (global-set-key (kbd "<f4>") 'rgr/browse-url)
| 
| (defun rgr/browse-url (arg &optional url)
|   (interactive "P")
|   (setq url (or url (w3m-url-valid (w3m-anchor)) (browse-url-url-at-point) 
(region-or-word-at-point)))
|   (if arg
|       (when url (browse-url-default-browser url))
|     (if  url (browse-url url) (call-interactively 'browse-url))
|     ))
`----



reply via email to

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