1. 03 Dec, 2006 1 commit
  2. 19 May, 2006 1 commit
  3. 24 Feb, 2006 1 commit
    • Alan Mackenzie's avatar
      cc-align.el, cc-awk.el, cc-bytecomp.el, cc-cmds.el, cc-compat.el, · cb694ab7
      Alan Mackenzie authored
      cc-defs.el, cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el,
      cc-mode.el, cc-styles.el, cc-subword.el, cc-vars.el:  Add 2006 to the
      copyright statement.
      
      cc-awk.el: (c-awk-after-change): Protect the match data with
      save-match-data.  It was being corrupted when Font Lock was not enabled.
      (ii): Fix a typo.
      
      cc-cmds.el, cc-mode.el, cc-engine.el (c-update-modeline): Concatenate the
      minor mode indicators directly onto mode-name, removing
      c-submode-indicators.  Sometimes, c-s-i got separated from the mode name
      on the mode line.
      
      cc-cmds.el, cc-mode.el: Rename c-hungry-backspace to
      c-hungry-delete-backwards, at the request of RMS.  Leave the old name as
      an alias.
      
      cc-cmds.el (c-electric-brace, c-electric-semi&comma, c-electric-colon):
      Correct doc-strings: "/ln" -> "/la".
      
      cc-cmds.el (c-electric-brace): Fix clean-up brace-else-brace (error due
      to mbeg, mend being undefined).
      
      cc-defs.el (c-version): Update to 5.31.3.
      
      cc-defs.el: [Supersedes patch V1.38]: (top level): Check for a buggy
      font-lock-compile-keywords ONLY in XEmacs.  GNU Emacs 22 now has a check
      which would throw an error here.
      
      cc-engine.el (c-beginning-of-statement-1): Clarify doc-string and
      comments.  Distinguish real labels ("case 1:" or "foo:") from non-labels
      ("public:").
      
      cc-engine.el (c-after-change-check-<>-operators): Remove save-match-data,
      reversing change for V1.45.  save-match-data is now in c-after-change.
      
      cc-engine.el (c-forward-objc-directive): Replace c-forward-token-2 with
      crude coding; c-f-t-2 doesn't move over a token at EOB.  Objc Mode was
      hanging after typing, e.g., "@implementation".
      
      cc-langs.el (c-filter-ops): Made it available at runtime too to work when
      `c-make-init-lang-vars-fun' needs to evaluate from source.
      
      cc-langs.el (c-make-init-lang-vars-fun): Improved the error message when
      there's an evaluation error to show whether it's loaded from source or
      not.
      (c-mode-menu): Add menu items for Electric Mode and Subword Mode.
      
      cc-mode.el (c-after-change): Protect the match data with save-match-data.
      It was getting corrupted by c-after-change-check-<>-operators.
      
      cc-mode.el: File Local variables: Solve the problem where both `mode' and
      c-file-offsets are specified: `mode' will overwrite c-f-o's settings:
      (c-remove-any-local-eval-or-mode-variables): new function.
      (c-postprocess-file-styles): call the above new function, within
      c-tentative-buffer-change, to splat `mode' and `eval' before the second
      hack-local-variables.
      cb694ab7
  4. 10 Feb, 2006 1 commit
  5. 02 Dec, 2005 1 commit
  6. 03 Oct, 2005 1 commit
  7. 01 Aug, 2005 1 commit
  8. 04 Jul, 2005 1 commit
  9. 23 May, 2005 1 commit
    • Martin Stjernholm's avatar
      2005-05-23 Martin Stjernholm <bug-cc-mode@gnu.org> · 3efc2cd7
      Martin Stjernholm authored
      	CC Mode update to 5.30.10:
      
      	* cc-fonts.el (c-font-lock-declarators): Fixed bug where the point
      	could go past the limit in decoration level 2, thereby causing
      	errors during interactive fontification.
      
      	* cc-mode.el (c-make-inherited-keymap): Fixed cc-bytecomp bug when
      	the file is evaluated interactively.
      
      	* cc-engine.el (c-guess-basic-syntax): Handle operator
      	declarations somewhat better in C++.
      
      	* cc-styles.el, cc-mode.el (c-run-mode-hooks): New helper macro to
      	make use of run-mode-hooks' which has been added in Emacs 21.1.
      
      	(c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode,
      	awk-mode): Use it.
      
      	(make-local-hook): Suppress warning about obsoleteness.
      
      	* cc-engine.el, cc-align.el, cc-cmds.el
      	(c-append-backslashes-forward, c-delete-backslashes-forward,
      	c-find-decl-spots, c-semi&comma-no-newlines-before-nonblanks):
      	Compensate for return value from forward-line' when it has moved
      	but not to a different line due to eob.
      
      	* cc-engine.el (c-guess-basic-syntax): Fixed anchoring in
      	objc-method-intro' and objc-method-args-cont'.
      
      2005-05-23  Alan Mackenzie  <bug-cc-mode@gnu.org>
      
      	CC Mode update to 5.30.10:
      
      	* cc-mode.el, cc-engine.el, cc-align.el: Change the FSF's address
      	in the copyright statement.  Incidentally, change "along with GNU
      	Emacs" to "along with this program" where it occurs.
      
      	* cc-mode.el: Add a fourth parameter t' to the awk-mode autoload,
      	so that it is interactive, hence can be found by M-x awk-mode
      	whilst cc-mode is yet to be loaded.  Reported by Glenn Morris
      	<gmorris+emacs@ast.cam.ac.uk>.
      
      	* cc-awk.el: Add character classes (e.g. "[:alpha:]") into AWK
      	Mode's regexps.
      
      2005-05-23  Kevin Ryde  <user42@zip.com.au>:
      
      	* cc-align.el (c-lineup-argcont): Ignore conses for {} pairs from
      	c-parse-state, to avoid a lisp error (on bad code).
      3efc2cd7
  10. 11 Aug, 2004 1 commit
  11. 24 Sep, 2003 1 commit
  12. 01 Sep, 2003 1 commit
  13. 05 Jul, 2003 1 commit
  14. 03 Jul, 2003 1 commit
  15. 10 Feb, 2003 1 commit
  16. 27 Jan, 2003 1 commit
  17. 08 Jun, 2002 1 commit
  18. 22 Apr, 2002 1 commit
  19. 16 Jul, 2001 1 commit
  20. 23 Jun, 2001 1 commit
  21. 21 Mar, 2001 1 commit
  22. 06 Dec, 2000 1 commit
  23. 24 Jul, 2000 1 commit
    • Gerd Moellmann's avatar
      (c-style-alist): The basic offset for the BSD · 6cfd56b3
      Gerd Moellmann authored
      style corrected to 8.
      
      (c-style-alist): Adjusted the indentation of
      brace list openers in the gnu style.
      
      (c-make-styles-buffer-local): Flag style
      variable localness in c-style-variables-are-local-p to make
      the compatibility measure in c-common-init work well.
      
      (c-set-style-1): c-special-indent-hook can no
      longer contain set-from-style.
      (c-initialize-builtin-style): Don't check for
      set-from-style on c-special-indent-hook.
      (c-copy-tree): Obsolete.  The standard function
      copy-alist is sufficient now.
      
      (c-set-style, c-set-style-1,
      c-get-style-variables): Fixes to variable initialization so
      that duplicate entries in styles have the same effect
      regardless of DONT-OVERRIDE.
      
      (c-set-style-2): Fixed bug where the
      initialization of inheriting styles failed when the
      dont-override flag is set.
      6cfd56b3
  24. 12 Dec, 1999 1 commit
  25. 08 Feb, 1999 1 commit
  26. 17 Feb, 1998 2 commits
    • Richard M. Stallman's avatar
      (c-copy-tree): New function. · f014d22e
      Richard M. Stallman authored
      (c-initialize-builtin-style): Use c-copy-tree.
      f014d22e
    • Richard M. Stallman's avatar
      (c-make-styles-buffer-local): Take an optional argument which switches · 0bacd8d0
      Richard M. Stallman authored
      between make-variable-buffer-local and make-local-variable.  Generalize.
      
      (c-offsets-alist): Three new syntactic symbols: innamespace,
      namespace-open, namespace-close.  These support C++ namespace blocks.
      Also, new syntactic symbol cpp-macro-cont, by default bound to
      c-lineup-dont-change.  This symbol is assigned to subsequent lines of
      a multi-line C preprocess macro definition.
      
      (c-style-alist): "jdk" style for conformance with Sun's JDK style.
      
      (c-set-style-2, c-initialize-builtin-style): Don't special case
      "cc-mode", it's a derived style.  Fix setup of derived style
      "cc-mode".  Introduce the new default style "user" which contains all
      user customizations.
      0bacd8d0
  27. 23 Oct, 1997 2 commits
    • Karl Heuer's avatar
      (c-initialize-builtin-style): · 82aba9f4
      Karl Heuer authored
      Only use copy-tree if it is
      funcall-able.  This is the right patch, and was given by Erik Naggum
      <erik@naggum.no>
      82aba9f4
    • Karl Heuer's avatar
      (c-initialize-builtin-style): · 8220e74c
      Karl Heuer authored
      Use existing copy-tree if it's defined.
      
      copy-sequence doesn't work; the
      c-offsets-alist must be copied recursively.  Use copy-tree solution
      given by Simon Marshall.
      8220e74c
  28. 21 Sep, 1997 1 commit
  29. 19 Sep, 1997 1 commit
  30. 08 Sep, 1997 1 commit
  31. 16 Aug, 1997 1 commit
  32. 14 Aug, 1997 1 commit
  33. 11 Aug, 1997 1 commit
  34. 09 Aug, 1997 1 commit
    • Richard M. Stallman's avatar
      (c-styles-alist): In "java" style, set · 63add9c9
      Richard M. Stallman authored
      c-hanging-comment-starter-p to nil to preserve Javadoc starter lines.
      
      (c-set-style-2): Fixed broken implementation of inherited styles.
      
      (c-set-style): Call c-initialize-builtin-style.
      (c-initialize-builtin-style): Handle c-style-variables-are-local-p.
      63add9c9
  35. 07 Aug, 1997 1 commit
  36. 18 Jul, 1997 1 commit
  37. 15 Jul, 1997 1 commit
  38. 10 Jul, 1997 1 commit