comparison etc/NEWS @ 58127:97020647249a

magic-mode-alist & conf-mode.el
author Daniel Pfeiffer <occitan@esperanto.org>
date Wed, 10 Nov 2004 20:15:00 +0000
parents feacddf3c14b
children f02cbb3be7fa cb7f41387eb3
comparison
equal deleted inserted replaced
58126:418928dbe36c 58127:97020647249a
104 of the file that precede the first header line. 104 of the file that precede the first header line.
105 105
106 +++ 106 +++
107 ** `set-auto-mode' now gives the interpreter magic line (if present) 107 ** `set-auto-mode' now gives the interpreter magic line (if present)
108 precedence over the file name. Likewise an <?xml or <!DOCTYPE declaration 108 precedence over the file name. Likewise an <?xml or <!DOCTYPE declaration
109 will give the buffer XML or SGML mode, unless the file name leads to a mode in 109 will give the buffer XML or SGML mode, based on the new var
110 `xml-based-modes'. 110 `magic-mode-alist'.
111 111
112 +++ 112 +++
113 ** New function `looking-back' checks whether a regular expression matches 113 ** New function `looking-back' checks whether a regular expression matches
114 the text before point. Specifying the LIMIT argument bounds how far 114 the text before point. Specifying the LIMIT argument bounds how far
115 back the match can start; this is a way to keep it from taking too long. 115 back the match can start; this is a way to keep it from taking too long.
2088 "checkout", "update" or "commit". That means using cvs diff options 2088 "checkout", "update" or "commit". That means using cvs diff options
2089 -rBASE -rHEAD. 2089 -rBASE -rHEAD.
2090 2090
2091 2091
2092 * New modes and packages in Emacs 21.4 2092 * New modes and packages in Emacs 21.4
2093
2094 ** The new package conf-mode.el handles thousands of configuration files, with
2095 varying syntaxes for comments (;, #, //, /* */ or !), assignment (var = value,
2096 var : value, var value or keyword var value) and sections ([section] or
2097 section { }). Many files under /etc/, or with suffixes like .cf through
2098 .config, .properties (Java), .desktop (KDE/Gnome), .ini and many others are
2099 recognized.
2093 2100
2094 ** The new package password.el provide a password cache and expiring mechanism. 2101 ** The new package password.el provide a password cache and expiring mechanism.
2095 2102
2096 ** The new package dns-mode.el add syntax highlight of DNS master files. 2103 ** The new package dns-mode.el add syntax highlight of DNS master files.
2097 The key binding C-c C-s (`dns-mode-soa-increment-serial') can be used 2104 The key binding C-c C-s (`dns-mode-soa-increment-serial') can be used