all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: John Mastro <john.b.mastro@gmail.com>
Cc: Colin Yates <colin.yates@gmail.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Automatically highlighting the symbol under point
Date: Sat, 22 Aug 2015 07:36:51 +0200	[thread overview]
Message-ID: <87a8tjevf0.fsf@gnu.org> (raw)
In-Reply-To: <CAOj2CQTRfGnc5RnRQMG8URjv0bx=4FL6WH+xkBz+bg4U=d6-ng@mail.gmail.com> (John Mastro's message of "Fri, 21 Aug 2015 13:26:23 -0700")

John Mastro <john.b.mastro@gmail.com> writes:

>> I am using prelude and if my point is over a symbol then I can call
>> 'highlight-symbol-under-point' which works great. However, I can't
>> figure out how to turn it off.
>
> You can use `unhighlight-regexp' (on `C-x w r' and/or `M-s h u') for
> this. It prompts for a regexp, but for your scenario you can just hit
> `RET' to accept the default.
>
>> Ideally, I would like it to automatically highlight the symbol under
>> point all the time, or at least when in a programming mode - is that
>> possible and any prior art you can point me at?
>
> Check out `idle-highlight-mode' (available in MELPA) for that:
> https://github.com/nonsequitur/idle-highlight-mode

Or alternatively, highlight-symbol-mode from

  https://github.com/nschum/highlight-symbol.el

Bye,
Tassilo



      parent reply	other threads:[~2015-08-22  5:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 20:10 Automatically highlighting the symbol under point Colin Yates
2015-08-21 20:26 ` John Mastro
2015-08-21 20:31   ` John Mastro
2015-08-21 20:34     ` Colin Yates
2015-08-22  5:36   ` Tassilo Horn [this message]

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

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

  git send-email \
    --in-reply-to=87a8tjevf0.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=colin.yates@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=john.b.mastro@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.