diff options
| author | Daniel Pfeiffer | 2004-11-10 20:15:00 +0000 |
|---|---|---|
| committer | Daniel Pfeiffer | 2004-11-10 20:15:00 +0000 |
| commit | c7eb99ce3a21ed7ad1169b85a7f9d4243487e240 (patch) | |
| tree | b043b396b3fcfb701fb09ed713bbc20b4d278b25 | |
| parent | 3819d3301ef186a2978b1ef6d1d6a5f4c8d2da2a (diff) | |
| download | emacs-c7eb99ce3a21ed7ad1169b85a7f9d4243487e240.tar.gz emacs-c7eb99ce3a21ed7ad1169b85a7f9d4243487e240.zip | |
magic-mode-alist & conf-mode.el
| -rw-r--r-- | etc/NEWS | 11 |
1 files changed, 9 insertions, 2 deletions
| @@ -106,8 +106,8 @@ of the file that precede the first header line. | |||
| 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 |
| @@ -2091,6 +2091,13 @@ anyone has committed to the repository since you last executed | |||
| 2091 | 2091 | ||
| 2092 | * New modes and packages in Emacs 21.4 | 2092 | * New modes and packages in Emacs 21.4 |
| 2093 | 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 | |||
| 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. |