Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
52bedd34
Commit
52bedd34
authored
Oct 28, 2011
by
Alan Mackenzie
Browse files
Increment c-version to 5.32.2.
parent
7e43cfa5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
30 deletions
+38
-30
doc/misc/ChangeLog
doc/misc/ChangeLog
+12
-0
lisp/ChangeLog
lisp/ChangeLog
+25
-29
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-defs.el
+1
-1
No files found.
doc/misc/ChangeLog
View file @
52bedd34
2011-10-28 Alan Mackenzie <acm@muc.de>
* cc-mode.texi (Indentation Commands): Mention "macros with semicolons".
(Other Special Indentations): Add an xref to "Macros with ;".
(Customizing Macros): Add stuff about syntax in macros. Add an xref to
"Macros with ;".
(Macros with ;): New page.
* progmodes/cc-mode.texi (Movement Commands): Document
`c-defun-tactic'. Document the new handling of nested scopes for
movement by defuns.
2011-10-23 Michael Albinus <michael.albinus@gmx.de>
Sync with Tramp 2.2.3.
...
...
lisp/ChangeLog
View file @
52bedd34
2011-10-28 Alan Mackenzie <acm@muc.de>
* progmodes/cc-defs.el (c-version). -> 5.32.2.
2011-10-28 Alan Mackenzie <acm@muc.de>
Amend the handling of c-beginning/end-of-defun in nested declaration
scopes.
* cc-vars.el (c-defun-tactic): Move here from cc-langs.el. Change it to a
defcustom.
* cc-mode.texi (Movement Commands): Document `c-defun-tactic'. Document
the new handling of nested scopes for movement by defuns.
* progmodes/cc-vars.el (c-defun-tactic): Move here from
cc-langs.el. Change it to a defcustom.
* cc-langs.el (c-defun-tactic): Move this variable to cc-vars.el.
* progmodes/cc-langs.el (c-defun-tactic): Move this variable to
cc-vars.el.
(c-nonlabel-token-2-key): New variable for change in cc-engine.el.
* cc-engine.el (c-beginning-of-statement-1): Prevent
"class foo : bar"
being spuriously recognized as a label.
*
progmodes/
cc-engine.el (c-beginning-of-statement-1): Prevent
"class foo : bar"
being spuriously recognized as a label.
* cc-cmds.el (c-narrow-to-most-enclosing-decl-block): Add parameter
`inclusive' (to include enclosing braces in the region).
* progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
Add parameter `inclusive' (to include enclosing braces in the
region).
(c-widen-to-enclosing-decl-scope): New function.
(c-while-widening-to-decl-block): New macro.
(c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
...
...
@@ -34,39 +37,32 @@
Amend to indent and fontify macros "which include their own semicolon"
correctly, using the "virtual semicolon" mechanism.
* cc-defs.el: Update "virtual semicolon" comments.
*
progmodes/
cc-defs.el: Update "virtual semicolon" comments.
* cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at
at time rather than having \n and \r explicitly in c-stmt-delim-chars
* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Recoded
to scan one line at at time rather than having \n and \r
explicitly in c-stmt-delim-chars
(for some modes, e.g. AWK).
(c-forward-label): Amend for virtual semicolons.
(c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
* cc-fonts.el (c-font-lock-declarations): Take account of the new C macros.
* progmodes/cc-fonts.el (c-font-lock-declarations): Take account
of the new C macros.
* cc-langs.el (c-at-vsemi-p-fn
, c-vsemi-status-unknown-p-fn): move to
earlier in the file.
*
progmodes/
cc-langs.el (c-at-vsemi-p-fn
):
(c-vsemi-status-unknown-p-fn): move to
earlier in the file.
(c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
(c-opt-cpp-macro-define): Make into a full language variable.
(c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
AWK Mode (including \n, \r) removed, no longer needed.
* cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
c-make-macro-with-semi-re. (Erroneously committed early, in previous
version, 5.259.)
* progmodes/cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
c-make-macro-with-semi-re.
* cc-vars.el (c-macro-with-semi-re
, c-macro-names-with-semicolon): New
variables.
*
progmodes/
cc-vars.el (c-macro-with-semi-re
):
(c-macro-names-with-semicolon): New
variables.
(c-make-macro-with-semi-re): New function
* cc-mode.texi (Indentation Commands): Mention "macros with semicolons".
(Other Special Indentations): Add an xref to "Macros with ;".
(Customizing Macros): Add stuff about syntax in macros. Add an xref to
"Macros with ;".
(Macros with ;): New page.
2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
* vc/log-edit.el: Fill empty field rather than adding new one.
...
...
lisp/progmodes/cc-defs.el
View file @
52bedd34
...
...
@@ -93,7 +93,7 @@
;;; Variables also used at compile time.
(
defconst
c-version
"5.3
1.9
"
(
defconst
c-version
"5.3
2.2
"
"CC Mode version number."
)
(
defconst
c-version-sym
(
intern
c-version
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment