1 Return-Path: <jrollins@finestructure.net>
\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 0359C429E21
\r
6 for <notmuch@notmuchmail.org>; Mon, 2 Jan 2012 14:17:02 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 itUEWEUsDsWH for <notmuch@notmuchmail.org>;
\r
16 Mon, 2 Jan 2012 14:16:59 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 6314E431FD0
\r
20 for <notmuch@notmuchmail.org>; Mon, 2 Jan 2012 14:16:59 -0800 (PST)
\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by fire-doxen-postvirus (Postfix) with ESMTP id C38772E50CB6
\r
23 for <notmuch@notmuchmail.org>; Mon, 2 Jan 2012 14:16:58 -0800 (PST)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com
\r
26 [76.174.137.84]) (Authenticated sender: jrollins)
\r
27 by fire-doxen-submit (Postfix) with ESMTP id EE7B92E50C72
\r
28 for <notmuch@notmuchmail.org>; Mon, 2 Jan 2012 14:16:56 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 87C9B172; Mon, 2 Jan 2012 14:16:56 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH 1/2] emacs: fix notmuch-show-indent-messages-width
\r
34 customization variable name
\r
35 Date: Mon, 2 Jan 2012 14:16:50 -0800
\r
36 Message-Id: <1325542611-20511-2-git-send-email-jrollins@finestructure.net>
\r
37 X-Mailer: git-send-email 1.7.7.3
\r
38 In-Reply-To: <1325542611-20511-1-git-send-email-jrollins@finestructure.net>
\r
39 References: <8739byiaef.fsf@zancas.localnet>
\r
40 <1325542611-20511-1-git-send-email-jrollins@finestructure.net>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\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: Mon, 02 Jan 2012 22:17:02 -0000
\r
55 The name was originally notmuch-indent-messages-width, which is
\r
56 inconsistent with our variable naming convention.
\r
58 emacs/notmuch-show.el | 6 +++---
\r
59 1 files changed, 3 insertions(+), 3 deletions(-)
\r
61 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
62 index eee4da9..82d11c9 100644
\r
63 --- a/emacs/notmuch-show.el
\r
64 +++ b/emacs/notmuch-show.el
\r
65 @@ -91,7 +91,7 @@ any given message."
\r
69 -(defcustom notmuch-indent-messages-width 1
\r
70 +(defcustom notmuch-show-indent-messages-width 1
\r
71 "Width of message indentation in threads.
\r
73 Messages are shown indented according to their depth in a thread.
\r
74 @@ -248,7 +248,7 @@ unchanged ADDRESS if parsing fails."
\r
75 "Insert a notmuch style headerline based on HEADERS for a
\r
76 message at DEPTH in the current thread."
\r
77 (let ((start (point)))
\r
78 - (insert (notmuch-show-spaces-n (* notmuch-indent-messages-width depth))
\r
79 + (insert (notmuch-show-spaces-n (* notmuch-show-indent-messages-width depth))
\r
80 (notmuch-show-clean-address (plist-get headers :From))
\r
83 @@ -739,7 +739,7 @@ current buffer, if possible."
\r
84 (setq content-end (point-marker))
\r
86 ;; Indent according to the depth in the thread.
\r
87 - (indent-rigidly content-start content-end (* notmuch-indent-messages-width depth))
\r
88 + (indent-rigidly content-start content-end (* notmuch-show-indent-messages-width depth))
\r
90 (setq message-end (point-max-marker))
\r