unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* highlighter, i.e. yellow marker functionality
@ 2014-10-01 19:23 Buchs, Kevin J.
  2014-10-01 19:41 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Buchs, Kevin J. @ 2014-10-01 19:23 UTC (permalink / raw)
  To: help-gnu-emacs

Wondering if anyone has written or can recommend a function 
(built-in/add-on) that would give the ability similar to a yellow 
marker, e.g. where MB1 down would set the background color of all text 
over which the pointer passes. Bonus points for not marking beginning of 
line and end of line white space, just like one would do with a real 
marker.  Thanks.

-- 
Kevin Buchs   Research Computer Services   Phone: 507-538-5459
Mayo Clinic   200 1st. St SW   Rochester, MN 55905




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

* RE: highlighter, i.e. yellow marker functionality
  2014-10-01 19:23 highlighter, i.e. yellow marker functionality Buchs, Kevin J.
@ 2014-10-01 19:41 ` Drew Adams
  2014-10-01 19:45   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2014-10-01 19:41 UTC (permalink / raw)
  To: Buchs, Kevin J., help-gnu-emacs

> Wondering if anyone has written or can recommend a function
> (built-in/add-on) that would give the ability similar to a yellow
> marker, e.g. where MB1 down would set the background color of all
> text
> over which the pointer passes. Bonus points for not marking
> beginning of
> line and end of line white space, just like one would do with a real
> marker.  Thanks.

Yes, see library highlight.el.
http://www.emacswiki.org/HighlightLibrary

In particular, `hlt-highlighter', which is bound by default to
`C-x mouse-2', and `hlt-eraser', which is bound by default to
`C-x S-mouse-2'.




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

* RE: highlighter, i.e. yellow marker functionality
  2014-10-01 19:41 ` Drew Adams
@ 2014-10-01 19:45   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2014-10-01 19:45 UTC (permalink / raw)
  To: Buchs, Kevin J., help-gnu-emacs

> Yes, see library highlight.el.
> http://www.emacswiki.org/HighlightLibrary
> 
> In particular, `hlt-highlighter', which is bound by default to
> `C-x mouse-2', and `hlt-eraser', which is bound by default to
> `C-x S-mouse-2'.

And this page provides some comparison among similar libraries,
which might help: http://www.emacswiki.org/HighlightTemporarily



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

end of thread, other threads:[~2014-10-01 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01 19:23 highlighter, i.e. yellow marker functionality Buchs, Kevin J.
2014-10-01 19:41 ` Drew Adams
2014-10-01 19:45   ` Drew Adams

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