[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23370: 25.0.92; (c-mode) align* defuns break when '[]' present in fu
From: |
Lars Ingebrigtsen |
Subject: |
bug#23370: 25.0.92; (c-mode) align* defuns break when '[]' present in function arguments |
Date: |
Wed, 02 Dec 2020 13:08:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Mohammed Sadik <sadiq@sadiqpk.org> writes:
> align defuns don't work right when '[]' is present in arguments of
> function definitions/declarations.
>
> How to reproduce: create a file, say test.c with the following content:
>
> int
> main (int| argc,
> char *argv[]);
>
> Now try to align the content column wise using M-x align-current.
> This fails to align the content right.
>
> This may also be tested by selecting the whole buffer and using M-x
> align, which doesn't work either.
>
> When [] is replaced with *, it works right:
>
> int
> main (int| argc,
> char **argv);
>
> And do M-x align-current aligns the content right.
This should now be fixed in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#23370: 25.0.92; (c-mode) align* defuns break when '[]' present in function arguments,
Lars Ingebrigtsen <=