From: Richard G Riley <rileyrgdev@googlemail.com>
To: Bastien Guerry <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Following HTML link from org-mode in existing w3m
Date: Fri, 18 Jul 2008 18:57:54 +0200 [thread overview]
Message-ID: <hgr69rgmel.fsf@richardriley.net> (raw)
In-Reply-To: <877ibj2nqx.fsf@bzg.ath.cx> (Bastien Guerry's message of "Fri, 18 Jul 2008 17:52:38 +0200")
Bastien Guerry <bzg@altern.org> writes:
> Manish <mailtomanish.sharma@gmail.com> 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.
prev parent reply other threads:[~2008-07-18 16:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-18 15:19 Following HTML link from org-mode in existing w3m Csányi Pál
2008-07-18 15:38 ` Manish
2008-07-18 15:52 ` Bastien Guerry
2008-07-18 16:57 ` Richard G Riley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=hgr69rgmel.fsf@richardriley.net \
--to=rileyrgdev@googlemail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.