unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* use different face for visited `occur' line numbers
@ 2006-06-20 16:15 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2006-06-20 16:15 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

Possible minor enhancement, for after the release:

In Info, two different faces are used for links: `info-xref' and
`info-xref-visited'. In `occur', it would be useful to do the same thing:
Indicate whether a given line has been visited previously by fontifying the
line number differently.

I do this in my own code, and I find it helps quite a bit. Otherwise, it's
easy to click a line by mistake that you've already visited, especially when
lines have the same or similar text. Attached is a screenshot, to show what
I mean.


[-- Attachment #2: occur-line-numbers.jpg --]
[-- Type: image/jpeg, Size: 92149 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-20 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 16:15 use different face for visited `occur' line numbers 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).