From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: custom colorizing keywords Date: Wed, 15 Mar 2006 09:18:37 -0500 Message-ID: <4418223D.2070302@speakeasy.net> References: <44166427.6040005@gmx.at> Reply-To: gebser@speakeasy.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142432397 24723 80.91.229.2 (15 Mar 2006 14:19:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 14:19:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 15 15:19:54 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 1FJWqa-0001BV-4f for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Mar 2006 15:19:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJWqY-0006fB-Sx for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Mar 2006 09:19:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJWqO-0006f4-9T for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 09:19:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJWqL-0006cV-TF for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 09:19:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJWqL-0006cJ-PK for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 09:19:17 -0500 Original-Received: from [69.17.117.3] (helo=mail1.sea5.speakeasy.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FJWum-0004sY-UE for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 09:23:53 -0500 Original-Received: (qmail 6156 invoked from network); 15 Mar 2006 14:19:15 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.27]) (gebser@[66.93.11.17]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 15 Mar 2006 14:19:15 -0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en Original-To: martin rudalics , help-gnu-emacs@gnu.org In-Reply-To: <44166427.6040005@gmx.at> 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:33789 Archived-At: martin rudalics wrote: >> ("\\<\\(XXX\\|xxx\\|???\\)\\>" . font-lock-keyword-face))) >> >> Evaluating this failed, told me "Fontifying region...(invalid-regexp >> Invalid regular expression)". I've read enough elisp code that I pretty > > Question marks in regular expressions are special. Try, as an example, > > ("\\<\\(XXX\\|xxx\\|YYY\\)\\>" . font-lock-keyword-face))) > > here. I got the same error message either way. -- "This world ain't big enough for the both of us," said the big noema to the little noema.