/[emacs]/emacs/lisp/ChangeLog
ViewVC logotype

Diff of /emacs/lisp/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3787 by rms, Mon Apr 29 03:58:31 2002 UTC revision 1.3788 by monnier, Mon Apr 29 04:02:22 2002 UTC
# Line 1  Line 1 
1    2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
2    
3            * textmodes/fill.el (fill-context-prefix): Fix last change with
4            yet-another-approach.
5    
6  2002-04-28  Markus Rost  <rost@math.ohio-state.edu>  2002-04-28  Markus Rost  <rost@math.ohio-state.edu>
7    
8          * net/ange-ftp.el (ange-ftp-passive-host-alist)          * net/ange-ftp.el (ange-ftp-passive-host-alist)
9          (ange-ftp-bs2000-additional-pubsets):  Fix custom type.          (ange-ftp-bs2000-additional-pubsets):  Fix custom type.
10    
11          * files.el (small-temporary-file-directory): Fix custom type.          * files.el (small-temporary-file-directory): Fix custom type.
# Line 10  Line 15 
15          * progmodes/f90.el (f90-xemacs-flag): New variable.          * progmodes/f90.el (f90-xemacs-flag): New variable.
16          (f90-mark-subprogram-overlay): New variable.          (f90-mark-subprogram-overlay): New variable.
17          (f90-mark-subprogram): Now it highlights the subprogram.          (f90-mark-subprogram): Now it highlights the subprogram.
18          (f90-font-lock-keywords-1, f90-font-lock-keywords-2): Fix          (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
19          highlighting of various "type" forms.          Fix highlighting of various "type" forms.
20    
21  2002-04-28  Colin Walters  <walters@verbum.org>  2002-04-28  Colin Walters  <walters@verbum.org>
22    
23          * ibuffer.el (ibuffer-mode): Additional documentation on filter          * ibuffer.el (ibuffer-mode): Additional documentation on filter
24          groups.          groups.
25            
26  2002-04-28  John Paul Wallington <jpw@shootybangbang.com>  2002-04-28  John Paul Wallington <jpw@shootybangbang.com>
27    
28          * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an          * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
# Line 41  Line 46 
46          Use occur-engine-add-prefix instead.          Use occur-engine-add-prefix instead.
47          Rename `l' to `lines' and `c' to `matches'.          Rename `l' to `lines' and `c' to `matches'.
48    
49          * replace.el (occur-engine, occur-mode-mouse-goto)          * replace.el (occur-engine, occur-mode-mouse-goto)
50          (occur-mode-find-occurrence, occur-mode-goto-occurrence)          (occur-mode-find-occurrence, occur-mode-goto-occurrence)
51          (occur-mode-goto-occurrence-other-window)          (occur-mode-goto-occurrence-other-window)
52          (occur-mode-display-occurrence): A position is just a marker,          (occur-mode-display-occurrence): A position is just a marker,
53          not a list.          not a list.
54    
# Line 91  Line 96 
96    
97  2002-04-26  Andrew Choi  <akochoi@shaw.ca>  2002-04-26  Andrew Choi  <akochoi@shaw.ca>
98    
99          * term/mac-win.el: Don't call ediff-toggle-multiframe.  Set          * term/mac-win.el: Don't call ediff-toggle-multiframe.
100          default directory.  Set process-connection-type to nil.          Set default directory.  Set process-connection-type to nil.
101    
102  2002-04-26  Richard M. Stallman  <rms@gnu.org>  2002-04-26  Richard M. Stallman  <rms@gnu.org>
103    
# Line 164  Line 169 
169    
170          * replace.el (multi-occur-by-filename-regexp): Doc fix.          * replace.el (multi-occur-by-filename-regexp): Doc fix.
171          (occur-engine): Go to `point-min'.  Make nlines argument actually          (occur-engine): Go to `point-min'.  Make nlines argument actually
172          mean number of context lines.  Handle it.  Pad digits to the          mean number of context lines.  Handle it.  Pad digits to the right.
         right.  
173    
174          * ibuf-ext.el (ibuffer-filtering-groups): Renamed to          * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
175          `ibuffer-filter-groups'.  All users updated.          `ibuffer-filter-groups'.  All users updated.
176          (ibuffer-show-empty-filter-groups): New variable.          (ibuffer-show-empty-filter-groups): New variable.
177          (ibuffer-saved-filter-groups): New variable.          (ibuffer-saved-filter-groups): New variable.
178          (ibuffer-maybe-save-stuff): Renamed from          (ibuffer-maybe-save-stuff): Renamed from
179          `ibuffer-maybe-save-saved-filters'.  Callers updated.  Handle          `ibuffer-maybe-save-saved-filters'.  Callers updated.
180          `ibuffer-saved-filter-groups'.          Handle `ibuffer-saved-filter-groups'.
181          (ibuffer-hidden-filtering-groups): Renamed to          (ibuffer-hidden-filtering-groups): Renamed to
182          `ibuffer-hidden-filter-groups'.          `ibuffer-hidden-filter-groups'.
183          (ibuffer-filter-group-kill-ring): New variable.          (ibuffer-filter-group-kill-ring): New variable.
# Line 192  Line 196 
196          specific mark, and marking on a specific group.          specific mark, and marking on a specific group.
197    
198          * ibuffer.el (ibuffer-formats): Doc fix.          * ibuffer.el (ibuffer-formats): Doc fix.
199          (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.  Bind          (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
200          new functions from ibuf-ext.el.  Add menu entries for them.          Bind new functions from ibuf-ext.el.  Add menu entries for them.
201          Remove superfluous tooltips.          Remove superfluous tooltips.
202          (ibuffer-toggle-marks): If on a group name, then toggle marks just          (ibuffer-toggle-marks): If on a group name, then toggle marks just
203          in that group.          in that group.
# Line 203  Line 207 
207          (ibuffer-mark-for-delete-backwards): Update docs.          (ibuffer-mark-for-delete-backwards): Update docs.
208          (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed          (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
209          to `ibuffer-current-filter-groups-with-position'.          to `ibuffer-current-filter-groups-with-position'.
210          (ibuffer-redisplay-engine): Handle          (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
         `ibuffer-show-empty-filter-groups'.  
211          (ibuffer-mode): Add some documentation about filter groups.          (ibuffer-mode): Add some documentation about filter groups.
212    
213  2002-04-25  Andreas Schwab  <schwab@suse.de>  2002-04-25  Andreas Schwab  <schwab@suse.de>
# Line 274  Line 277 
277          functions; also, bind the arrow keys to the movement functions.          functions; also, bind the arrow keys to the movement functions.
278          (ibuffer-mode-filter-group-map): New.          (ibuffer-mode-filter-group-map): New.
279          (ibuffer-mouse-toggle-mark): Handle group names.          (ibuffer-mouse-toggle-mark): Handle group names.
280          (ibuffer-mouse-visit-buffer): Error if the current buffer is          (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
         killed.  
281          (ibuffer-skip-properties): New function.          (ibuffer-skip-properties): New function.
282          (ibuffer-backward-line, ibuffer-forward-line): Optionally skip          (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
283          group names.  Also, handle new properties.          group names.  Also, handle new properties.
284          (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window): Move          (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
285          error handling to `ibuffer-current-buffer'.          Move error handling to `ibuffer-current-buffer'.
286          (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.          (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
287          (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.          (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
288          (ibuffer-toggle-marks): Add optional group argument.          (ibuffer-toggle-marks): Add optional group argument.
# Line 295  Line 297 
297          (ibuffer-insert-filter-group): New function.          (ibuffer-insert-filter-group): New function.
298          (ibuffer-redisplay-engine): Renamed from          (ibuffer-redisplay-engine): Renamed from
299          `ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.          `ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
300          (ibuffer): Add filter-groups argument.  Handle it.  Use          (ibuffer): Add filter-groups argument.  Handle it.
301          `save-selected-window'.          Use `save-selected-window'.
302          (ibuffer-mode): Make `ibuffer-filtering-groups' and          (ibuffer-mode): Make `ibuffer-filtering-groups' and
303          `ibuffer-hidden-filtering-groups' buffer-local.          `ibuffer-hidden-filtering-groups' buffer-local.
304    
305          * ibuf-macs.el (ibuffer-save-marks): Call          * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
         `ibuffer-redisplay-engine'.  
306    
307  2002-04-24  Richard M. Stallman  <rms@gnu.org>  2002-04-24  Richard M. Stallman  <rms@gnu.org>
308    
# Line 378  Line 379 
379          (ibuffer-occur-match-face): Delete.          (ibuffer-occur-match-face): Delete.
380          (ibuffer-occur-props, ibuffer-occur-mode): Delete.          (ibuffer-occur-props, ibuffer-occur-mode): Delete.
381          (ibuffer-occur-mouse-display-occurence): Delete.          (ibuffer-occur-mouse-display-occurence): Delete.
382          (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence):          (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
383          Delete.          (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
         (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function):  
         Delete.  
384          (ibuffer-occur-engine): Moved to replace.el.          (ibuffer-occur-engine): Moved to replace.el.
385          (ibuffer-do-occur): Simply call `occur-1'.          (ibuffer-do-occur): Simply call `occur-1'.
386    
# Line 440  Line 439 
439    
440          * tmm.el (tmm-completion-prompt): Doc fix.          * tmm.el (tmm-completion-prompt): Doc fix.
441    
442          * hilit-chg.el (global-highlight-changes): Capitalize status          * hilit-chg.el (global-highlight-changes): Capitalize status texts.
         texts.  
443    
444  2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>  2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>
445    
446          * diary-lib.el (include-other-diary-files): Allow modifying          * diary-lib.el (include-other-diary-files): Allow modifying
447          included buffer, to turn off selective display.          included buffer, to turn off selective display.
448    
449  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
450    
# Line 458  Line 456 
456    
457          * progmodes/cc-align.el, progmodes/cc-engine.el,          * progmodes/cc-align.el, progmodes/cc-engine.el,
458          progmodes/cc-styles.el, progmodes/cc-vars.el          progmodes/cc-styles.el, progmodes/cc-vars.el
459          (c-guess-basic-syntax, c-lineup-topmost-intro-cont): Find          (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
460          correct anchor for statement-cont in top level constructs.          Find correct anchor for statement-cont in top level constructs.
461          Analyze variable initializations in top level constructs as          Analyze variable initializations in top level constructs as
462          topmost-intro-cont instead of statement-cont.  That is an          topmost-intro-cont instead of statement-cont.  That is an
463          incompatible change but it gives better consistency.  The new          incompatible change but it gives better consistency.  The new
# Line 478  Line 476 
476    
477  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
478    
479          * progmodes/cc-engine.el (c-guess-basic-syntax): Detect          * progmodes/cc-engine.el (c-guess-basic-syntax):
480          variable declarations after class and struct declarations          Detect variable declarations after class and struct declarations
481          correctly.  Fixed limit error when finding the anchor for          correctly.  Fixed limit error when finding the anchor for
482          template-args-cont and topmost-intro-cont.          template-args-cont and topmost-intro-cont.
483    
484  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
485    
486          * progmodes/cc-cmds.el (c-beginning-of-defun,          * progmodes/cc-cmds.el (c-beginning-of-defun)
487          c-declaration-limits): Find the "line oriented" declaration          (c-declaration-limits): Find the "line oriented" declaration
488          start too, just like the "line oriented" end is found.          start too, just like the "line oriented" end is found.
489    
490  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
491    
492          * progmodes/cc-vars.el (c-offsets-alist): A more sane default          * progmodes/cc-vars.el (c-offsets-alist): A more sane default
493          for `inexpr-statement'.  This is not compatible, though.  I          for `inexpr-statement'.  This is not compatible, though.
494          think the benefit of a good default style outweights that in          I think the benefit of a good default style outweights that in
495          this case.  Besides, `inexpr-statement' is not very common.          this case.  Besides, `inexpr-statement' is not very common.
496    
497  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
498    
499          * progmodes/cc-cmds.el (c-electric-delete-forward): Fixed          * progmodes/cc-cmds.el (c-electric-delete-forward):
500          silly bug that caused it to delete backwards in hungry delete          Fix silly bug that caused it to delete backwards in hungry delete
501          mode.  (It's amazing that this bug hasn't been reported.)          mode.  (It's amazing that this bug hasn't been reported.)
502    
503          * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):          * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
# Line 517  Line 515 
515    
516          * progmodes/cc-cmds.el, progmodes/cc-engine.el          * progmodes/cc-cmds.el, progmodes/cc-engine.el
517          (c-beginning-of-defun, c-end-of-defun, c-mark-function):          (c-beginning-of-defun, c-end-of-defun, c-mark-function):
518          Rewritten to detect the declaration limits better.  Now          Rewritten to detect the declaration limits better.
519          handles K&R argdecls, class definitions followed by variables          Now handles K&R argdecls, class definitions followed by variables etc.
         etc.  
520    
521          (c-in-knr-argdecl): Broke out the K&R argdecl test in          (c-in-knr-argdecl): Broke out the K&R argdecl test in
522          `c-beginning-of-decl-1' to this new function.          `c-beginning-of-decl-1' to this new function.
523    
524          (c-end-of-statement-1, c-end-of-decl-1): Replaced          (c-end-of-statement-1, c-end-of-decl-1):
525          `c-end-of-statement-1' with `c-end-of-decl-1', which correctly          Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
526          handles declarations that continue after the block.          handles declarations that continue after the block.
527    
528          * progmodes/cc-engine.el (c-syntactic-re-search-forward):          * progmodes/cc-engine.el (c-syntactic-re-search-forward):
529          Added an option to restrict matching to the top level of the          Added an option to restrict matching to the top level of the
530          current paren sexp.          current paren sexp.
531    
532          * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key): New          * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
533          regexp to recognize declarations that continue after the          New regexp to recognize declarations that continue after the block.
         block.  
534    
535          (c-syntactic-eol): New regexp to match a "syntactic" eol.          (c-syntactic-eol): New regexp to match a "syntactic" eol.
536    
# Line 544  Line 540 
540          that often caused the backward limit to be lost at the top          that often caused the backward limit to be lost at the top
541          level.  This improves performance a bit.          level.  This improves performance a bit.
542    
543          * progmodes/cc-engine.el (c-syntactic-re-search-forward): New          * progmodes/cc-engine.el (c-syntactic-re-search-forward):
544          function that works like `re-search-forward' but only returns          New function that works like `re-search-forward' but only returns
545          matches in syntactically significant text.          matches in syntactically significant text.
546    
547          * progmodes/cc-engine.el: Fixed a faster and more accurate way          * progmodes/cc-engine.el: Fixed a faster and more accurate way
# Line 573  Line 569 
569    
570  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
571    
572          * progmodes/cc-cmds.el (c-indent-line-or-region): Call          * progmodes/cc-cmds.el (c-indent-line-or-region):
573          `c-indent-line' directly instead of through          Call `c-indent-line' directly instead of through
574          `indent-according-to-mode' so that this function always          `indent-according-to-mode' so that this function always
575          indents syntactically.          indents syntactically.
576    
# Line 589  Line 585 
585          progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that          progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
586          the context sensitive analysis inside macros is restricted to          the context sensitive analysis inside macros is restricted to
587          the bodies of #define's; other things, like #if expressions,          the bodies of #define's; other things, like #if expressions,
588          never have anything in common with their surroundings.  The          never have anything in common with their surroundings.
589          old `cpp-macro-cont' syntax is now used in situations where          The old `cpp-macro-cont' syntax is now used in situations where
590          the syntactic analysis isn't applicable, and a new syntactic          the syntactic analysis isn't applicable, and a new syntactic
591          element `cpp-define-intro' is used to add indentation in          element `cpp-define-intro' is used to add indentation in
592          #define bodies.          #define bodies.
# Line 599  Line 595 
595          better reflect its use.          better reflect its use.
596    
597          * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line          * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
598          continuation backslashes in the detection of          continuation backslashes in the detection of `arglist-cont-nonempty'.
         `arglist-cont-nonempty'.  
599    
600          * progmodes/cc-align.el: Use the vector form in the return          * progmodes/cc-align.el: Use the vector form in the return
601          value in all cases where lineup functions return absolute          value in all cases where lineup functions return absolute columns.
         columns.  
602    
603  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
604    
605          * progmodes/cc-engine.el (c-add-stmt-syntax,          * progmodes/cc-engine.el (c-add-stmt-syntax)
606          c-guess-basic-syntax): Anchor `brace-list-intro' and          (c-guess-basic-syntax): Anchor `brace-list-intro' and
607          `bracec-list-close' better for brace lists nested inside          `bracec-list-close' better for brace lists nested inside expressions.
         expressions.  
608    
609          * progmodes/cc-engine.el, progmodes/cc-langs.el,          * progmodes/cc-engine.el, progmodes/cc-langs.el,
610          progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the          progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
# Line 625  Line 618 
618          original CC Mode mode.          original CC Mode mode.
619    
620          (c-major-mode-is): Compare against the buffer local variable          (c-major-mode-is): Compare against the buffer local variable
621          `c-buffer-is-cc-mode', which is faster than using          `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
         `derived-mode-class'.  
622    
623  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
624    
625          * progmodes/cc-engine.el (c-forward-syntactic-ws,          * progmodes/cc-engine.el (c-forward-syntactic-ws)
626          c-backward-syntactic-ws, c-forward-token-1,          (c-backward-syntactic-ws, c-forward-token-1)
627          c-backward-token-1, c-in-literal, c-literal-limits,          (c-backward-token-1, c-in-literal, c-literal-limits)
628          c-collect-line-comments, c-literal-type, c-on-identifier,          (c-collect-line-comments, c-literal-type, c-on-identifier)
629          c-guess-basic-syntax): These functions are now considered part          (c-guess-basic-syntax): These functions are now considered part
630          of the "CC Mode API" and may be used by other code.  That's          of the "CC Mode API" and may be used by other code.
631          signified by making their documentation into docstrings.          That's signified by making their documentation into docstrings.
632    
633          (c-whack-state, c-hack-state, c-skip-case-statement-forward):          (c-whack-state, c-hack-state, c-skip-case-statement-forward):
634          Removed these internal functions since they aren't used.          Removed these internal functions since they aren't used.
635    
636          (c-forward-to-cpp-expression): Classified this function as          (c-forward-to-cpp-expression): Classified this function as internal.
         internal.  
637    
638  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
639    
# Line 693  Line 684 
684          outside their intended use, and they generally do the right          outside their intended use, and they generally do the right
685          thing when they kick in.          thing when they kick in.
686    
687          * progmodes/cc-engine.el (c-guess-continued-construct,          * progmodes/cc-engine.el (c-guess-continued-construct)
688          c-guess-basic-syntax): Handle nested functions in all          (c-guess-basic-syntax): Handle nested functions in all
689          languages, not just Pike.  In C and C++ there's a gcc          languages, not just Pike.  In C and C++ there's a gcc
690          extension for this, and it also gives better treatment of          extension for this, and it also gives better treatment of
691          macros that are followed by blocks.          macros that are followed by blocks.
# Line 754  Line 745 
745  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
746    
747          * progmodes/cc-engine.el, progmodes/cc-langs.el          * progmodes/cc-engine.el, progmodes/cc-langs.el
748          (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): New          (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
749          variables containing the character sets used to recognize          New variables containing the character sets used to recognize
750          statement/declaration boundaries.  These variables might help          statement/declaration boundaries.  These variables might help
751          to support languages like javascript and awk, where newlines          to support languages like javascript and awk, where newlines
752          sometimes delimits statements.          sometimes delimits statements.
# Line 766  Line 757 
757    
758  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
759    
760          * progmodes/cc-engine.el (c-looking-at-bos,          * progmodes/cc-engine.el (c-looking-at-bos)
761          c-looking-at-inexpr-block, c-add-stmt-syntax,          (c-looking-at-inexpr-block, c-add-stmt-syntax)
762          c-guess-basic-syntax): Treat blocks directly inside function          (c-guess-basic-syntax): Treat blocks directly inside function
763          calls like "bare" statements inside function calls, and not          calls like "bare" statements inside function calls, and not
764          like in-expression statements.  This to make indentation of          like in-expression statements.  This to make indentation of
765          such blocks consistent with other statements inside macro          such blocks consistent with other statements inside macro calls.
         calls.  
766    
767          * progmodes/cc-engine.el (c-guess-basic-syntax): Made          * progmodes/cc-engine.el (c-guess-basic-syntax):
768          arglist-cont anchor correctly in arglists that contain          Made arglist-cont anchor correctly in arglists that contain statements.
         statements.  
769    
770          * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed          * progmodes/cc-engine.el (c-guess-basic-syntax):
771          consistent anchoring of defun-block-intro in defuns in code          Fixed consistent anchoring of defun-block-intro in defuns in code
772          blocks (can only occur in Pike).          blocks (can only occur in Pike).
773    
774          * progmodes/cc-engine.el (c-looking-at-inexpr-block,          * progmodes/cc-engine.el (c-looking-at-inexpr-block)
775          c-looking-at-inexpr-block-backward): Changed the arguments to          (c-looking-at-inexpr-block-backward): Changed the arguments to
776          require containing sexps and paren state, for better          require containing sexps and paren state, for better efficiency.
         efficiency.  
777    
778  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
779    
# Line 793  Line 781 
781          progmodes/cc-vars.el: Improved anchoring of statement and          progmodes/cc-vars.el: Improved anchoring of statement and
782          handling of labels in front of substatements.          handling of labels in front of substatements.
783    
784          (c-guess-continued-construct, c-guess-basic-syntax): Improved          (c-guess-continued-construct, c-guess-basic-syntax):
785          and unified anchoring at statements.  Statements beginning          Improved and unified anchoring at statements.  Statements beginning
786          with comments or labels are now avoided, by going out of          with comments or labels are now avoided, by going out of
787          blocks and containing statements if necessary.  This nesting          blocks and containing statements if necessary.  This nesting
788          handling also fixes the case when there's a statement after a          handling also fixes the case when there's a statement after a
789          block open brace.  Added the syntactic symbol          block open brace.  Added the syntactic symbol `substatement-label'.
         `substatement-label'.  
790    
791          (c-electric-colon): Map the new `substatement-label' to          (c-electric-colon): Map the new `substatement-label' to
792          `label' when consulting `c-hanging-colons-alist'.          `label' when consulting `c-hanging-colons-alist'.
# Line 808  Line 795 
795          comments for the new anchoring positions at statements.          comments for the new anchoring positions at statements.
796    
797          * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane          * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
798          anchor points for knr-argdecl-intro and access-label.  They          anchor points for knr-argdecl-intro and access-label.
799          used to refer to some point on the same line, a bug which was          They used to refer to some point on the same line, a bug which was
800          neutralized by a kludge in `c-get-syntactic-indentation' which          neutralized by a kludge in `c-get-syntactic-indentation' which
801          ignored such anchor points.          ignored such anchor points.
802    
# Line 826  Line 813 
813          * progmodes/cc-engine.el (c-looking-at-bos): Added optional          * progmodes/cc-engine.el (c-looking-at-bos): Added optional
814          limit arg for backward searches.          limit arg for backward searches.
815    
816          * progmodes/cc-engine.el (c-looking-at-inexpr-block): Anchor          * progmodes/cc-engine.el (c-looking-at-inexpr-block):
817          gcc in-expression statements at the surrounding open          Anchor gcc in-expression statements at the surrounding open
818          parenthesis.  Treat a class body as an in-expression class if          parenthesis.  Treat a class body as an in-expression class if
819          it's used in an object clone expression in Pike.          it's used in an object clone expression in Pike.
820    
821          * progmodes/cc-engine.el (c-get-offset,          * progmodes/cc-engine.el (c-get-offset)
822          c-get-syntactic-indentation): Allow several anchor positions          (c-get-syntactic-indentation): Allow several anchor positions
823          in the list of syntactic symbols.  Only the first is used as          in the list of syntactic symbols.  Only the first is used as
824          the base for the offset calculation.          the base for the offset calculation.
825    
# Line 848  Line 835 
835    
836          * progmodes/cc-engine.el (c-end-of-macro): New function.          * progmodes/cc-engine.el (c-end-of-macro): New function.
837    
838          * progmodes/cc-engine.el (c-least-enclosing-brace): Rewritten          * progmodes/cc-engine.el (c-least-enclosing-brace):
839          to not be destructive.          Rewritten to not be destructive.
840    
841  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
842    
# Line 885  Line 872 
872          any reasonably sane style.  Also introduced a noerror flag.          any reasonably sane style.  Also introduced a noerror flag.
873    
874          (c-beginning-of-closest-statement): Removed;          (c-beginning-of-closest-statement): Removed;
875          c-beginning-of-statement-1 now avoids the problem this one          c-beginning-of-statement-1 now avoids the problem this one solved.
         solved.  
876    
877          * progmodes/cc-engine.el (c-guess-continued-construct,          * progmodes/cc-engine.el (c-guess-continued-construct)
878          c-guess-basic-syntax): Better and more uniform anchor points          (c-guess-basic-syntax): Better and more uniform anchor points
879          for 'statement-cont and 'substatement.  The effect is          for 'statement-cont and 'substatement.  The effect is
880          noticeable mostly when there's a label on the same line as the          noticeable mostly when there's a label on the same line as the
881          beginning of the statement, or when there are more stuff          beginning of the statement, or when there are more stuff
882          before the start of the statement.          before the start of the statement.
883    
884          * progmodes/cc-engine.el (c-looking-at-inexpr-block): Added          * progmodes/cc-engine.el (c-looking-at-inexpr-block):
885          flag to disable looking at the type of the surrounding paren          Added flag to disable looking at the type of the surrounding paren
886          since that confuses c-beginning-of-statement-1 and a couple of          since that confuses c-beginning-of-statement-1 and a couple of
887          other places.          other places.
888    
889          * progmodes/cc-engine.el (c-guess-basic-syntax): Avoid          * progmodes/cc-engine.el (c-guess-basic-syntax):
890          stepping to the previous statement in case 18.  Improvements          Avoid stepping to the previous statement in case 18.
891          in recognition of statement blocks on the top level.          Improvements in recognition of statement blocks on the top level.
892    
893  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
894    
895          * progmodes/cc-engine.el (c-beginning-of-statement-1,          * progmodes/cc-engine.el (c-beginning-of-statement-1)
896          c-crosses-statement-barrier-p): Rewritten to get a well          (c-crosses-statement-barrier-p): Rewritten to get a well
897          defined and documented behavior.  This fixes some tricky cases          defined and documented behavior.  This fixes some tricky cases
898          in recognition of do-while constructs.          in recognition of do-while constructs.
899    
900          (c-backward-to-start-of-do, c-backward-to-start-of-if):          (c-backward-to-start-of-do, c-backward-to-start-of-if):
901          Removed; use c-beginning-of-statement-1 instead.          Removed; use c-beginning-of-statement-1 instead.
902    
903          (c-guess-continued-construct, c-guess-basic-syntax): Various          (c-guess-continued-construct, c-guess-basic-syntax):
904          fixes to not depend on the bugs previously in          Various fixes to not depend on the bugs previously in
905          c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to          c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
906          use the new behavior of c-beginning-of-statement-1 better.          use the new behavior of c-beginning-of-statement-1 better.
907          Fixed recognition of catch blocks inside macros.          Fixed recognition of catch blocks inside macros.
# Line 932  Line 918 
918    
919  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
920    
921          * progmodes/cc-engine.el (c-guess-basic-syntax): Improved          * progmodes/cc-engine.el (c-guess-basic-syntax):
922          recognition of statements: They are now recognized in contexts          Improved recognition of statements: They are now recognized in
923          where they normally can't occur, e.g. on the top level or in          contexts where they normally can't occur, e.g. on the top level or
924          function call arguments.  This is mainly useful to recognize          in function call arguments.  This is mainly useful to recognize
925          statements in macros at the top level, and in arguments to          statements in macros at the top level, and in arguments to
926          macros.  The cases has been moved around quite a bit, and case          macros.  The cases has been moved around quite a bit, and case
927          10 has been copied to case 18.  (The cases has not been          10 has been copied to case 18.  (The cases has not been
# Line 944  Line 930 
930          (c-guess-continued-construct): New function which has the          (c-guess-continued-construct): New function which has the
931          rules which are common between cases 10 and 18.          rules which are common between cases 10 and 18.
932    
933          * progmodes/cc-engine.el (c-beginning-of-statement-1,          * progmodes/cc-engine.el (c-beginning-of-statement-1)
934          c-backward-to-start-of-do, c-backward-to-start-of-if): Fixes          (c-backward-to-start-of-do, c-backward-to-start-of-if):
935          so that they really obey the passed limits.          Fixes so that they really obey the passed limits.
936    
937          (c-safe-position): Return nil if the state doesn't contain a          (c-safe-position): Return nil if the state doesn't contain a
938          suitable position.          suitable position.
# Line 955  Line 941 
941          to c-beginning-of-statement-1.  Some fixes for top level          to c-beginning-of-statement-1.  Some fixes for top level
942          analysis in ObjC mode.          analysis in ObjC mode.
943    
944          * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed          * progmodes/cc-engine.el (c-beginning-of-statement-1):
945          bug in do-while statements where the body is not a block.          Fixed bug in do-while statements where the body is not a block.
946    
947          * progmodes/cc-styles.el (c-set-style): Reset          * progmodes/cc-styles.el (c-set-style):
948          c-special-indent-hook to its global value if in override mode.          Reset c-special-indent-hook to its global value if in override mode.
949          Fixes problem where functions on that hook remained after          Fixes problem where functions on that hook remained after
950          style switch.          style switch.
951    
# Line 980  Line 966 
966          (c-in-literal): No longer recognizes macros as literals by          (c-in-literal): No longer recognizes macros as literals by
967          default. An extra flag argument is required to do that.          default. An extra flag argument is required to do that.
968    
969          (c-macro-start, c-query-macro-start,          (c-macro-start, c-query-macro-start)
970          c-query-and-set-macro-start): Added a cache for the macro          (c-query-and-set-macro-start): Added a cache for the macro
971          start position.          start position.
972    
973          (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for          (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
# Line 992  Line 978 
978          (c-lineup-macro-cont): Improved behavior when          (c-lineup-macro-cont): Improved behavior when
979          c-syntactic-indentation-in-macros is nil.          c-syntactic-indentation-in-macros is nil.
980    
981          (c-syntactic-indentation-in-macros, c-backslash-max-column,          (c-syntactic-indentation-in-macros, c-backslash-max-column)
982          c-auto-align-backslashes): New customization variables to          (c-auto-align-backslashes): New customization variables to
983          control macro handling.          control macro handling.
984    
985          * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):          * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
# Line 1007  Line 993 
993          (c-benign-error): New macro to report errors that doesn't need          (c-benign-error): New macro to report errors that doesn't need
994          to interrupt the operation.          to interrupt the operation.
995    
996          * progmodes/cc-defs.el (c-point): Added eonl and eopl          * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
         positions.  
997    
998  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
999    
# Line 1026  Line 1011 
1011          `c-check-state-cache'.  This gives a considerable performance          `c-check-state-cache'.  This gives a considerable performance
1012          boost when editing large functions or classes.          boost when editing large functions or classes.
1013    
1014          * progmodes/cc-engine.el (c-whack-state-after): Slight          * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
         optimization.  
1015    
1016  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1017    
# Line 1044  Line 1028 
1028          (c-forward-to-cpp-expression): New function to aid in          (c-forward-to-cpp-expression): New function to aid in
1029          syntactic analysis inside macros.          syntactic analysis inside macros.
1030    
1031          (c-beginning-of-statement-1, c-backward-syntactic-ws): Fixes          (c-beginning-of-statement-1, c-backward-syntactic-ws):
1032          to work better inside macros.          Fixes to work better inside macros.
1033    
1034          (c-forward-syntactic-ws): Whitespace between the # and the          (c-forward-syntactic-ws): Whitespace between the # and the
1035          command should be allowed in preprocessor directives.          command should be allowed in preprocessor directives.
# Line 1058  Line 1042 
1042    
1043  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1044    
1045          * progmodes/cc-engine.el (c-beginning-of-statement-1,          * progmodes/cc-engine.el (c-beginning-of-statement-1)
1046          c-forward-syntactic-ws): Fixes to handle continued lines.          (c-forward-syntactic-ws): Fixes to handle continued lines.
1047    
1048          (c-backward-to-start-of-if, c-guess-basic-syntax): Do          (c-backward-to-start-of-if, c-guess-basic-syntax):
1049          syntactic analysis inside macros.          Do syntactic analysis inside macros.
1050    
1051  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1052    
1053          * progmodes/cc-cmds.el (c-indent-region): Did a speedup made          * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
1054          possible by the more flexible state cache.          possible by the more flexible state cache.
1055    
1056          * progmodes/cc-engine.el (c-parse-state, c-whack-state-before,          * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
1057          c-whack-state-after, c-hack-state,          (c-whack-state-after, c-hack-state)
1058          c-narrow-out-enclosing-class, c-guess-basic-syntax): Improved          (c-narrow-out-enclosing-class, c-guess-basic-syntax):
1059          the state cache system.  It now can use partial info from an          Improved the state cache system.  It now can use partial info from
1060          old cached state to calculate a new one at a different          an old cached state to calculate a new one at a different
1061          position.  Removed some kludges to avoid the state cache.  The          position.  Removed some kludges to avoid the state cache.
1062          new functions `c-whack-state-before' and `c-whack-state-after'          The new functions `c-whack-state-before' and `c-whack-state-after'
1063          replace the now obsolete `c-whack-state'.          replace the now obsolete `c-whack-state'.
1064    
1065          * progmodes/cc-engine.el (c-beginning-of-statement-1):          * progmodes/cc-engine.el (c-beginning-of-statement-1):
# Line 1086  Line 1070 
1070    
1071  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1072    
1073          * progmodes/cc-cmds.el (c-electric-continued-statement): Fixed          * progmodes/cc-cmds.el (c-electric-continued-statement):
1074          a bug where the keyword wasn't reindented correctly if          Fixed a bug where the keyword wasn't reindented correctly if
1075          followed by another keyword or identifier.          followed by another keyword or identifier.
1076    
1077          * progmodes/cc-engine.el (c-parse-state): Ignore closed brace          * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
# Line 1097  Line 1081 
1081    
1082  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1083    
1084          * progmodes/cc-engine.el (c-beginning-of-macro,          * progmodes/cc-engine.el (c-beginning-of-macro)
1085          c-forward-syntactic-ws): Recognize "#!" as a preprocessor          (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
1086          directive when it begins a line, to allow for script          directive when it begins a line, to allow for script
1087          interpreter lines like "#!/usr/bin/pike" at the beginning of          interpreter lines like "#!/usr/bin/pike" at the beginning of
1088          the file.          the file.
# Line 1107  Line 1091 
1091    
1092          * progmodes/cc-engine.el (c-looking-at-inexpr-block):          * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1093          Recognize brace blocks inside a parenthesis expression as          Recognize brace blocks inside a parenthesis expression as
1094          inexpr-statement.  Useful when writing statements as macro          inexpr-statement.  Useful when writing statements as macro arguments.
         arguments.  
1095    
1096  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1097    
1098          * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill,          * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
1099          c-mask-comment): Broke out the comment masking code from          (c-mask-comment): Broke out the comment masking code from
1100          `c-fill-paragraph' to a new function `c-mask-comment', to be          `c-fill-paragraph' to a new function `c-mask-comment', to be
1101          able to do the same thing in `c-do-auto-fill'.  This should          able to do the same thing in `c-do-auto-fill'.  This should
1102          make auto-fill-mode behave better.          make auto-fill-mode behave better.
# Line 1148  Line 1131 
1131          current line with the comment starter, so that we line up          current line with the comment starter, so that we line up
1132          comments which matches `c-comment-prefix-regexp' on the first          comments which matches `c-comment-prefix-regexp' on the first
1133          line (after the `/') without the need to make          line (after the `/') without the need to make
1134          `comment-start-skip' match whatever `c-comment-prefix-regexp'          `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
         matches.  
1135    
1136          * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init,          * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
1137          c-set-style-1, c-setup-paragraph-variables): Moved the          (c-set-style-1, c-setup-paragraph-variables): Moved the
1138          variable initialization based on `c-comment-prefix-regexp' to          variable initialization based on `c-comment-prefix-regexp' to
1139          a new function `c-setup-paragraph-variables', which is now          a new function `c-setup-paragraph-variables', which is now
1140          used both at mode init and when a style that sets          used both at mode init and when a style that sets
# Line 1166  Line 1148 
1148    
1149  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1150    
1151          * progmodes/cc-engine.el (c-most-enclosing-brace,          * progmodes/cc-engine.el (c-most-enclosing-brace)
1152          c-least-enclosing-brace): Added optional second arg to limit          (c-least-enclosing-brace): Added optional second arg to limit
1153          the search to before a certain point.          the search to before a certain point.
1154    
1155          * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug          * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
# Line 1179  Line 1161 
1161          * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy          * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
1162          insulation.  This time for XEmacs 21.          insulation.  This time for XEmacs 21.
1163    
1164          * progmodes/cc-engine.el, progmodes/cc-langs.el: Improved          * progmodes/cc-engine.el, progmodes/cc-langs.el:
1165          handling of inheritance lists:          Improved handling of inheritance lists:
1166    
1167          (c-beginning-of-inheritance-list): Rewritten to use a more          (c-beginning-of-inheritance-list): Rewritten to use a more
1168          syntactically correct method that doesn't get confused by          syntactically correct method that doesn't get confused by
# Line 1190  Line 1172 
1172          inheritance lists in combination with templates.  'inher-intro          inheritance lists in combination with templates.  'inher-intro
1173          is now anchored on the start of the class declaration and not          is now anchored on the start of the class declaration and not
1174          the indentation of the current line.  Switched places on cases          the indentation of the current line.  Switched places on cases
1175          5D.3 and 5D.4 and made them use more syntactically correct          5D.3 and 5D.4 and made them use more syntactically correct methods.
         methods.  
1176    
1177          (c-inher-key): Removed since the code in          (c-inher-key): Removed since the code in
1178          `c-guess-basic-syntax' now uses token-based search.          `c-guess-basic-syntax' now uses token-based search.
# Line 1213  Line 1194 
1194    
1195  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1196    
1197          * progmodes/cc-align.el (c-lineup-cascaded-calls): New          * progmodes/cc-align.el (c-lineup-cascaded-calls):
1198          indentation function.          New indentation function.
1199    
1200          * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for          * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
1201          directives with whitespace between the '#' and the name.          directives with whitespace between the '#' and the name.
1202    
1203  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1204    
1205          * progmodes/cc-engine.el (c-forward-syntactic-ws,          * progmodes/cc-engine.el (c-forward-syntactic-ws)
1206          c-backward-syntactic-ws): Handle line continuations as          (c-backward-syntactic-ws): Handle line continuations as
1207          whitespace.  Don't move past a macro if that'd take us past          whitespace.  Don't move past a macro if that'd take us past
1208          the limit.          the limit.
1209    
1210  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1211    
1212          * progmodes/cc-engine.el (c-beginning-of-macro,          * progmodes/cc-engine.el (c-beginning-of-macro)
1213          c-forward-syntactic-ws): Multiline strings begin with `#"' in          (c-forward-syntactic-ws): Multiline strings begin with `#"' in
1214          Pike, and that shouldn't be confused with a preprocessor          Pike, and that shouldn't be confused with a preprocessor directive.
         directive.  
1215    
1216  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1217    
# Line 1250  Line 1230 
1230    
1231  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1232    
1233          * progmodes/cc-mode.el (c-mode-help-address): Removed          * progmodes/cc-mode.el (c-mode-help-address):
1234          bug-gnu-emacs@gnu.org from the receiver list for bug reports.          Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
1235          I've almost never seen a bug reported this way that should go          I've almost never seen a bug reported this way that should go
1236          to that list, but it's rather common that the reports concern          to that list, but it's rather common that the reports concern
1237          the combination CC Mode and XEmacs instead.          the combination CC Mode and XEmacs instead.
# Line 1267  Line 1247 
1247    
1248  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1249    
1250          * progmodes/cc-cmds.el (c-electric-brace,          * progmodes/cc-cmds.el (c-electric-brace)
1251          c-electric-semi&comma, c-electric-colon, c-electric-paren):          (c-electric-semi&comma, c-electric-colon, c-electric-paren):
1252          Check for last on line only for doing the auto-newline-mode          Check for last on line only for doing the auto-newline-mode
1253          stuff, not for the reindentation.          stuff, not for the reindentation.
1254    
# Line 1278  Line 1258 
1258          line only when the inserted brace comes first on it, instead          line only when the inserted brace comes first on it, instead
1259          of last.          of last.
1260    
1261          * progmodes/cc-cmds.el (c-electric-brace,          * progmodes/cc-cmds.el (c-electric-brace)
1262          c-electric-semi&comma): Fixed two places where          (c-electric-semi&comma): Fixed two places where
1263          c-syntactic-indentation wasn't heeded.          c-syntactic-indentation wasn't heeded.
1264    
1265          * progmodes/cc-cmds.el (c-electric-pound): Don't be electric          * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
# Line 1293  Line 1273 
1273  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1274    
1275          * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim          * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
1276          for the fallback to add a single space after the comment          for the fallback to add a single space after the comment prefix.
         prefix.  
1277    
1278          * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat          * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
1279          better behavior in some special cases, especially for          behavior in some special cases, especially for single-line comments.
1280          single-line comments.  Avoid breaking up a comment starter or          Avoid breaking up a comment starter or ender.
         ender.  
1281    
1282  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1283    
# Line 1312  Line 1290 
1290  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1291    
1292          * progmodes/cc-cmds.el, progmodes/cc-mode.el          * progmodes/cc-cmds.el, progmodes/cc-mode.el
1293          (c-electric-delete, c-electric-delete-forward): Split          (c-electric-delete, c-electric-delete-forward):
1294          `c-electric-delete' into two functions where          Split `c-electric-delete' into two functions where
1295          `c-electric-delete-forward' always deletes forward and          `c-electric-delete-forward' always deletes forward and
1296          `c-electric-delete' only contains the code necessary for          `c-electric-delete' only contains the code necessary for
1297          XEmacs to choose between backward and forward deletion.          XEmacs to choose between backward and forward deletion.
# Line 1328  Line 1306 
1306    
1307  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>  2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
1308    
1309          * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init,          * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
1310          c-default-style): Removed the hardcoded switch to "java" style          (c-default-style): Removed the hardcoded switch to "java" style
1311          in Java mode.  It's instead taken care of by the default value          in Java mode.  It's instead taken care of by the default value
1312          for c-default-style.          for c-default-style.
1313    
# Line 3508  Line 3486 
3486    
3487  2002-02-15  Andreas Schwab  <schwab@suse.de>  2002-02-15  Andreas Schwab  <schwab@suse.de>
3488    
3489          * textmodes/tex-mode.el (tex-font-lock-keywords-2): Require          * textmodes/tex-mode.el (tex-font-lock-keywords-2):
3490          non-letter after specials.          Require non-letter after specials.
3491    
3492  2002-02-15  Eli Zaretskii  <eliz@is.elta.co.il>  2002-02-15  Eli Zaretskii  <eliz@is.elta.co.il>
3493    
# Line 3540  Line 3518 
3518          `describe-text-at' in the menu.          `describe-text-at' in the menu.
3519    
3520          * wid-edit.el (widgetp): New function.          * wid-edit.el (widgetp): New function.
3521          * wid-edit.el (widget-keymap, widget-insert, widget-setup):          * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
         Autoloaded.  
3522    
3523          * emacs-lisp/pp.el (pp-to-string): Autoloaded.          * emacs-lisp/pp.el (pp-to-string): Autoloaded.
3524    

Legend:
Removed from v.1.3787  
changed lines
  Added in v.1.3788

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26