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 11CBE6DE09ED for ; Thu, 6 Aug 2015 13:57:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.139 X-Spam-Level: X-Spam-Status: No, score=0.139 tagged_above=-999 required=5 tests=[AWL=0.139] 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 heai5lqszl00 for ; Thu, 6 Aug 2015 13:57:07 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 6DEBC6DE0948 for ; Thu, 6 Aug 2015 13:57:07 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZNSC1-0002fG-S8; Thu, 06 Aug 2015 20:55:13 +0000 Received: (nullmailer pid 27115 invoked by uid 1000); Thu, 06 Aug 2015 20:54:59 -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: 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> User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Thu, 06 Aug 2015 22:54:59 +0200 Message-ID: <874mkcw318.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 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: Thu, 06 Aug 2015 20:57:11 -0000 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