bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60463: 29.0.60; c-ts-mode: M-x align doesn't work


From: Yuan Fu
Subject: bug#60463: 29.0.60; c-ts-mode: M-x align doesn't work
Date: Mon, 2 Jan 2023 14:44:45 -0800

Mohammed Sadiq <sadiq@sadiqpk.org> writes:

> M-x align doesn't align function arguments or struct members, which
> works fine in c-mode.
>
> Say for example, if I mark the region around '(' and ')' and do M-x
> align for the following code:
>
> int
> main (int argc,
>       char *argv[])
> {
> }
>
>
> I should get the following (see the change of spacing between 'int'
> and 'argc'):
>
> int
> main (int   argc,
>       char *argv[])
> {
> }
>
>
> Modifying align-c++-modes to include c-ts-mode should be enough to fix
> this.

Could you go me a favor and look up where is align-c++-modes defined? Or
just paste the value of it, if it is programmatically defined. Thanks
:-)

Yuan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]