From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73914 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: shr-mailto (was Re: `W D D' in shr rendered article) Date: Tue, 09 Nov 2010 08:12:14 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1289258046 29590 80.91.229.12 (8 Nov 2010 23:14:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2010 23:14:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22283@lists.math.uh.edu Tue Nov 09 00:14:02 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PFauS-0000J1-37 for ding-account@gmane.org; Tue, 09 Nov 2010 00:13:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PFatc-0003pg-UW; Mon, 08 Nov 2010 17:13:04 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PFata-0003pP-6m for ding@lists.math.uh.edu; Mon, 08 Nov 2010 17:13:02 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PFatV-00040Z-AA for ding@lists.math.uh.edu; Mon, 08 Nov 2010 17:13:01 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PFatU-0005dp-00 for ; Tue, 09 Nov 2010 00:12:56 +0100 Original-Received: from localhost ([127.0.0.1]:56309) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1PFat1-0001jD-BA for ding@gnus.org; Mon, 08 Nov 2010 17:12:27 -0600 X-Hashcash: 1:20:101108:ding@gnus.org::XyuIRDcydEvhVjNY:0000AmMc X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:UDl72LVA4dcelKhT8IZEBLvYhDQ= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73914 Archived-At: Lars Magne Ingebrigtsen writes: > Katsumi Yamaoka writes: >> How about this generic one? > I think calling `browse-url-mailto' would be the easiest thing to do. > (I just discovered the existence of that function after I wrote a new > function `message-mailto'. :-/) 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. 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?