GNU bug report logs - #59613
29.0.50; There is no tree-sitter equivalent for c-or-c++-mode

Previous Next

Package: emacs;

Reported by: Pankaj Jangid <pankaj <at> codeisgreat.org>

Date: Sat, 26 Nov 2022 16:02:02 UTC

Severity: normal

Found in version 29.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 59613-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Pankaj Jangid <pankaj <at> codeisgreat.org>
Cc: 59613-done <at> debbugs.gnu.org
Subject: Re: bug#59613: 29.0.50; There is no tree-sitter equivalent for 
 c-or-c++-mode
Date: Sat, 7 Jan 2023 14:59:21 -0800
Yuan Fu <casouri <at> gmail.com> writes:

> Pankaj Jangid <pankaj <at> 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

Sorry for the delay. I added c-or-c++-ts-mode.

Yuan




This bug report was last modified 2 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.