Gnus development mailing list
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
To: ding@gnus.org
Subject: Re: links in mail body
Date: Thu, 02 Sep 2010 22:23:33 +1000	[thread overview]
Message-ID: <87occggwqi.fsf@rimspace.net> (raw)
In-Reply-To: <8762yol5kg.fsf@ericabrahamsen.net>

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> I'm deeply confused about the way that links within email/news bodies are
> treated. It seems to me that links behave differently depending on whether
> the mail is plain text or HTML, and possibly whether it is a mail or news
> item?

Well, between plain text and HTML, certainly, when using w3m (the old way) to
render the mail: it does the w3m thing rather than the Gnus thing.

I use this code to do the right thing inside w3m HTML mail too:

(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)))

Please notice the documented limitation in that advice, of course.

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




  reply	other threads:[~2010-09-02 12:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-02 11:59 Eric Abrahamsen
2010-09-02 12:23 ` Daniel Pittman [this message]
2010-09-02 14:35 ` Lars Magne Ingebrigtsen
2010-09-03  7:12   ` Eric Abrahamsen
2010-09-03 17:36     ` Lars Magne Ingebrigtsen
2010-09-04  2:58       ` Eric Abrahamsen

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=87occggwqi.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).