emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* highlight confusion in agenda
@ 2010-07-20 12:52 Michael Gilbert
  2010-07-20 12:57 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Gilbert @ 2010-07-20 12:52 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

Hi —

I have a frequent navigation issue in the agenda and I'm curious if anyone else deals with this or has a solution. Like many users I have the currently selected line in the agenda set to be highlighted (an absolute lifesaver). 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?

TIA

— Michael

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: highlight confusion in agenda
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-07-20 12:57 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode Mailinglist


On Jul 20, 2010, at 2:52 PM, Michael Gilbert wrote:

> Hi —
>
> I have a frequent navigation issue in the agenda and I'm curious if  
> anyone else deals with this or has a solution. Like many users I  
> have the currently selected line in the agenda set to be highlighted  
> (an absolute lifesaver). 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....

- Carsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: highlight confusion in agenda
  2010-07-20 12:57 ` Carsten Dominik
@ 2010-07-20 13:42   ` Michael Gilbert
  2010-07-20 14:05     ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Gilbert @ 2010-07-20 13:42 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

>> I have a frequent navigation issue in the agenda and I'm curious if anyone else deals with this or has a solution. Like many users I have the currently selected line in the agenda set to be highlighted (an absolute lifesaver). 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.

— M

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: highlight confusion in agenda
  2010-07-20 13:42   ` Michael Gilbert
@ 2010-07-20 14:05     ` Tassilo Horn
  0 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2010-07-20 14:05 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-20 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).