Mercurial > emacs
changeset 52719:20d4f4a911a6
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 01 Oct 2003 15:13:52 +0000 |
parents | 6c29fe6ca401 |
children | b318ad3d41ce |
files | lisp/ChangeLog |
diffstat | 1 files changed, 0 insertions(+), 199 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Oct 01 13:23:34 2003 +0000 +++ b/lisp/ChangeLog Wed Oct 01 15:13:52 2003 +0000 @@ -1801,8 +1801,6 @@ `imenu-create-index-function' if the second argument is left out. This bug broke the imenu support in C, C++ and Java modes. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el, progmodes/cc-align.el (c-add-stmt-syntax, c-lineup-arglist) (c-lineup-arglist-close-under-paren): Fixes to cope with @@ -1816,8 +1814,6 @@ * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk) to eliminate compile-time errors. -2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org> - * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to analyze AWK top-level forms properly (c-guess-basic-syntax CASE 5P), c-awk-backward-syntactic-ws. @@ -1828,8 +1824,6 @@ progmodes/cc-fix.el since it now contains compatibility stuff for later versions than (X)Emacs 19. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant. (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler @@ -1843,13 +1837,9 @@ * progmodes/cc-engine.el (c-forward-keyword-clause): Support `c-paren-nontype-kwds'. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a bare period as a float. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment): Do not cover functions that have been bound. @@ -1860,13 +1850,9 @@ progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external require's with `cc-external-require'. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-beginning-of-member-init-list) (c-guess-basic-syntax): Fixes in handling of bitfields. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (comment-end): Put a space in front of the comment ender in C, as it was before the move from cc-mode.el. @@ -1875,8 +1861,6 @@ * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or awk-font-lock-keywords unless there is an AWK Mode buffer. -2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org> - * progmodes/cc-awk.el: New file that implements AWK support, superseding the old separate derived mode in awk-mode.el. @@ -1892,8 +1876,6 @@ the modifier is followed by "{" in Pike before considering it to start a class-like block. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el (c-initialize-cc-mode): Add some compatibility to make this function behave somewhat more as documented for derived modes. It's still not enough to make @@ -1901,8 +1883,6 @@ long time now so fixing it more might cause trouble elsewhere. :P -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro to remove a font lock face properly (especially in XEmacs). @@ -1917,14 +1897,10 @@ to avoid the use of `font-lock-constant-face' for constants in emacsen that doesn't have it. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-styles.el, progmodes/cc-vars.el, progmodes/cc-cmds.el: Fixes for the syntactic symbols for module and composition blocks. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el (c-basic-common-init): Use `open-paren-in-column-0-is-defun-start' if it exists and works. @@ -1932,13 +1908,6 @@ to detect when `open-paren-in-column-0-is-defun-start' exists and actually works. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - - * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg): - Don't quote nil in docstrings. - -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-vars.el, progmodes/cc-langs.el (c-primitive-type-kwds, c-font-lock-extra-types): "complex" and "imaginary" aren't keywords in C99, only macros that @@ -1949,8 +1918,6 @@ (c-constant-kwds): "false" and "true" are standard constant macros in C99. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-menus.el, progmodes/cc-langs.el, progmodes/cc-engine.el, progmodes/cc-fonts.el, progmodes/cc-cmds.el: Fixed various regexps to use POSIX char @@ -1960,19 +1927,13 @@ New constants to make it easier to create regexps that use POSIX char classes in emacsen that support them. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-vars.el (c-emacs-features): Detect in the regexp engine understands POSIX char classes. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el (c-after-change): Add kludge for bug where this function sometimes gets positions outside the buffer range. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-beginning-of-member-init-list): Better handling of paretheses in unexpected places. @@ -1980,24 +1941,16 @@ regexp match order problem that could cause empty template args on the form "<>" to be missed. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-parse-state): Add kludge to avoid an infinite loop when Emacs' open-paren-in-column-zero rule kicks in and causes the sexp functions to misbehave. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-beginning-of-member-init-list): Fix bug when C++-like code is encountered in non-C++ mode. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-defs.el (c-make-keywords-re): Add option to specify the language to look up `c-nonsymbol-key' in. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el, progmodes/cc-engine.el (c-auto-newline-analysis): New dynamically bound variable to turn off the topmost-intro-cont/statement-cont kludge for @@ -2005,8 +1958,6 @@ This fixes some cases where the setting for `brace-list-open' on `c-hanging-braces-alist' didn't have any effect. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-literal-start-regexp): Yet another language variable. @@ -2026,8 +1977,6 @@ * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro to avoid the warnings with too many args to `scan-lists' in Emacs. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-syntactic-skip-backward): New function to make syntactic searches in the backward direction easier. @@ -2038,8 +1987,6 @@ (c-safe-position): Remove the odd macro handling which was centered around the point instead of the passed position. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on initialization expressions. @@ -2048,29 +1995,21 @@ Tune the "macro block" heuristics to work better in nested arglist situations. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-styles.el (c-set-offset): Don't find a default syntactic element through syntactic analysis if called outside a CC Mode buffer. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el (c-basic-common-init): Install `c-fill-paragraph' on `fill-paragraph-function'. Although it's not the normal way to call it in a CC Mode buffer it makes a direct call to `fill-paragraph' work better. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-vars.el, progmodes/cc-mode.el (c-require-final-newline): Make this variable an alist to specify a value for each language. The default value causes `require-final-newline' to be set to t only in languages where the standard requires a final newline. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el, progmodes/cc-vars.el (c-require-final-newline): Add a variable to make the initialization of `require-final-newline' more configurable. @@ -2079,8 +2018,6 @@ format string to "CC Mode Common Hook" since that causes confusion (although it is a more accurate name). -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el (javadoc-font-lock-keywords) (autodoc-font-lock-keywords): Support for Javadoc and Pike Autodoc doc comments. @@ -2089,21 +2026,15 @@ control the fontification of documentation comments on top of the normal mode font lock. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el, progmodes/cc-fonts.el (c-primary-expr-regexp, c-font-lock-declarations): Avoid false recognition of parens as casts when they are followed by an operator that is both prefix and infix. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the heuristics of when to use `c-block-comment-prefix' for an unclosed block comment. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el, progmodes/cc-langs.el (c-nonsymbol-sexp-kwds, c-forward-keyword-clause): Handle keywords like "extern" that can be followed by e.g. a string @@ -2112,8 +2043,6 @@ * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp correctly with one submatch when adorn is set and the list is empty. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a search that could go far past the relevant region and cause slowness. Do not limit the declaration detection to the @@ -2124,16 +2053,12 @@ argument to handle declarations spanning the fontification limit better. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-in-literal, c-literal-limits) (c-literal-limits-fast, c-beginning-of-inheritance-list): Use the paren cache instead of the impaired ad hoc in `beginning-of-defun', so that these functions doesn't trip up on "{" in the first column inside strings or comments. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-vars.el (c-hanging-braces-alist): Add `statement-cont' and made it auto newline free by default. @@ -2144,8 +2069,6 @@ * progmodes/cc-vars.el (c-emacs-features): There's no need to have this constant autoloaded. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el (c-font-lock-declarations): Use `c-recognize-typeless-decls' to avoid fontifying some macro constructs as declarations in languages where a preceding type @@ -2154,21 +2077,15 @@ * progmodes/cc-langs.el (c-recognize-typeless-decls): New language variable. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-lineup-close-paren): Use `c-syntactic-eol' when checking if the open paren ends its line. * progmodes/cc-langs.el (c-syntactic-eol): Handle a line continuation backslash. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-snug-do-while): Compatibility fix for changed structure in `c-syntactic-context'. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-parse-state): Filter angle bracket arglist parens in a better way than disabling the syntax table properties completely. @@ -2179,13 +2096,9 @@ the face is used elsewhere (i.e. only for the definition of the symbol). -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el: Add autoload directives for the interface functions in cc-langs. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el (c-font-lock-declarations): Add a property to handle refontication in multiline declaration arglists better. @@ -2203,8 +2116,6 @@ recursive template arglists. Fixes to cope with the new 'known type classification. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el (c-basic-common-init): Add the new char property `c-type' to `text-property-default-nonsticky'. @@ -2217,8 +2128,6 @@ caused existing function definitions to be overridden by phonies when the bytecomp environment is restored. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el (c-mask-paragraph): Masking is necessary in normal code too to avoid getting a fill prefix from a nearby comment. Change the name from `c-mask-comment' @@ -2230,8 +2139,6 @@ older emacsen. The bug that would occur in that case would probably be rather nasty for the average user. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el (c-font-lock-declarations): Fine tuning of the decision tree that tells declarations from expressions to produce better results in some ambiguous cases. @@ -2253,13 +2160,9 @@ Use `c-string-syntax' and `c-string-limit-regexp'. Replace some hardcoded comment start regexps with `c-comment-start-regexp'. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el: Added an association for pike-mode on `intepreter-mode-alist'. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to the end instead of the start of the list, to avoid overriding user additions that are made before this file is loaded when @@ -2280,8 +2183,6 @@ If someone is so inclined, restore the commented code, byte compile, and try to open a C++ file or something in font lock mode. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el: Update the IDL support from the specs. This also adds the keywords for the variants PSDL and CIDL. (This is mostly done from reading the grammars only; @@ -2293,8 +2194,6 @@ `parse-sexp-lookup-properties' is properly insulated from clobbering by the font-lock package at all relevant entry points. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-opt-after-id-concat-key): New language constant to make the recognition of identifier qualifiers more flexible. Recognize the identifier before @@ -2336,8 +2235,6 @@ keyword as a symbol, to make fast reverse lookup of keywords to the `*-kwds' lists they come from. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-defs.el (c-lang-defconst-eval-immediately): Add macro to be able to do direct evaluation in `c-lang-defconst' forms. @@ -2356,13 +2253,9 @@ Objective-C instead of matching a protocol reference list as a type suffix. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing `save-excursion' that caused the point to jump around. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode) (cc-imenu-init): Fix initialization bug that has made the Objective-C support inoperational since 5.26. @@ -2371,16 +2264,12 @@ (cc-imenu-objc-function): Don't add an empty "C" menu since imenu doesn't like that. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-lineup-arglist) (c-lineup-arglist-close-under-paren, c-lineup-close-paren): Add DWIM to the functions that line up at or after the arglist open paren to avoid that if there are brace blocks inside, e.g. when a macro contains a code block. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-vars.el (objc-font-lock-extra-types): Change default to treat identifiers starting with capital letters as types, according to Objective-C naming conventions. The types @@ -2400,16 +2289,12 @@ directives are now considered part of the keywords to make things easier. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-defs.el: (c-(up|down)-list-(forward|backward)): Make the position optional and added docstrings. (c-go-(up|down)-list-(forward|backward)): Add variants of the above that move point and return successfulness instead. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el (c-font-lock-<>-arglists): New function to fontify all occurrences of template arglists in C++. @@ -2417,27 +2302,19 @@ New variable to be able to avoid false recognition of template arglists in some cases. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-fonts.el, progmodes/cc-langs.el (c-decl-prefix-re, c-font-lock-declarations): Match template open brackets to get a declaration in the first template argument. (c-complex-decl-matchers): Fontify the second type in a "class X = Y" expression in C++. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the recursive part to a new function to improve efficiency when a nested template arglist search turns out to be futile. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-menus.el (cc-imenu-java-generic-expression): Improve to avoid false matches on e.g. "else if (foo)". -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-forward-token-2) (c-backward-token-2): New functions that work like the -1 variants but that handle multicharacter operator tokens. @@ -2454,13 +2331,9 @@ variables to parameterize some more of the hardcoded regexps in cc-engine. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not allow cascaded call lists containing both "->" and ".". -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el, progmodes/cc-cmds.el, progmodes/cc-defs.el, progmodes/cc-engine.el, progmodes/cc-fonts.el, progmodes/cc-langs.el, @@ -2509,8 +2382,6 @@ * progmodes/cc-bytecomp.el (cc-require-when-compile): New support macro for compile time `require's. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version): Move from cc-mode to cc-defs to make it accessible to the other components. @@ -2533,27 +2404,19 @@ (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to allow use at runtime. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-bytecomp.el (cc-eval-when-compile): Workaround for a bug with nested `eval-when-compile' in XEmacs 21. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el: Added autoloaded forms to install the appropriate file suffixes on `auto-mode-alist'. Necessary in XEmacs 21.5, and it can be useful elsewhere too. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "." too, for use in Java. * progmodes/cc-engine.el (c-forward-sws, c-backward-sws): Do not handle cpp directives in languages that doesn't have any. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-operators): Add a high level description of all operators, along with their precedence and associativity. @@ -2561,8 +2424,6 @@ where the position of the point and not the beginning of the line was used to calculate the indentation. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-defs.el, progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments): Add kludge for the bug in `forward-comment' in most (X)Emacs versions @@ -2570,8 +2431,6 @@ there's no matching "/*". This has become more important now since it can cause incorrect caching by `c-backward-sws'. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el (c-hungry-backspace) (c-hungry-delete-forward): New functions to do hungry deletion regardless of hungry-delete mode. Contributed by Kevin Ryde. @@ -2582,8 +2441,6 @@ improving responsiveness when there are lots of comments and cpp directives before point. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-guess.el, progmodes/cc-langs.el, progmodes/cc-menus.el, progmodes/cc-mode.el, progmodes/cc-styles.el, progmodes/cc-vars.el, @@ -2597,8 +2454,6 @@ (c-save-buffer-state): New macro that's put around any code that can manipulate text properties. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el (c-basic-common-init): Setup `text-property-default-nonsticky' to avoid messing with the rear-nonsticky property on each character in Emacs 21. @@ -2617,8 +2472,6 @@ (c-parse-sexp-lookup-properties): New macro that expands to either `parse-sexp-lookup-properties' or `lookup-syntax-properties'. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-defs.el, progmodes/cc-engine.el, progmodes/cc-fonts.el: Put the faces into the buffer in the same way as the font-lock package does. This fixes a @@ -2647,8 +2500,6 @@ interactive refontification a lot on the top level of macro heavy header files. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-vars.el (c-emacs-features): Add check for syntax text properties. @@ -2717,13 +2568,9 @@ Remove these helper macros since better and more correct tools are now available in progmodes/cc-langs.el. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-lineup-string-cont): New lineup function to line up string literals that will be concatenated. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-populate-syntax-table): XEmacs classifies the hard space character as a symbol character but it's better to let it be in the punctuation class so that it's @@ -2732,8 +2579,6 @@ identifiers in some languages (haven't checked), but using it would still be extremely confusing. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a case when a labeled substatement caused incorrect association of the following continuation clause. @@ -2758,19 +2603,13 @@ (c-state-cache-start): Fix buffer localness. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el: Updates from the C99 standard (or actually from the latest web accessible draft of it). -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el: Update the keywords and operator tokens from the latest C++ and Java standards. Some other multichar token corrections. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el, progmodes/cc-engine.el, progmodes/cc-vars.el (c-syntactic-context) (c-syntactic-element): Do not bind any values to these @@ -2778,8 +2617,6 @@ bound. This makes it much easier to debug cases when they've gotten global values somehow. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the non-greedy behavior that the regexp engine sometimes exposes. This bug only shows in (X)Emacs 19 where there's no regexp-opt package. @@ -2796,8 +2633,6 @@ (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace' might return nil. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-found-types, c-clear-found-types) (c-add-type, c-check-type, c-add-complex-type) (c-list-found-types, c-forward-type): Add a sort of symbol @@ -2811,16 +2646,12 @@ * progmodes/cc-defs.el (c-mode-var): New defsubst to access mode prefixed variables uniformly. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-lineup-arglist-close-under-paren): Work correctly with nested arglist-cont-nonempty symbols. (c-lineup-arglist-operators): New lineup function to line up infix operators under the open paren of the surrounding sexp. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug that could cause an infinite loop if something that looks like a macro begins in the middle of a line. @@ -2829,8 +2660,6 @@ to contain two conses in sequence when there's an unbalanced open paren in a macro. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-defs.el (c-face-name-p): A defsubst to recognize the name of a face in a way that works also in XEmacs. @@ -2854,8 +2683,6 @@ separate functions than choose between them at runtime using the argument. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due to the new placement of cpp-macro and comment-intro in the syntactic context, as pointed out by Kevin Ryde. Change the @@ -2867,21 +2694,15 @@ `line-beginning-position' and `line-end-position' in emacsen that have them (currently Emacs 20 and later). -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that sometimes caused code after a closed block comment to be taken into account when the fill prefix is calculated. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont) (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg): Fixes to cope correctly with nested arglists for the lineups that can be used with arglist-cont-nonempty. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax): Change the anchor position of arglist-cont-nonempty and arglist-close so that a relative @@ -2911,8 +2732,6 @@ and string literals, and since those are nested innermost it won't matter. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-align.el, progmodes/cc-defs.el, progmodes/cc-engine.el, progmodes/cc-vars.el (c-guess-basic-syntax, c-calc-offset) @@ -2932,19 +2751,13 @@ line-up function distributed with CC Mode needed to be changed, for instance. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-styles.el (c-set-style, c-set-style-1): Add another state for the `dont-override' flag where it only keeps globally set variables. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing except in CC Mode modes. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-vars.el, progmodes/cc-fonts.el, progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support. @@ -2967,13 +2780,9 @@ initialization. It's intended for use by other modes that embed CC Mode. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases of wrong anchoring, e.g. for else-if compounds. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor position for defun-open in K&R style functions. @@ -2984,8 +2793,6 @@ (c-beginning-of-decl-1): Fix when the declaration is first in a macro. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way to handle protection labels, one which doesn't get confused by inherit colons. @@ -2993,21 +2800,15 @@ (c-end-of-decl-1): Don't treat functions that have "class" or "struct" in the return type as classes or structs. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-langs.el (c-make-keywords-re): Fix the keyword adornment so that it works when a keyword ends with "_". -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el (c-mask-comment): More fixes when used from `c-do-auto-fill' and point is at or near the limit of the comment. Fix bug when the prefix from `c-guess-fill-prefix' is longer than the text on the first line of the comment when it's masked. -2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org> - * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point was moved to the following line when it was at the first line of a block comment where comment-start-skip matched to eol.