aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-07-24 11:17:36 +0000
committerGerd Moellmann2000-07-24 11:17:36 +0000
commit7972fcfca4cdaa6e2e2f51f6f5e6653721c38fca (patch)
tree0c148e791f97b154cfbf484d0825295077dd02bd
parent4cc7e49821f037fb920b7a29d980090521dd32c7 (diff)
downloademacs-7972fcfca4cdaa6e2e2f51f6f5e6653721c38fca.tar.gz
emacs-7972fcfca4cdaa6e2e2f51f6f5e6653721c38fca.zip
*** empty log message ***
-rw-r--r--etc/NEWS14
-rw-r--r--lisp/ChangeLog419
-rw-r--r--man/ChangeLog15
3 files changed, 448 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a92f9ef0453..63140b89b61 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -761,6 +761,20 @@ back depending on user feedback. Therefore there's no forward
761compatibility guarantee wrt the new features introduced in this 761compatibility guarantee wrt the new features introduced in this
762release. 762release.
763 763
764*** c-style-variables-are-local-p now defaults to t.
765This is an incompatible change that has been made to make the behavior
766of the style system wrt global variable settings less confusing for
767non-advanced users. If you know what this variable does you might
768want to set it to nil in your .emacs, otherwise you probably don't
769have to bother.
770
771Defaulting c-style-variables-are-local-p to t avoids the confusing
772situation that occurs when a user sets some style variables globally
773and edit both a Java and a non-Java file in the same Emacs session.
774If the style variables aren't buffer local in this case, loading of
775the second file will cause the default style (either "gnu" or "java"
776by default) to override the global settings made by the user.
777
764*** New initialization procedure for the style system. 778*** New initialization procedure for the style system.
765When the initial style for a buffer is determined by CC Mode (from the 779When the initial style for a buffer is determined by CC Mode (from the
766variable c-default-style), the global values of style variables now 780variable c-default-style), the global values of style variables now
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4314d1d1cab..b562beb54c3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,422 @@
12000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
2
3 * Release 5.27
4
52000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6
7 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
8 c-beginning-of-statement-1 that caused a bad case of recursion
9 which could consume a lot of CPU in large classes in languages
10 that have in-expression classes (i.e. Java and Pike).
11
12 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
13 statements before top level constructs (i.e. case 6 is moved
14 before case 5 and is now case 4) to catch in-expression
15 classes in top level expressions correctly.
16
172000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
18
19 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
20 objc-method-intro. Case 4 removed and case 5I added.
21
22 * cc-langs.el (c-append-paragraph-start): New variable used by
23 c-common-init to get paragraph-start correct.
24 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
25 initialize paragraph-start to make it correct both with and
26 without the javadoc special case.
27
28 * cc-mode.el (java-mode): Use c-append-paragraph-start to
29 initialize paragraph-start for javadoc markup.
30
31 * cc-vars.el (c-style-variables-are-local-p): Incompatible
32 change by defaulting this to t. It's motivated by the
33 confusing behavior that otherwise arise from the style system
34 when editing both java and non-java files at the same time
35 (see the comments about style setting in c-common-init).
36
372000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
38
39 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
40 similar to the one in c-fill-paragraph to check the fill
41 prefix from the adaptive fill function for sanity.
42
432000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
44
45 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
46 defun block.
47
482000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
49
50 * cc-mode.texi Documented the change of cpp-macro.
51
522000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
53
54 * cc-align.el (c-lineup-multi-inher): Handle lines with
55 leading comma nicely. Extended to handle member initializers
56 too.
57
58 * cc-engine.el (c-beginning-of-inheritance-list,
59 c-guess-basic-syntax): Fixed recognition of inheritance lists
60 when the lines begins with a comma.
61
62 * cc-mode.texi Updated doc for c-lineup-multi-inher.
63
64 * cc-vars.el (c-offsets-alist): Changed default for
65 member-init-cont to c-lineup-multi-inher since it now handles
66 member initializers and indents better for leading commas.
67
682000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
69
70 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
71 handling that caused class open lines to be recognized as
72 statement-conts in some cases.
73
74 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
75 guessed by the adaptive fill function unless point is on the
76 first line of a block comment.
77
78 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
79 when the buffer ends with a macro continuation char.
80
81 * cc-engine.el (c-guess-basic-syntax): Added support for
82 function definitions as statements in Pike. The first
83 statement in a lambda block is now labeled defun-block-intro
84 instead of statement-block-intro.
85
86 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
87 so that the class surrounding point is selected, not the one
88 innermost in the state.
89
90 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
91 recognition of switch labels having hanging multiline
92 statements.
93
94 * cc-engine.el (c-beginning-of-member-init-list): Broke out
95 some code in c-guess-basic-syntax to a separate function.
96 * cc-engine.el (c-just-after-func-arglist-p): Fixed
97 recognition of member inits with multiple line arglists.
98 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
99 member-init-cont when the commas are in funny places.
100
1012000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
102
103 * cc-defs.el (c-auto-newline): Removed this macro since it's
104 not used anymore.
105
106 * cc-engine.el (c-looking-at-bos): New helper function.
107 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
108 inexpr and toplevel classes apart in Pike.
109
110 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
111 of case 9A.
112
113 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
114 constant, since "class" can introduce an in-expression class
115 in Pike nowadays.
116
1172000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
118
119 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
120 indentation on cpp-macro lines.
121
122 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
123 a syntax modifier like comment-intro, to make it possible to
124 get syntactic indentation for preprocessor directives. It's
125 incompatible wrt to lineup functions on cpp-macro, but it has
126 no observable effect in the 99.9% common case where cpp-macro
127 is set to -1000.
128
1292000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
130
131 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
132 member-init-cont when the preceding arglist is several lines.
133
1342000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
135
136 * cc-styles.el (c-style-alist): The basic offset for the BSD
137 style corrected to 8.
138
1392000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
140
141 * cc-styles.el (c-style-alist): Adjusted the indentation of
142 brace list openers in the gnu style.
143
1442000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
145
146 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
147
148 * cc-cmds.el (c-electric-brace, c-electric-slash,
149 c-electric-star, c-electric-semi&comma, c-electric-colon,
150 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
151 when c-syntactic-indentation is nil.
152
153 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
154 we were left at comments preceding the first statement when
155 reaching the beginning of the buffer.
156
157 * cc-vars.el (c-syntactic-indentation): New variable to turn
158 off all syntactic indentation.
159
1602000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
161
162 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
163 between the text and the block comment ender when it hangs,
164 depending on how many there are before the fill.
165
1662000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
167
168 * cc-engine.el (c-beginning-of-closest-statement): New helper
169 function to go back to the closest preceding statement start,
170 which could be inside a conditional statement.
171 * cc-engine.el (c-guess-basic-syntax): Use
172 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
173
174 * cc-engine.el (c-guess-basic-syntax): Better handling of
175 arglist-intro, arglist-cont-nonempty and arglist-close when
176 the arglist is nested inside parens. Cases 7A, 7C and 7F
177 changed.
178
179 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
180 up-to-date with javadoc 1.2.
181
1822000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
183
184 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
185 multiline Pike type decls.
186
1872000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
188
189 * cc-cmds.el (c-indent-new-comment-line): Always break
190 multiline comments in multiline mode, regardless of
191 comment-multi-line.
192
1932000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
194
195 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
196 fully::qualified::names in C++ member init lists. Preamble in
197 case 5D changed.
198
1992000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
200
201 * cc-langs.el (c-common-init): Handling of obsolete variables
202 moved to c-initialize-cc-mode. More compatible style override
203 when using global style variables.
204 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
205 variables moved here.
206
207 * cc-mode.texi Documented the special behavior of
208 c-special-indent-hook as a style variable. Don't talk about
209 doing (c-make-styles-buffer-local t) in a mode hook, since
210 that's already too late to work right.
211
212 * cc-styles.el (c-make-styles-buffer-local): Flag style
213 variable localness in c-style-variables-are-local-p to make
214 the compatibility measure in c-common-init work well.
215
216 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
217 longer contain set-from-style.
218 * cc-styles.el (c-initialize-builtin-style): Don't check for
219 set-from-style on c-special-indent-hook.
220 * cc-styles.el (c-copy-tree): Obsolete. The standard function
221 copy-alist is sufficient now.
222
223 * cc-styles.el (c-set-style, c-set-style-1,
224 c-get-style-variables): Fixes to variable initialization so
225 that duplicate entries in styles have the same effect
226 regardless of DONT-OVERRIDE.
227
228 * cc-styles.el (c-set-style-2): Fixed bug where the
229 initialization of inheriting styles failed when the
230 dont-override flag is set.
231
232 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
233 on this.
234
2352000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
236
237 * cc-defs.el (c-forward-comment): Removed the workaround
238 introduced in 5.38 since it had worse side-effects. If a line
239 contains the string "//\"", it regarded the // as a comment
240 start since the \ temporarily doesn't have escape syntax.
241
2422000-07-17 Emmanuel Briot <briot@act-europe.fr>
243
244 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
245 ada-xref.el before ada-prj.el, so that the Project menu is created
246 when ada-prj tries to add to it.
247 (ada-activate-keys-for-case): Suppress the characters that are not
248 part of the Ada syntax. Better compatibility with else-mode
249 (ada-adjust-case-interactive): When auto-casing is not active,
250 correctly insert newlines (used to insert only ^M). Prevent the
251 syntax table from being changed in case of an error
252 (or '_' becomes part of a word and some commands are confused).
253 Do nothing if ada-auto-case is nil.
254 (ada-after-keyword-p): Ignore keywords that are also attributes
255 (ada-batch-reformat): Update usage comment
256 (ada-call-from-contextual-menu): New function
257 (ada-case-read-exceptions): Reinitialize the casing exception list
258 first to nil first, so that the casing exception file can be
259 shared.
260 (ada-check-defun-name): Handles "configure" keyword for gnatdist
261 files.
262 (ada-compile-goto-error): Fix regexp used to detect a file:line
263 anywhere in the error message
264 (ada-contextual-menu-last-point): New variable
265 (ada-create-keymap): If the variable delete-key-deletes-forward is
266 t on XEmacs, it means that DEL should delete one character
267 forward.
268 (ada-create-menu): Use :included instead of :visible for XEmacs.
269 New submenu "Options".
270 (ada-end-stmt-re): Correctly indent "select ... then abort"
271 statements.
272 (ada-fill-comment-paragraph): Correctly delete all leading '--'
273 even if they don't match ada-fill-comment-prefix Fix handling of
274 paragraphs on the first or last line of a file.
275 (ada-format-paramlist): Fix handling of default parameter values.
276 (ada-get-body-name): New function.
277 (ada-get-current-indent): Optimized by searchling directly for an
278 existing generic part or a statement outside of it. Handle
279 ada-indent-align-comments when indenting comments Replaced some
280 regexps by testing directly the next character. This results in a
281 huge speedup on some files. New indentation scheme for renames
282 statements. Stop looking for the 'while' or 'for' associated with
283 a 'loop' at the first semicolon encountered. A "return" can also
284 match an anonymous access subprogram declaration.
285 (ada-get-indent-noindent): Ignore strings and comments when
286 looking for the keywords "record" and "private".
287 (ada-goto-matching-decl-start): When matching "if", make sure we
288 are not in fact seeing "end if". Ignore "when" statements except
289 when initial keyword was "begin". Fix handling of nested
290 procedures. Add a recursive call to this function to skip over
291 other 'end' statmts. Fix indentation for "when .. => begin"
292 (ada-in-open-paren-p): Fix indentation for complex boolean
293 expressions, where 'and then', 'or else' and parenthesis
294 statements are mixed up.
295 (ada-in-paramlist-p): Skip comments while searching for the
296 beginning Fix handling of operator declarations.
297 (ada-indent-align-comments): New variable
298 (ada-indent-current): Change the syntax table only in the
299 protected section, so that we are sure it is restored correctly.
300 (ada-indent-on-previous-lines): Use ada-use-indent and
301 ada-with-indent Correctly indent "select ... then"
302 (ada-indent-region): Slight speedup.
303 (ada-indent-renames): New variable.
304 (ada-last-which-function-subprog, ada-last-which-function-line):
305 New variables
306 (ada-looking-at-semi-private): Correctly indent the 'private'
307 keyword when it is the first word in a package declaration.
308 (ada-loose-case-word): Stop searching if at the end of the buffer.
309 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
310 even if point is not initially at the end of the word.
311 (ada-matching-decl-start-re): Add "when".
312 (ada-mode): Add support for abbrev-mode, outline-mode and
313 which-func-mode Override the old find-file.el entry in
314 ff-special-constructs since it is using the obsolete
315 ada-spec-suffix variable
316 (ada-no-auto-case): New function
317 (ada-scan-paramlist): When parsing the argument type, accept
318 spaces (as in "X 'Class", generated by Rational Rose).
319 (ada-other-file-name): No longer loads the other file.
320 (ada-popup-menu): Save and restore the current buffer and cursor
321 position before and after displaying the menu.
322 (ada-search-ignore-complex-boolean): New function.
323 (ada-uncomment-region): Emacs21 already knows how to delete
324 comments not starting in the first column.
325 (ada-use-indent): New variable
326 (ada-which-function): New function.
327 (ada-with-indent): New variable
328 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
329 can be batch-compiled from the command line.
330
331 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
332 Add to the menu when the file is loaded, not in ada-mode-hook.
333 Add -toolbar to the default ddd command Switches moved from
334 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
335 ada-prj-default-comp-opt
336 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
337 Reference Manual to the menu
338 (ada-check-current): rewritten as a call to ada-compile-current
339 (ada-compile): Removed.
340 (ada-compile-application, ada-compile-current, ada-check-current):
341 Set the compilation-search-path so that compile.el automatically
342 finds the sources in src_dir. Automatic scrollong of the
343 compilation buffer. C-uC-cC-c asks for confirmation before
344 compiling
345 (ada-compile-current): New parameter, prj-field
346 (ada-complete-identifier): Load the .ali file before doing
347 processing
348 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
349 conform to gnatmake's behavior.
350 (ada-find-file-in-dir): New function
351 (ada-find-references): Set the environment variables for gnatfind
352 (ada-find-src-file-in-dir): New function.
353 (ada-first-non-nil): Removed
354 (ada-gdb-application): Add support for jdb, the java debugger.
355 (ada-get-ada-file-name): Load the original-file first if not done
356 yet.
357 (ada-get-all-references): Handles the new ali syntax (parent types
358 are found between <>).
359 (ada-initialize-runtime-library): New function
360 (ada-mode-hook): Always load a project file when a file is opened,
361 so that the casing exceptions are correctly read.
362 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
363 (ada-parse-prj-file): Use find-file-noselect instead of find-file
364 to open the project file, since the latter does not work with
365 speedbar Get default values before loading the prj file, or the
366 default executable file name is wrong. Use the absolute value of
367 src_dir to initialize ada-search-directories and
368 compilation-search-path,... Add the standard runtime library to
369 the search path for find-file.
370 (ada-prj-default-debugger): Was missing an opening '{'
371 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
372 variables.
373 (ada-prj-default-gnatmake-opt): New variable
374 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
375 buffers, the project file is the default one Save the windows
376 configuration before displaying the menu.
377 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
378 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
379 ...) regexp-quote identifiers names to support operators +,
380 -,... in regexps.
381 (ada-remote): New function.
382 (ada-run-application): Erase the output buffer before starting the
383 run Support remote execution of the application. Use
384 call-process, or the arguments are incorrectly parsed
385 (ada-set-default-project-file): Reread the content of the active
386 project file, not the one from the current buffer When a project
387 file is set as the default project, all directories are
388 automatically associated with it.
389 (ada-set-environment): New function
390 (ada-treat-cmd-string): New special variable ${current}
391 (ada-treat-cmd-string): Revised. The substitution is now done for
392 any ${...} substring
393 (ada-xref-current): If no body was found, compiles the spec
394 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
395 compiler to get rid of command line length limitations.
396 (ada-xref-get-project-field): New function
397 (ada-xref-project-files): New variable
398 (ada-xref-runtime-library-specs-path)
399 (ada-xref-runtime-library-ali-path): New variables
400 (ada-xref-set-default-prj-values): Default run command now does a
401 cd to the build directory. New field: main_unit Provide a default
402 file name even if the current buffer has no prj file.
403
404 * ada-prj.el:
405 Rewritten to show a tabbed-dialog.
406 (ada-prj-add-ada-menu): Remove the map and name parameters.
407 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
408 New function
409 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
410 (ada-prj-load-from-file): New function
411 (ada-prj-save): Always save fields that depend on the current buffer
412 (ada-prj-show-value): New function
413
414 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
415 Ada mode. This will allow us to display the Ada menu in any buffer
416 we want (for project items).
417 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
418 number of spaces in the header.
419
12000-07-24 Dave Love <fx@gnu.org> 4202000-07-24 Dave Love <fx@gnu.org>
2 421
3 * ediff-init.el (ediff-region-help-echo): Bind face-help. 422 * ediff-init.el (ediff-region-help-echo): Bind face-help.
diff --git a/man/ChangeLog b/man/ChangeLog
index 613a1eb2955..9b8094a395c 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,18 @@
12000-07-24 Gerd Moellmann <gerd@gnu.org>
2
3 * cc-mode.texi: @setfilename to ../info/ccmode.
4
52000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6
7 * cc-mode.texi: Documented the change of cpp-macro.
8
9 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
10
11 * cc-mode.texi: Documented the special behavior of
12 c-special-indent-hook as a style variable. Don't talk about
13 doing (c-make-styles-buffer-local t) in a mode hook, since
14 that's already too late to work right.
15
12000-07-22 Eli Zaretskii <eliz@is.elta.co.il> 162000-07-22 Eli Zaretskii <eliz@is.elta.co.il>
2 17
3 * mule.texi (Recognize Coding): Document the variable 18 * mule.texi (Recognize Coding): Document the variable