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 5A4194196F2 for ; Fri, 5 Nov 2010 01:10:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 SI+68Y01tfzS for ; Fri, 5 Nov 2010 01:10:04 -0700 (PDT) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id E594A4196F0 for ; Fri, 5 Nov 2010 01:10:03 -0700 (PDT) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 3B69B19F338C; Fri, 5 Nov 2010 09:10:02 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id jXwRh4altgjA; Fri, 5 Nov 2010 09:10:00 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id E2FF719F3362; Fri, 5 Nov 2010 09:10:00 +0100 (CET) Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id F18C6FA003; Fri, 5 Nov 2010 09:10:00 +0100 (CET) Received: from wsh by steelpick.2x.cz with local (Exim 4.72) (envelope-from ) id 1PEHN2-0004Oz-JR; Fri, 05 Nov 2010 09:10:00 +0100 From: Michal Sojka To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Do not color non-matching authors by tag In-Reply-To: <87zktp2lma.fsf@ut.hh.sledj.net> References: <1287726122-5643-1-git-send-email-sojkam1@fel.cvut.cz> <878w1942i6.fsf@ut.hh.sledj.net> <87vd4djhy2.fsf@steelpick.2x.cz> <87zktp2lma.fsf@ut.hh.sledj.net> User-Agent: Notmuch/0.4-29-g9b64b0f (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Fri, 05 Nov 2010 09:10:00 +0100 Message-ID: <87mxpojinb.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Fri, 05 Nov 2010 08:10:14 -0000 On Thu, 04 Nov 2010, David Edmondson wrote: > On Thu, 04 Nov 2010 15:12:53 +0100, Michal Sojka wrote: > > > Michal, was this addressed by the patch that Carl recently merged? > > > (Commit f99ad42da03afd638bfdfdea92d1cbdd3b510b8f in my copy of the > > > repository.) > > > > Unfortunately not. In your patch, the overlay changes the color/face of the > > whole line while my patch change the color/face of all parts of the line > > except for non-matching authors. With my patch non-matched autors were > > I understand now. > > This seems somewhat like a policy decision, though. If I indicate that I > want the foreground text for a particular line to be red, should the > formatting of non-matching authors override that? > > (My own approach has been to have `notmuch-search-line-faces' always > specify a background colour whereas > `notmuch-search-non-matching-authors' (or any of the columnar faces) > specify a foreground colour and/or slant.) And now I even understand your patch. That's exactly what I wanted. Nice. I thought that overlays change completely the face of the line, hiding any faces "under" the overlay. Now I see, that notmuch-search-line-faces faces are combined with what was there before. -Michal