[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3a0db55b509: * etc/NEWS: Describe the change to enum handling in
From: |
Alan Mackenzie |
Subject: |
master 3a0db55b509: * etc/NEWS: Describe the change to enum handling in CC Mode |
Date: |
Wed, 25 Sep 2024 17:09:42 -0400 (EDT) |
branch: master
commit 3a0db55b5094686423b73b74ebdf9eba62d384f2
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>
* etc/NEWS: Describe the change to enum handling in CC Mode
---
etc/NEWS | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/etc/NEWS b/etc/NEWS
index ffe88c81ba8..2241f0f9a4a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -248,6 +248,28 @@ will now automatically turn on 'visual-wrap-prefix-mode'
in addition to
near window edge and the continuation lines are indented using prefixes
computed from surrounding context.
+** CC Mode
+
++++
+*** New type of 'c-offsets-alist' element.
+The cdr of such an alist element may now be a syntactic symbol. A
+source line with a syntactic element whose symbol is the car of that
+alist element is indented as though it were the cdr.
+
++++
+*** Enums now have their own syntactic symbols.
+The new symbols 'enum-open', 'enum-close', 'enum-intro' and
+'enum-entry' are used in the analysis of enum constructs. Previously
+they were given 'brace-list-open', etc. These are fully described in
+the CC Mode manual.
+
++++
+*** Enums are now, by default, indented like classes, not brace-lists.
+To get the old behavior back, add an element '(enum-open
+. brace-list-open)' to 'c-offsets-alist' in your CC Mode style, or amend
+'c-offsets-alist' likewise in any of the other ways detailed in the CC
+Mode manual page "Config Basics".
+
** Go-ts mode
+++
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 3a0db55b509: * etc/NEWS: Describe the change to enum handling in CC Mode,
Alan Mackenzie <=