From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75082 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Sending patch with Gnus Date: Wed, 15 Dec 2010 22:50:04 +0100 Message-ID: References: <871v5i212s.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1292449830 788 80.91.229.12 (15 Dec 2010 21:50:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2010 21:50:30 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org To: Thierry Volpiatto Original-X-From: ding-owner+M23438@lists.math.uh.edu Wed Dec 15 22:50:26 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 1PSzEu-0002ZC-Nk for ding-account@gmane.org; Wed, 15 Dec 2010 22:50:25 +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 1PSzEr-0005os-5b; Wed, 15 Dec 2010 15:50:21 -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 1PSzEp-0005oc-8n for ding@lists.math.uh.edu; Wed, 15 Dec 2010 15:50:19 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PSzEk-0005Lx-Ib for ding@lists.math.uh.edu; Wed, 15 Dec 2010 15:50:19 -0600 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PSzEj-0000ns-Li for ding@gnus.org; Wed, 15 Dec 2010 22:50:13 +0100 Original-Received: by wyf23 with SMTP id 23so1900953wyf.17 for ; Wed, 15 Dec 2010 13:50:07 -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 :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=EsCLV7GJZbUXhCSSkpDSl0YyUTowWEURT6k8xppOtEA=; b=mdOcxl6OpaDSbzkF6nFwRMqtGVclshxw9sFcO9uwCRW9fgBQV9fYketpc88njcxiqg i6muc3ZVkuxITzbz7oefisuRKIdfgly/gA5opU7gecMuCSvon61L2JtBtC3LEaiheIhG E/8TUoedckJmZZ6savuxhz7toPyB8DIwC0eAU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=WFWnPe272qoYtgGztE6ISEATBSfxRiyZ16eGn70MKaYIZ8sIu5u3vqxZTOivospukN W1tHslMDS4D3ECITnyw5vHvGTjll2DjS3QZf66NooeMOZ1yP5HC+09/VkmFRFg/wcAEE Wh/p4TdyNoXevEahIJexhzxp95v5xVrn0ciJ4= Original-Received: by 10.216.185.142 with SMTP id u14mr1421803wem.31.1292449807933; Wed, 15 Dec 2010 13:50:07 -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 b47sm1172628wer.38.2010.12.15.13.50.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Dec 2010 13:50:06 -0800 (PST) In-Reply-To: <871v5i212s.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Wed, 15 Dec 2010 22:11:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75082 gmane.emacs.devel:133727 Archived-At: Thierry Volpiatto writes: > Lars Magne Ingebrigtsen writes: > >> Francis Moreau writes: >> >>> Since Gnus is using Git as SCM, I'm wondering if some of you have a >>> magical function that can be used to send patch easily. >>> >>> For example, git-format-patch(1) generates a patch with all header >>> fields set up such as "Subject, From..." and I'd like to create a new >>> mail automatically from the generated patch using the header fields in >>> the patch. >>> >>> Currently I'm starting a new mail and in the message body I'm inserting >>> the output from git-format-patch(1) and then I do some clean up >>> _manually_. >>> >>> Using git-send-email(1) with its ton of options is too complex for me >>> when I need to send only 1 patch. >> >> This sounds like a good idea, but I think that it might belong more to >> vc-mode than to Gnus, so I've Cc'd it to emacs-devel. >> >> Does the VC system have a general "make-an-email-from-this-patch" >> mechanism? > DVC have this. > M-x dvc-export-via-mail Well, I don't use VC (or DVC) mode because I just prefer using the SCM directly since it allows to do much more things. And IIRC, VC mode do some automatic things which can slow down a lot emacs when dealing with large repos. -- Francis