Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local
authorDavid Bremner <david@tethera.net>
Thu, 6 Aug 2015 20:54:59 +0000 (22:54 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:16 +0000 (14:49 -0700)
06/b3b93f13297b71ee73849d4f3ca479181fe61c [new file with mode: 0644]

diff --git a/06/b3b93f13297b71ee73849d4f3ca479181fe61c b/06/b3b93f13297b71ee73849d4f3ca479181fe61c
new file mode 100644 (file)
index 0000000..0b1a3be
--- /dev/null
@@ -0,0 +1,76 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 11CBE6DE09ED\r
+ for <notmuch@notmuchmail.org>; Thu,  6 Aug 2015 13:57:11 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.139\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.139 tagged_above=-999 required=5 tests=[AWL=0.139]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id heai5lqszl00 for <notmuch@notmuchmail.org>;\r
+ Thu,  6 Aug 2015 13:57:07 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 6DEBC6DE0948\r
+ for <notmuch@notmuchmail.org>; Thu,  6 Aug 2015 13:57:07 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZNSC1-0002fG-S8; Thu, 06 Aug 2015 20:55:13 +0000\r
+Received: (nullmailer pid 27115 invoked by uid 1000); Thu, 06 Aug 2015\r
+ 20:54:59 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, Mark Walters\r
+ <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/2] emacs: make modifications to message Fcc vars\r
+ buffer-local\r
+In-Reply-To: <m2twscdyk7.fsf@guru.guru-group.fi>\r
+References: <87fv4093sl.fsf@maritornes.cs.unb.ca>\r
+ <1438718659-11522-1-git-send-email-david@tethera.net>\r
+ <1438718659-11522-2-git-send-email-david@tethera.net>\r
+ <m2twscdyk7.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 06 Aug 2015 22:54:59 +0200\r
+Message-ID: <874mkcw318.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 06 Aug 2015 20:57:11 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+\r
+>\r
+> One thing come to my mind: would it be possible to use buffer-local\r
+> variable message-fcc-handler-function in notmuch-message-mode buffers so\r
+> that such wrapper functions defined below would not be needed. i.e.\r
+>\r
+>   (make-local-variable 'message-fcc-handler-function)\r
+>   (setq message-fcc-handler-function #'notmuch-fcc-handler)\r
+>\r
+\r
+This was my first approach, and I actually filed\r
+\r
+     http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21174\r
+\r
+about why it doesn't work.\r
+\r
+Great minds think alike / Fools seldom differ, as they say ;)\r
+\r
+d\r
+\r
+\r