all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* File mode specification error: (invalid-regexp "Invalid regular expression")
@ 2008-07-26 14:42 Roberto Bernetti
  2008-07-26 18:36 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: Roberto Bernetti @ 2008-07-26 14:42 UTC (permalink / raw)
  To: help-gnu-emacs

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) )
(setq auto-mode-alist
      (cons '("\\.m$" . octave-mode) auto-mode-alist))
(setq auto-mode-alist
      (cons '("\\_dbg$" . makefile-mode) auto-mode-alist))
(setq auto-mode-alist
      (cons '("\\.fi$" . fortran-mode) auto-mode-alist))
(setq auto-mode-alist
      (cons '(".gnu-emacs-custom$" . lisp-mode) auto-mode-alist))
(setq auto-mode-alist
     (cons '("smb\\.conf$" . smb-mode) auto-mode-alist))
(setq auto-mode-alist
     (cons '("\\.mc$" . maxima-mode) auto-mode-alist))
(setq auto-mode-alist
     (cons '("\\.mx$" . maxima-mode) auto-mode-alist))

no more work in opensuse 11.0 with GNU Emacs 22.2.1.
I get the following error loading any file i the previous list:

File mode specification error: (invalid-regexp "Invalid regular expression")

browsing the mailing list I changed to 

(add-to-list 'auto-mode-alist '("\\.fi$" . fortran-mode))

but for the string:
(add-to-list 'auto-mode-alist '("\\_dbg$" . makefile-mode))
I still get the previous error.

P.S. I'm not in the list.
-- 
Saluti
Roberto




^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.15448.1217089300.18990.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2008-07-26 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-26 14:42 File mode specification error: (invalid-regexp "Invalid regular expression") Roberto Bernetti
2008-07-26 18:36 ` Peter Dyballa
     [not found] <mailman.15448.1217089300.18990.help-gnu-emacs@gnu.org>
2008-07-26 16:50 ` Pascal J. Bourguignon
2008-07-26 16:55 ` Cor Gest

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.