[PATCH 1/2] verify during thread-breakage that messages are removed as well
[notmuch-archives.git] / be / 44755d3d0abd06eab273ad59c889e1a7e676f4
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 37875429E3C\r
6         for <notmuch@notmuchmail.org>; Fri, 31 May 2013 23:50:51 -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: 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 V-7egyRW-Lzp for <notmuch@notmuchmail.org>;\r
16         Fri, 31 May 2013 23:50:42 -0700 (PDT)\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 B17F4431FDE\r
19         for <notmuch@notmuchmail.org>; Fri, 31 May 2013 23:50:42 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 5EEF0100086\r
22         for <notmuch@notmuchmail.org>; Sat,  1 Jun 2013 09:50:40 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH v3 0/6] Make Emacs search use sexp format\r
26 In-Reply-To: <1370047208-12785-1-git-send-email-amdragon@mit.edu>\r
27 References: <1370047208-12785-1-git-send-email-amdragon@mit.edu>\r
28 User-Agent: Notmuch/0.15.2+115~g12cf6af (http://notmuchmail.org) Emacs/24.3.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: Sat, 01 Jun 2013 09:50:40 +0300\r
34 Message-ID: <m2y5auz5mn.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: Sat, 01 Jun 2013 06:50:51 -0000\r
50 \r
51 On Sat, Jun 01 2013, Austin Clements <amdragon@MIT.EDU> wrote:\r
52 \r
53 > This is v3 of id:1369934016-22308-1-git-send-email-amdragon@mit.edu.\r
54 > This tweaks the shell invocation as suggested by Tomi and fixes two\r
55 > comment typos pointed out by Mark.  It also adds a NEWS patch.  I'm\r
56 > going to go ahead and mark this ready because of Tomi's and Mark's\r
57 > reviews of v2.\r
58 \r
59 +1\r
60 \r
61 Tomi\r
62 \r
63 \r
64 >\r
65 > The diff from v2 follows\r
66 >\r
67 > diff --git a/NEWS b/NEWS\r
68 > index 80abd97..2a4bde6 100644\r
69 > --- a/NEWS\r
70 > +++ b/NEWS\r
71 > @@ -66,6 +66,17 @@ notmuch-vim, but of course that is their decision.\r
72 >  Emacs Interface\r
73 >  ---------------\r
74 >  \r
75 > +Better handling of errors in search buffers\r
76 > +\r
77 > +  Instead of interleaving errors in search result buffers, search mode\r
78 > +  now reports errors in the minibuffer.\r
79 > +\r
80 > +Faster search results\r
81 > +\r
82 > +  Communication between search mode and the notmuch CLI is now more\r
83 > +  efficient because it uses the CLI's S-expression support.  As a\r
84 > +  result, search mode should now fill search buffers faster.\r
85 > +\r
86 >  No Emacs 22 support\r
87 >  \r
88 >    The Emacs 22 support added late 2010 was sufficient only for a short\r
89 > diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
90 > index 180f63d..a206808 100644\r
91 > --- a/emacs/notmuch-lib.el\r
92 > +++ b/emacs/notmuch-lib.el\r
93 > @@ -497,8 +497,8 @@ status."\r
94 >        (command (or (executable-find notmuch-command)\r
95 >                     (error "command not found: %s" notmuch-command)))\r
96 >        (proc (apply #'start-process name buffer\r
97 > -                   "sh" "-c"\r
98 > -                   "ERR=\"$1\"; shift; exec \"$0\" \"$@\" 2>\"$ERR\""\r
99 > +                   "/bin/sh" "-c"\r
100 > +                   "exec 2>\"$1\"; shift; exec \"$0\" \"$@\""\r
101 >                     command err-file args)))\r
102 >      (process-put proc 'err-file err-file)\r
103 >      (process-put proc 'sub-sentinel sentinel)\r
104 > @@ -533,8 +533,8 @@ status."\r
105 >           (when warnings\r
106 >             (notmuch-logged-error (car warnings) (cdr warnings)))))\r
107 >        (error\r
108 > -       ;; Emacs behaves strangely if error an error escapes from a\r
109 > -       ;; sentinel, so turns errors into messages.\r
110 > +       ;; Emacs behaves strangely if an error escapes from a sentinel,\r
111 > +       ;; so turn errors into messages.\r
112 >         (message "%s" (error-message-string err))))\r
113 >      (ignore-errors (delete-file err-file))))\r
114 >  \r
115 >\r
116 >\r
117 > _______________________________________________\r
118 > notmuch mailing list\r
119 > notmuch@notmuchmail.org\r
120 > http://notmuchmail.org/mailman/listinfo/notmuch\r