[PATCH v2 0/5] emacs: help: and remap keybindings
[notmuch-archives.git] / 62 / 05b1ff4e3d2211793798ba9924864e23c4d70d
1 Return-Path: <sojka@os.inf.tu-dresden.de>\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 B5940429E42\r
6         for <notmuch@notmuchmail.org>; Wed, 15 Feb 2012 15:18:42 -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: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 qGbAYiqjZHXX for <notmuch@notmuchmail.org>;\r
16         Wed, 15 Feb 2012 15:18:38 -0800 (PST)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id C441C431E62\r
19         for <notmuch@notmuchmail.org>; Wed, 15 Feb 2012 15:18:38 -0800 (PST)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id C611E19F3600;\r
22         Thu, 16 Feb 2012 00:18:37 +0100 (CET)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id 9btytyhE69PC; Thu, 16 Feb 2012 00:18:32 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 842AE19F35E3;\r
30         Thu, 16 Feb 2012 00:18:32 +0100 (CET)\r
31 Received: from steelpick.2x.cz (cable-86-56-3-85.cust.telecolumbus.net\r
32         [86.56.3.85]) (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 6F856660968;\r
34         Thu, 16 Feb 2012 00:18:32 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.77)\r
36         (envelope-from <sojka@os.inf.tu-dresden.de>)\r
37         id 1Rxo7L-0004z5-CH; Thu, 16 Feb 2012 00:18:31 +0100\r
38 From: Michal Sojka <sojka@os.inf.tu-dresden.de>\r
39 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org\r
40 Subject: Re: [PATCH v2] emacs: Fix display of highlighted line in\r
41         notmuch-search\r
42 In-Reply-To: <87wr7ngand.fsf@gmail.com>\r
43 References: <87mx8lpd5o.fsf@nikula.org>\r
44         <1329239387-6300-1-git-send-email-sojka@os.inf.tu-dresden.de>\r
45         <87wr7ngand.fsf@gmail.com>\r
46 User-Agent: Notmuch/0.11.1+196~g4e14806 (http://notmuchmail.org) Emacs/23.3.1\r
47         (x86_64-pc-linux-gnu)\r
48 Date: Thu, 16 Feb 2012 00:18:31 +0100\r
49 Message-ID: <87ehtvheig.fsf@steelpick.2x.cz>\r
50 MIME-Version: 1.0\r
51 Content-Type: text/plain; charset=us-ascii\r
52 X-Mailman-Approved-At: Wed, 22 Feb 2012 08:28:25 -0800\r
53 X-BeenThere: notmuch@notmuchmail.org\r
54 X-Mailman-Version: 2.1.13\r
55 Precedence: list\r
56 List-Id: "Use and development of the notmuch mail system."\r
57         <notmuch.notmuchmail.org>\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
61 List-Post: <mailto:notmuch@notmuchmail.org>\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
65 X-List-Received-Date: Wed, 15 Feb 2012 23:18:42 -0000\r
66 \r
67 On Wed, 15 Feb 2012, Dmitry Kurochkin wrote:\r
68 > Hi Michal.\r
69\r
70 > On Tue, 14 Feb 2012 18:09:47 +0100, Michal Sojka <sojka@os.inf.tu-dresden.de> wrote:\r
71 > > When notmuch-search-line-faces is used to set background color in search\r
72 > > results, the highlight of the current line is not always displayed\r
73 > > correctly. This patch fixes that by increasing the priority property of\r
74 > > the highlight overlay.\r
75 > > ---\r
76\r
77 > How about changing `notmuch-search-color-line' to use text properties\r
78 > instead of overlays?  Then hl-line overlay would take priority over it\r
79 > without these changes.\r
80\r
81 > See [1] by David Edmondson on why text properties are better in\r
82 > general.  I plan to use text properties here to simplify updating the\r
83 > face when tags are changed.\r
84 \r
85 Hmm, I always wondered why notmuch uses overlays even if Elisp manual\r
86 says they don't scale. I remember that I wanted to replace that long\r
87 time ago, but there was some problem, which I forgot. Maybe it was the\r
88 invisibility David mentions. I guess there is some invisible text in\r
89 search output, isn't it?\r
90 \r
91 -Michal\r