From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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