From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: auto-mode-alist and regular expression Date: Wed, 14 Jan 2009 12:06:28 +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=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231931275 18705 80.91.229.12 (14 Jan 2009 11:07:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2009 11:07:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Decebal Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 14 12:09:07 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 1LN3bs-0008KW-8z for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2009 12:08:32 +0100 Original-Received: from localhost ([127.0.0.1]:59277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN3ab-0003T4-IS for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2009 06:07:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LN3Zw-0003Og-Bg for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:06:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LN3Zt-0003Ki-RZ for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:06:30 -0500 Original-Received: from [199.232.76.173] (port=43246 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN3Zt-0003KY-MH for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:06:29 -0500 Original-Received: from mail-ew0-f13.google.com ([209.85.219.13]:36956) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LN3Zt-0005YQ-A2 for help-gnu-emacs@gnu.org; Wed, 14 Jan 2009 06:06:29 -0500 Original-Received: by ewy6 with SMTP id 6so520942ewy.18 for ; Wed, 14 Jan 2009 03:06:28 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FmyZaF0do41e//M85AhUlVBiwg3eWpBLIuwMxCXb4N8=; b=uzhn3TQ6JhbqtAFZ8j8SsuZaY8s8SNGfHybAzrOLikFr2YMZSptJUCh+l+OIPUqJ4i ZQwIbrBKyW7ojZvAmCg9xIexM6RtrGiHyqV4wHQ8GBVh4fhBfQZJckVCd/NVeJED3Hto Mu+6tlPbmIIlrhW0NCtDRXu9Ckxj79gYYvD+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NsCJKON14PeIONiQToRRNwp3VPGC2cbUlBHako6yMI/VePel8tko6rCRcJTluA7oJK WlkCHe70dFbXk+lsC3Klc9TTLFBiJGOwtxzDpqi+RTUD1D2wAzbDxBtcyy6oGTUG00Zs FltMvgmVz+Vh4hmm8mDkNr1xT8T6ldaAMD82I= Original-Received: by 10.210.136.10 with SMTP id j10mr1317605ebd.188.1231931188321; Wed, 14 Jan 2009 03:06:28 -0800 (PST) Original-Received: by 10.210.141.18 with HTTP; Wed, 14 Jan 2009 03:06:28 -0800 (PST) In-Reply-To: <185efdc3-05ae-45c4-af14-9706cd99f275@p2g2000prf.googlegroups.com> 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:61320 Archived-At: > But I would like something like: > ("/adm[a-z]{3}\\'" . shell-script-mode) Does ("/adm[a-z]\\{3\\}\\'" . shell-script-mode) work? Juanma