Gnus development mailing list
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
To: ding@gnus.org
Subject: Re: how to view links in an external browser
Date: Sun, 26 Sep 2010 19:35:01 +1000	[thread overview]
Message-ID: <87y6aozw3e.fsf@rimspace.net> (raw)
In-Reply-To: <87iq1tj5g8.fsf@jidanni.org>

jidanni@jidanni.org writes:

> The most one can usually do with links in gnus is click them to view
> with emacs-w3m. One cannot usually get the menu one can select view in
> external browser from, by either right or left clicking. Same with ffap
> links. emacs-snapshot:  Installed: 1:20100916-1

Others pointed out how to get this working for plain-text email.  Inside w3m
rendered HTML things were not so simple, and I use this ugly fellow:

  (defadvice w3m-safe-view-this-url
    (around gnus-open-in-real-browser activate)
    "Cause w3m to open a URL in an external browser, but only within the
  scope of a Gnus mail buffer.  In theory.  It presently doesn't implement
  that limit at all."
    (browse-url (w3m-anchor)))

I don't know how the in-Gnus HTML rendering behaves, though.

        Daniel
-- 
✣ Daniel Pittman            ✉ daniel@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons




      parent reply	other threads:[~2010-09-26  9:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-26  8:04 jidanni
2010-09-26  8:45 ` Sivaram Neelakantan
2010-09-26  9:12   ` Richard Riley
2010-10-26  3:04     ` jidanni
2010-10-26 12:15       ` Richard Riley
2010-09-26  9:35 ` Daniel Pittman [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=87y6aozw3e.fsf@rimspace.net \
    --to=daniel@rimspace.net \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).