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 highlighter functiontionality Date: Thu, 23 Jul 2009 09:18:12 -0700 Message-ID: References: <87skgnlh62.fsf@iki.fi> 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 1248365934 5370 80.91.229.12 (23 Jul 2009 16:18:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 16:18:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'Lennart Borgman'" , "'Teemu Likonen'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 23 18:18:47 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 1MU10I-0000s8-GM for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2009 18:18:46 +0200 Original-Received: from localhost ([127.0.0.1]:37327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MU10H-0002Od-Kl for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2009 12:18:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MU0zu-0002OX-Lo for help-gnu-emacs@gnu.org; Thu, 23 Jul 2009 12:18:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MU0zp-0002OD-BE for help-gnu-emacs@gnu.org; Thu, 23 Jul 2009 12:18:21 -0400 Original-Received: from [199.232.76.173] (port=52048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MU0zp-0002OA-45 for help-gnu-emacs@gnu.org; Thu, 23 Jul 2009 12:18:17 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:64454) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MU0zn-0007Q8-JE for help-gnu-emacs@gnu.org; Thu, 23 Jul 2009 12:18:16 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6NGHpro003322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Jul 2009 16:17:52 GMT Original-Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6NGIEKh009214; Thu, 23 Jul 2009 16:18:14 GMT Original-Received: from dradamslap1 (/141.144.224.19) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Jul 2009 09:18:07 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcoLk9xxoEf/lSdFRsCSx3LVb+mifwAHIjvQ X-Source-IP: abhmt007.oracle.com [141.146.116.16] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A688D40.0024: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:66360 Archived-At: > >> Is anyone aware of a text highlighter functionality in > >> emacs? I would like to highlight (possibly non-connected) > >> portions of text in a buffer in such a way, that the > >> highlighting persists within one emacs > >> session (i.e., when I change the buffer and return to it again, the > >> highlighting should still be there). > > > > Sounds pretty much like "M-s h r" (highlight-regexp) to me. > > There are also markerpens: > http://www.emacswiki.org/emacs/MarkerPens That is not the generic page about this; it is only one of the libraries that offers such a "marker-pen" or "highlighter" feature. This is the generic page for this topic: http://www.emacswiki.org/emacs/HighlightTemporarily In particular, library highlight.el lets you highlight using a "marker pen", but also in many other ways. This is its page: http://www.emacswiki.org/emacs/HighLight. And its highlighting can be with either text properties or overlays. AFAIK, it is the most flexible of the various approaches available.