[PATCH 2/4] notmuch-reply: respect users.other_name in From
[notmuch-archives.git] / 8b / f583ef2d4f2616e49edc89938aecb76e72fe15
1 Return-Path: <dme@dme.org>\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 olra.theworths.org (Postfix) with ESMTP id 84D38431FBC\r
6         for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 00:17:57 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id KBzsdSk6pv90 for <notmuch@notmuchmail.org>;\r
16         Thu, 26 Jan 2012 00:17:57 -0800 (PST)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  C60D5431FAF    for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 00:17:56 -0800\r
21  (PST)\r
22 Received: by wgbdt12 with SMTP id dt12so261042wgb.2\r
23         for <notmuch@notmuchmail.org>; Thu, 26 Jan 2012 00:17:55 -0800 (PST)\r
24 Received: by 10.180.97.37 with SMTP id dx5mr2141139wib.3.1327565875541;\r
25         Thu, 26 Jan 2012 00:17:55 -0800 (PST)\r
26 Received: from hotblack-desiato.hh.sledj.net\r
27         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
28         by mx.google.com with ESMTPS id dr5sm10232375wib.0.2012.01.26.00.17.53\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Thu, 26 Jan 2012 00:17:54 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id 72B909FF26; Thu, 26 Jan 2012 08:17:52 +0000 (GMT)\r
33 From: David Edmondson <dme@dme.org>\r
34 To: notmuch@notmuchmail.org\r
35 Subject: [PATCH 1/2] emacs: Re-enable line wrapping in `notmuch-show-mode'.\r
36 Date: Thu, 26 Jan 2012 08:17:50 +0000\r
37 Message-Id: <1327565871-19729-2-git-send-email-dme@dme.org>\r
38 X-Mailer: git-send-email 1.7.8.3\r
39 In-Reply-To: <1327565871-19729-1-git-send-email-dme@dme.org>\r
40 References: <1327565871-19729-1-git-send-email-dme@dme.org>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Thu, 26 Jan 2012 08:17:57 -0000\r
54 \r
55 Turn on `visual-line-mode' via a hook, so that those who so choose can\r
56 avoid it.\r
57 ---\r
58  emacs/notmuch-show.el |    7 ++++++-\r
59  1 files changed, 6 insertions(+), 1 deletions(-)\r
60 \r
61 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
62 index e6a5b31..effd2fd 100644\r
63 --- a/emacs/notmuch-show.el\r
64 +++ b/emacs/notmuch-show.el\r
65 @@ -71,9 +71,10 @@ any given message."\r
66    "A list of functions called to decorate the headers listed in\r
67  `notmuch-message-headers'.")\r
68  \r
69 -(defcustom notmuch-show-hook nil\r
70 +(defcustom notmuch-show-hook '(notmuch-show-turn-on-visual-line-mode)\r
71    "Functions called after populating a `notmuch-show' buffer."\r
72    :type 'hook\r
73 +  :options '(notmuch-show-turn-on-visual-line-mode)\r
74    :group 'notmuch-show\r
75    :group 'notmuch-hooks)\r
76  \r
77 @@ -133,6 +134,10 @@ indentation."\r
78             ,@body)\r
79          (kill-buffer buf)))))\r
80  \r
81 +(defun notmuch-show-turn-on-visual-line-mode ()\r
82 +  "Enable Visual Line mode."\r
83 +  (visual-line-mode t))\r
84 +\r
85  (defun notmuch-show-view-all-mime-parts ()\r
86    "Use external viewers to view all attachments from the current message."\r
87    (interactive)\r
88 -- \r
89 1.7.8.3\r
90 \r