Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 8a / 108034c40fd6404210e258d148c3e1f93f36d0
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 1E25C431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 19:09:05 -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 igruXkMDY8rG for <notmuch@notmuchmail.org>;\r
16         Sat, 15 Dec 2012 19:09:04 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 6129D431FB6\r
19         for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 19:09:04 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 9EDCF100094;\r
22         Sun, 16 Dec 2012 05:08:58 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH v2 0/7] Improve Emacs CLI error handling\r
26 In-Reply-To: <1355601860-30121-1-git-send-email-amdragon@mit.edu>\r
27 References: <1355601860-30121-1-git-send-email-amdragon@mit.edu>\r
28 User-Agent: Notmuch/0.14+116~g29fcdb5 (http://notmuchmail.org) Emacs/24.2.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Sun, 16 Dec 2012 05:08:58 +0200\r
34 Message-ID: <m2obhu4rsl.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sun, 16 Dec 2012 03:09:05 -0000\r
50 \r
51 On Sat, Dec 15 2012, Austin Clements <amdragon@MIT.EDU> wrote:\r
52 \r
53 > This obsoletes id:1355548513-10085-1-git-send-email-amdragon@mit.edu\r
54 > and fixes the things Mark and Tomi commented on.  The interdiff is\r
55 > below.\r
56 \r
57 Ok, new error messages appear at the end. Good.\r
58 \r
59 +1\r
60 \r
61 Tomi\r
62 \r
63 >\r
64 > diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
65 > index cf61635..8f84087 100644\r
66 > --- a/emacs/notmuch-lib.el\r
67 > +++ b/emacs/notmuch-lib.el\r
68 > @@ -326,10 +326,12 @@ the user dismisses it."\r
69 >      (with-current-buffer buf\r
70 >        (view-mode-enter nil #'kill-buffer)\r
71 >        (let ((inhibit-read-only t))\r
72 > +     (goto-char (point-max))\r
73 > +     (unless (bobp)\r
74 > +       (insert "\n"))\r
75 >       (insert msg)\r
76 >       (unless (bolp)\r
77 > -       (insert "\n"))\r
78 > -     (goto-char (point-min))))\r
79 > +       (insert "\n"))))\r
80 >      (pop-to-buffer buf)))\r
81 >  \r