Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 00BB5431FBF; Sun, 22 Nov 2009 04:02:37 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yR0JaVgeA9zK; Sun, 22 Nov 2009 04:02:36 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 87B32431FAE; Sun, 22 Nov 2009 04:02:35 -0800 (PST) From: Carl Worth To: "Aneesh Kumar K.V" , notmuch@notmuchmail.org In-Reply-To: <1258879076-31883-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> References: <1258879076-31883-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Date: Sun, 22 Nov 2009 13:02:21 +0100 Message-ID: <87hbsmg436.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH -v2] notmuch.el: Add face support to search and show mode X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2009 12:02:37 -0000 On Sun, 22 Nov 2009 14:07:56 +0530, "Aneesh Kumar K.V" wrote: > This add two faces, notmuch-show-subject-face and > notmuch-tag-unread-face. The first face is used to show the subject > line in the notmuch-show-mode and the second one to show the unread > tag in the notmuch-search-mode. We can set additional tags by setting > notmuch-tag-face-alist as below Hi Aneesh, I've been meaning to follow-up with you on this since I did get it working. > (setq notmuch-tag-face-alist '(("unread" . 'notmuch-tag-unread-face) > ("inbox" . 'notmuch-tag-inbox-face))) It's interesting to be able to highlight specific tags like this. But I think that first I'd like to have a single 'notmuch-tag face to make it easier to see all the tag names, since they're hard to see among the subject. And then maybe after that have s 'notmuch-tag-important-face or something. I'm guessing that just that much would cover most people's needs, before needing to choose custom colors for each tag name. > +(defface notmuch-show-subject-face > + '((((class color) (background light)) (:foreground "yellow" :bold t)) > + (((class color) (background dark)) (:foreground "yellow" :bold t))) > + "Notmuch show mode face used to highligh subject line." > + :group 'notmuch) Color selection can be pretty difficult, and I don't think we're ever all going to agree on things. But I can at least say that I can't read yellow on white at all, (maybe yellow on black works out a bit better, I don't know). So I'd definitely like to hear people's ideas on what the presentation should look like here. First, the current reverse-video is definitely not something I really like. That was just a placeholder since I didn't know how to configure other faces, (and I needed _something_ to distinguish one message from another). Second, from the time I spent with sup, I found that it was hard for me to read entire lines of bold text. So I think I'd rather just have the header name ("Subject:", for example) in bold and the rest of the subject not bold. Hmm... maybe we could use a "From:" at the beginning of the one line summary. Finally, for separating one message from the other, I think I'd really just like a one-pixel line drawn between the last line of text of one message and the first line of text of the next message. Does anybody know how to achieve that? Back to the patch, I think I'll be able to push it as soon as I can apply it and still _see_ the subject lines. ;-) -Carl