From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88885 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.gnus.general Subject: Re: Posting Git patch series with Gnus Date: Fri, 29 Nov 2019 10:56:00 +0100 Message-ID: References: <87r21s8fe3.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="189169"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ding@gnus.org To: Florian Weimer Original-X-From: ding-owner+M37089@lists.math.uh.edu Fri Nov 29 10:57:03 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iad1I-000mx7-82 for ding-account@gmane.org; Fri, 29 Nov 2019 10:57:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1iad0Y-0002lD-BU; Fri, 29 Nov 2019 03:56:14 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iad0U-0002iL-Rt for ding@lists.math.uh.edu; Fri, 29 Nov 2019 03:56:10 -0600 Original-Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iad0T-0004sM-AW for ding@lists.math.uh.edu; Fri, 29 Nov 2019 03:56:10 -0600 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iad0N-0007yr-60 for ding@gnus.org; Fri, 29 Nov 2019 10:56:05 +0100 Original-Received: by mail-wr1-x434.google.com with SMTP id z7so30899007wrl.13 for ; Fri, 29 Nov 2019 01:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:message-id :mime-version:content-transfer-encoding; bh=NOFfIpzA1Juiu+dhuLeO5azkiCo0FQk+Ghg4oOm2zuY=; b=c24wgOChWvQl1IWYut5+1lGyKes1nUqBXrPpKfIDkZ8lH/VaQ2nYYLZNAED3AKcloy FK6Duxa8Csy8PS3sFJx4v74AoH13ztqpVj8Rx7AHAnqLg39x1d1kwd+epQbik5GtXM5n SSxqxmfF7K687WFpeGOYVTd57hYz0No0wwQZCIyLJu/GhPZRrS+909BCox9CZ3oBAPxX IkMVYUnSNR7jkpxCDZqdQDhI0w4Kg2jpT357qbxOrnp7O2Y5V6QcjnohEp+lkrGqtDnD 088KQnPGS4hL9SHhdY2TC3atebU5RrLeVkJySld6eoABVwlAuRniFjWScFaF0azdh3NF TNqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=NOFfIpzA1Juiu+dhuLeO5azkiCo0FQk+Ghg4oOm2zuY=; b=nX9uETriubqyeI7LFfV1QQ+UPhVEJV296o3fuVgNFs+N2x5sPF3hghw8/K4goRmYPV /VxqLBPWaQoPYii90cXnCMxwHCF5l9zuhtvhsb0sL6XWcI12/vBiMViApAJRaJhKuXtg 1hRaaw6nHqfXRkY+jup+tEPDteT6r5xUzAqxgMGqc8KHFQNP0Hsma+u7fd8So6/A0DRa 0e923f/Kz9byiFNOlO69Ejhxhjk9ERTMLZFSmEOPWMWCzVqr4xd02vstmqC+zGw4O2Rh xD+8SQhCIN6qAa1jmVzxX/l6UKSFvcMfoRd3rpZeC+fF/ulkNrlC1hNJZ+rx3hA9r7bq WL9g== X-Gm-Message-State: APjAAAW91fkuRj6HOX8rpWkP9t2TcBa21i2jXse9/OPkT6AqO9SpIaAE QvEd91kkLuy+uSddlC0/LCEUQkRSjm0= X-Google-Smtp-Source: APXvYqyyYh2XU12xys5CNJzYLs609eAQcDAOs0K6P7n+W1FYXuJXA7AuAbTPWGL81GjMxcdDfKOAxg== X-Received: by 2002:adf:f789:: with SMTP id q9mr8698463wrp.103.1575021362093; Fri, 29 Nov 2019 01:56:02 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id x9sm26127450wru.32.2019.11.29.01.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2019 01:56:01 -0800 (PST) Gmane-Reply-To-List: yes List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88885 Archived-At: >>>>> On Thu, 28 Nov 2019 11:27:32 +0100, Florian Weimer = said: Florian> Are there any ready-made Lisp macros to post a branch as a pat= ch Florian> series, allowing me to edit the cover letter before actual sen= ding? Florian> Gnus' MIME handling seems to be more reliable than that of git Florian> send-email, and I'd like to use the Gnus setup and not the sli= ghtly Florian> more problematic /usr/sbin/sendmail configuration for sending = mail. Florian> Another benefit is archival of outgoing email in Gnus. Florian> Any suggestions? This doesn=CA=BCt help with the MIME portion [1], but you can create an nnd= raft group called eg 'patches' with 'G m', then do git format-patch --numbered-files -o ~/News/drafts/patches --cover-letter H= EAD~4 Which would create files 0 1 2 3 4, with '0' containing the cover letter. Unfortunately '0' is not a valid article number, so you'd have to script shifting all the numbers up by one. You'd probably want a '--add-header=3DGcc:' to get the gnus archiving to work. Since it=CA=BCs an nndraft group, you can do 'e' on any individual message to edit it, and then use 'D S' to send all messages (or mark individual messages with '#' and do 'D s'). Robert Footnotes: [1] What's wrong with git send-email's mime handling?