unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "Buchs, Kevin J." <buchs.kevin@mayo.edu>, help-gnu-emacs@gnu.org
Subject: RE: highlighter, i.e. yellow marker functionality
Date: Wed, 1 Oct 2014 12:41:50 -0700 (PDT)	[thread overview]
Message-ID: <ce2ea955-b732-46ad-a380-0e0f364b0971@default> (raw)
In-Reply-To: <31062c$97skh2@ironport10.mayo.edu>

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




  reply	other threads:[~2014-10-01 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01 19:23 highlighter, i.e. yellow marker functionality Buchs, Kevin J.
2014-10-01 19:41 ` Drew Adams [this message]
2014-10-01 19:45   ` Drew Adams

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=ce2ea955-b732-46ad-a380-0e0f364b0971@default \
    --to=drew.adams@oracle.com \
    --cc=buchs.kevin@mayo.edu \
    --cc=help-gnu-emacs@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.
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).