Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 66 / bfd92e5672524a093328ba24b1bb33b118fddc
1 Return-Path: <Sanjoy.Mahajan@olin.edu>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 6F29E6DE0188\r
6  for <notmuch@notmuchmail.org>; Thu, 12 May 2016 09:10:48 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.006\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.006 tagged_above=-999 required=5 tests=[AWL=0.005,\r
12   SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id M2jZw5nIHJnj for <notmuch@notmuchmail.org>;\r
16  Thu, 12 May 2016 09:10:39 -0700 (PDT)\r
17 Received: from EXCAS03.olin.edu (smtp.olin.edu [208.91.53.40])\r
18  by arlo.cworth.org (Postfix) with ESMTPS id A89436DE00D3\r
19  for <notmuch@notmuchmail.org>; Thu, 12 May 2016 09:10:39 -0700 (PDT)\r
20 Received: from insight.mit.edu (108.20.254.101) by EX04.olin.edu (10.1.15.12)\r
21  with Microsoft SMTP Server (TLS) id 15.0.1104.5;\r
22  Thu, 12 May 2016 12:10:38 -0400\r
23 Received: from sanjoy by insight.mit.edu with local (Exim 4.87)\r
24  (envelope-from <sanjoy@olin.edu>)\r
25  id 1b0tC9-00072A-40; Thu, 12 May 2016 12:10:37 -0400\r
26 From: Sanjoy Mahajan <sanjoy@olin.edu>\r
27 To: David Bremner <david@tethera.net>, <notmuch@notmuchmail.org>\r
28 Subject: Re: slight workaround needed to use gnus-alias\r
29 In-Reply-To: <87zirv2rvc.fsf@zancas.localnet>\r
30 References: <87lh3f1fb8.fsf@insight.mit.edu> <87zirv2rvc.fsf@zancas.localnet>\r
31 User-Agent: Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.1\r
32  (x86_64-pc-linux-gnu)\r
33 Date: Thu, 12 May 2016 12:10:37 -0400\r
34 Message-ID: <87inyj1cle.fsf@insight.mit.edu>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\r
37 X-Originating-IP: [108.20.254.101]\r
38 X-ClientProxiedBy: EXCAS03.olin.edu (10.1.15.15) To EX04.olin.edu (10.1.15.12)\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.20\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43  <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
45  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Thu, 12 May 2016 16:10:48 -0000\r
52 \r
53 On 2016-05-12 11:55, David Bremner <david@tethera.net> wrote:\r
54 \r
55 >> (defun gnus-alias-ensure-message-mode ()\r
56 >>   "Assert that the current buffer is a message buffer."\r
57 >>   (when (not (derived-mode-p 'notmuch-message-mode))\r
58 >>     (gnus-alias-error "Must be in `message-mode' or mode derived from it. ")))\r
59 >> (add-hook 'message-setup-hook 'gnus-alias-determine-identity)\r
60 >\r
61 > Maybe upstream Emacs would accept something like that if it says\r
62 > "(derived-mode-p 'message-mode)".\r
63 \r
64 Agreed!  That's what I meant to write (a yank bug somewhere along the line).\r
65 \r
66 I am happy to ask upstream on the emacs list, unless you think it would\r
67 be more likely to be accepted if coming from notmuch developers.\r
68 \r
69 -Sanjoy\r