From 750ddc10e76f6f6de3033b368adae4ffc231087c Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 6 Aug 2015 22:54:59 +0200 Subject: [PATCH] Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local --- 06/b3b93f13297b71ee73849d4f3ca479181fe61c | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 06/b3b93f13297b71ee73849d4f3ca479181fe61c diff --git a/06/b3b93f13297b71ee73849d4f3ca479181fe61c b/06/b3b93f13297b71ee73849d4f3ca479181fe61c new file mode 100644 index 000000000..0b1a3be0b --- /dev/null +++ b/06/b3b93f13297b71ee73849d4f3ca479181fe61c @@ -0,0 +1,76 @@ +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 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 + + -- 2.26.2