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: text properties in tex mode Date: Sun, 5 Oct 2008 10:53:27 -0700 Message-ID: <011201c92713$45ce4e20$0200a8c0@us.oracle.com> References: <48E8D939.5060303@att.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223229372 12925 80.91.229.12 (5 Oct 2008 17:56:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 17:56:12 +0000 (UTC) To: "'Kostas Oikonomou'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 19:57:08 2008 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 1KmXof-0000w9-OA for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 19:54:50 +0200 Original-Received: from localhost ([127.0.0.1]:35571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmXnb-0007zj-2j for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 13:53:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmXnJ-0007zc-Hl for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 13:53:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmXnI-0007zL-2Y for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 13:53:25 -0400 Original-Received: from [199.232.76.173] (port=36453 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmXnH-0007zH-S8 for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 13:53:23 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:55343) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmXnH-0007IO-A8 for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 13:53:23 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m95HrICt003403; Sun, 5 Oct 2008 11:53:18 -0600 Original-Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m95HrGV8002374; Sun, 5 Oct 2008 11:53:17 -0600 Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 05 Oct 2008 10:53:16 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48E8D939.5060303@att.net> Thread-Index: AcknDURB9fQDCB2XQrSuQDn4aBHC/QAA9Hdw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:58391 Archived-At: > > Another solution would be to use overlays instead of > > faces for region highlighting. That's what use the > > highlight-regexp command; > > this command highlight words matching a regexp. I think > > there is an extension called highlight.el, by Drew Adams, > > which provides easy access to overlays. > > Have a look at the wiki > > http://www.emacswiki.org/cgi-bin/wiki/HighLight > > I have looked at this, but it seems too complicated to me. > Maybe because I don't know enough about Emacs. I would > prefer to use the already-existing Edit -> Text Properties > menu, unless it is not possible. You can use Text Properties to do a lot. If you load library `facemenu+.el', then you can use the Text Properties menu to do a lot more. If you use both `facemenu+.el' and `highlight.el', then the features of `highlight.el' are available from the Text Properties menu, submenu Highlight. See http://www.emacswiki.org/cgi-bin/wiki/FaceMenuPlus.