1. 14 Jan, 2008 1 commit
  2. 07 Jan, 2008 1 commit
  3. 15 Nov, 2007 2 commits
  4. 21 Oct, 2007 1 commit
    • Dan Nicolaescu's avatar
      * progmodes/gud.el (gud-target-name): Move definition before use. · 2f42c75f
      Dan Nicolaescu authored
      * progmodes/dcl-mode.el: Require imenu at compile time.
      
      * progmodes/cc-engine.el (c-maybe-stale-found-type): Pacify
      byte-compiler.
      
      * obsolete/fast-lock.el: Use featurep test instead of
      string-match.
      
      * eshell/esh-mode.el (eshell-handle-ansi-color): Require
      ansi-color at compile time too.
      
      * eshell/em-unix.el (eshell/info): Require info at compile time
      too.
      
      * w32-fns.el: Require w32-vars.
      
      * diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
      time too.
      2f42c75f
  5. 25 Aug, 2007 2 commits
  6. 08 Aug, 2007 1 commit
  7. 25 Jul, 2007 1 commit
  8. 06 Apr, 2007 1 commit
    • Alan Mackenzie's avatar
      Fix fontification of labels, and other things with ":". · 1379f2c5
      Alan Mackenzie authored
      * progmodes/cc-engine.el (c-forward-label): The function now
      returns 'goto-target, 'qt-2kwds-colon, 'qt-1kwd-colon, as well as
      the former t.
      
      * progmodes/cc-fonts.el (c-font-lock-declarations): Interpret the
      new return code from c-forward-label, fontifying tokens properly.
      Add some general comments throughout the file.
      1379f2c5
  9. 25 Mar, 2007 1 commit
  10. 08 Mar, 2007 1 commit
  11. 02 Feb, 2007 1 commit
  12. 21 Jan, 2007 1 commit
  13. 20 Jan, 2007 2 commits
  14. 01 Jan, 2007 1 commit
  15. 03 Dec, 2006 1 commit
  16. 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
  17. 10 Feb, 2006 1 commit
  18. 16 Dec, 2005 1 commit
  19. 02 Dec, 2005 1 commit
  20. 09 Aug, 2005 1 commit
  21. 01 Aug, 2005 1 commit
  22. 23 May, 2005 2 commits
    • Juanma Barranquero's avatar
    • 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
  23. 14 May, 2005 1 commit
  24. 11 Aug, 2004 1 commit
  25. 16 Nov, 2003 1 commit
  26. 24 Sep, 2003 1 commit
    • Martin Stjernholm's avatar
      (c-parse-state): Fixed bug that could cause errors when the state · 449a2b0d
      Martin Stjernholm authored
      cache contains info on parts that have been narrowed out.
      
      (c-forward-keyword-clause): Fixed error handling.  This bug could
      cause interactive font locking to bail out.
      
      (c-just-after-func-arglist-p): Handle paren-style types in Pike.  Also
      fixed some cases of insufficient handling of unbalanced parens.
      449a2b0d
  27. 01 Sep, 2003 1 commit
  28. 26 Aug, 2003 1 commit
  29. 03 Aug, 2003 1 commit
    • Martin Stjernholm's avatar
      2003-08-01 Martin Stjernholm <bug-cc-mode@gnu.org> · ff959bab
      Martin Stjernholm authored
      	* cc-engine.el (c-end-of-current-token): Return whether or not the
      	point moved.
      
      	(c-search-decl-header-end): Don't trip up on operator identifiers
      	in C++ and operators like == in all languages.
      
      	* cc-engine.el (c-backward-to-decl-anchor): Detect leading labels
      	correctly.
      ff959bab
  30. 16 Jul, 2003 1 commit
  31. 13 Jul, 2003 1 commit
  32. 08 Jul, 2003 1 commit
    • Martin Stjernholm's avatar
      2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org> · 7bfc3fdb
      Martin Stjernholm authored
      	* cc-engine.el (c-guess-basic-syntax): Do not do hidden buffer
      	changes; there's third party code that calls this function
      	directly.
      
      2003-07-07  Martin Stjernholm  <bug-cc-mode@gnu.org>
      
      	* cc-fonts.el (javadoc-font-lock-keywords,
      	autodoc-font-lock-keywords): Don't byte compile on font lock
      	initialization when running from byte compiled files.
      
      2003-07-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
      
      	* cc-engine.el: Fix AWK mode indentation when previous statement
      	ends with auto-increment "++".
      
      2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
      
      	* cc-langs.el, cc-styles.el (c-style-alist, c-lang-variable-inits,
      	c-lang-variable-inits-tail): The values of these are changed, so
      	declare them as variables and not constants.
      7bfc3fdb
  33. 03 Jul, 2003 1 commit
  34. 23 Mar, 2003 1 commit
  35. 18 Oct, 2002 1 commit
  36. 20 Aug, 2002 1 commit