From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Cor Gest Newsgroups: gmane.emacs.help Subject: Re: File mode specification error: (invalid-regexp "Invalid regular expression") Date: Sat, 26 Jul 2008 16:55:11 +0000 Organization: Clsnet Linux Systems Message-ID: <87y73oa8ls.fsf@atthis.clsnet.nl> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217107517 15846 80.91.229.12 (26 Jul 2008 21:25:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jul 2008 21:25:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 26 23:26:05 2008 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 1KMrH6-0007dE-Nf for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jul 2008 23:26:00 +0200 Original-Received: from localhost ([127.0.0.1]:57731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMrGC-000178-RR for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jul 2008 17:25:04 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!transit2.news.xs4all.nl!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail Original-Newsgroups: gnu.emacs.help X-Spam: http://www.clsnet.nl/spamipuku X-Www-Site: http://www.clsnet.nl X-Gpg-Key: http://www.clsnet.nl/GPG-data.txt User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:GQD1/E7Js2F77eeNzeyxhI+9gIM= Original-Lines: 24 Original-NNTP-Posting-Host: 213.84.183.106 Original-X-Trace: 1217091666 dreader25.news.xs4all.nl 10446 213.84.183.106:37605 Original-Xref: news.stanford.edu gnu.emacs.help:160620 X-Mailman-Approved-At: Sat, 26 Jul 2008 17:24:43 -0400 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:55969 Archived-At: The entity, AKA Roberto Bernetti wrote : (selectively-snipped-or-not-P) > Hi > I'm using opensuse 10.2 with GNU Emacs 21.3.1 > emacs the following line working in in my gnu-emacs-custom file: > -------------------------- > ;; Modifying alist > (setq auto-mode-alist > (cons '("\\.max" . maxima-mode) auto-mode-alist) ) .......................^ "$" is lacking here ..;-) ;;;;(setq auto-mode-alist ;;;; (cons '("\\.max$" . maxima-mode) auto-mode-alist) ) This should solve that. Cor -- Mijn Tools zijn zo modern dat ze allemaal eindigen op 'saurus' (defvar My-Computer '((OS . "GNU/Emacs") (IPL . "GNU/Linux"))) SPAM DELENDA EST http://www.clsnet.nl/mail.php Ik ontwerp schpellvauden, ergo innoveer taal