[PATCH 3/3] errors='ignore' when decode to unicode
[notmuch-archives.git] / 1c / cc55796cd0da2a1b2461dade1649f8b6ba2ed2
1 Return-Path: <aneesh.kumar@linux.vnet.ibm.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 A1044431FAE\r
6         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 09:17:46 -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: -3.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-3.201 tagged_above=-999 required=5\r
12         tests=[AWL=-0.602, BAYES_00=-2.599] autolearn=unavailable\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 BoZy1uIDqsYH for <notmuch@notmuchmail.org>;\r
16         Thu, 11 Feb 2010 09:17:43 -0800 (PST)\r
17 Received: from e28smtp06.in.ibm.com (e28smtp06.in.ibm.com [122.248.162.6])\r
18         by olra.theworths.org (Postfix) with ESMTP id 01FC9431FBC\r
19         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 09:17:42 -0800 (PST)\r
20 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60])\r
21         by e28smtp06.in.ibm.com (8.14.3/8.13.1) with ESMTP id o1BHHeVo016038\r
22         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 22:47:40 +0530\r
23 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63])\r
24         by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id\r
25         o1BHHelm3059798\r
26         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 22:47:40 +0530\r
27 Received: from d28av01.in.ibm.com (loopback [127.0.0.1])\r
28         by d28av01.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id\r
29         o1BHHdvp017369\r
30         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 22:47:40 +0530\r
31 Received: from skywalker.linux.vnet.ibm.com ([9.124.211.8])\r
32         by d28av01.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id\r
33         o1BHHcZx017348; Thu, 11 Feb 2010 22:47:39 +0530\r
34 From: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>\r
35 To: cworth@cworth.org\r
36 In-Reply-To:\r
37  <1265906506-10395-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
38 References: <87bpg3e9u9.fsf@yoom.home.cworth.org>\r
39         <1265906506-10395-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
40 Date: Thu, 11 Feb 2010 22:47:38 +0530\r
41 Message-ID: <87mxzfvgi5.fsf@linux.vnet.ibm.com>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain; charset=us-ascii\r
44 Cc: "Aneesh Kumar K.V" <aneesh.kumar@gmail.com>, notmuch@notmuchmail.org\r
45 Subject: Re: [notmuch] [PATCH -V3] notmuch.el: Support for customizing\r
46  search result display\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Thu, 11 Feb 2010 17:17:46 -0000\r
60 \r
61 On Thu, 11 Feb 2010 22:11:46 +0530, "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> wrote:\r
62 > From: Aneesh Kumar K.V <aneesh.kumar@gmail.com>\r
63\r
64 > This patch helps in customizing search result display\r
65 > similar to mutt's index_format. The customization is done\r
66 > by defining an alist as below\r
67\r
68 > (setq notmuch-search-result-format '(("date" . "%s ")\r
69 >                                    ("authors" . "%-40s ")\r
70 >                                    ("subject" . "%s ")\r
71 >                                    ("tags" . "(%s)")))\r
72\r
73 > The supported keywords are date, count, authors, subject and tags.\r
74\r
75 > Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>\r
76 > ---\r
77 >  notmuch.el |   56 +++++++++++++++++++++++++++++++++++++++-----------------\r
78 >  1 files changed, 39 insertions(+), 17 deletions(-)\r
79\r
80 > diff --git a/notmuch.el b/notmuch.el\r
81 > index 040997e..a4a89ac 100644\r
82 > --- a/notmuch.el\r
83 > +++ b/notmuch.el\r
84 > @@ -141,6 +141,19 @@ remaining lines into a button.")\r
85 >  (defvar notmuch-show-body-read-visible nil)\r
86 >  (defvar notmuch-show-citations-visible nil)\r
87 >  (defvar notmuch-show-signatures-visible nil)\r
88 > +(defcustom notmuch-search-result-format\r
89 > +  '(("date" . "%s")\r
90 > +    ("count" . "%-7s")\r
91 > +    ("authors" . "%-40s")\r
92 > +    ("subject" . "%s")\r
93 > +    ("tags" . "%s"))\r
94 \r
95 I missed a '(' around tags. So the last line should be\r
96 \r
97     ("tags" . "(%s)"))\r
98 \r
99 -aneesh\r