Files
emacs/lisp
Alan Mackenzie 643e32340d CC Mode: Fix various minor indentation bugs
As part of this, introduce a second anchor point to the
syntactic symbols brace-list-intro and enum-intro, the position
of the opening brace.

* lisp/progmodes/cc-align.el
(c-lineup-item-after-paren-at-boi): New function.

* /lisp/progmodes/cc-engine.el
(c-foreign-truncate-lit-pos-cache)
(c-foreign-init-lit-pos-cache): Use
c-truncate-lit-pos/state-cache in place of an older function.
(c-no-bracelist-cache): Update its definition to exclude
conses.
(c-strip-conses): New function.
(c-inside-bracelist-p): Use c-strip-conses.
(c-add-stmt-syntax): In the "go out a block" loop, go out of a
brace at BOI when there's non-whitespace text after it.
Refactor an `if' form containing a cond form into a cond form.
Add the new second second anchor point into syntactic contexts
with brace-list-intro and enum-intro.  Anchor brace-list-close
and enum-close elements on the individual declarations in
struct, etc., variable declarations.
(c-guess-basic-syntax, CASE 20): Use the new constraint-cont
syntactic symbol.
(c-guess-basic-syntax, CASE 9B): Anchor brace-list-close and
enum-close elements on the individual declarations in struct,
etc., variable declarations.
(c-guess-basic-syntax, CASEs 9C, 9D): Add the new second anchor
point into brace-list-intro and enum-intro syntactic contexts.

* lisp/progmodes/cc-mode.el (c-locate-first-punctuation-prop):
New function.
(c-depropertize-CPP): Use c-locate-first-punctuation-prop.

* lisp/progmodes/cc-vars.el (c-offsets-alist): Amend the
entries for constraint-cont, brace-list-intro, and enum-intro,
using c-lineup-item-after-paren-at-boi.

* doc/misc/cc-mode.texi (List Line-Up): Add a description of
c-lineup-item-after-paren-at-boi.
2024-12-31 18:39:57 +00:00
..
2024-12-21 07:56:28 -05:00
2024-12-28 08:30:31 -05:00
2024-12-28 08:30:31 -05:00
2024-12-28 08:30:31 -05:00
2024-12-28 08:30:31 -05:00
2024-10-04 01:38:11 +02:00
2024-12-30 12:42:00 +01:00
2024-11-21 10:06:19 +01:00
2024-12-28 08:30:31 -05:00
2024-10-04 01:38:11 +02:00
2024-12-21 07:56:08 -05:00
2024-09-07 06:25:15 -04:00
2024-12-28 08:30:31 -05:00
2024-02-23 13:02:27 +01:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-06-23 16:40:06 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-07-18 11:46:50 +02:00
2024-07-18 11:46:50 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-07-18 11:46:50 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-11-09 12:45:14 +02:00
2024-07-18 11:46:50 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-10-26 14:52:29 -04:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-10-04 01:38:11 +02:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-12-28 08:30:31 -05:00
2024-04-09 10:28:05 -04:00
2024-01-02 09:47:10 +08:00
2024-09-02 21:02:09 +02:00
2024-01-02 09:47:10 +08:00
2024-05-14 11:17:25 +02:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-11-09 07:35:12 -05:00
2024-01-02 09:47:10 +08:00
2024-10-04 01:38:11 +02:00
2024-01-02 09:47:10 +08:00
2024-07-20 02:42:08 +02:00
2024-01-02 09:47:10 +08:00
2024-07-20 02:42:08 +02:00
2024-01-02 09:47:10 +08:00
2024-12-21 07:56:28 -05:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-09-08 19:17:48 +03:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-10-18 17:56:08 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:30:05 +08:00
2024-01-02 10:28:14 +08:00
2024-12-16 00:18:18 +01:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-11-30 06:35:16 -05:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-12-28 08:30:31 -05:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-07-20 02:42:08 +02:00
2024-01-02 09:47:10 +08:00
2024-11-14 10:42:07 -05:00
2024-01-27 08:14:31 -05:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-10-22 06:40:20 +02:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-09-08 19:17:48 +03:00
2024-10-04 01:38:11 +02:00
2024-07-20 02:42:08 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-12-28 08:30:31 -05:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-07-20 02:42:08 +02:00
2024-10-24 16:50:07 +08:00
2024-12-21 07:56:08 -05:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-03-29 11:39:38 +01:00
2024-01-02 09:47:10 +08:00
2024-07-20 02:42:08 +02:00
2024-03-11 15:23:55 +02:00
2024-10-24 16:50:07 +08:00
2024-01-02 10:28:14 +08:00
2024-12-19 11:04:04 +01:00
2024-08-04 10:47:16 +03:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-10-24 16:50:07 +08:00
2024-07-20 02:42:08 +02:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 09:47:10 +08:00
2024-06-03 20:39:41 +08:00
2024-05-10 15:56:30 +03:00
2024-01-02 09:47:10 +08:00
2024-12-01 19:27:49 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-12-28 08:30:31 -05:00
2024-09-21 07:32:38 -04:00
2024-07-18 11:46:50 +02:00
2024-01-02 10:28:14 +08:00
2024-10-24 16:50:07 +08:00
2024-01-02 10:28:14 +08:00
2024-12-20 07:03:59 +01:00
2024-10-24 16:50:07 +08:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.