From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Cecil Westerhof" Newsgroups: gmane.emacs.help Subject: Re: auto-mode-alist and regular expression Date: Wed, 14 Jan 2009 12:29:27 +0100 Message-ID: References: <185efdc3-05ae-45c4-af14-9706cd99f275@p2g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231932770 23709 80.91.229.12 (14 Jan 2009 11:32:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2009 11:32:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 14 12:34:02 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 1LN40V-0007zR-QZ for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2009 12:34:00 +0100 Original-Received: from localhost ([127.0.0.1]:59216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN3zF-00021o-6H for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2009 06:32:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LN3wB-000852-Sb for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:29:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LN3wA-000839-KJ for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:29:30 -0500 Original-Received: from [199.232.76.173] (port=53069 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN3wA-00082m-C1 for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:29:30 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.147]:65463) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LN3w9-00008H-Oy for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:29:30 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 4so53323eyg.24 for ; Wed, 14 Jan 2009 03:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=dyzWglAFtRLP41vBAWkoJMr3ePgGug7BCbvmZrXILr8=; b=GC1Dl34bdX8REb0H241UNAY5zBQNDNfzod47H6qvRzzfAq1gc/QFGlIGk2hjSC4H88 ehMM5vBPI2Tb7ANErBRJbIj3HYfMSsx7SJhpKA+HKn9fRuEeSU40O3eIhUyvZf2GE4Br VQUDlbg5tiVzHWggNwJvsZD5+sbiIikiosogo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GlW7wNQbCFt8MXZ+s3r2c/4llchrGEzSj9AjALkjhqqiDzMKYc3go9fgeMkOx7oqQY iUFSqYJ2D2/zd5LnLcYqb57KzEUt/hFWOhHhX277duyTOitkgG5iAJ4jdFWGsAIa3LsN MdOhBmowgZFqUS3Ww5kUoZj5bj1SBkmhFfQ9I= Original-Received: by 10.210.35.17 with SMTP id i17mr15237990ebi.140.1231932567562; Wed, 14 Jan 2009 03:29:27 -0800 (PST) Original-Received: by 10.210.59.16 with HTTP; Wed, 14 Jan 2009 03:29:27 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:61321 Archived-At: 2009/1/14 Juanma Barranquero : >> But I would like something like: >> ("/adm[a-z]{3}\\'" . shell-script-mode) > > Does > > ("/adm[a-z]\\{3\\}\\'" . shell-script-mode) > > work? It does. I should have tought about it myself. :-{ Thanks. -- Cecil Westerhof