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 4C6A36DE0173 for ; Fri, 4 Nov 2016 08:53:41 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.006 X-Spam-Level: X-Spam-Status: No, score=-0.006 tagged_above=-999 required=5 tests=[AWL=0.005, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 Z50fzcTUt-hx for ; Fri, 4 Nov 2016 08:53:40 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id B05966DE0159 for ; Fri, 4 Nov 2016 08:53:40 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1c2gnw-0003Xa-0A; Fri, 04 Nov 2016 11:53:20 -0400 Received: (nullmailer pid 27096 invoked by uid 1000); Fri, 04 Nov 2016 15:53:35 -0000 From: David Bremner To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH v4] emacs: add notmuch-address-post-completion-hook In-Reply-To: <20161104010243.23316-1-david@tethera.net> References: <87k2ckl9zb.fsf@tesseract.cs.unb.ca> <20161104010243.23316-1-david@tethera.net> Date: Fri, 04 Nov 2016 12:53:35 -0300 Message-ID: <87shr7jl6o.fsf@tesseract.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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, 04 Nov 2016 15:53:41 -0000 David Bremner writes: > This hook can be used to update the message based on the results of > address completion. For example using message-templ or gnus-alias to set > the From address based on the To address just completed. > > The post-completion command is added to the notmuch-company backend to > ensure that the hook is also called company completion is started > without going through notmuch-address-expand-name. See the docstring of > `company-backends' for more information. pushed to master d