all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Sun, 8 Jan 2023 09:45:16 -0800	[thread overview]
Message-ID: <144F8504-43D4-47E2-AB15-2B1D2A280017@gmail.com> (raw)
In-Reply-To: <87zgcdd7t4.fsf@codeisgreat.org>


Yuan Fu <casouri@gmail.com> writes:

> 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

Actually, due to the feature freeze, the change should be added to the
master branch, and won’t appear in Emacs 29. Sorry about that :-(

Yuan





      parent reply	other threads:[~2023-01-08 17:45 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
2023-01-07 22:59 ` Yuan Fu
2023-01-08 17:45 ` 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

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

  git send-email \
    --in-reply-to=144F8504-43D4-47E2-AB15-2B1D2A280017@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.