From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pocmatos@gmail.com (Paulo J. Matos) Newsgroups: gmane.emacs.help Subject: Re: Getting minor mode to read word Date: Thu, 18 Nov 2010 14:08:38 +0000 Message-ID: <86sjyylo61.fsf@pm18pc01.europe.root.pri> References: <86wroalpht.fsf@pm18pc01.europe.root.pri> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1290089369 2279 80.91.229.12 (18 Nov 2010 14:09:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2010 14:09:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 18 15:09:22 2010 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.69) (envelope-from ) id 1PJ5At-0007gJ-5x for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Nov 2010 15:09:19 +0100 Original-Received: from localhost ([127.0.0.1]:52298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ5As-0004uA-JI for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Nov 2010 09:09:18 -0500 Original-Received: from [140.186.70.92] (port=52540 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ5AV-0004se-5G for help-gnu-emacs@gnu.org; Thu, 18 Nov 2010 09:08:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ5AT-0002XF-Lt for help-gnu-emacs@gnu.org; Thu, 18 Nov 2010 09:08:54 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:44352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJ5AT-0002WO-GA for help-gnu-emacs@gnu.org; Thu, 18 Nov 2010 09:08:53 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PJ5AS-0007Nz-4f for help-gnu-emacs@gnu.org; Thu, 18 Nov 2010 15:08:52 +0100 Original-Received: from 193.128.72.68 ([193.128.72.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Nov 2010 15:08:51 +0100 Original-Received: from pocmatos by 193.128.72.68 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Nov 2010 15:08:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.128.72.68 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:kJJZagyAvkCNAUqrtcVRzCVmfIk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:75401 Archived-At: Lennart Borgman writes: > > Look at font lock keywords. > Thanks for the tip. I thought that font lock was only used for highlighting of text previously. From http://www.gnu.org/software/emacs/manual/html_node/elisp/Search_002dbased-Fontification.html#Search_002dbased-Fontification it seems that I might be able to attach a function to transform the matched text. Thanks, -- PMatos