Re: [PATCH 3/3] emacs: Handle switch-function argument of notmuch-mua-mail
authorDavid Bremner <david@tethera.net>
Fri, 8 Jan 2016 12:41:31 +0000 (08:41 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:48 +0000 (16:20 -0700)
24/4e0b352afda9d7e50b52aeab4ba18cd477aed7 [new file with mode: 0644]

diff --git a/24/4e0b352afda9d7e50b52aeab4ba18cd477aed7 b/24/4e0b352afda9d7e50b52aeab4ba18cd477aed7
new file mode 100644 (file)
index 0000000..48b47af
--- /dev/null
@@ -0,0 +1,63 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id F25BA6DE0B27\r
+ for <notmuch@notmuchmail.org>; Fri,  8 Jan 2016 04:41:37 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.311\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.311 tagged_above=-999 required=5 tests=[AWL=0.240,\r
+  RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Ofs8QYKsLnal for <notmuch@notmuchmail.org>;\r
+ Fri,  8 Jan 2016 04:41:36 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 372AC6DE0B26\r
+ for <notmuch@notmuchmail.org>; Fri,  8 Jan 2016 04:41:36 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1aHWM8-00054M-JJ; Fri, 08 Jan 2016 07:41:24 -0500\r
+Received: (nullmailer pid 15575 invoked by uid 1000);\r
+ Fri, 08 Jan 2016 12:41:31 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 3/3] emacs: Handle switch-function argument of\r
+ notmuch-mua-mail\r
+In-Reply-To: <1451753265-26713-4-git-send-email-sojkam1@fel.cvut.cz>\r
+References: <1451753265-26713-1-git-send-email-sojkam1@fel.cvut.cz>\r
+ <1451753265-26713-4-git-send-email-sojkam1@fel.cvut.cz>\r
+User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 08 Jan 2016 08:41:31 -0400\r
+Message-ID: <874meo8cqs.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 08 Jan 2016 12:41:38 -0000\r
+\r
+Michal Sojka <sojkam1@fel.cvut.cz> writes:\r
+\r
+> notmuch-mua-mail ignored the switch-function argument and always used\r
+> the function returned by notmuch-mua-get-switch-function instead. In\r
+> order to support standard emacs interfaces (compose-mail in this\r
+> case), this commit changes notmuch-mua-mail to use the switch-function\r
+> argument if it is non-nil and notmuch-mua-get-switch-function\r
+> otherwise.\r
+\r
+pushed 1-3, plus the fixup\r
+\r
+d\r