Re: [RFC PATCH] test: add devel/test-in-docker.sh
[notmuch-archives.git] / a9 / 4c5610def0a1de636e68d182667a026ebf1d1a
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 F0C6B431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 30 Dec 2011 02:13:11 -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 s8R6pZ7Ob-8V for <notmuch@notmuchmail.org>;\r
16         Fri, 30 Dec 2011 02:13:11 -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 3D2E2431FB6\r
21         for <notmuch@notmuchmail.org>; Fri, 30 Dec 2011 02:13:11 -0800 (PST)\r
22 Received: by werm12 with SMTP id m12so8197331wer.26\r
23         for <notmuch@notmuchmail.org>; Fri, 30 Dec 2011 02:13:10 -0800 (PST)\r
24 Received: by 10.216.132.231 with SMTP id o81mr27489118wei.3.1325239990028;\r
25         Fri, 30 Dec 2011 02:13:10 -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 1sm90956907wiz.11.2011.12.30.02.13.08\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Fri, 30 Dec 2011 02:13:08 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id E52CEA04DF; Fri, 30 Dec 2011 10:13:06 +0000 (GMT)\r
33 To: notmuch <notmuch@notmuchmail.org>\r
34 Subject: rewind and text/plain hooks and visual-line-mode and ...\r
35 User-Agent: Notmuch/0.10.2+151~gbf1dc2b (http://notmuchmail.org)\r
36         Emacs/24.0.92.1 (x86_64-pc-linux-gnu)\r
37 From: David Edmondson <dme@dme.org>\r
38 Date: Fri, 30 Dec 2011 10:12:58 +0000\r
39 Message-ID: <cunboqq8j11.fsf@hotblack-desiato.hh.sledj.net>\r
40 MIME-Version: 1.0\r
41 Content-Type: multipart/signed; boundary="=-=-=";\r
42         micalg=pgp-sha1; protocol="application/pgp-signature"\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Fri, 30 Dec 2011 10:13:12 -0000\r
56 \r
57 --=-=-=\r
58 Content-Type: text/plain\r
59 Content-Transfer-Encoding: quoted-printable\r
60 \r
61 After setting up a new user recently[1] and discussion with j4ni, it\r
62 occurred to me that some of my recent patches are interrelated in a way\r
63 that I didn't previously realise.\r
64 \r
65 Getting natural feeling `notmuch-show-rewind' behaviour (latest patches\r
66 are [2]) is made more difficult if `truncate-lines' is set to `nil',\r
67 because the cursor can end up somewhere at the end of a wrapped header\r
68 line when the start of the header line is not visible on the screen. The\r
69 current code has some tests for 'near the top of the window' that might\r
70 address this, but I removed them.\r
71 \r
72 In general I think that having `truncate-lines' set to `t' in\r
73 `notmuch-show-mode' is better, as large numbers of tags causes the\r
74 header lines to wrap frequently, making a collapsed view of the threads\r
75 difficult to read (compare [3] and [4] for a quick example).\r
76 \r
77 `notmuch-show-mode' could set `truncate-lines' to `t', but that would\r
78 clash with the use of `visual-line-mode', which turns off line\r
79 truncation and performs line wrapping.\r
80 \r
81 `visual-line-mode' is useful because some mailers and/or users send\r
82 messages with very long lines. Luckily the patch to enable more cleaning\r
83 of text/plain parts[5] by default means that this would be less of a\r
84 problem, as most (all?) such messages would have their lines wrapped by\r
85 coolj.\r
86 \r
87 There is no patch to remove `visual-line-mode' and set `truncate-lines'\r
88 yet, but it's simple for an interested developer to try.\r
89 \r
90 Hence this is really a plea to consider these various patches (and the\r
91 resulting behaviour and appearance) together, even though they might not\r
92 immediately appear to be related.\r
93 \r
94 Footnotes:=20\r
95 [1]  "You're never too young to learn to use emacs."\r
96 [2]  id:"1325160490-23472-1-git-send-email-dme@dme.org"\r
97 [3]  http://dme.org/data/images/2011-12-27-114014_958x1179_scrot.png\r
98 [4]  http://dme.org/data/images/2011-12-27-114028_958x1179_scrot.png\r
99 [5]  id:"1324987225-3067-1-git-send-email-dme@dme.org"\r
100 \r
101 \r
102 --=-=-=\r
103 Content-Type: application/pgp-signature\r
104 \r
105 -----BEGIN PGP SIGNATURE-----\r
106 Version: GnuPG v1.4.11 (GNU/Linux)\r
107 \r
108 iEYEARECAAYFAk79jqoACgkQaezQq/BJZRYsAACgi9atxDLB3q4hui8443DfewKv\r
109 DewAn2yrGxG018WvIndVmDZyKUXzEE/V\r
110 =1M4d\r
111 -----END PGP SIGNATURE-----\r
112 --=-=-=--\r