From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IBybLfTYtF8BMgAA0tVLHw (envelope-from ) for ; Wed, 18 Nov 2020 08:19:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sHGMKfTYtF8WHAAAB5/wlQ (envelope-from ) for ; Wed, 18 Nov 2020 08:19:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10F179402A0 for ; Wed, 18 Nov 2020 08:18:59 +0000 (UTC) Received: from localhost ([::1]:52972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfIg6-00050E-Id for larch@yhetil.org; Wed, 18 Nov 2020 03:18:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfIfh-000506-F0 for help-guix@gnu.org; Wed, 18 Nov 2020 03:18:33 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:39672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfIfe-0002vO-Sa for help-guix@gnu.org; Wed, 18 Nov 2020 03:18:33 -0500 Received: by mail-wr1-x42a.google.com with SMTP id o15so1252866wru.6 for ; Wed, 18 Nov 2020 00:18:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=x0AXXODvdQy+zFqI3CyCAUSuSich7wmTtRidH/Xhjdg=; b=B8kT+5ebWCjy3It0QBD5UKyTgbgh/cY4IgOXYaF/We+B5ODAWa53lvPbQXkuxweDpv tjedJE7vNHF9Pk0sJV36fS759j7E9oaA8yHTkI5GpSGFo+mPy63S1TaztP7R8VJ21iOx fivsX/lyRHTp9Oj8hC+I6uvP6el4E8ij1mbghQUBHZ+P/Kc/xovhJqQmRk/ZatP86KhC yQxnCaC+zhDv7OuSC54UevkMP9FRNSOurr2XHZ0tgKe5QOKcnjFNJUQ7anH20/VWleCn rGwCEGObfAqHvx0A517F4RLZh0n0rnZMPKWOQTLaIYmWDorvlancS/QFEU+ZtqS6kitf dtCg== 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:in-reply-to:references:date :message-id:mime-version; bh=x0AXXODvdQy+zFqI3CyCAUSuSich7wmTtRidH/Xhjdg=; b=SgAbOcdCxMCpYt31GXfnTmkN/lJpktof2ulQARQYiwDV+TtS8SZoc2QCZgv89EQNWe 4Xy5u8hFNsCpK+OgcRCea9di+0UuhgRgJIW0ZHvYvH48KRrtbTCj/8JYB+MhjEpu9d6h bPxl5x/rbwl99bu4EqT0SCE9dJ/5/z3Z7IDsbipN8N6mqmWgKvITxBC+pR7El5K02yaL 8erV50r65j9cCU0tq38liYReNxcyERETrPJHSpUwJ/7+Ybg9cao0y7Nh5oWxFDeHMYCv dDAkmOsxp3a/EQny4rn4ZGjabqYJXgHMLg6pfVfw5KmwtZjWDOdZH5Eci2z3AmR/DxQ3 wpjA== X-Gm-Message-State: AOAM530SpUQa6T1lrb/aecJHZTgq/k5R4OMRd9Rq2amFEZ+At3xJSH8B AroTTeL0AI2YMaNbILax/KdKYjqRK/H2Qg== X-Google-Smtp-Source: ABdhPJwdEucCXWGON5VDy28ZeQA1ABbl0UU3bitqm/RrOSiBu53Ae0jolVloML22GszV8uH47pRZqA== X-Received: by 2002:adf:9e08:: with SMTP id u8mr3449154wre.282.1605687509069; Wed, 18 Nov 2020 00:18:29 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id t136sm2386363wmt.18.2020.11.18.00.18.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 00:18:28 -0800 (PST) From: zimoun To: Kyle Meyer Subject: Re: Workflow with mu4e + magit for sending patchsets to guix? In-Reply-To: <87eekr461w.fsf@kyleam.com> References: <87eekr461w.fsf@kyleam.com> Date: Wed, 18 Nov 2020 09:17:44 +0100 Message-ID: <86blfvm63b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=B8kT+5eb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: XZhs+hUpeQ0X Hi, On Tue, 17 Nov 2020 at 23:55, Kyle Meyer wrote: >>>> 4. !! send-email --to=guix-patches@gnu.org 0000-cover-letter.patch >>>> 5. Wait and refresh my inbox >>>> 6. !! send-email --to=12345@gnu.org 000?-*.patch [...] >> To me, today the main annoyance is the selection of the patches at the >> step #6. For example, avoid to resend unrelated patches, as: [...] > Yeah, I agree about that being the most annoying aspect, but I'd say > that core problem comes from the need for a two-step send. That's a > quirky enough divergence from the standard workflow that I think any > solution/helper here is unlikely to be in the scope of Magit. But that > doesn't mean I don't think it'd be nice to come up with a helper. [...] > As I said, I'm not sold on this being something that fits Magit proper, > but I'll help write a helper :) Instead of Magit, maybe the helper should be in Emacs-Guix. > Here's a command that gets you close to that layout. It adds an > additional "/" directory on top of the structure you show above. > The name is reads from the caller (with a default completion value of > the current branch name). It also depends on the caller having an > upstream branch set (which I think is a good thing), but you could > rework it to avoid it. > > --8<---------------cut here---------------start------------->8--- > (defun my/magit-patch-create-split-directory (name &optional args files) > "Create patches in a split layout. Awesome! Thank you. I am going to add to my config and see how it is going. :-) > (transient-append-suffix 'magit-patch-create "c" > '("s" "Split directory" my/magit-patch-create-split-directory)) > --8<---------------cut here---------------end--------------->8--- Yeah, you are right, it seems better that way than being part of Magit proper. Thanks, simon