Mercurial > emacs
changeset 58127:97020647249a
magic-mode-alist & conf-mode.el
author | Daniel Pfeiffer <occitan@esperanto.org> |
---|---|
date | Wed, 10 Nov 2004 20:15:00 +0000 |
parents | 418928dbe36c |
children | 5da080855cb1 |
files | etc/NEWS |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Wed Nov 10 20:12:29 2004 +0000 +++ b/etc/NEWS Wed Nov 10 20:15:00 2004 +0000 @@ -106,8 +106,8 @@ +++ ** `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, unless the file name leads to a mode in -`xml-based-modes'. +will give the buffer XML or SGML mode, based on the new var +`magic-mode-alist'. +++ ** New function `looking-back' checks whether a regular expression matches @@ -2091,6 +2091,13 @@ * New modes and packages in Emacs 21.4 +** The new package conf-mode.el handles thousands of configuration files, with +varying syntaxes for comments (;, #, //, /* */ or !), assignment (var = value, +var : value, var value or keyword var value) and sections ([section] or +section { }). Many files under /etc/, or with suffixes like .cf through +.config, .properties (Java), .desktop (KDE/Gnome), .ini and many others are +recognized. + ** The new package password.el provide a password cache and expiring mechanism. ** The new package dns-mode.el add syntax highlight of DNS master files.