From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: font-lock on variables Date: Sat, 25 Jul 2009 07:14:09 -0700 Message-ID: References: <87ljmdsu67.fsf@uchicago.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248531288 7587 80.91.229.12 (25 Jul 2009 14:14:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jul 2009 14:14:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'Lennart Borgman'" , "'Santiago Mejia'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 25 16:14:38 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MUi1G-0000vn-12 for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2009 16:14:38 +0200 Original-Received: from localhost ([127.0.0.1]:35247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUi1F-0001PL-5T for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2009 10:14:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUi0t-0001Mt-JW for help-gnu-emacs@gnu.org; Sat, 25 Jul 2009 10:14:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUi0p-0001HY-QH for help-gnu-emacs@gnu.org; Sat, 25 Jul 2009 10:14:15 -0400 Original-Received: from [199.232.76.173] (port=49557 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUi0p-0001HQ-Nd for help-gnu-emacs@gnu.org; Sat, 25 Jul 2009 10:14:11 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:17116 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MUi0p-000752-9s for help-gnu-emacs@gnu.org; Sat, 25 Jul 2009 10:14:11 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6PEDdgj004430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 25 Jul 2009 14:13:40 GMT Original-Received: from abhmt006.oracle.com (abhmt006.oracle.com [141.146.116.15]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6PEECD2027538; Sat, 25 Jul 2009 14:14:12 GMT Original-Received: from dradamslap1 (/141.144.88.114) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 25 Jul 2009 07:14:02 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcoMwhzP8yGpN8FjRt2Nhh2v2yxMjQAbjaNw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt006.oracle.com [141.146.116.15] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A6B132B.00BF:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66380 Archived-At: > > I am trying to hack a few extensions in emacs that allow=20 > > one to look for words in dictionaries. =A0(in particular, > > wordnet.el and sdcv.el (to be found, respectively, at:=20 > > 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=20 > > new buffer, *WORDNET* which has several of its key terms > > fontified. =A0However, I would like to be able to fontify, > > also, the actual word that I am searching. =A0This word is a > > variable, and changes every time one makes a new search. >=20 > 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. > >=A0After going through the manual, and looking around in > > google and the mailing lists, I have not been able to=20 > > 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.