From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75190 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: Sending patch with Gnus Date: Fri, 17 Dec 2010 08:52:07 +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 1292572354 26249 80.91.229.12 (17 Dec 2010 07:52:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 07:52:34 +0000 (UTC) Cc: ding@gnus.org To: Rupert Swarbrick Original-X-From: ding-owner+M23545@lists.math.uh.edu Fri Dec 17 08:52:28 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 1PTV76-0006rP-9E for ding-account@gmane.org; Fri, 17 Dec 2010 08:52:28 +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 1PTV6y-0001hb-OX; Fri, 17 Dec 2010 01:52:20 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PTV6w-0001hN-VN for ding@lists.math.uh.edu; Fri, 17 Dec 2010 01:52:18 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PTV6v-0008Gc-FZ for ding@lists.math.uh.edu; Fri, 17 Dec 2010 01:52:18 -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 1PTV6u-00050L-MN for ding@gnus.org; Fri, 17 Dec 2010 08:52:16 +0100 Original-Received: by wyf23 with SMTP id 23so351308wyf.17 for ; Thu, 16 Dec 2010 23:52:11 -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; bh=i+5tM5khIV2864uGClQ0s80/p6LMhAMx7xn9HJfM2+s=; b=BMAF8OohnApyjNySJXTQTkZClKQCwZ5IJUQ+sl2RyM9i6sVaYjsTOR5Hh8AiOnCEGH Numl82m979C1dIp6VimWvGGbQfWR8xYudkR9bzsWy+SV6DUaiXayPSNesNAAWOsw7zd4 7u2sG2iieE2qAHxHNC2pQADxslYIVDptyCKk0= 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; b=LiO0WBjjlg686MSg/Uvrm/5YtQdLzPUz1DW51v/4E0wtFwnuPeX5tjo648+MDkGb1c s6knX/vZrU5dvNHwU8LBISoTLQ4GjxWc8QnACV5tAr4BkhOE3AtA5r9PhUA9ZYiQ4alB i4B4ABtpL6TaJREiA5lb40hZ/IJAAA1y1vmNE= Original-Received: by 10.216.205.213 with SMTP id j63mr3343510weo.60.1292572331021; Thu, 16 Dec 2010 23:52:11 -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 m6sm481189wej.34.2010.12.16.23.52.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Dec 2010 23:52:09 -0800 (PST) Mail-Followup-To: Rupert Swarbrick , ding@gnus.org In-Reply-To: (Rupert Swarbrick's message of "Fri, 17 Dec 2010 00:53:54 +0000") 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:75190 Archived-At: Rupert Swarbrick writes: > Francis Moreau writes: >> >> BTW, if you needn't to modify the patches and only want to see them >> before sending them then you can currently do this: > >> >> M-! git format-patch --stdout HEAD~4 >/tmp/patch-set.mbox >> C-x b *Group* >> G f /tmp/patch-set.mbox >> >> This will create a nndoc group which contains all your patches as >> articles. >> >> Then you can mark all of them and resend them with 'S D r'. But you >> can't add Cc or Gcc header fields with this method. > > ... so I just tried this on another project's mailing list. Problem: the > result isn't threaded. Sure I didn't ask for to git. > > My 'ideal method' at the moment (inspired by the above) works something > like this > [...] > > Notes: > > Sadly nndoc doesn't let us just edit the mbox inside gnus, although I > suppose I'm not sure how that would work. > Again that's basically the whole point of the discussion. > > More sadly still (and possibly this is me being stupid?), if you > realise something looks rubbish, the obvious approach of C-k killing > the group, editing the mbox file and then doing G f again doesn't > work, because Gnus cleverly caches the emails it seems (when I changed > the number of emails I was getting the wrong ones!). I don't think that's correct. If something need to be corrected, you shouldn't modify the mbox file but instead fix your patchset inside your repo and then regenerate the mbox file. -- Francis