Re: Wrong version number, oudated "upstream", dead link to GNU Indent and outdated manual

Alan Mackenzie <[email protected]> Mon, 24 Nov 2025 14:57:48 +0000
Newsgroups gmane.emacs.cc-mode.general
Message-ID <[email protected]>
Hello, Ana.

On Thu, Oct 30, 2025 at 02:00:53 +0000, ana--- via CC-Mode-help wrote:
> Heya, cc-mode.el says the current cc-mode version is 5.33.1, whereas
> cc-defs.el says it is 5.35.2

Thanks.  I wasn't aware of the 5.33.1 in cc-mode.el.  I didn't add it,
and the person who did didn't tell me about it.  I'll fix that.

> Also, the documentation says to go to https://www.nongnu.org/cc-mode
> in order to update to a newer version, but the code available over
> there isn't up to date with the state of cc-mode in the emacs repo.

Standalone CC Mode is kept compatible with older Emacsen and also
XEmacs.  So it lacks some of the more modern features which have been
introduced into Emacs recently.

They have different version numbers, so that when a bug is reported, I
know in which flavour of CC Mode the bug has arisen.

Otherwise, the CC Mode is at the same state in Emacs and standalone.

> Additionally, the nongnu manual provides an incorrect link for gnu
> Indent.

Thanks for pointing that out, I've fixed it.  For a long time, there was
no online manual for GNU indent, but there is now.

> Lastly, "class-field-cont" was added 7 months ago but the manual on
> gnu.org hasn't been updated since february (8 months ago), it makes it
> harder to discover this symbol.

I'm not sure what you mean by "gnu.org".  Both the Emacs repository
(master branch) and the CC Mode repository were updated in cc-mode.texi
last March when the change to the .el files was committed.

Could it be there's a copy of cc-mode.info on https://www.gnu.org
somewhere that I don't know about?

> Have a great day ^v^

Thanks, yourself too.

-- 
Alan Mackenzie (Nuremberg, Germany).