[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Following HTML link from org-mode in existing w3m
From: |
Richard G Riley |
Subject: |
Re: [Orgmode] Following HTML link from org-mode in existing w3m |
Date: |
Fri, 18 Jul 2008 18:57:54 +0200 |
User-agent: |
Emacs 22.2.1/No Gnus v0.11 |
Bastien Guerry <address@hidden> writes:
> Manish <address@hidden> writes:
>
>> > I wish that that the html: link in org-mode can be opened in an
>> > existing w3m window. Is this possible?
>>
>> Should be, it's Emacs after all. Try customizing group browse-url.
>
> I use this:
>
> (setq browse-url-browser-function 'w3m-browse-url)
You might also be interested in this
(global-set-key
(quote [f4])
(lambda()
(interactive)
(cond
((setq url (w3m-url-valid (w3m-anchor)))
(browse-url-firefox url))
(t (command-execute 'browse-url-firefox)))))
(setq browse-url-browser-function 'w3m-browse-url)
Here I can open a "link" in an html email/post in external firefox using
F4 but standard return is w3m. There are many pages where w3m doesn't
cut the mustard. The "cond" statement above extracts the url from a
formatted link in an html article/mail in a w3m/gnus-html buffer.