Katsumi Yamaoka <[EMAIL PROTECTED]> writes: >>>>>> Hadron wrote: > >> To recap : I would like another w3m function which allows me to >> "browse-url" (and thus firefox) for an embedded link. Or is it already >> there? > > Try adding the following snippets to your ~/.emacs-w3m.el file: > > (defun my-w3m-view-this-url-with-firefox () > "View the URL of the link under point using Firefox." > (interactive) > (let ((w3m-goto-article-function 'browse-url-firefox)) > (w3m-safe-view-this-url))) > > (define-key w3m-minor-mode-map "vv" 'my-w3m-view-this-url-with-firefox) > > You can change the `vv' key as you like, but it is a good idea to > use `v'-prefixed keys since Gnus reserves them for user's commands.
Thanks, but is it possible for this function to also work for real "visible" links e.g "follow this link : http://www.bbc.co.com" ? This is the ideal thing - then I have one "browse with firefox" key for both link types. I assume the code would first check if its a visible link and if not then assume a hidden link processable with w3m-safe-view-this-url. Also, whats the "vv" key? If I hit v, it invokes the usual w3m-bookmark with the first v. Thanks for your feedback. _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english