[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60932: 29.0.60; c-ts-mode: Fails to indent enum block emitting a war
From: |
Theodor Thornhill |
Subject: |
bug#60932: 29.0.60; c-ts-mode: Fails to indent enum block emitting a warning |
Date: |
Fri, 20 Jan 2023 22:24:51 +0100 |
Mohammed Sadiq <sadiq@sadiqpk.org> writes:
> enums are not indented with select -> TAB, Example:
>
> enum {
> PROP_0,
> PROP_NAME,
> N_PROPS
> };
>
>
> When trying to indent, I get the following warning in *Messages*:
> indent-line-to: Wrong type argument: wholenump, -2
>
>
> In GNU Emacs 29.0.60 (build 8, x86_64-pc-linux-gnu, GTK+ Version
> 3.24.36, cairo version 1.16.0) of 2023-01-18 built on purism
> Repository revision: 1798ff5a6636d6b34d23ab2dadb966e94cc57467
> Repository branch: emacs-29
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101005
> System Description: Debian GNU/Linux bookworm/sid
Thanks!
Should be fixed in latest master, closing this :)
Theo