Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: shr-mailto (was Re: `W D D' in shr rendered article)
Date: Tue, 09 Nov 2010 00:21:05 +0100	[thread overview]
Message-ID: <m3pquf7672.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <b4msjzbxve9.fsf@jpl.org>

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Oops, I've reinvented the wheel.  But I tried `browse-url-mail'
> and found there's no user agent that inserts `body' automatically.
> Try this:
>
> (browse-url-mail
>  "mailto:nobody@example.com?subject=test&body=Hello%20World%0d%0a")
>
> As for `message-user-agent', `sendmail-user-agent' and
> `gnus-user-agent', `C-c C-y' yanks the body.

If I `C-y C-y' after evaling that, I get

----
nobody writes:

----

If I then `M-u' to undo, I get

----
Hello World
----

Er...  what!?  That not only seems not quite right, but rather weird,
too.

> But shouldn't it be there from the beginning?  The body part of a
> mailto link is not rendered normally, and maybe no one knows that `C-c
> C-y' is the command to yank its body.  WDYT?

Yes, I think the body part should be there by default.  But I've never
actually seen a mailto link with a body part.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-11-08 23:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1PE6RB-0005wP-00@quimby.gnus.org>
2010-11-05  7:54 ` `W D D' in shr rendered article Katsumi Yamaoka
2010-11-05 16:03   ` Lars Magne Ingebrigtsen
2010-11-08  5:09     ` shr-mailto (was Re: `W D D' in shr rendered article) Katsumi Yamaoka
2010-11-08 21:27       ` Lars Magne Ingebrigtsen
2010-11-08 23:12         ` Katsumi Yamaoka
2010-11-08 23:21           ` Lars Magne Ingebrigtsen [this message]
2010-11-08 23:46             ` Katsumi Yamaoka
2010-11-09  7:08               ` shr-mailto Reiner Steib
2010-11-09  7:59                 ` shr-mailto Katsumi Yamaoka

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=m3pquf7672.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --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).