emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: highlight confusion in agenda
Date: Tue, 20 Jul 2010 16:05:52 +0200	[thread overview]
Message-ID: <87zkxmmenz.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: AE163C9F-45C9-476C-B196-1AA2B7B64799@gilbert.org

Michael Gilbert <mcg@gilbert.org> 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

      reply	other threads:[~2010-07-20 14:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-20 12:52 highlight confusion in agenda Michael Gilbert
2010-07-20 12:57 ` Carsten Dominik
2010-07-20 13:42   ` Michael Gilbert
2010-07-20 14:05     ` Tassilo Horn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkxmmenz.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).