Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 14 / 855750996a8058f7652173447a5656bc04ce6e
1 Return-Path: <dmitry.kurochkin@gmail.com>\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 45057429E25\r
6         for <notmuch@notmuchmail.org>; Sat,  1 Oct 2011 18:46:00 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.7\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.7 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7]\r
14         autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id k9r2s5SVWoqA for <notmuch@notmuchmail.org>;\r
18         Sat,  1 Oct 2011 18:45:59 -0700 (PDT)\r
19 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
20         [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 856B8431FB6\r
23         for <notmuch@notmuchmail.org>; Sat,  1 Oct 2011 18:45:59 -0700 (PDT)\r
24 Received: by bkbzt12 with SMTP id zt12so4208665bkb.26\r
25         for <notmuch@notmuchmail.org>; Sat, 01 Oct 2011 18:45:56 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
27         h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
28         :message-id:mime-version:content-type;\r
29         bh=wjtwxrJ2Fs4ixCzUT/uLITipS/GAvscEvO631iM9FPM=;\r
30         b=CybBKGduuWXOnPH41kCLpXTHuOONF6jBvY+VBp6htaCEBLHr9JXK/BBITvvIg7Vgzh\r
31         ev5VprTMjLwj74/mhgrY4WwbN7M4mHLfQsevVk8Zd4xqISo8v+EhtHl06zHa+UvzUxhP\r
32         5xlS8f4arYlUsE+9kp7wCx9euWmD1vcuMjkXE=\r
33 Received: by 10.204.130.130 with SMTP id t2mr2497873bks.223.1317519956699;\r
34         Sat, 01 Oct 2011 18:45:56 -0700 (PDT)\r
35 Received: from localhost ([91.144.186.21])\r
36         by mx.google.com with ESMTPS id z9sm8940388bkn.7.2011.10.01.18.45.54\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Sat, 01 Oct 2011 18:45:55 -0700 (PDT)\r
39 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
40 To: David Bremner <david@tethera.net>\r
41 Subject: Re: [PATCH 3/3] test: add emacs test for hiding a message following\r
42         an HTML part\r
43 In-Reply-To: <87d3ehylon.fsf@zancas.localnet>\r
44 References: <1309744743-8556-1-git-send-email-dmitry.kurochkin@gmail.com>\r
45         <1309744743-8556-3-git-send-email-dmitry.kurochkin@gmail.com>\r
46         <87zkhrlg8z.fsf@zancas.localnet> <874nzz2p3f.fsf@gmail.com>\r
47         <87d3ehylon.fsf@zancas.localnet>\r
48 User-Agent: Notmuch/0.8-50-gd528fd9 (http://notmuchmail.org) Emacs/23.3.1\r
49         (x86_64-pc-linux-gnu)\r
50 Date: Sun, 02 Oct 2011 05:45:53 +0400\r
51 Message-ID: <87hb3s414e.fsf@gmail.com>\r
52 MIME-Version: 1.0\r
53 Content-Type: text/plain; charset=us-ascii\r
54 Cc: notmuch@notmuchmail.org\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Sun, 02 Oct 2011 01:46:00 -0000\r
68 \r
69 Hi David.\r
70 \r
71 On Sat, 01 Oct 2011 08:51:20 -0300, David Bremner <david@tethera.net> wrote:\r
72 > On Mon, 26 Sep 2011 21:25:08 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:\r
73 > > Most likely the test passes because emacs is run in server mode and\r
74 > > visibility stuff works differently.  I sent a patch series [1] to run\r
75 > > emacs in screen exactly for this reason.  Please consider pushing it.\r
76 > > Then the test should fail as expected.\r
77\r
78 > > [1] id:"1309496122-4965-1-git-send-email-dmitry.kurochkin@gmail.com"\r
79 > > [2] id:"874o2germq.fsf@gmail.com"\r
80\r
81 \r
82 I was wrong about it.  I am moving to a new system.  And I see the test\r
83 pass on one system and fail on another.  So it is not related to running\r
84 emacs tests inside screen.  At the moment, I have no idea why it behaves\r
85 differently on the two systems.  Both are Debian unstable (one is\r
86 current another 2 weeks old).  Could it be some extra emacs packages\r
87 installed?  I know notmuch disables system and user init files, but\r
88 perhaps it is not enough?\r
89 \r
90 > I'd like to hear more feedback from people on the list about using\r
91 > screen in the tests. Is this a portability issue for non-linux users?\r
92\r
93 \r
94 Nevertheless, I believe running emacs tests inside screen is a\r
95 requirement for doing complex UI tests.  For example, `window-end'\r
96 function behaves differently when there is no emacs frame.  Of course,\r
97 it does not have to be screen, we may use any other similar tool\r
98 (e.g. tmux, dtach).  We may even use a dummy X server.  But screen seems\r
99 to be the best option.\r
100 \r
101 I see no problem with not running emacs tests on systems which do not\r
102 have screen.  After all, emacs is a UI.  Core tests would run fine as\r
103 before.\r
104 \r
105 BTW there were patches to support tmux (or maybe it was dtach).  IIRC\r
106 the consensus was that supporting it does not worth complicating test\r
107 lib.  I think this can be reconsidered if it turns out that many users\r
108 do not have screen, but do have tmux.  But you never know if the\r
109 patches are not applied.  They have been around for several months, I\r
110 doubt you would suddenly get feedback now.\r
111 \r
112 Regards,\r
113   Dmitry\r
114 \r
115 > d\r