1. 26 Sep, 2009 1 commit
  2. 19 May, 2009 1 commit
    • Alan Mackenzie's avatar
      cc-mode.el (c-extend-and-neutralize-CPP-line): Renamed from · a0526d5e
      Alan Mackenzie authored
      c-neutralize-syntax-in-CPP.  Set the variables c-new-BEG and c-new-END,
      thus extending the font-lock region.
      (c-font-lock-init): Don't set obsolete variable font-lock-lines-before.
      
      cc-langs.el (c-before-font-lock-function): Rename a value to
      c-extend-and-neutralize-syntax-in-CPP.
      a0526d5e
  3. 30 Apr, 2009 1 commit
    • Alan Mackenzie's avatar
      Enhancements for Objective-C: · f0e4b2f2
      Alan Mackenzie authored
      cc-vars.el
      (c-objc-method-arg-min-delta-to-bracket,
      c-objc-method-arg-unfinished-offset, c-objc-method-parameter-offset): New
      variables.
      (c-offsets-alist): Use c-lineup-ObjC-method-call-colons in entry for
      objc-method-call-cont.
      
      cc-langs.el (c-constant-kwds): New ObjC keywords "YES", "NO",
      "NS_DURING", "NS_HANDLER", "NS_ENDHANDLER".
      
      cc-align.el (c-lineup-ObjC-method-call-colons): New function.
      f0e4b2f2
  4. 21 Feb, 2009 1 commit
  5. 17 Jan, 2009 1 commit
  6. 11 Jan, 2009 1 commit
  7. 05 Jan, 2009 1 commit
  8. 02 Sep, 2008 1 commit
  9. 06 May, 2008 1 commit
  10. 10 Apr, 2008 1 commit
  11. 06 Apr, 2008 2 commits
  12. 04 Mar, 2008 1 commit
  13. 01 Mar, 2008 1 commit
  14. 19 Feb, 2008 1 commit
    • Alan Mackenzie's avatar
      Set of changes so that "obtrusive" syntactic elements in a · 5ee2e988
      Alan Mackenzie authored
      C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
      unmatched paren) don't interact syntactically with stuff outside
      the CPP line.
      (c-get-state-before-change-function, c-before-font-lock-function,
      c-anchored-cpp-prefix): new language variables.
      (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
      5ee2e988
  15. 29 Jan, 2008 3 commits
  16. 07 Jan, 2008 1 commit
  17. 08 Sep, 2007 1 commit
  18. 28 Aug, 2007 2 commits
  19. 25 Aug, 2007 2 commits
  20. 28 Jul, 2007 2 commits
  21. 25 Jul, 2007 1 commit
  22. 09 Apr, 2007 1 commit
    • Alan Mackenzie's avatar
      Changes to make `narrow-to-defun' and `mark-defun' work properly in CC · 28abe5e2
      Alan Mackenzie authored
      Mode:
      
      cc-defs.el (c-beginning-of-defun-1):
      cc-cmds.el (c-beginning-of-defun, c-end-of-defun): bind
      beginning/end-of-defun-function to nil around calls to
      beginning/end-of-defun.
      
      cc-langs.el (beginning-of-defun-function, end-of-defun-function): new
      c-lang-setvar's.
      
      cc-awk.el (c-awk-beginning-of-defun): Add "(or arg (setq arg 1))" to
      enable non-interactive call.
      28abe5e2
  23. 21 Jan, 2007 1 commit
  24. 20 Jan, 2007 1 commit
  25. 07 Jan, 2007 1 commit
  26. 01 Jan, 2007 1 commit
  27. 10 Dec, 2006 1 commit
  28. 03 Dec, 2006 1 commit
  29. 20 Jul, 2006 1 commit
    • Alan Mackenzie's avatar
      * progmodes/cc-langs.el (c-emacs-variable-inits): new variable. · 26b8f810
      Alan Mackenzie authored
      (c-lang-setvar): new macro.
      (c-make-init-lang-vars-fun): Use the initialization forms in
      c-emacs-variable-inits in addition to those in c-lang-variable-inits.
      (comment-start, comment-end, comment-start-skip): Change these from
      c-lang-defvar's to c-lang-setvar's.
      
      * progmodes/cc-mode.el (c-make-emacs-variables-local): new macro,
      which calls make-local-variable on the elements of
      c-emacs-variable-inits.
      (c-init-language-vars-for): Call this new macro.
      26b8f810
  30. 10 Jul, 2006 1 commit
  31. 14 Apr, 2006 1 commit
  32. 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
  33. 10 Feb, 2006 1 commit
  34. 03 Dec, 2005 1 commit