From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Getting started with syntax highlighting. Date: Tue, 25 Oct 2005 00:07:30 +0200 Message-ID: <435D5B22.2080101@student.lu.se> References: <87sluqa8qc.fsf@robotron.ath.cx> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1130191770 1830 80.91.229.2 (24 Oct 2005 22:09:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 22:09:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 25 00:09:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUAUC-0006Et-Su for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2005 00:08:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUAUC-0000Tu-A0 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Oct 2005 18:08:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUATf-00009i-Lf for help-gnu-emacs@gnu.org; Mon, 24 Oct 2005 18:07:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUATd-00008c-Qm for help-gnu-emacs@gnu.org; Mon, 24 Oct 2005 18:07:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUATc-00008R-6t for help-gnu-emacs@gnu.org; Mon, 24 Oct 2005 18:07:33 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EUATc-0002LK-14 for help-gnu-emacs@gnu.org; Mon, 24 Oct 2005 18:07:32 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 435BDF6A0005FF1B; Tue, 25 Oct 2005 00:07:30 +0200 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: David Hansen In-Reply-To: <87sluqa8qc.fsf@robotron.ath.cx> 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:30536 Archived-At: David Hansen wrote: >On Mon, 24 Oct 2005 22:33:41 +0200 Alex Polite wrote: > > > >>I want get into syntax highlighting. >> >>What I want to do is grey out all text that matches the regular >>expression "{id:\d+}. Sounds pretty basic right? But the documentation >>leaves me puzzled. >> >>Anybody out got a simple example to get me started? >> >> > >http://two-wugs.net/emacs/mode-tutorial.html > > This is also mentioned here: http://www.emacswiki.org/cgi-bin/wiki/CreateNewMajorMode