unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Mohammed Sadiq <sadiq@sadiqpk.org>
Cc: 60463-done@debbugs.gnu.org, 60463@debbugs.gnu.org
Subject: bug#60463: 29.0.60; c-ts-mode: M-x align doesn't work
Date: Sat, 7 Jan 2023 16:55:59 -0800	[thread overview]
Message-ID: <1FD625C8-5EAD-4A3F-93AD-6D63C6771F39@gmail.com> (raw)
In-Reply-To: <21fcfd1a6555e9bcbb03707b9bc7fba2@sadiqpk.org>


Mohammed Sadiq <sadiq@sadiqpk.org> writes:

>>> 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
>> :-)
>
>
> It's defined in lisp/align.el
>
> Hint: You can do: git grep "align-c++-modes"
>
> There might be other files too where adding c-ts-mode might be helpful.
> A rough match would be something like 'git grep "[( ]c-mode[) ]"' (the
> noise is too high, but files like lisp/progmodes/gud.el looks like a
> positive candidate)

Thanks, no wonder why I can’t find it in cc-xxx.el files :-)

I added ts- modes to both align and gud.

Yuan





      parent reply	other threads:[~2023-01-08  0:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1FD625C8-5EAD-4A3F-93AD-6D63C6771F39@gmail.com \
    --to=casouri@gmail.com \
    --cc=60463-done@debbugs.gnu.org \
    --cc=60463@debbugs.gnu.org \
    --cc=sadiq@sadiqpk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).