unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* highlight current line when Emacs is idle
@ 2006-09-04 18:04 Drew Adams
  2006-09-05  6:47 ` Drew Adams
  2007-07-13 14:16 ` Drew Adams
  0 siblings, 2 replies; 10+ messages in thread
From: Drew Adams @ 2006-09-04 18:04 UTC (permalink / raw)


This suggestion (for after the release) is a follow-on to my suggestion to
change the cursor to a box when Emacs is idle in order to more easily spot
it.

Suggestion: Optionally turn on `global-hl-line-mode' and highlight the
current line only when Emacs is idle. I use such an option in my code, and I
find it useful, for the same reason that changing to a box cursor when idle
is useful. I use a similar implementation for both (an input event ends the
highlighting).

I use a (configurable) idle-timer interval of several seconds - longer than
the timer interval for the cursor-type change. I also use a less-obtrusive,
yellow underline face for the highlighting (my background is light blue).

My guess is that more people might find hl-line useful with this option
added. The main reason some people don't like it is that it is very
intrusive and can be distracting.

In fact, I suspect that most people who use `global-hl-line-mode' (or
`hl-line-mode') would prefer this idle-only highlighting: there is usually
no need to continue highlighting the line after you have already noticed it.

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

end of thread, other threads:[~2007-07-13 21:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-04 18:04 highlight current line when Emacs is idle Drew Adams
2006-09-05  6:47 ` Drew Adams
2006-09-05  7:15   ` Masatake YAMATO
2006-09-05 14:14     ` Drew Adams
2006-09-06  8:50     ` Richard Stallman
2006-09-06  9:44       ` Masatake YAMATO
2006-09-06 13:39       ` Drew Adams
2007-07-13 14:16 ` Drew Adams
2007-07-13 15:13   ` Stefan Monnier
2007-07-13 21:22     ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).