From: Yuan Fu <casouri@gmail.com>
To: Pankaj Jangid <pankaj@codeisgreat.org>
Cc: 59613@debbugs.gnu.org
Subject: bug#59613: 29.0.50; There is no tree-sitter equivalent for c-or-c++-mode
Date: Mon, 28 Nov 2022 14:42:36 -0800 [thread overview]
Message-ID: <03709C22-E8BE-434B-A16B-4C77A427C785@gmail.com> (raw)
In-Reply-To: <87zgcdd7t4.fsf@codeisgreat.org>
Pankaj Jangid <pankaj@codeisgreat.org> writes:
> For header files the default is c-or-c++-mode. As per the new
> convention, there should be a c-or-c++-ts-mode for header files.
(push '(c-mode . c-ts-mode) major-mode-remap-alist) doesn’t seem to
affect header files for some reason. I’ll need to look into it. In the
meantime, you can use auto-mode-alist to map .h files to c/c++-ts-mode.
Yuan
next prev parent reply other threads:[~2022-11-28 22:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 16:00 bug#59613: 29.0.50; There is no tree-sitter equivalent for c-or-c++-mode Pankaj Jangid
2022-11-28 22:42 ` Yuan Fu [this message]
2023-01-07 22:59 ` Yuan Fu
2023-01-08 17:45 ` Yuan Fu
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=03709C22-E8BE-434B-A16B-4C77A427C785@gmail.com \
--to=casouri@gmail.com \
--cc=59613@debbugs.gnu.org \
--cc=pankaj@codeisgreat.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).