aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog.9
diff options
context:
space:
mode:
authorGlenn Morris2014-01-10 19:55:50 -0800
committerGlenn Morris2014-01-10 19:55:50 -0800
commita12bf61ed4bb5b06d829df1a1371b3bbf2c8e791 (patch)
tree5212fea2a6147308a40d979f656be2f971728a7b /lisp/ChangeLog.9
parentd2f16e93d2f96a33bcac0f5e5f1536575075bc0c (diff)
downloademacs-a12bf61ed4bb5b06d829df1a1371b3bbf2c8e791.tar.gz
emacs-a12bf61ed4bb5b06d829df1a1371b3bbf2c8e791.zip
ChangeLog fixes
Diffstat (limited to 'lisp/ChangeLog.9')
-rw-r--r--lisp/ChangeLog.9298
1 files changed, 145 insertions, 153 deletions
diff --git a/lisp/ChangeLog.9 b/lisp/ChangeLog.9
index e73b0d21f40..c0bf9824b4c 100644
--- a/lisp/ChangeLog.9
+++ b/lisp/ChangeLog.9
@@ -2437,20 +2437,6 @@
2437 2437
2438 * emacs-lisp/elp.el: A fix to follow coding conventions. 2438 * emacs-lisp/elp.el: A fix to follow coding conventions.
2439 2439
2440 * gnus/binhex.el, gnus/binhex.el, gnus/earcon.el,
2441 * gnus/gnus-agent.el, gnus/gnus-art.el, gnus/gnus-audio.el,
2442 * gnus/gnus-logic.el, gnus/gnus-ml.el, gnus/gnus-mlspl.el,
2443 * gnus/gnus-setup.el, gnus/gnus-srvr.el, gnus/gnus-sum.el,
2444 * gnus/gnus-uu.el, gnus/gnus-vm.el, gnus/ietf-drums.el,
2445 * gnus/mail-parse.el, gnus/mail-prsvr.el, gnus/mail-source.el,
2446 * gnus/mm-bodies.el, gnus/mm-decode.el, gnus/mm-encode.el,
2447 * gnus/mm-partial.el, gnus/mm-util.el, gnus/mm-uu.el,
2448 * gnus/mm-view.el, gnus/mml.el, gnus/nnimap.el, gnus/nnoo.el,
2449 * gnus/parse-time.el, gnus/rfc1843.el, gnus/rfc2045.el,
2450 * gnus/rfc2047.el, gnus/rfc2104.el, gnus/rfc2231.el,
2451 * gnus/time-date.el, gnus/uudecode.el: Some fixes to follow coding
2452 conventions in files from Gnus.
2453
2454 * abbrevlist.el, array.el, buff-menu.el, calendar/appt.el, 2440 * abbrevlist.el, array.el, buff-menu.el, calendar/appt.el,
2455 * case-table.el, cdl.el, cmuscheme.el, compare-w.el, completion.el, 2441 * case-table.el, cdl.el, cmuscheme.el, compare-w.el, completion.el,
2456 * custom.el, derived.el, dired-aux.el, disp-table.el, dos-vars.el, 2442 * custom.el, derived.el, dired-aux.el, disp-table.el, dos-vars.el,
@@ -2569,7 +2555,7 @@
2569 2555
25702001-07-10 Martin Stjernholm <bug-cc-mode@gnu.org> 25562001-07-10 Martin Stjernholm <bug-cc-mode@gnu.org>
2571 2557
2572 * cc-cmds.el (c-indent-exp): Keep the indentation of the block 2558 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of the block
2573 itself, i.e. only indent the contents in it. 2559 itself, i.e. only indent the contents in it.
2574 2560
25752001-07-10 Markus Rost <rost@math.ohio-state.edu> 25612001-07-10 Markus Rost <rost@math.ohio-state.edu>
@@ -2601,7 +2587,7 @@
2601 2587
26022001-07-09 Martin Stjernholm <bug-cc-mode@gnu.org> 25882001-07-09 Martin Stjernholm <bug-cc-mode@gnu.org>
2603 2589
2604 * cc-cmds.el: Extended the kludge to interoperate with the 2590 * progmodes/cc-cmds.el: Extended the kludge to interoperate with the
2605 delsel and pending-del packages wrt to the new function 2591 delsel and pending-del packages wrt to the new function
2606 `c-electric-delete-forward'. 2592 `c-electric-delete-forward'.
2607 2593
@@ -3648,14 +3634,14 @@
3648 3634
36492001-05-04 Martin Stjernholm <bug-cc-mode@gnu.org> 36352001-05-04 Martin Stjernholm <bug-cc-mode@gnu.org>
3650 3636
3651 * cc-cmds.el (c-electric-delete, c-electric-delete-forward): 3637 * progmodes/cc-cmds.el (c-electric-delete, c-electric-delete-forward):
3652 Split `c-electric-delete' into two functions where 3638 Split `c-electric-delete' into two functions where
3653 `c-electric-delete-forward' always deletes forward and 3639 `c-electric-delete-forward' always deletes forward and
3654 `c-electric-delete' only contains the code necessary for XEmacs to 3640 `c-electric-delete' only contains the code necessary for XEmacs to
3655 choose between backward and forward deletion. 3641 choose between backward and forward deletion.
3656 3642
3657 * cc-mode.el: `c-electric-delete-forward' is now bound to C-d to 3643 * progmodes/cc-mode.el: `c-electric-delete-forward' is now bound
3658 get the electric behavior on that key too. 3644 to C-d to get the electric behavior on that key too.
3659 (c-fill-paragraph): Fixed bogus direct use of 3645 (c-fill-paragraph): Fixed bogus direct use of
3660 c-comment-prefix-regexp, which caused an error when it's a list. 3646 c-comment-prefix-regexp, which caused an error when it's a list.
3661 3647
@@ -4463,53 +4449,54 @@
4463 4449
44642000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 44502000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4465 4451
4466 * cc-mode.el, cc-vars.el (c-common-init, c-default-style): 4452 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
4453 (c-default-style):
4467 Removed the hardcoded switch to "java" style in Java mode. 4454 Removed the hardcoded switch to "java" style in Java mode.
4468 It's instead taken care of by the default value for c-default-style. 4455 It's instead taken care of by the default value for c-default-style.
4469 4456
44702000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 44572000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4471 4458
4472 * cc-align.el (c-lineup-math): Fix bug where lineup was 4459 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup was
4473 triggered by equal signs in string literals. 4460 triggered by equal signs in string literals.
4474 4461
44752000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 44622000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4476 4463
4477 * cc-cmds.el (c-fill-paragraph): Fixed bug in the paragraph 4464 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bug in the paragraph
4478 limit detection when at the ends of the buffer. 4465 limit detection when at the ends of the buffer.
4479 4466
4480 * cc-engine.el (c-guess-basic-syntax): Removed bogus check for 4467 * progmodes/cc-engine.el (c-guess-basic-syntax): Removed bogus check for
4481 "for" statement clause in case 7F; a better one is done 4468 "for" statement clause in case 7F; a better one is done
4482 earlier in case 7D anyway. 4469 earlier in case 7D anyway.
4483 4470
44842000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 44712000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4485 4472
4486 * cc-cmds.el (c-guess-fill-prefix): Improved the heuristics 4473 * progmodes/cc-cmds.el (c-guess-fill-prefix): Improved the heuristics
4487 somewhat more and did a small optimization. 4474 somewhat more and did a small optimization.
4488 4475
44892000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 44762000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4490 4477
4491 * cc-cmds.el (c-beginning-of-statement, c-end-of-statement): 4478 * progmodes/cc-cmds.el (c-beginning-of-statement, c-end-of-statement):
4492 Use the limit argument only to limit the syntactic context 4479 Use the limit argument only to limit the syntactic context
4493 search, not to limit the actual movement. 4480 search, not to limit the actual movement.
4494 4481
4495 * cc-cmds.el (c-beginning-of-statement): Move by sentence 4482 * progmodes/cc-cmds.el (c-beginning-of-statement): Move by sentence
4496 inside multiline strings, just like in comments. Also various 4483 inside multiline strings, just like in comments. Also various
4497 fixes to the paragraph and comment prefix recognition, block 4484 fixes to the paragraph and comment prefix recognition, block
4498 comment ender handling etc. 4485 comment ender handling etc.
4499 4486
45002000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 44872000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4501 4488
4502 * cc-cmds.el (c-fill-paragraph): Take more care to preserve 4489 * progmodes/cc-cmds.el (c-fill-paragraph): Take more care to preserve
4503 the relative position of the point. 4490 the relative position of the point.
4504 4491
4505 * cc-cmds.el (c-electric-continued-statement): New function to 4492 * progmodes/cc-cmds.el (c-electric-continued-statement): New function to
4506 use as abbrev hook to reindent for keywords such as "else" 4493 use as abbrev hook to reindent for keywords such as "else"
4507 that continues an earlier statement. 4494 that continues an earlier statement.
4508 4495
4509 * cc-menus.el (cc-imenu-c++-generic-expression): Treat structs 4496 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Treat structs
4510 like classes. 4497 like classes.
4511 4498
4512 * cc-mode.el (c-mode, c++-mode, java-mode, objc-mode) 4499 * progmodes/cc-mode.el (c-mode, c++-mode, java-mode, objc-mode)
4513 (pike-mode): Populate the default abbrev tables to reindent for 4500 (pike-mode): Populate the default abbrev tables to reindent for
4514 keywords such as "else" that can continue earlier statements. 4501 keywords such as "else" that can continue earlier statements.
4515 Abbrev mode is therefore turned on by default now. (Note that 4502 Abbrev mode is therefore turned on by default now. (Note that
@@ -4518,30 +4505,30 @@
4518 4505
45192000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 45062000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4520 4507
4521 * cc-engine.el (c-inside-bracelist-p): Fix for handling 4508 * progmodes/cc-engine.el (c-inside-bracelist-p): Fix for handling
4522 bracelists where the declaration contains template arguments. 4509 bracelists where the declaration contains template arguments.
4523 4510
45242000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 45112000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4525 4512
4526 * cc-cmds.el (c-comment-indent): 4513 * progmodes/cc-cmds.el (c-comment-indent):
4527 Use `c-get-syntactic-indentation' to correctly calculate the 4514 Use `c-get-syntactic-indentation' to correctly calculate the
4528 syntactic indentation. Fixes bug with lineup functions that 4515 syntactic indentation. Fixes bug with lineup functions that
4529 return vectors. 4516 return vectors.
4530 4517
4531 * cc-engine.el (c-get-syntactic-indentation): Split the 4518 * progmodes/cc-engine.el (c-get-syntactic-indentation): Split the
4532 indentation sum calculation from `c-indent-line' to a separate 4519 indentation sum calculation from `c-indent-line' to a separate
4533 function. 4520 function.
4534 4521
45352000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 45222000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4536 4523
4537 * cc-cmds.el (c-beginning-of-statement, c-comment-indent): 4524 * progmodes/cc-cmds.el (c-beginning-of-statement, c-comment-indent):
4538 Fixed places where it was assumed that preprocessor directives 4525 Fixed places where it was assumed that preprocessor directives
4539 have to start in column zero. 4526 have to start in column zero.
4540 4527
4541 * cc-engine.el (c-beginning-of-member-init-list): Handle C++ 4528 * progmodes/cc-engine.el (c-beginning-of-member-init-list): Handle C++
4542 template arguments after a class identifier properly. 4529 template arguments after a class identifier properly.
4543 4530
4544 * cc-engine.el (c-guess-basic-syntax): Treat initializer brace 4531 * progmodes/cc-engine.el (c-guess-basic-syntax): Treat initializer brace
4545 lists for `new Foo[]' constructs in Java as expressions and 4532 lists for `new Foo[]' constructs in Java as expressions and
4546 not top level definition brace lists on the top level, so that 4533 not top level definition brace lists on the top level, so that
4547 they'll get indented consistently with the same type of 4534 they'll get indented consistently with the same type of
@@ -4549,25 +4536,26 @@
4549 4536
45502000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 45372000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4551 4538
4552 * cc-cmds.el (c-fill-paragraph): The kludge that checks 4539 * progmodes/cc-cmds.el (c-fill-paragraph): The kludge that checks
4553 whether the adaptive filling package fails to keep the comment 4540 whether the adaptive filling package fails to keep the comment
4554 prefix is now kludged further to check for filladapt-mode 4541 prefix is now kludged further to check for filladapt-mode
4555 which doesn't have that problem. This is really icky, but it's 4542 which doesn't have that problem. This is really icky, but it's
4556 the only way that works with the current misfeatures/bugs in 4543 the only way that works with the current misfeatures/bugs in
4557 both adaptive-fill-mode and filladapt-mode. 4544 both adaptive-fill-mode and filladapt-mode.
4558 4545
4559 * cc-cmds.el (c-fill-paragraph): Made the way the paragraph 4546 * progmodes/cc-cmds.el (c-fill-paragraph): Made the way the paragraph
4560 around point is recognized more robust. 4547 around point is recognized more robust.
4561 4548
45622000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 45492000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4563 4550
4564 * cc-cmds.el, cc-engine.el, cc-lobotomy.el (c-state-cache) 4551 * progmodes/cc-cmds.el, progmodes/cc-engine.el:
4552 * progmodes/cc-lobotomy.el (c-state-cache)
4565 (c-in-literal-cache, c-auto-fill-prefix, c-lit-limits) 4553 (c-in-literal-cache, c-auto-fill-prefix, c-lit-limits)
4566 (c-lit-type): Fixed all internal variables used dynamically so 4554 (c-lit-type): Fixed all internal variables used dynamically so
4567 that they are always bound. 4555 that they are always bound.
4568 4556
4569 * cc-cmds.el, cc-engine.el: Improved recovery of syntactic 4557 * progmodes/cc-cmds.el, progmodes/cc-engine.el:
4570 errors: 4558 Improve recovery of syntactic errors:
4571 4559
4572 (c-indent-region): Fixed reporting of syntactic errors so that 4560 (c-indent-region): Fixed reporting of syntactic errors so that
4573 the region is fully reindented even when an error occurs. 4561 the region is fully reindented even when an error occurs.
@@ -4594,22 +4582,23 @@
4594 4582
45952000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 45832000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4596 4584
4597 * cc-cmds.el (c-beginning-of-statement): Fixed bugs with 4585 * progmodes/cc-cmds.el (c-beginning-of-statement): Fixed bugs with
4598 paragraph recognition when moving by sentence in literals. 4586 paragraph recognition when moving by sentence in literals.
4599 4587
4600 * cc-langs.el (c-Java-javadoc-paragraph-start): Modified paragraph 4588 * progmodes/cc-langs.el (c-Java-javadoc-paragraph-start): Modified
4601 start regexp for javadoc to recognize javadoc markup in general instead 4589 paragraph start regexp for javadoc to recognize javadoc markup in
4602 of a specific set of keywords, to be more future-safe. 4590 general instead of a specific set of keywords, to be more future-safe.
4603 4591
4604 (c-Pike-pikedoc-paragraph-start) 4592 (c-Pike-pikedoc-paragraph-start)
4605 (c-Pike-pikedoc-paragraph-separate): New regexps to recognize 4593 (c-Pike-pikedoc-paragraph-separate): New regexps to recognize
4606 pikedoc markup. 4594 pikedoc markup.
4607 4595
4608 * cc-mode.el: Fixed initialization and use of c-current-comment-prefix. 4596 * progmodes/cc-mode.el:
4597 Fixed initialization and use of c-current-comment-prefix.
4609 4598
4610 (pike-mode): Initialize paragraph settings pikedoc recognition. 4599 (pike-mode): Initialize paragraph settings pikedoc recognition.
4611 4600
4612 * cc-vars.el (c-default-style): Made a nicer Customize widget. 4601 * progmodes/cc-vars.el (c-default-style): Made a nicer Customize widget.
4613 4602
4614 (c-comment-prefix-regexp): Made it possible to use an 4603 (c-comment-prefix-regexp): Made it possible to use an
4615 association list on this to specify mode specific regexps. 4604 association list on this to specify mode specific regexps.
@@ -4621,114 +4610,116 @@
4621 4610
46222000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46112000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4623 4612
4624 * cc-cmds.el (c-electric-brace): Fixed check for special brace 4613 * progmodes/cc-cmds.el (c-electric-brace): Fixed check for special brace
4625 lists: We can't look at the syntax, since a brace list can get 4614 lists: We can't look at the syntax, since a brace list can get
4626 recognized as a plain statement-cont. 4615 recognized as a plain statement-cont.
4627 4616
4628 * cc-engine.el (c-guess-basic-syntax): Fixed bug where a 4617 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug where a
4629 special brace list opener broken over two lines got recognized 4618 special brace list opener broken over two lines got recognized
4630 as a statement on the second line. Case 9A changed. 4619 as a statement on the second line. Case 9A changed.
4631 4620
46322000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46212000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4633 4622
4634 * cc-cmds.el (c-electric-brace): Fixed bug in c-state-cache 4623 * progmodes/cc-cmds.el (c-electric-brace): Fixed bug in c-state-cache
4635 adjustment after line is reindented. 4624 adjustment after line is reindented.
4636 4625
46372000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46262000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4638 4627
4639 * cc-defs.el (c-point): Added optional argument for position 4628 * progmodes/cc-defs.el (c-point): Added optional argument for position
4640 to use instead of the current point. 4629 to use instead of the current point.
4641 4630
4642 * cc-defs.el, cc-engine.el (c-add-class-syntax): Do not add 4631 * progmodes/cc-defs.el, progmodes/cc-engine.el (c-add-class-syntax):
4643 the in-expression block symbols when the construct starts at 4632 Do not add the in-expression block symbols when the construct
4644 boi, to avoid the extra level of indentation in that case. 4633 starts at boi, to avoid the extra level of indentation in that case.
4645 Cases 4, 16A and 17E affected. 4634 Cases 4, 16A and 17E affected.
4646 4635
46472000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46362000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4648 4637
4649 * cc-cmds.el: Use `indent-according-to-mode' instead of direct 4638 * progmodes/cc-cmds.el: Use `indent-according-to-mode' instead of direct
4650 calls to `c-indent-line', to adhere better to Emacs conventions. 4639 calls to `c-indent-line', to adhere better to Emacs conventions.
4651 4640
4652 * cc-engine.el (c-indent-line): Use the syntax already bound 4641 * progmodes/cc-engine.el (c-indent-line): Use the syntax already bound
4653 to `c-syntactic-context', if there is any. 4642 to `c-syntactic-context', if there is any.
4654 4643
46552000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46442000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4656 4645
4657 * cc-engine.el (c-get-offset): Fixed bug where the indentation 4646 * progmodes/cc-engine.el (c-get-offset): Fixed bug where the indentation
4658 wasn't added up correctly when a lineup function returned nil. 4647 wasn't added up correctly when a lineup function returned nil.
4659 4648
46602000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46492000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4661 4650
4662 * cc-engine.el (c-collect-line-comments): Fixed bug where 4651 * progmodes/cc-engine.el (c-collect-line-comments): Fixed bug where
4663 empty lines were ignored when collecting line comments backwards. 4652 empty lines were ignored when collecting line comments backwards.
4664 4653
46652000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46542000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4666 4655
4667 * cc-align.el (c-lineup-dont-change): Return an absolute 4656 * progmodes/cc-align.el (c-lineup-dont-change): Return an absolute
4668 indentation column to work correctly in the case when several 4657 indentation column to work correctly in the case when several
4669 syntactic elements are processed for the same line. 4658 syntactic elements are processed for the same line.
4670 4659
4671 * cc-engine.el, cc-styles.el, cc-vars.el (c-evaluate-offset) 4660 * progmodes/cc-engine.el, progmodes/cc-styles.el:
4661 * progmodes/cc-vars.el (c-evaluate-offset)
4672 (c-get-offset, c-indent-line, c-valid-offset, c-read-offset) 4662 (c-get-offset, c-indent-line, c-valid-offset, c-read-offset)
4673 (c-set-offset): Added absolute indentation column settings by 4663 (c-set-offset): Added absolute indentation column settings by
4674 using the vector type. 4664 using the vector type.
4675 4665
46762000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46662000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4677 4667
4678 * cc-cmds.el, cc-vars.el (c-electric-paren, c-cleanup-list): 4668 * progmodes/cc-cmds.el, progmodes/cc-vars.el
4669 (c-electric-paren, c-cleanup-list):
4679 Implemented two new cleanups `space-before-funcall' and 4670 Implemented two new cleanups `space-before-funcall' and
4680 `compact-empty-funcall'. 4671 `compact-empty-funcall'.
4681 4672
46822000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46732000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4683 4674
4684 * cc-defs.el (c-paren-re, c-identifier-re): Two new macros for 4675 * progmodes/cc-defs.el (c-paren-re, c-identifier-re): Two new macros for
4685 helping building regexps. 4676 helping building regexps.
4686 4677
4687 * cc-engine.el (c-on-identifier): New function for detecting 4678 * progmodes/cc-engine.el (c-on-identifier): New function for detecting
4688 identifiers. It takes keywords into account. 4679 identifiers. It takes keywords into account.
4689 4680
4690 * cc-langs.el, cc-mode.el: Added regexps for complete keyword 4681 * progmodes/cc-langs.el, progmodes/cc-mode.el: Added regexps for
4691 lists. `c-keywords' is set to a regexp matching all keywords 4682 complete keyword lists. `c-keywords' is set to a regexp matching
4692 in the current language. 4683 all keywords in the current language.
4693 4684
46942000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46852000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4695 4686
4696 * cc-engine.el (c-beginning-of-statement-1): Added '#' to the 4687 * progmodes/cc-engine.el (c-beginning-of-statement-1): Added '#' to the
4697 list of characters to skip backwards over at the beginning of 4688 list of characters to skip backwards over at the beginning of
4698 a statement, since it can precede string literals in Pike. 4689 a statement, since it can precede string literals in Pike.
4699 4690
47002000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 46912000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4701 4692
4702 * cc-cmds.el (c-guess-fill-prefix): Fixed bug with prefix 4693 * progmodes/cc-cmds.el (c-guess-fill-prefix): Fixed bug with prefix
4703 recognition when standing on the last line in a C++ comment 4694 recognition when standing on the last line in a C++ comment
4704 with nothing but whitespace after the prefix. 4695 with nothing but whitespace after the prefix.
4705 4696
4706 * cc-engine.el (c-backward-to-start-of-if): Fixed bug when 4697 * progmodes/cc-engine.el (c-backward-to-start-of-if): Fixed bug when
4707 given no limit argument. 4698 given no limit argument.
4708 4699
47092000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47002000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4710 4701
4711 * cc-engine.el (c-inside-bracelist-p): Fixed brace list 4702 * progmodes/cc-engine.el (c-inside-bracelist-p): Fixed brace list
4712 recognition for the `[]= operator symbol in Pike. 4703 recognition for the `[]= operator symbol in Pike.
4713 4704
47142000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47052000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4715 4706
4716 * cc-bytecomp.el (cc-eval-when-compile): New macro that works 4707 * progmodes/cc-bytecomp.el (cc-eval-when-compile): New macro that works
4717 around a bug in `eval-when-compile' in the byte compiler. 4708 around a bug in `eval-when-compile' in the byte compiler.
4718 4709
4719 * cc-engine.el (c-forward-token-1): Fixed bug with return 4710 * progmodes/cc-engine.el (c-forward-token-1): Fixed bug with return
4720 value when count is zero and there's no token start within the limit. 4711 value when count is zero and there's no token start within the limit.
4721 4712
4722 (c-guess-basic-syntax): Don't add 'comment-intro to lines with 4713 (c-guess-basic-syntax): Don't add 'comment-intro to lines with
4723 "prefix comments", i.e. comments which are followed by code on 4714 "prefix comments", i.e. comments which are followed by code on
4724 the same line. 4715 the same line.
4725 4716
4726 * cc-mode-19.el: Fixes so that checks that must be done at 4717 * progmodes/cc-mode-19.el: Fixes so that checks that must be done at
4727 compile time also are done then. 4718 compile time also are done then.
4728 4719
47292000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47202000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4730 4721
4731 * cc-defs.el: Make sure cc-mode-19 is loaded both at compile 4722 * progmodes/cc-defs.el: Make sure cc-mode-19 is loaded both at compile
4732 time and at runtime, and only when it's needed. 4723 time and at runtime, and only when it's needed.
4733 4724
47342000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47252000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
@@ -4738,7 +4729,7 @@
4738 compilation orders. Thanks to Martin Buchholz for providing 4729 compilation orders. Thanks to Martin Buchholz for providing
4739 the basis for all this. 4730 the basis for all this.
4740 4731
4741 * cc-bytecomp.el: New file that provides some byte compilation 4732 * progmodes/cc-bytecomp.el: New file that provides some byte compilation
4742 features: It ensures that files always are loaded from the 4733 features: It ensures that files always are loaded from the
4743 current source directory during compilation, and it provides a 4734 current source directory during compilation, and it provides a
4744 set of macros to turn off specific compiler warnings for 4735 set of macros to turn off specific compiler warnings for
@@ -4747,61 +4738,62 @@
4747 Fixed a nearly acyclic dependency tree (both runtime and 4738 Fixed a nearly acyclic dependency tree (both runtime and
4748 compile-time) between all files. 4739 compile-time) between all files.
4749 4740
4750 * cc-defs.el: Separated all macros before the inline functions, 4741 * progmodes/cc-defs.el: Separated all macros before the
4751 to ensure correct compilation. 4742 inline functions, to ensure correct compilation.
4752 4743
4753 * cc-defs.el, cc-engine.el: Moved c-beginning-of-macro to from 4744 * progmodes/cc-defs.el, progmodes/cc-engine.el: Moved
4754 cc-defs.el to cc-engine.el and made it a function instead. 4745 c-beginning-of-macro to from cc-defs.el to cc-engine.el and
4746 made it a function instead.
4755 4747
4756 * cc-mode-19.el: Patch the byte compiler in Emacs 19 not to warn 4748 * progmodes/cc-mode-19.el: Patch the byte compiler in Emacs 19
4757 about char-after. 4749 not to warn about char-after.
4758 4750
4759 * cc-vars.el: Cope even when there isn't a custom package 4751 * progmodes/cc-vars.el: Cope even when there isn't a custom package
4760 containing defcustom available. 4752 containing defcustom available.
4761 4753
4762 * cc-make.el: Removed since it's no longer necessary. 4754 * progmodes/cc-make.el: Removed since it's no longer necessary.
4763 4755
4764 README: Updated installation instructions. 4756 README: Updated installation instructions.
4765 4757
47662000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47582000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4767 4759
4768 * cc-cmds.el, cc-langs.el, cc-mode.el: Moved around things to 4760 * progmodes/cc-cmds.el, progmodes/cc-langs.el, progmodes/cc-mode.el:
4769 improve the modularity: Moved all mode init stuff from 4761 Moved around things to improve the modularity:
4770 cc-langs.el to cc-mode.el, including the keymap 4762 Moved all mode init stuff from cc-langs.el to cc-mode.el,
4771 initialization; cc-langs now only contains the various 4763 including the keymap initialization; cc-langs now only contains
4772 variables for configuring the language syntax. 4764 the various variables for configuring the language syntax.
4773 4765
4774 * cc-engine.el, cc-styles.el (c-evaluate-offset) 4766 * progmodes/cc-engine.el, progmodes/cc-styles.el (c-evaluate-offset)
4775 (c-get-offset): Moved from cc-styles to cc-engine since file 4767 (c-get-offset): Moved from cc-styles to cc-engine since file
4776 dependency analysis suggests they belong there (which also 4768 dependency analysis suggests they belong there (which also
4777 makes more sense). Thanks to Martin Buchholz for doing the analysis. 4769 makes more sense). Thanks to Martin Buchholz for doing the analysis.
4778 4770
47792000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47712000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4780 4772
4781 * cc-cmds.el (c-fn-region-is-active-p): New function that 4773 * progmodes/cc-cmds.el (c-fn-region-is-active-p): New function that
4782 wraps the corresponding macro, for use in places that aren't 4774 wraps the corresponding macro, for use in places that aren't
4783 compiled. Thanks to Martin Buchholz for pointing out this. 4775 compiled. Thanks to Martin Buchholz for pointing out this.
4784 4776
4785 * cc-langs.el (c-mode-menu): Use c-fn-region-is-active-p. 4777 * progmodes/cc-langs.el (c-mode-menu): Use c-fn-region-is-active-p.
4786 4778
4787 * cc-mode.el (c-prepare-bug-report-hooks): Hook variable to 4779 * progmodes/cc-mode.el (c-prepare-bug-report-hooks): Hook variable to
4788 add things to the bug report. 4780 add things to the bug report.
4789 4781
47902000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47822000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4791 4783
4792 * cc-cmds.el (c-guess-fill-prefix): Fixed bug where the 4784 * progmodes/cc-cmds.el (c-guess-fill-prefix): Fixed bug where the
4793 returned prefix could contain a newline when the search for a 4785 returned prefix could contain a newline when the search for a
4794 good prefix line failed. 4786 good prefix line failed.
4795 4787
47962000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47882000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4797 4789
4798 * cc-cmds.el (c-toggle-auto-state, c-toggle-hungry-state) 4790 * progmodes/cc-cmds.el (c-toggle-auto-state, c-toggle-hungry-state)
4799 (c-toggle-auto-hungry-state): Made the argument optional, as 4791 (c-toggle-auto-hungry-state): Made the argument optional, as
4800 the documentation says it is. 4792 the documentation says it is.
4801 4793
48022000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org> 47942000-03-21 Martin Stjernholm <bug-cc-mode@gnu.org>
4803 4795
4804 * cc-engine.el (c-guess-basic-syntax): Don't treat the Pike 4796 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't treat the Pike
4805 multiline string syntax, #"...", as a cpp macro. 4797 multiline string syntax, #"...", as a cpp macro.
4806 4798
48072001-03-21 Paul Eggert <eggert@twinsun.com> 47992001-03-21 Paul Eggert <eggert@twinsun.com>
@@ -15271,31 +15263,31 @@
15271 15263
152722000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 152642000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15273 15265
15274 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to 15266 * progmodes/cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
15275 c-beginning-of-statement-1 that caused a bad case of recursion 15267 c-beginning-of-statement-1 that caused a bad case of recursion
15276 which could consume a lot of CPU in large classes in languages 15268 which could consume a lot of CPU in large classes in languages
15277 that have in-expression classes (i.e. Java and Pike). 15269 that have in-expression classes (i.e. Java and Pike).
15278 15270
15279 * cc-engine.el (c-guess-basic-syntax): Check for in-expression 15271 * progmodes/cc-engine.el (c-guess-basic-syntax): Check for in-expression
15280 statements before top level constructs (i.e. case 6 is moved 15272 statements before top level constructs (i.e. case 6 is moved
15281 before case 5 and is now case 4) to catch in-expression 15273 before case 5 and is now case 4) to catch in-expression
15282 classes in top level expressions correctly. 15274 classes in top level expressions correctly.
15283 15275
152842000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 152762000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15285 15277
15286 * cc-engine.el (c-guess-basic-syntax): Less naive handling of 15278 * progmodes/cc-engine.el (c-guess-basic-syntax): Less naive handling of
15287 objc-method-intro. Case 4 removed and case 5I added. 15279 objc-method-intro. Case 4 removed and case 5I added.
15288 15280
15289 * cc-langs.el (c-append-paragraph-start): New variable used by 15281 * progmodes/cc-langs.el (c-append-paragraph-start): New variable used by
15290 c-common-init to get paragraph-start correct. 15282 c-common-init to get paragraph-start correct.
15291 * cc-langs.el (c-common-init): Use c-append-paragraph-start to 15283 * progmodes/cc-langs.el (c-common-init): Use c-append-paragraph-start to
15292 initialize paragraph-start to make it correct both with and 15284 initialize paragraph-start to make it correct both with and
15293 without the javadoc special case. 15285 without the javadoc special case.
15294 15286
15295 * cc-mode.el (java-mode): Use c-append-paragraph-start to 15287 * progmodes/cc-mode.el (java-mode): Use c-append-paragraph-start to
15296 initialize paragraph-start for javadoc markup. 15288 initialize paragraph-start for javadoc markup.
15297 15289
15298 * cc-vars.el (c-style-variables-are-local-p): Incompatible 15290 * progmodes/cc-vars.el (c-style-variables-are-local-p): Incompatible
15299 change by defaulting this to t. It's motivated by the 15291 change by defaulting this to t. It's motivated by the
15300 confusing behavior that otherwise arise from the style system 15292 confusing behavior that otherwise arise from the style system
15301 when editing both java and non-java files at the same time 15293 when editing both java and non-java files at the same time
@@ -15303,84 +15295,84 @@
15303 15295
153042000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 152962000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15305 15297
15306 * cc-cmds.el (c-indent-new-comment-line): Added a kludge 15298 * progmodes/cc-cmds.el (c-indent-new-comment-line): Added a kludge
15307 similar to the one in c-fill-paragraph to check the fill 15299 similar to the one in c-fill-paragraph to check the fill
15308 prefix from the adaptive fill function for sanity. 15300 prefix from the adaptive fill function for sanity.
15309 15301
153102000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153022000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15311 15303
15312 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into 15304 * progmodes/cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
15313 defun block. 15305 defun block.
15314 15306
153152000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153072000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15316 15308
15317 * cc-align.el (c-lineup-multi-inher): Handle lines with 15309 * progmodes/cc-align.el (c-lineup-multi-inher): Handle lines with
15318 leading comma nicely. Extended to handle member initializers 15310 leading comma nicely. Extended to handle member initializers
15319 too. 15311 too.
15320 15312
15321 * cc-engine.el (c-beginning-of-inheritance-list) 15313 * progmodes/cc-engine.el (c-beginning-of-inheritance-list)
15322 (c-guess-basic-syntax): Fixed recognition of inheritance lists 15314 (c-guess-basic-syntax): Fixed recognition of inheritance lists
15323 when the lines begins with a comma. 15315 when the lines begins with a comma.
15324 15316
15325 * cc-vars.el (c-offsets-alist): Changed default for 15317 * progmodes/cc-vars.el (c-offsets-alist): Changed default for
15326 member-init-cont to c-lineup-multi-inher since it now handles 15318 member-init-cont to c-lineup-multi-inher since it now handles
15327 member initializers and indents better for leading commas. 15319 member initializers and indents better for leading commas.
15328 15320
153292000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153212000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15330 15322
15331 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state 15323 * progmodes/cc-cmds.el (c-electric-brace): Fixed some bugs in the state
15332 handling that caused class open lines to be recognized as 15324 handling that caused class open lines to be recognized as
15333 statement-conts in some cases. 15325 statement-conts in some cases.
15334 15326
15335 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix 15327 * progmodes/cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
15336 guessed by the adaptive fill function unless point is on the 15328 guessed by the adaptive fill function unless point is on the
15337 first line of a block comment. 15329 first line of a block comment.
15338 15330
15339 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug 15331 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
15340 when the buffer ends with a macro continuation char. 15332 when the buffer ends with a macro continuation char.
15341 15333
15342 * cc-engine.el (c-guess-basic-syntax): Added support for 15334 * progmodes/cc-engine.el (c-guess-basic-syntax): Added support for
15343 function definitions as statements in Pike. The first 15335 function definitions as statements in Pike. The first
15344 statement in a lambda block is now labeled defun-block-intro 15336 statement in a lambda block is now labeled defun-block-intro
15345 instead of statement-block-intro. 15337 instead of statement-block-intro.
15346 15338
15347 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state 15339 * progmodes/cc-engine.el (c-narrow-out-enclosing-class): Whack the state
15348 so that the class surrounding point is selected, not the one 15340 so that the class surrounding point is selected, not the one
15349 innermost in the state. 15341 innermost in the state.
15350 15342
15351 * cc-engine.el (c-guess-basic-syntax): Fixed bug in 15343 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug in
15352 recognition of switch labels having hanging multiline 15344 recognition of switch labels having hanging multiline
15353 statements. 15345 statements.
15354 15346
15355 * cc-engine.el (c-beginning-of-member-init-list): Broke out 15347 * progmodes/cc-engine.el (c-beginning-of-member-init-list): Broke out
15356 some code in c-guess-basic-syntax to a separate function. 15348 some code in c-guess-basic-syntax to a separate function.
15357 * cc-engine.el (c-just-after-func-arglist-p): Fixed 15349 * progmodes/cc-engine.el (c-just-after-func-arglist-p): Fixed
15358 recognition of member inits with multiple line arglists. 15350 recognition of member inits with multiple line arglists.
15359 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect 15351 * progmodes/cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
15360 member-init-cont when the commas are in funny places. 15352 member-init-cont when the commas are in funny places.
15361 15353
153622000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153542000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15363 15355
15364 * cc-defs.el (c-auto-newline): Removed this macro since it's 15356 * progmodes/cc-defs.el (c-auto-newline): Removed this macro since it's
15365 not used anymore. 15357 not used anymore.
15366 15358
15367 * cc-engine.el (c-looking-at-bos): New helper function. 15359 * progmodes/cc-engine.el (c-looking-at-bos): New helper function.
15368 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell 15360 * progmodes/cc-engine.el (c-looking-at-inexpr-block): More tests to tell
15369 inexpr and toplevel classes apart in Pike. 15361 inexpr and toplevel classes apart in Pike.
15370 15362
15371 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition 15363 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
15372 of case 9A. 15364 of case 9A.
15373 15365
15374 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New 15366 * progmodes/cc-langs.el, progmodes/cc-mode.el
15375 constant, since "class" can introduce an in-expression class 15367 (c-Pike-inexpr-class-key): New constant, since "class" can
15376 in Pike nowadays. 15368 introduce an in-expression class in Pike nowadays.
15377 15369
153782000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153702000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15379 15371
15380 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum 15372 * progmodes/cc-align.el (c-gnu-impose-minimum): Don't impose minimum
15381 indentation on cpp-macro lines. 15373 indentation on cpp-macro lines.
15382 15374
15383 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro 15375 * progmodes/cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
15384 a syntax modifier like comment-intro, to make it possible to 15376 a syntax modifier like comment-intro, to make it possible to
15385 get syntactic indentation for preprocessor directives. It's 15377 get syntactic indentation for preprocessor directives. It's
15386 incompatible wrt to lineup functions on cpp-macro, but it has 15378 incompatible wrt to lineup functions on cpp-macro, but it has
@@ -15389,117 +15381,117 @@
15389 15381
153902000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153822000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15391 15383
15392 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed 15384 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
15393 member-init-cont when the preceding arglist is several lines. 15385 member-init-cont when the preceding arglist is several lines.
15394 15386
153952000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153872000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15396 15388
15397 * cc-styles.el (c-style-alist): The basic offset for the BSD 15389 * progmodes/cc-styles.el (c-style-alist): The basic offset for the BSD
15398 style corrected to 8. 15390 style corrected to 8.
15399 15391
154002000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153922000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15401 15393
15402 * cc-styles.el (c-style-alist): Adjusted the indentation of 15394 * progmodes/cc-styles.el (c-style-alist): Adjusted the indentation of
15403 brace list openers in the gnu style. 15395 brace list openers in the gnu style.
15404 15396
154052000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 153972000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15406 15398
15407 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation. 15399 * progmodes/cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
15408 15400
15409 * cc-cmds.el (c-electric-brace, c-electric-slash, 15401 * progmodes/cc-cmds.el (c-electric-brace, c-electric-slash,
15410 c-electric-star, c-electric-semi&comma, c-electric-colon, 15402 c-electric-star, c-electric-semi&comma, c-electric-colon,
15411 c-electric-lt-gt, c-electric-paren): Don't reindent old lines 15403 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
15412 when c-syntactic-indentation is nil. 15404 when c-syntactic-indentation is nil.
15413 15405
15414 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where 15406 * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed bug where
15415 we were left at comments preceding the first statement when 15407 we were left at comments preceding the first statement when
15416 reaching the beginning of the buffer. 15408 reaching the beginning of the buffer.
15417 15409
15418 * cc-vars.el (c-syntactic-indentation): New variable to turn 15410 * progmodes/cc-vars.el (c-syntactic-indentation): New variable to turn
15419 off all syntactic indentation. 15411 off all syntactic indentation.
15420 15412
154212000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 154132000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15422 15414
15423 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces 15415 * progmodes/cc-cmds.el (c-fill-paragraph): Keep one or two spaces
15424 between the text and the block comment ender when it hangs, 15416 between the text and the block comment ender when it hangs,
15425 depending on how many there are before the fill. 15417 depending on how many there are before the fill.
15426 15418
154272000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 154192000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15428 15420
15429 * cc-engine.el (c-beginning-of-closest-statement): New helper 15421 * progmodes/cc-engine.el (c-beginning-of-closest-statement): New helper
15430 function to go back to the closest preceding statement start, 15422 function to go back to the closest preceding statement start,
15431 which could be inside a conditional statement. 15423 which could be inside a conditional statement.
15432 * cc-engine.el (c-guess-basic-syntax): Use 15424 * progmodes/cc-engine.el (c-guess-basic-syntax): Use
15433 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C. 15425 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
15434 15426
15435 * cc-engine.el (c-guess-basic-syntax): Better handling of 15427 * progmodes/cc-engine.el (c-guess-basic-syntax): Better handling of
15436 arglist-intro, arglist-cont-nonempty and arglist-close when 15428 arglist-intro, arglist-cont-nonempty and arglist-close when
15437 the arglist is nested inside parens. Cases 7A, 7C and 7F 15429 the arglist is nested inside parens. Cases 7A, 7C and 7F
15438 changed. 15430 changed.
15439 15431
15440 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought 15432 * progmodes/cc-langs.el (c-Java-javadoc-paragraph-start): Brought
15441 up-to-date with javadoc 1.2. 15433 up-to-date with javadoc 1.2.
15442 15434
154432000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 154352000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15444 15436
15445 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of 15437 * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed handling of
15446 multiline Pike type decls. 15438 multiline Pike type decls.
15447 15439
154482000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 154402000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15449 15441
15450 * cc-cmds.el (c-indent-new-comment-line): Always break 15442 * progmodes/cc-cmds.el (c-indent-new-comment-line): Always break
15451 multiline comments in multiline mode, regardless of 15443 multiline comments in multiline mode, regardless of
15452 comment-multi-line. 15444 comment-multi-line.
15453 15445
154542000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 154462000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15455 15447
15456 * cc-engine.el (c-guess-basic-syntax): Fixed bug with 15448 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug with
15457 fully::qualified::names in C++ member init lists. Preamble in 15449 fully::qualified::names in C++ member init lists. Preamble in
15458 case 5D changed. 15450 case 5D changed.
15459 15451
154602000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 154522000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15461 15453
15462 * cc-langs.el (c-common-init): Handling of obsolete variables 15454 * progmodes/cc-langs.el (c-common-init): Handling of obsolete variables
15463 moved to c-initialize-cc-mode. More compatible style override 15455 moved to c-initialize-cc-mode. More compatible style override
15464 when using global style variables. 15456 when using global style variables.
15465 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete 15457 * progmodes/cc-mode.el (c-initialize-cc-mode): Handling of obsolete
15466 variables moved here. 15458 variables moved here.
15467 15459
15468 * cc-styles.el (c-make-styles-buffer-local): Flag style 15460 * progmodes/cc-styles.el (c-make-styles-buffer-local): Flag style
15469 variable localness in c-style-variables-are-local-p to make 15461 variable localness in c-style-variables-are-local-p to make
15470 the compatibility measure in c-common-init work well. 15462 the compatibility measure in c-common-init work well.
15471 15463
15472 * cc-styles.el (c-set-style-1): c-special-indent-hook can no 15464 * progmodes/cc-styles.el (c-set-style-1): c-special-indent-hook can no
15473 longer contain set-from-style. 15465 longer contain set-from-style.
15474 * cc-styles.el (c-initialize-builtin-style): Don't check for 15466 * progmodes/cc-styles.el (c-initialize-builtin-style): Don't check for
15475 set-from-style on c-special-indent-hook. 15467 set-from-style on c-special-indent-hook.
15476 * cc-styles.el (c-copy-tree): Obsolete. The standard function 15468 * progmodes/cc-styles.el (c-copy-tree): Obsolete. The standard function
15477 copy-alist is sufficient now. 15469 copy-alist is sufficient now.
15478 15470
15479 * cc-styles.el (c-set-style, c-set-style-1, 15471 * progmodes/cc-styles.el (c-set-style, c-set-style-1,
15480 c-get-style-variables): Fixes to variable initialization so 15472 c-get-style-variables): Fixes to variable initialization so
15481 that duplicate entries in styles have the same effect 15473 that duplicate entries in styles have the same effect
15482 regardless of DONT-OVERRIDE. 15474 regardless of DONT-OVERRIDE.
15483 15475
15484 * cc-styles.el (c-set-style-2): Fixed bug where the 15476 * progmodes/cc-styles.el (c-set-style-2): Fixed bug where the
15485 initialization of inheriting styles failed when the 15477 initialization of inheriting styles failed when the
15486 dont-override flag is set. 15478 dont-override flag is set.
15487 15479
15488 * cc-vars.el (c-special-indent-hook): Don't use set-from-style 15480 * progmodes/cc-vars.el (c-special-indent-hook): Don't use set-from-style
15489 on this. 15481 on this.
15490 15482
154912000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org> 154832000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15492 15484
15493 * cc-defs.el (c-forward-comment): Removed the workaround 15485 * progmodes/cc-defs.el (c-forward-comment): Removed the workaround
15494 introduced in 5.38 since it had worse side-effects. If a line 15486 introduced in 5.38 since it had worse side-effects. If a line
15495 contains the string "//\"", it regarded the // as a comment 15487 contains the string "//\"", it regarded the // as a comment
15496 start since the \ temporarily doesn't have escape syntax. 15488 start since the \ temporarily doesn't have escape syntax.
15497 15489
154982000-07-17 Emmanuel Briot <briot@act-europe.fr> 154902000-07-17 Emmanuel Briot <briot@act-europe.fr>
15499 15491
15500 * ada-mode.el: Got rid of all byte-compiler warnings on Emacs Load 15492 * progmodes/ada-mode.el: Got rid of all byte-compiler warnings on
15501 ada-xref.el before ada-prj.el, so that the Project menu is created 15493 Emacs. Load ada-xref.el before ada-prj.el, so that the Project
15502 when ada-prj tries to add to it. 15494 menu is created when ada-prj tries to add to it.
15503 (ada-activate-keys-for-case): Suppress the characters that are not 15495 (ada-activate-keys-for-case): Suppress the characters that are not
15504 part of the Ada syntax. Better compatibility with else-mode. 15496 part of the Ada syntax. Better compatibility with else-mode.
15505 (ada-adjust-case-interactive): When auto-casing is not active, 15497 (ada-adjust-case-interactive): When auto-casing is not active,