From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75189 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Sending patch with Gnus Date: Fri, 17 Dec 2010 08:33:11 +0100 Message-ID: References: <871v5i212s.fsf@tux.homenetwork> <87tyic52u1.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292571222 22169 80.91.229.12 (17 Dec 2010 07:33:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 07:33:42 +0000 (UTC) Cc: ding@gnus.org, emacs-devel To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 17 08:33:35 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTUom-0005nu-Op for ged-emacs-devel@m.gmane.org; Fri, 17 Dec 2010 08:33:32 +0100 Original-Received: from localhost ([127.0.0.1]:45070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTUom-0008US-7K for ged-emacs-devel@m.gmane.org; Fri, 17 Dec 2010 02:33:32 -0500 Original-Received: from [140.186.70.92] (port=34456 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTUoc-0008TW-9T for emacs-devel@gnu.org; Fri, 17 Dec 2010 02:33:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTUoY-0002bh-4g for emacs-devel@gnu.org; Fri, 17 Dec 2010 02:33:22 -0500 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:33814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTUoY-0002bd-0K for emacs-devel@gnu.org; Fri, 17 Dec 2010 02:33:18 -0500 Original-Received: by wwb17 with SMTP id 17so355436wwb.30 for ; Thu, 16 Dec 2010 23:33:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :mail-followup-to:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=3/iH/UXkj259vIhity1PKHXtCVsSfAvgPPGyopPDAa4=; b=GQaN9WxdAUL1347nMgMns3SGyZpj0NLeI6Hcp6YI74gIYE7oHO4T20npw0uBOnNuEB mmX0wg3D0cLeZBH0Cx3Sq+wvu5/k2QojmWOTjALFjZeRjEWjh1dYBN0lTYvl5HqHTzJ/ r+Y6RT3sjbwevTGuUfm/Rj6zGYx7XoBt43l4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; b=ZMKv035Wva8Qja641/m+HV/V2xYVgLeB67qqGihzpClP0wGFQEx3mPxocGiZkuVmij 7jI1DoxxIqKOWTQgNsrwnpGdnL/JvmajuUpKX1GmqWMHDgr+mmhBg57lSXW1gBR6cNOI Zti7uFMfEZ52ibeC2ePChDMuTSbpPSrHe1j14= Original-Received: by 10.227.20.78 with SMTP id e14mr298172wbb.175.1292571196581; Thu, 16 Dec 2010 23:33:16 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id 11sm688065wbi.12.2010.12.16.23.33.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Dec 2010 23:33:14 -0800 (PST) Mail-Followup-To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= , ding@gnus.org, emacs-devel In-Reply-To: <87tyic52u1.fsf@gmail.com> (=?utf-8?B?IsWgdMSbcMOhbiBOxJtt?= =?utf-8?B?ZWMiJ3M=?= message of "Fri, 17 Dec 2010 07:29:58 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133762 gmane.emacs.gnus.general:75189 Archived-At: =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > Lars Magne Ingebrigtsen writes: > >> Leo writes: >> >>>>> I tweaked gnus-dired to support git-send-email (patches attached). So= if >>>>> you have gnus-dired loaded you can in dired buffer: >>>>> >>>>> C-c C-m C-i import patches as DRAFTS >>>>> C-c C-m C-s send patches directly >>>> >>>> Is this for git only, or a general VC mechanism? >>> >>> It imports/sends any mbox files. So not related to any specific VC. >> >> Then the description of these commands is a bit misleading. :-) >> >> But the use case is that you have an entire mbox of messages, and you >> want to send them all? > > Does Gnus have anything akin to Mutt's -H option? > > -H draft > Specify a draft file which contains header and body to use to send a m= essage. > I don't think so and that's mostly the whole point of the discussion. > > I.e., you do `mutt -H ' and Mutt opens the file, you can >edit > it the same as when composing a new message and then send it. Useful > e.g. when sending single patches produced by `git format-patch'. I tried it and that's indeed what I'd like to have with Gnus. Except that Gnus could do better I guess, since I believe it could handle a mbox file embedding several patches... Perhaps it would be interesting to create a /draft/ group like it's possible to create a nndoc group. Also it would be nice if we could create a draft (group) from a buffer (not only from a file), that would avoid to use a temporary mbox file which I find a bit awkward. For example with mutt: $ git format-patch --stdout HEAD~1 | mutt -H Thanks --=20 Francis