Mercurial > emacs
comparison lisp/ChangeLog @ 26818:1004bdd01f7b
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 12 Dec 1999 18:29:58 +0000 |
parents | e719053e967a |
children | c785a9439eaf |
comparison
equal
deleted
inserted
replaced
26817:03befb219d03 | 26818:1004bdd01f7b |
---|---|
1 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
2 | |
3 * Release of cc-mode 5.26 | |
4 | |
5 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
6 | |
7 * cc-cmds.el (c-forward-conditional): Handle an arbitrary | |
8 target depth. Optionally count #else lines as clause limits, | |
9 as suggested by don provan <provan@lucent.com>. #elif | |
10 handling fixed. | |
11 | |
12 * cc-cmds.el (c-up-conditional-with-else, c-down-conditional) | |
13 (c-down-conditional-with-else): New commands that uses the | |
14 added functionality in `c-forward-conditional'. | |
15 | |
16 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
17 | |
18 * cc-align.el (c-lineup-comment): Preserve the alignment with | |
19 a comment on the previous line instead of preserving the | |
20 comment-column. | |
21 | |
22 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
23 | |
24 * Fixes to IDL mode after input from Eric Eide | |
25 <eeide@cs.utah.edu>: | |
26 * cc-engine.el (c-beginning-of-statement-1): Allow | |
27 `c-conditional-key' to be nil, for the benefit of IDL mode. | |
28 * cc-engine.el (c-guess-basic-syntax): Ditto. | |
29 cc-langs.el (C-IDL-class-key): Fixed. Don't match `class' | |
30 but do match CORBA 2.3 `valuetype'. | |
31 * cc-langs.el (c-IDL-access-key): New defconst. Should be nil | |
32 for IDL. | |
33 * cc-langs.el (c-IDL-conditional-key): New defconst. Should | |
34 be nil for IDL. | |
35 * cc-langs.el (c-IDL-comment-start-regexp): New defconst. | |
36 Like C++. | |
37 * cc-mode.el (idl-mode): Use new `c-IDL-*' defconsts. Also, | |
38 set `c-method-key' and `c-baseclass-key' to nil. | |
39 | |
40 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
41 | |
42 * cc-menus.el (cc-imenu-c++-generic-expression): Match classes | |
43 with nonhanging open braces. | |
44 | |
45 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
46 | |
47 * cc-align.el: Added docstrings to all lineup functions. | |
48 | |
49 * cc-align.el (c-lineup-java-throws): Handle a hanging throws | |
50 keyword. | |
51 | |
52 * cc-align.el (c-lineup-C-comments): Handle free form text | |
53 comments. Use c-comment-prefix-regexp and comment-start-skip | |
54 instead of hardcoded regexps. | |
55 | |
56 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
57 | |
58 * cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Fixed eob | |
59 behavior and return value as documented. | |
60 | |
61 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
62 | |
63 * Changes for new style variable init system: | |
64 * cc-langs.el (c-common-init): Dito. | |
65 * cc-styles.el: c-offsets-alist moved to cc-vars.el since it's | |
66 now customizable. | |
67 * cc-vars.el: Style variables may now take a value | |
68 'set-from-style to make them take their value from the style | |
69 system. This value is now the default on all these variables. | |
70 * cc-vars.el (c-valid-offset): New function to verify a | |
71 syntactic symbol offset setting. | |
72 * cc-vars.el (c-offsets-alist): Variable moved from | |
73 cc-styles.el since it's now customizable in a similar way to | |
74 the other style variables. | |
75 * cc-vars.el (c-old-style-variable-behavior): New variable to | |
76 revert to the old style init behavior. | |
77 | |
78 * cc-vars.el (c-file-style, c-file-offsets): Made always | |
79 buffer local. | |
80 | |
81 * cc-menus.el (cc-imenu-c++-generic-expression): Don't match | |
82 the throws clause that might follow the function prototype in | |
83 C++. | |
84 | |
85 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
86 | |
87 * cc-defs.el (c-beginning-of-macro): Fixed bug where point | |
88 could move forward for macros that doesn't start in column 0. | |
89 | |
90 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
91 | |
92 * cc-align.el (c-indent-multi-line-block, | |
93 c-lineup-whitesmith-in-block): Two new lineup functions for | |
94 use in whitesmith style. | |
95 | |
96 * cc-styles.el (c-style-alist): More fixes to whitesmith | |
97 style. It should now handle all different braces uniformly in | |
98 both hanging and non-hanging cases. | |
99 | |
100 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
101 | |
102 * cc-cmds.el (c-indent-exp): Use a marker to save point to | |
103 make it stay in the same position relative to the surrounding | |
104 text. | |
105 | |
106 * cc-cmds.el (c-fill-paragraph): Force the line comment prefix | |
107 when adaptive-fill-mode doesn't manage to get it correct. | |
108 | |
109 * cc-menus.el (cc-imenu-java-generic-expression): Handle types | |
110 with dotted notation, e.g. foo.bar.Gnu. | |
111 | |
112 * cc-mode.el (c-initialize-cc-mode): Wrap all function calls | |
113 within unwind-protect (previously only some were wrapped so it | |
114 would be possible to register mode initialization when full | |
115 initialization did not finish). | |
116 | |
117 * cc-styles.el (c-style-alist): Corrected the brace placement | |
118 in the whitesmith style. Thanks to Sean Luke | |
119 <seanl@cs.umd.edu>. Also extended the bsd and whitesmith | |
120 styles with consistent brace placement for all constructs. | |
121 | |
122 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
123 | |
124 * cc-cmds.el (c-context-line-break): Continue C++ comments too | |
125 when point is in the middle of them. | |
126 | |
127 * cc-cmds.el: Line breaking and paragraph filling code | |
128 rewritten: | |
129 (c-guess-fill-prefix): New function that uses various | |
130 heuristics to guess the comment prefix. | |
131 (c-fill-paragraph): Rewritten to use `c-guess-fill-prefix'. | |
132 It now assumes adaptive filling is active to preserve the line | |
133 prefix inside comments. | |
134 (c-indent-new-comment-line): Replacement for the now | |
135 obsolete `c-comment-line-break-function' that uses | |
136 `c-guess-fill-prefix' when appropriate. It now observes the | |
137 setting of `comment-multi-line', which has effect in C-style | |
138 block comments. | |
139 | |
140 * cc-cmds.el (c-context-line-break): New function intended to | |
141 be put on RET. It's essentially `newline-and-indent', but | |
142 continues C block comments with the appropriate line prefix. | |
143 | |
144 * cc-cmds.el (c-do-auto-fill): New function put on | |
145 `normal-auto-fill-function' to implement the | |
146 `c-ignore-auto-fill' variable. | |
147 | |
148 * cc-cmds.el (c-beginning-of-statement): Use | |
149 `c-comment-prefix-regexp' to avoid ending up inside the | |
150 comment prefix. Better handling of comment starters and | |
151 enders. Catch comments better when traversing code. Stop at | |
152 preprocessor directives. | |
153 | |
154 * cc-defs.el (c-forward-comment): New subst to hide platform | |
155 dependent quirks in `forward-comment'. | |
156 | |
157 * cc-engine.el (c-literal-limits): Added NOT-IN-DELIMITER | |
158 argument. | |
159 (c-literal-limits-fast): Implemented NEAR and NOT-IN-DELIMITER | |
160 arguments. Activate this function by default when | |
161 `parse-partial-sexp' supports it (currently Emacs 20.x). | |
162 | |
163 * cc-engine.el (c-guess-basic-syntax): Anchor the `c' syntax | |
164 on the comment opener to make constants usable as lineup | |
165 arguments. | |
166 | |
167 * cc-align.el (c-lineup-C-comments): Fixes to handle the | |
168 changed anchor position in the `c' syntactic symbol. Handle | |
169 more than stars in the comment prefix; use the new variable | |
170 `c-comment-prefix-regexp'. Don't indent text not preceded by | |
171 a comment prefix to the right of the comment opener if it's | |
172 long. | |
173 | |
174 * cc-langs.el: Fixes to mode initialization for new line | |
175 breaking and paragraph filling method. Adaptive fill mode is | |
176 now activated at startup instead of deactivated. The | |
177 variables used for adaptive filling and paragraph movement are | |
178 also changed to incorporate the value of | |
179 `c-comment-prefix-regexp'. `substitute-key-definition' is | |
180 used to override some functions in the global map instead of | |
181 overriding their default bindings. | |
182 | |
183 * cc-mode.el (java-mode): Modify `paragraph-start' for the | |
184 javadoc markup at mode init. | |
185 | |
186 * cc-mode.el (c-setup-filladapt): A new convenience function | |
187 to configure Kyle E. Jones' Filladapt mode for CC Mode. This | |
188 function is intended to be used explicitly by the end user | |
189 only. | |
190 | |
191 * cc-vars.el (c-comment-prefix-regexp): New variable used to | |
192 recognize the comment fill prefix inside comments. | |
193 (c-block-comment-prefix): New name for | |
194 `c-comment-contiuation-stars', which is now obsolete. It's | |
195 generalized to handle any character sequence. | |
196 (c-ignore-auto-fill): New variable used to selectively disable | |
197 Auto Fill mode in specific contexts. | |
198 | |
199 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
200 | |
201 * cc-cmds.el (c-comment-indent): Leave at least one space | |
202 between the comment and the last nonblank character in the | |
203 case where we look at the indentation of the comment on the | |
204 previous line (case 4). | |
205 | |
206 * cc-engine.el (c-beginning-of-statement-1): Added ``' to the | |
207 list of characters that may start a statement (it's a sort of | |
208 prefix operator in Pike, and isn't used at all in any of the | |
209 other languages). | |
210 | |
211 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
212 | |
213 * cc-engine.el (c-guess-basic-syntax): Report brace list opens | |
214 inside continued statements as statement-cont instead of | |
215 brace-list-open. The reason is that one normally adjusts | |
216 brace-list-open for brace lists as top-level constructs, and | |
217 brace lists inside statements is a completely different | |
218 context. Case 10B.2 changed. Also changed (the somewhat | |
219 esoteric) case 9A to cope with this. | |
220 | |
221 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
222 | |
223 * cc-cmds.el (c-electric-brace): Added electric handling of | |
224 the open brace for brace-elseif-brace. | |
225 | |
226 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
227 | |
228 * cc-defs.el (c-with-syntax-table): New macro to easily switch | |
229 syntax tables temporarily. | |
230 | |
231 * cc-engine.el (c-guess-basic-syntax): Handle template and | |
232 member init argument lists split over several lines. Case 5D | |
233 changed. | |
234 | |
235 * cc-langs.el (c-Java-javadoc-paragraph-start): Added new tag | |
236 @throws introduced in Javadoc 1.2. | |
237 | |
238 * cc-menus.el (cc-imenu-java-generic-expression): Applied | |
239 patch from RMS to avoid infinite backtracking. | |
240 | |
241 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
242 | |
243 * cc-align.el (c-lineup-arglist): Handle "arglists" surrounded | |
244 by [ ]. | |
245 | |
246 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
247 | |
248 * cc-align.el (c-lineup-dont-change): Compensate properly for | |
249 the column in langelem. | |
250 | |
251 * cc-engine.el (c-syntactic-information-on-region): New | |
252 function to help debugging the syntactic analysis. | |
253 | |
254 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
255 | |
256 * cc-align.el (c-lineup-template-args): Handle nested template | |
257 arglists. | |
258 | |
259 * cc-langs.el (c++-template-syntax-table): New syntax table | |
260 that makes `<' and `>' parenthesis characters, which is useful | |
261 to switch to temporarily when analyzing template arglists. | |
262 | |
263 * cc-styles.el: Changed default alignment of labels in the | |
264 java style to conform to the examples in the Java Language | |
265 Specification. | |
266 | |
267 * cc-styles.el (c-offsets-alist): Use `c-lineup-template-args' | |
268 by default. | |
269 | |
270 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
271 | |
272 * cc-engine.el (c-guess-basic-syntax): Pike allows a comma | |
273 immediately before the closing paren in an arglist, so don't | |
274 check that in Pike mode. Case 7A changed. | |
275 | |
276 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
277 | |
278 * cc-cmds.el (c-indent-region): Fixed bug where comment-only | |
279 lines were ignored under certain conditions. | |
280 | |
281 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
282 | |
283 * cc-align.el (c-lineup-template-args): New function for | |
284 aligning continued template argument lists. | |
285 | |
286 * cc-engine.el (c-guess-basic-syntax): Fix for member init | |
287 lists containing function arglists split over several lines. | |
288 Case 5D.1 changed. | |
289 | |
290 * cc-engine.el (c-guess-basic-syntax): Fixed bug where | |
291 template-args-cont didn't get recognized when the first | |
292 arglist opener line doesn't contain a template argument. New | |
293 case 5K. | |
294 | |
295 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
296 | |
297 * cc-defs.el (c-point): Changed from subst to macro for | |
298 efficiency. | |
299 (c-beginning-of-defun-1, c-end-of-defun-1): New | |
300 beginning-of-defun/end-of-defun wrappers separated from | |
301 c-point. | |
302 | |
303 * cc-menus.el (imenu-generic-expression, | |
304 imenu-case-fold-search, imenu-progress-message): Dummy | |
305 definitions to avoid compiler warnings if imenu can't be | |
306 loaded. | |
307 * cc-menus.el (cc-imenu-init): New function called at mode | |
308 init. | |
309 * cc-mode.el (c-mode, c++-mode, objc-mode, java-mode): Moved | |
310 imenu initializations to cc-imenu-init. | |
311 | |
312 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
313 | |
314 * cc-engine.el (c-guess-basic-syntax): Slightly better check | |
315 for lambda-intro-cont in Pike mode. Case 6 changed. | |
316 | |
317 * cc-engine.el (c-looking-at-inexpr-block): Fixed bug where | |
318 anything following "new Foo()" was considered an anonymous | |
319 class body in Java mode. | |
320 | |
321 1999-12-12 Barry A. Warsaw <bug-cc-mode@gnu.org> | |
322 | |
323 * cc-cmds.el (c-comment-line-break-function): When breaking in | |
324 a string, don't insert a new line. | |
325 | |
326 1999-12-12 Barry A. Warsaw <bug-cc-mode@gnu.org> | |
327 | |
328 * cc-engine.el (c-at-toplevel-p): New interface function which | |
329 returns information useful to add-on authors. It tells you | |
330 whether you're at a toplevel statement or not. | |
331 | |
332 1999-12-12 Barry A. Warsaw <bug-cc-mode@gnu.org> | |
333 | |
334 * cc-cmds.el (c-comment-line-break-function): It is possible | |
335 that forward-line does not land us at the bol, say if we're on | |
336 the last line in a file. In that case, do a | |
337 back-to-indentation instead of a forward-comment -1. | |
338 | |
339 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
340 | |
341 * cc-engine.el (c-beginning-of-statement-1): Don't catch | |
342 "default:" as normal label in case 4. | |
343 | |
344 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
345 | |
346 * cc-engine.el (c-guess-basic-syntax): Use c-bitfield-key to | |
347 recognize continued bitfield declarations. Case 5D.1 changed. | |
348 * cc-langs.el: New variable c-bitfield-key. | |
349 * cc-mode.el: New variable c-bitfield-key. | |
350 | |
351 1999-12-12 Martin Stjernholm <bug-cc-mode@gnu.org> | |
352 | |
353 * cc-engine.el (c-inside-bracelist-p): Tighter test for Java | |
354 anonymous array expressions (i.e. "new Foo[] {.. bracelist | |
355 ..}"). | |
356 | |
1 1999-12-12 Dave Love <fx@gnu.org> | 357 1999-12-12 Dave Love <fx@gnu.org> |
2 | 358 |
3 * footnote.el: Require cl when compiling. Don't autoload kemap | 359 * footnote.el: Require cl when compiling. Don't autoload keymap |
4 and minor-mode-alist stuff. Don't set zmacs-region-stays. | 360 and minor-mode-alist stuff. Don't set zmacs-region-stays. |
5 (footnote-insert-text-marker, Footnote-insert-pointer-marker): | 361 (footnote-insert-text-marker, Footnote-insert-pointer-marker): |
6 Avoid `acons'. | 362 Avoid `acons'. |
7 (footnote-mode-line-string, Footnote-add-footnote): Remove | 363 (footnote-mode-line-string, Footnote-add-footnote): Remove |
8 autoload cookie. | 364 autoload cookie. |