unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60463: 29.0.60; c-ts-mode: M-x align doesn't work
@ 2023-01-01 10:20 Mohammed Sadiq
  2023-01-02 22:44 ` Yuan Fu
  2023-01-08  0:55 ` Yuan Fu
  0 siblings, 2 replies; 9+ messages in thread
From: Mohammed Sadiq @ 2023-01-01 10:20 UTC (permalink / raw)
  To: 60463

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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-22  8:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-01 10:20 bug#60463: 29.0.60; c-ts-mode: M-x align doesn't work Mohammed Sadiq
2023-01-02 22:44 ` Yuan Fu
2023-01-03  9:05   ` Mohammed Sadiq
2023-01-03 11:19     ` Stefan Kangas
2023-01-03 12:53       ` Eli Zaretskii
2023-01-03 15:53         ` Stefan Kangas
2023-01-19  9:22   ` Mohammed Sadiq
2023-01-22  8:46     ` Mohammed Sadiq
2023-01-08  0:55 ` Yuan Fu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).