Bastien Guerry <[EMAIL PROTECTED]> writes:

> Manish <[EMAIL PROTECTED]> 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.



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to