1 Return-Path: <pieter@praet.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 E0715431FB6
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 05:50:24 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 HKIZYmCpDqsB for <notmuch@notmuchmail.org>;
\r
16 Wed, 18 Jan 2012 05:50:24 -0800 (PST)
\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 22F26431FAF
\r
21 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 05:50:24 -0800 (PST)
\r
22 Received: by werp13 with SMTP id p13so1416865wer.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 05:50:23 -0800 (PST)
\r
24 Received: by 10.180.85.4 with SMTP id d4mr36418162wiz.0.1326894623024;
\r
25 Wed, 18 Jan 2012 05:50:23 -0800 (PST)
\r
26 Received: from localhost ([109.131.97.13])
\r
27 by mx.google.com with ESMTPS id dm10sm5465725wib.4.2012.01.18.05.50.21
\r
28 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Wed, 18 Jan 2012 05:50:22 -0800 (PST)
\r
30 From: Pieter Praet <pieter@praet.org>
\r
31 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org
\r
32 Subject: Re: [PATCH] emacs: Truncate lines and do not enable visual-line-mode
\r
33 in notmuch-show buffers.
\r
34 In-Reply-To: <1326723202-4328-1-git-send-email-dme@dme.org>
\r
35 References: <1326723202-4328-1-git-send-email-dme@dme.org>
\r
36 User-Agent: Notmuch/0.11+86~g67f4140 (http://notmuchmail.org) Emacs/23.3.1
\r
37 (x86_64-unknown-linux-gnu)
\r
38 Date: Wed, 18 Jan 2012 14:48:34 +0100
\r
39 Message-ID: <87pqehp1e5.fsf@praet.org>
\r
41 Content-Type: text/plain; charset=us-ascii
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Wed, 18 Jan 2012 13:50:25 -0000
\r
56 On Mon, 16 Jan 2012 14:13:22 +0000, David Edmondson <dme@dme.org> wrote:
\r
57 > Enable the truncation of lines in `notmuch-show-mode' to avoid visual
\r
58 > noise caused by the wrapping of the header lines.
\r
60 > Don't enable `visual-line-mode' because it disables line truncation.
\r
62 > The benefits of `visual-line-mode' were that it wrapped long lines
\r
63 > in received messages. With `notmuch-wash-wrap-long-lines' now default
\r
64 > behaviour, this is no longer required.
\r
66 > emacs/notmuch-show.el | 6 ++----
\r
67 > 1 files changed, 2 insertions(+), 4 deletions(-)
\r
69 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
70 > index 1a250a3..797f94b 100644
\r
71 > --- a/emacs/notmuch-show.el
\r
72 > +++ b/emacs/notmuch-show.el
\r
73 > @@ -873,9 +873,6 @@ buffer."
\r
75 > (jit-lock-register #'notmuch-show-buttonise-links)
\r
77 > - ;; Act on visual lines rather than logical lines.
\r
78 > - (visual-line-mode t)
\r
80 > (run-hooks 'notmuch-show-hook))
\r
82 > ;; Move straight to the first open message
\r
83 > @@ -987,7 +984,8 @@ All currently available key bindings:
\r
84 > (use-local-map notmuch-show-mode-map)
\r
85 > (setq major-mode 'notmuch-show-mode
\r
86 > mode-name "notmuch-show")
\r
87 > - (setq buffer-read-only t))
\r
88 > + (setq buffer-read-only t
\r
89 > + truncate-lines t))
\r
91 > (defun notmuch-show-move-to-message-top ()
\r
92 > (goto-char (notmuch-show-message-top)))
\r
96 > _______________________________________________
\r
97 > notmuch mailing list
\r
98 > notmuch@notmuchmail.org
\r
99 > http://notmuchmail.org/mailman/listinfo/notmuch
\r