From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: highlight confusion in agenda Date: Tue, 20 Jul 2010 16:05:52 +0200 Message-ID: <87zkxmmenz.fsf@thinkpad.tsdh.de> References: <20FFF776-3D5A-4FF1-9E63-6381F5CBAA36@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=52310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObDSY-0008Rg-0z for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 10:06:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObDST-0006jJ-Ir for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 10:06:13 -0400 Received: from lo.gmane.org ([80.91.229.12]:55712) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObDST-0006iw-CO for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 10:06:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ObDSN-0007G4-Ri for emacs-orgmode@gnu.org; Tue, 20 Jul 2010 16:06:03 +0200 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jul 2010 16:06:03 +0200 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jul 2010 16:06:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Michael Gilbert writes: Hi Michael, >>> But although I am not very mouse-oriented, as an Aquamacs user I >>> find that the line where the mouse happens to be hovering (not >>> having selected anything) is mostly highlighted in exactly the same >>> was as the selected line. This is a cause of frequent error on my >>> part. I only notice this in the agenda, not in other files. >>> >>> Is there any way to turn off the latter effect? >> >> Untested: >> >> (add-hook 'org-finalize-agenda-hook >> (lambda () (remove-text-properties >> (point-min) (point-max) '(mouse-face t)))) >> >> This might also turn off the mouse bindings in the agenda, at least >> some of them. But maybe this is actually also what you'd like to >> have.... > > Tested. Fantastic. Doesn't disable mouse-bindings completely, but > totally solves my problem. Thank you so much. A littlebit less radical solution would be to change either the `hl-line' or the `highlight' face so that they don't look identical. Do do that, do M-x customize-face hl-line RET or M-x customize-face highlight RET Bye, Tassilo