From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eAFwDKM19mJPYgAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 13:12:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GBhgC6M19mLvLgEAG6o9tA (envelope-from ) for ; Fri, 12 Aug 2022 13:12:35 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D14C142B52 for ; Fri, 12 Aug 2022 13:12:34 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9F21D5F3FE; Fri, 12 Aug 2022 11:12:32 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 6C8BE5F3E4 for ; Fri, 12 Aug 2022 11:12:29 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id B70FE5FBC0; Fri, 12 Aug 2022 07:12:28 -0400 (EDT) Received: (nullmailer pid 2927988 invoked by uid 1000); Fri, 12 Aug 2022 11:12:27 -0000 From: David Bremner To: Mohsin Kaleem , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: add new option notmuch-search-exclude In-Reply-To: <87fsi8jdz8.fsf@kisara.moe> References: <20211128200207.3455217-1-mohkale@kisara.moe> <8735mij0yo.fsf@tethera.net> <87pmme86cm.fsf@kisara.moe> <8735j9aj4u.fsf@tethera.net> <87wngl4w2n.fsf@kisara.moe> <87zglh92ry.fsf@tethera.net> <87o81xhhto.fsf@kisara.moe> <87v8w591v2.fsf@tethera.net> <87k0clhgw6.fsf@kisara.moe> <87pmm9n7sd.fsf@tethera.net> <87ilnmw7kf.fsf@kisara.moe> <87v8re66mg.fsf@tethera.net> <87fsi8jdz8.fsf@kisara.moe> Date: Fri, 12 Aug 2022 08:12:27 -0300 Message-ID: <87edxlg1gk.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: JKPAPLU2LXTUHFFEW4D2GV6SKBUS3GFA X-Message-ID-Hash: JKPAPLU2LXTUHFFEW4D2GV6SKBUS3GFA X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660302754; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=8kFMNiSi/5Et1v5P9Yvt0M2DrxBv0GOB8ebhJ+qMIDU=; b=Oe9Q5xzRG9EF7yimIQy146TL2u9lEkYip1WCoqHVEEK/6Jo+v7tg5a3xz0EO+uPQwitmwe vVT6kmBBbUjaFX4p/s6o4RBXKwxEpEX8iclNQ1eeOsX0/YjXNNdDbYLhFv/Zws5KveELCO vtdzd2XkF7+umAnjOHqw1UXsF4iozQ8Uj/QVkCUKINYLuOznblVyZy/APK2AkAK+mDYjET ogJauBWzKEU12ygnvddehwvQX0syg9FBjQ0aV/SfxZZgBx4znRgMmx2PvyIXIOQHDnvAXB kGd7Zx1SMlJ4Ws0XPlAt66WeR1ZTxy2dezz/dMf8lds3TzMqlyGck8l47DVqFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660302754; a=rsa-sha256; cv=none; b=m5lj0xQ4y+GPpu9dR8bFaQ213yDVailL5uGQ5hDhsbXj0aYil50cWLMl7R8Y0bGnfGsn54 wdPCpwdkVHDAyepSEm/XhuxiQAA1TGlnWy0xlJUKrTcOz1zL7gLcDoqkooUMk5K13c8i0H j3d5fOiU4AtOu9wZwyhPCIW3c9678ctQ8KU/4OehaRg0nGNwNrLLbN8z1xRIK9iPicT0OR A3lhiZEzjlxeR8tNmmrtk2QtkRwgWq6ciavbj7xq4h6o+44HZ4FGXw/ZQeZ5Tw32FHzRNl rF+UNxKmX8RCbJAbhEveIEOynMLSiXzdyal7I/9Uk/wG5lBfPdZEFM+Uv6hNJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.68 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: D14C142B52 X-Spam-Score: -2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: rYovUhTz8CmD Mohsin Kaleem writes: > > I'm not sure what you mean by the first two patches occur twice, could > you clarify so I can fix the issue? I've dropped the reverted patch and > rebased on top of master so you shouldn't have any issues applying the > patch series now. > For reference, just look at the first and third attachements to your message. These (somehow) describe the same commit / patch. In any case it is fixed in the next iteration using git send-email. >> If possible, please use git send-email to send one-patch-per-message, it >> makes reviewing in notmuch-emacs much easier for me. > > I just used git send-email to send the patch series (I assume it'll be > sent separately). I'd like to ask: > + How do you manage git and email workflows like this for reference? > I haven't found any documentation about it when searching. Some general advice is at https://git-send-email.io/ > + Is there a way to do this with notmuch involved (ideally through emacs > and Magit)? I use git send-email from the command line to send patch series. To review them, I read the resulting threads and reply to individual patches / commits / messages. To apply patch series, you may want to try mailscripts [1]. The description makes it sound debian-centric, but I guess the elisp functions like notmuch-extract-thread-patches are portable. Finally I have some git aliases to apply individual patches: [alias] nmam = "!f() { notmuch extract-patch $1 | git am -; }; f" [alias] nmam8 = "!f() { notmuch extract-patch $1 | email-to-8bit | git am -; }; f" [alias] nmam3 = "!f() { notmuch extract-patch $1 | git am -3 -; }; f" These versions rely on notmuch-extract-patch, from mailscripts [1], but if you don't have that "notmuch show --format=raw" works almost as well. [1]: https://github.com/spwhitton/mailscripts