Re: slight workaround needed to use gnus-alias
authorSanjoy Mahajan <sanjoy@olin.edu>
Thu, 12 May 2016 16:10:37 +0000 (12:10 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:48 +0000 (16:21 -0700)
66/bfd92e5672524a093328ba24b1bb33b118fddc [new file with mode: 0644]

diff --git a/66/bfd92e5672524a093328ba24b1bb33b118fddc b/66/bfd92e5672524a093328ba24b1bb33b118fddc
new file mode 100644 (file)
index 0000000..c0d8a94
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <Sanjoy.Mahajan@olin.edu>\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 6F29E6DE0188\r
+ for <notmuch@notmuchmail.org>; Thu, 12 May 2016 09:10:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.006\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.006 tagged_above=-999 required=5 tests=[AWL=0.005,\r
+  SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 M2jZw5nIHJnj for <notmuch@notmuchmail.org>;\r
+ Thu, 12 May 2016 09:10:39 -0700 (PDT)\r
+Received: from EXCAS03.olin.edu (smtp.olin.edu [208.91.53.40])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id A89436DE00D3\r
+ for <notmuch@notmuchmail.org>; Thu, 12 May 2016 09:10:39 -0700 (PDT)\r
+Received: from insight.mit.edu (108.20.254.101) by EX04.olin.edu (10.1.15.12)\r
+ with Microsoft SMTP Server (TLS) id 15.0.1104.5;\r
+ Thu, 12 May 2016 12:10:38 -0400\r
+Received: from sanjoy by insight.mit.edu with local (Exim 4.87)\r
+ (envelope-from <sanjoy@olin.edu>)\r
+ id 1b0tC9-00072A-40; Thu, 12 May 2016 12:10:37 -0400\r
+From: Sanjoy Mahajan <sanjoy@olin.edu>\r
+To: David Bremner <david@tethera.net>, <notmuch@notmuchmail.org>\r
+Subject: Re: slight workaround needed to use gnus-alias\r
+In-Reply-To: <87zirv2rvc.fsf@zancas.localnet>\r
+References: <87lh3f1fb8.fsf@insight.mit.edu> <87zirv2rvc.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 12 May 2016 12:10:37 -0400\r
+Message-ID: <87inyj1cle.fsf@insight.mit.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-Originating-IP: [108.20.254.101]\r
+X-ClientProxiedBy: EXCAS03.olin.edu (10.1.15.15) To EX04.olin.edu (10.1.15.12)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 12 May 2016 16:10:48 -0000\r
+\r
+On 2016-05-12 11:55, David Bremner <david@tethera.net> wrote:\r
+\r
+>> (defun gnus-alias-ensure-message-mode ()\r
+>>   "Assert that the current buffer is a message buffer."\r
+>>   (when (not (derived-mode-p 'notmuch-message-mode))\r
+>>     (gnus-alias-error "Must be in `message-mode' or mode derived from it. ")))\r
+>> (add-hook 'message-setup-hook 'gnus-alias-determine-identity)\r
+>\r
+> Maybe upstream Emacs would accept something like that if it says\r
+> "(derived-mode-p 'message-mode)".\r
+\r
+Agreed!  That's what I meant to write (a yank bug somewhere along the line).\r
+\r
+I am happy to ask upstream on the emacs list, unless you think it would\r
+be more likely to be accepted if coming from notmuch developers.\r
+\r
+-Sanjoy\r