GNU bug report logs - #65057
29.1.50; cc-guess does not work with tree-sitter modes

Previous Next

Package: emacs;

Reported by: Kai Ma <justksqsf <at> gmail.com>

Date: Fri, 4 Aug 2023 17:32:01 UTC

Severity: normal

Tags: notabug

Found in version 29.1.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Kai Ma <justksqsf <at> gmail.com>, 65057-done <at> debbugs.gnu.org
Subject: Re: bug#65057: 29.1.50; cc-guess does not work with tree-sitter modes
Date: Sat, 2 Sep 2023 09:44:53 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> tags 65057 notabug
> thanks
>
>> From: Kai Ma <justksqsf <at> gmail.com>
>> Date: Sat, 05 Aug 2023 01:31:16 +0800
>>
>>
>> c-guess-buffer called in a buffer whose major mode is c-ts-mode will
>> raise the following error:
>>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   looking-at(nil)
>
> cc-guess is incompatible with c-ts-mode, and should not be invoked in
> a buffer under c-ts-mode.  IOW, "don't do that".
>
> This is not a bug, this is a cockpit error.

I'm therefore closing this bug report.




This bug report was last modified 1 year and 263 days ago.

Previous Next


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