From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lennart Borgman'" <lennart.borgman@gmail.com>,
"'Santiago Mejia'" <mejia@uchicago.edu>
Cc: help-gnu-emacs@gnu.org
Subject: RE: font-lock on variables
Date: Sat, 25 Jul 2009 07:14:09 -0700 [thread overview]
Message-ID: <E1D99371613A422F970C05C444153402@us.oracle.com> (raw)
In-Reply-To: <e01d8a50907241750i71229cd7r64dc4905dcf3b2fc@mail.gmail.com>
> > I am trying to hack a few extensions in emacs that allow
> > one to look for words in dictionaries. (in particular,
> > wordnet.el and sdcv.el (to be found, respectively, at:
> > http://williamxu.net9.org/ref/wordnet.el and
> > http://www.emacswiki.org/emacs/sdcv.el)
> >
> > When one looks for a word in, say, wordnet.el, it creates a
> > new buffer, *WORDNET* which has several of its key terms
> > fontified. However, I would like to be able to fontify,
> > also, the actual word that I am searching. This word is a
> > variable, and changes every time one makes a new search.
>
> Look at how hi-lock.el does it.
Again (see last week's thread "Text highlighter functiontionality") -
Hi-lock is only one library that offers such highlighting. See the generic wiki
page for this topic: http://www.emacswiki.org/emacs/HighlightTemporarily. That
page compares the various highlighting libraries, including hi-lock, listing
what each is good for.
> > After going through the manual, and looking around in
> > google and the mailing lists, I have not been able to
> > figure out how to achieve such thing.
Please file an Emacs bug, describing how you tried to find this topic in the
Emacs manual. That will help the Emacs maintainers improve access. `M-x
report-emacs-bug'.
Remember too that `i' in Info is your friend. `i highlight' includes the manual
pages that mention hi-lock.
next prev parent reply other threads:[~2009-07-25 14:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-24 20:27 font-lock on variables Santiago Mejia
2009-07-25 0:50 ` Lennart Borgman
2009-07-25 14:14 ` Drew Adams [this message]
2009-07-25 22:12 ` Santiago Mejia
2009-07-25 22:41 ` Santiago Mejia
2009-07-26 14:51 ` Drew Adams
2009-07-25 22:34 ` Santiago Mejia
[not found] <mailman.3105.1248467286.2239.help-gnu-emacs@gnu.org>
2009-07-25 17:47 ` A.Politz
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=E1D99371613A422F970C05C444153402@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=lennart.borgman@gmail.com \
--cc=mejia@uchicago.edu \
/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).