From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: keywords highlighting Date: Wed, 8 Feb 2006 17:18:18 +0000 Organization: muc.de e.V. -- private internet access Message-ID: References: <87u0bbhssj.fsf@utero.home> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1139435068 10000 80.91.229.2 (8 Feb 2006 21:44:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 21:44:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 08 22:44:20 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6x6D-0004fJ-8z for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Feb 2006 22:43:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6x6C-0005cD-I1 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Feb 2006 16:43:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news-mue1.dfn.de!news-stu1.dfn.de!news.belwue.de!news-peer.in.tum.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1139425049 34890 193.149.49.134 (8 Feb 2006 18:57:29 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 8 Feb 2006 18:57:29 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:137454 Original-To: help-gnu-emacs@gnu.org 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:33078 Archived-At: Kirill Kuvaldin wrote on 7 Feb 2006 20:29:50 +0100: > Hey, I wanna emacs to highlight keywords (such as FIXME, TODO, ...) > like VIM. How can it be achieved? With M-x hi-lock-mode. Having done this in a buffer, do C-x w h \ hi-yellow . To save these settings in your file, do C-x w b. > -- > kuvkir -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").