106 |
+++ |
+++ |
107 |
** `set-auto-mode' now gives the interpreter magic line (if present) |
** `set-auto-mode' now gives the interpreter magic line (if present) |
108 |
precedence over the file name. Likewise an <?xml or <!DOCTYPE declaration |
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 |
will give the buffer XML or SGML mode, based on the new var |
110 |
`xml-based-modes'. |
`magic-mode-alist'. |
111 |
|
|
112 |
+++ |
+++ |
113 |
** New function `looking-back' checks whether a regular expression matches |
** New function `looking-back' checks whether a regular expression matches |
2091 |
|
|
2092 |
* New modes and packages in Emacs 21.4 |
* 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. |
2100 |
|
|
2101 |
** The new package password.el provide a password cache and expiring mechanism. |
** The new package password.el provide a password cache and expiring mechanism. |
2102 |
|
|
2103 |
** The new package dns-mode.el add syntax highlight of DNS master files. |
** The new package dns-mode.el add syntax highlight of DNS master files. |