Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 99 / 162150f443bb25bf06a0814d3da025f56fb67a
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 8B17B431FC0\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 04:21:16 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id rD+lHEKs8Mk3 for <notmuch@notmuchmail.org>;\r
11         Sun, 22 Nov 2009 04:21:15 -0800 (PST)\r
12 Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141])\r
13         by olra.theworths.org (Postfix) with ESMTP id 519EE431FAE\r
14         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 04:21:15 -0800 (PST)\r
15 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [202.81.31.246])\r
16         by e23smtp08.au.ibm.com (8.14.3/8.13.1) with ESMTP id nAMNLDJV004560\r
17         for <notmuch@notmuchmail.org>; Mon, 23 Nov 2009 10:21:13 +1100\r
18 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138])\r
19         by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id\r
20         nAMCHnLl1577004\r
21         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:17:49 +1100\r
22 Received: from d23av02.au.ibm.com (loopback [127.0.0.1])\r
23         by d23av02.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id\r
24         nAMCLCGj009758\r
25         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 23:21:12 +1100\r
26 Received: from skywalker.linux.vnet.ibm.com ([9.77.209.175])\r
27         by d23av02.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id\r
28         nAMCL7o0009705\r
29         (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);\r
30         Sun, 22 Nov 2009 23:21:10 +1100\r
31 Date: Sun, 22 Nov 2009 17:51:06 +0530\r
32 From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>\r
33 To: Carl Worth <cworth@cworth.org>\r
34 Message-ID: <20091122122106.GA3531@skywalker.linux.vnet.ibm.com>\r
35 References:\r
36  <1258879076-31883-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
37         <87hbsmg436.fsf@yoom.home.cworth.org>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=us-ascii\r
40 Content-Disposition: inline\r
41 In-Reply-To: <87hbsmg436.fsf@yoom.home.cworth.org>\r
42 User-Agent: Mutt/1.5.20 (2009-06-14)\r
43 Cc: notmuch@notmuchmail.org\r
44 Subject: Re: [notmuch] [PATCH -v2] notmuch.el: Add face support to search\r
45  and show mode\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.12\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Sun, 22 Nov 2009 12:21:16 -0000\r
59 \r
60 On Sun, Nov 22, 2009 at 01:02:21PM +0100, Carl Worth wrote:\r
61 > On Sun, 22 Nov 2009 14:07:56 +0530, "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> wrote:\r
62 > > This add two faces, notmuch-show-subject-face and\r
63 > > notmuch-tag-unread-face. The first face is used to show the subject\r
64 > > line in the notmuch-show-mode and the second one to show the unread\r
65 > > tag in the notmuch-search-mode. We can set additional tags by setting\r
66 > > notmuch-tag-face-alist as below\r
67\r
68 > Hi Aneesh,\r
69\r
70 > I've been meaning to follow-up with you on this since I did get it\r
71 > working.\r
72\r
73 > > (setq notmuch-tag-face-alist '(("unread" . 'notmuch-tag-unread-face)\r
74 > >                              ("inbox" . 'notmuch-tag-inbox-face)))\r
75\r
76 > It's interesting to be able to highlight specific tags like this. But I\r
77 > think that first I'd like to have a single 'notmuch-tag face to make it\r
78 > easier to see all the tag names, since they're hard to see among the\r
79 > subject. And then maybe after that have s 'notmuch-tag-important-face or\r
80 > something. I'm guessing that just that much would cover most people's\r
81 > needs, before needing to choose custom colors for each tag name.\r
82 \r
83 The default search pattern for notmuch is inbox and unread right. So adding\r
84 both of them to the notmuch-tag-face-alist should color the tags properly.\r
85 \r
86\r
87 > > +(defface notmuch-show-subject-face\r
88 > > + '((((class color) (background light)) (:foreground "yellow" :bold t))\r
89 > > +    (((class color) (background dark)) (:foreground "yellow" :bold t)))\r
90 > > +  "Notmuch show mode face used to highligh subject line."\r
91 > > +  :group 'notmuch)\r
92\r
93 > Color selection can be pretty difficult, and I don't think we're ever\r
94 > all going to agree on things. But I can at least say that I can't read\r
95 > yellow on white at all, (maybe yellow on black works out a bit better, I\r
96 > don't know).\r
97\r
98 > So I'd definitely like to hear people's ideas on what the presentation\r
99 > should look like here.\r
100\r
101 > First, the current reverse-video is definitely not something I really\r
102 > like. That was just a placeholder since I didn't know how to configure\r
103 > other faces, (and I needed _something_ to distinguish one message from\r
104 > another).\r
105\r
106 > Second, from the time I spent with sup, I found that it was hard for me\r
107 > to read entire lines of bold text. So I think I'd rather just have the\r
108 > header name ("Subject:", for example) in bold and the rest of the\r
109 > subject not bold. Hmm... maybe we could use a "From:" at the beginning\r
110 > of the one line summary.\r
111\r
112 > Finally, for separating one message from the other, I think I'd really\r
113 > just like a one-pixel line drawn between the last line of text of one\r
114 > message and the first line of text of the next message. Does anybody\r
115 > know how to achieve that?\r
116\r
117 > Back to the patch, I think I'll be able to push it as soon as I can\r
118 > apply it and still _see_ the subject lines. ;-)\r
119 \r
120 One of the easy part with emacs is we can use customize-face and select \r
121 notmuch-show-subject-face to select what ever suites your configuration.\r
122 For me with black background i found yellow with bold to be nice.\r
123 \r
124 -aneesh\r