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 443246DE02DA for ; Tue, 2 May 2017 05:57:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, 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 BZuBgWuE9DfG for ; Tue, 2 May 2017 05:57:36 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 7BC976DE00EB for ; Tue, 2 May 2017 05:57:36 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1d5XM8-0005Dq-1f; Tue, 02 May 2017 08:56:40 -0400 Received: (nullmailer pid 18491 invoked by uid 1000); Tue, 02 May 2017 12:57:28 -0000 From: David Bremner To: Tomi Ollila , Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local In-Reply-To: <874mkcw318.fsf@maritornes.cs.unb.ca> References: <87fv4093sl.fsf@maritornes.cs.unb.ca> <1438718659-11522-1-git-send-email-david@tethera.net> <1438718659-11522-2-git-send-email-david@tethera.net> <874mkcw318.fsf@maritornes.cs.unb.ca> Date: Tue, 02 May 2017 09:57:28 -0300 Message-ID: <874lx3xvpj.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Tue, 02 May 2017 12:57:38 -0000 David Bremner writes: > Tomi Ollila writes: > >> >> One thing come to my mind: would it be possible to use buffer-local >> variable message-fcc-handler-function in notmuch-message-mode buffers so >> that such wrapper functions defined below would not be needed. i.e. >> >> (make-local-variable 'message-fcc-handler-function) >> (setq message-fcc-handler-function #'notmuch-fcc-handler) >> > > This was my first approach, and I actually filed > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21174 > > about why it doesn't work. > > Great minds think alike / Fools seldom differ, as they say ;) > > d For the record, this bug is fixed in emacs git. d