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