[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/etc/NEWS,v
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/etc/NEWS,v |
Date: |
Tue, 19 Dec 2006 09:24:46 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kim F. Storm <kfstorm> 06/12/19 09:24:46
Index: NEWS
===================================================================
RCS file: /cvsroot/emacs/emacs/etc/NEWS,v
retrieving revision 1.1416
retrieving revision 1.1417
diff -u -b -r1.1416 -r1.1417
--- NEWS 17 Dec 2006 20:16:00 -0000 1.1416
+++ NEWS 19 Dec 2006 09:24:45 -0000 1.1417
@@ -5517,10 +5517,16 @@
** Major mode mechanism changes:
+++
-*** `set-auto-mode' now gives the interpreter magic line (if present)
-precedence over the file name. Likewise an `<?xml' or `<!DOCTYPE'
-declaration will give the buffer XML or SGML mode, based on the new
-variable `magic-mode-alist'.
+*** New variable `magic-mode-alist' determines major mode for a file by
+looking the file contents. It take precedence over `auto-mode-alist'.
+
++++
+*** An interpreter magic line (if present) takes precedence over the
+file name when setting the major mode.
+
++++
+*** XML or SGML major mode is selected when file starts with an `<?xml'
+or `<!DOCTYPE' declaration.
+++
*** Use the new function `run-mode-hooks' to run the major mode's mode hook.
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Eli Zaretskii, 2006/12/01
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Juanma Barranquero, 2006/12/05
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/06
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/06
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/09
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Richard M. Stallman, 2006/12/17
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Richard M. Stallman, 2006/12/17
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Richard M. Stallman, 2006/12/17
- [Emacs-diffs] Changes to emacs/etc/NEWS,v,
Kim F. Storm <=
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Romain Francoise, 2006/12/19
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/19
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/20
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/21
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Nick Roberts, 2006/12/21
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Chong Yidong, 2006/12/23
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Richard M. Stallman, 2006/12/27
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Richard M. Stallman, 2006/12/27
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/30
- [Emacs-diffs] Changes to emacs/etc/NEWS,v, Kim F. Storm, 2006/12/30