Re: [PATCH 4/4] nmbug: Add an 'init' command
[notmuch-archives.git] / b2 / 16fcea1155886e9472b385100502da21ecb846
1 Return-Path: <tomi.ollila@iki.fi>\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 D757C431E64\r
6         for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 06:11:01 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 kEzsPJhZedWo for <notmuch@notmuchmail.org>;\r
16         Mon, 30 Jan 2012 06:11:01 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 6E068431FBC\r
19         for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 06:11:01 -0800 (PST)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id AC7AD68056; Mon, 30 Jan 2012 16:11:03 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH 2/2] emacs: fix `notmuch-wash-region-to-button' to work at\r
25         beginning of buffer\r
26 In-Reply-To: <1327926286-16680-3-git-send-email-dmitry.kurochkin@gmail.com>\r
27 References: <1327926286-16680-1-git-send-email-dmitry.kurochkin@gmail.com>\r
28         <1327926286-16680-3-git-send-email-dmitry.kurochkin@gmail.com>\r
29 User-Agent: Notmuch/0.11+129~g3b527ae (http://notmuchmail.org) Emacs/23.3.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Mon, 30 Jan 2012 16:11:03 +0200\r
35 Message-ID: <m2bopl9t6w.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Mon, 30 Jan 2012 14:11:02 -0000\r
51 \r
52 On Mon, 30 Jan 2012 16:24:46 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:\r
53 > `Notmuch-wash-region-to-button' is the function that creates hidden\r
54 > regions with buttons for signatures, citations and original messages.\r
55 > Before the change, it did not work correctly if the to-be-hidden\r
56 > region started at the beginning of a message: the visibility toggle\r
57 > button was hidden as well.  The patch fixes this.  There are two parts\r
58 > in the fix:\r
59\r
60 > * Use `insert-before-markers' instead of `insert' for creating the\r
61 >   button, so that it does not get added to the hidden overlay.\r
62\r
63 > * Stop using PREFIX argument for adding a newline before the button.\r
64 >   The newline should not be added before a button at the beginning of\r
65 >   buffer.\r
66\r
67 > The corresponding test is fixed now.\r
68 > ---\r
69 \r
70 +1 -- for test and fix.\r
71 \r
72 \r
73 Tomi\r