From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id 2N37EQrXsGEbcAAAsNZ9tg (envelope-from ) for ; Wed, 08 Dec 2021 16:02:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uHntDQrXsGH4QQAA1q6Kng (envelope-from ) for ; Wed, 08 Dec 2021 16:02:18 +0000 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) (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 335B6CF96 for ; Wed, 8 Dec 2021 17:02:14 +0100 (CET) Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4J8MPJ5R6QzQjV0 for ; Wed, 8 Dec 2021 17:02:12 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de From: sourcehut@relevant-information.com To: piem@inbox.kyleam.com Subject: Adding support for editing patches before applying them Date: Wed, 8 Dec 2021 17:01:41 +0100 Message-Id: <20211208160142.84085-1-sourcehut@relevant-information.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1638979337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KvnpDHosKd1HiHrGADePYCckmQ9/vurYogoRdL05uvA=; b=zT8ZiXyOO0/XNfDNYb8dEDtIs3J8xQlnK2xjQDXjg0DjM3NLkaRmgDBuRqUMt6QqV6iwqX 5dPM0tRwDXqIZj1eUNh7Kl5oPvplB6/IU3ofNKbjXfjzf2knR7PxRMLPQhR6206CD4nHaE tHNyPtfIGv/am08poyDNI7VikEaHhmFxCQPoJGEUoPvEV3ENtgZ297NMuuMfPpacYv9C0k rcETMRbM1s3AQy+6pt1u/nTJAyPp21Rz9fVrm7AOpeLdQeXe9OJ9kFWW6guXxx15jPxPrC gVfQPtQZdntxuw3qtr4koG0lNOn5hhwdAwvJIP2TV6Z0z3efizy4/VavEblfqA== ARC-Seal: i=1; s=key1; d=kyleam.com; t=1638979337; a=rsa-sha256; cv=none; b=YPl2bXQ/UAVxroDz8dfHdRwJ8uXW2PVxz4udiqojzqmKnSBrjAeGOyl3rJuLVktg/a6EME 7vd1RQcG7C15WIQtApf2S8UAQ21QeuZXMe0sR3L+YCeqQuqa+fjJ2Dhp2iy0ym1sU/6eZx FZtQ+hKJ9hVJmVzuLUyIRTROHQgW5tLLtQYFY+/+jaiUay5FSuYQNV1rc3RLFjYcGSxDH1 IXtDCS7iHAO9+lqWOHnUK4BkJ8vaiPW5t6xW/rydC6bNqlug2Z24TsIPuHx8iDc5Zuucjg mZkyrSGHD8snoFREQf+d8odM2JPSJTuBeR49shMcn5aj6rsWpKMGtIzHaIOjFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of sourcehut@relevant-information.com designates 80.241.56.151 as permitted sender) smtp.mailfrom=sourcehut@relevant-information.com X-Migadu-Spam-Score: -0.29 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of sourcehut@relevant-information.com designates 80.241.56.151 as permitted sender) smtp.mailfrom=sourcehut@relevant-information.com X-Migadu-Queue-Id: 335B6CF96 X-Spam-Score: -0.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: DimN6y/gqTir Hello, Sometimes it is necessary to edit patches before applying them. These changes allows you to do that for notmuch only by grabbing the mbox string from an *notmuch-mbox-* buffer if it exists, where is the thread ID of the current notmuch message. I've additionally included `piem-notmuch-show-view-mbox-message' which is a fork of `notmuch-show-view-raw-message' that uses "--format=mbox" instead. It also supports opening the entire thread via a prefix argument so that you can apply the entire thread.