From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tom" Newsgroups: gmane.emacs.help Subject: did syntax for setq auto-mode-alist or regexp change with 21.3.1? Date: 30 Jun 2005 11:09:16 -0700 Organization: http://groups.google.com Message-ID: <1120154956.527628.38170@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1120154889 24981 80.91.229.2 (30 Jun 2005 18:08:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2005 18:08:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 20:08:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Do3Qx-0007XL-1b for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 20:06:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Do3ZF-0007Df-5E for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 14:15:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 130.214.9.243 Original-X-Trace: posting.google.com 1120154962 4426 127.0.0.1 (30 Jun 2005 18:09:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 30 Jun 2005 18:09:22 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=130.214.9.243; posting-account=5-z2vA0AAADDuq6u-C-dYgVk-e0UruXz Original-Xref: shelby.stanford.edu gnu.emacs.help:132273 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:27748 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27748 This worked with emacs 20.7.1 on Linux (setq auto-mode-alist (cons `("makefile\\(\\.aix\\|\\.hp\\|\\.sol\\|\\.linux\\|\\.gcc\\)\\'".makefile-mode) auto-mode-alist)) With emacs 21.3.1 on Linux I get this error for the above syntax: File mode specification error: (invalid-function (\.makefile-mode)) I had to do it this way to get it to work in emacs 21.3.1 on Linux (setq auto-mode-alist (cons `( "makefile\\.linux" . makefile-mode ) auto-mode-alist )) (setq auto-mode-alist (cons `( "makefile\\.sol" . makefile-mode ) auto-mode-alist )) (setq auto-mode-alist (cons `( "makefile\\.aix" . makefile-mode ) auto-mode-alist )) (setq auto-mode-alist (cons `( "makefile\\.hp" . makefile-mode ) auto-mode-alist )) (setq auto-mode-alist (cons `( "makefile\\.gcc" . makefile-mode ) auto-mode-alist )) Any ideas why the first form no longer works? Thank you, Tom M.