Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local
authorTomi Ollila <tomi.ollila@iki.fi>
Fri, 7 Aug 2015 04:11:19 +0000 (07:11 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:16 +0000 (14:49 -0700)
0e/e844866c4644edc0629ac23116a42d52d23b4a [new file with mode: 0644]

diff --git a/0e/e844866c4644edc0629ac23116a42d52d23b4a b/0e/e844866c4644edc0629ac23116a42d52d23b4a
new file mode 100644 (file)
index 0000000..a64f836
--- /dev/null
@@ -0,0 +1,84 @@
+Return-Path: <tomi.ollila@iki.fi>\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 9604B6DE1104\r
+ for <notmuch@notmuchmail.org>; Thu,  6 Aug 2015 21:11:37 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.249\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.249 tagged_above=-999 required=5 tests=[AWL=-0.147,\r
+  SPF_NEUTRAL=0.652, URIBL_SBL=0.644, URIBL_SBL_A=0.1] 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 deBR8q9eDCDu for <notmuch@notmuchmail.org>;\r
+ Thu,  6 Aug 2015 21:11:35 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id C01D56DE09ED\r
+ for <notmuch@notmuchmail.org>; Thu,  6 Aug 2015 21:11:33 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id CCBEC100046;\r
+ Fri,  7 Aug 2015 07:11:19 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Bremner <david@tethera.net>,\r
+ Mark Walters <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: <874mkcw318.fsf@maritornes.cs.unb.ca>\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> <874mkcw318.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Notmuch/0.20.2+54~g0bf3ee6 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+ $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+ !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Fri, 07 Aug 2015 07:11:19 +0300\r
+Message-ID: <m2d1yzohzs.fsf@guru.guru-group.fi>\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: Fri, 07 Aug 2015 04:11:37 -0000\r
+\r
+On Thu, Aug 06 2015, David Bremner <david@tethera.net> wrote:\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
+Uh ;/ You could add some note about buffer-local variables not\r
+applicable in this context for future archeologists to understand ;)\r
+-- either in commit message or in comment..\r
+\r
+>\r
+> d\r
+\r
+Tomi\r