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 #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kai Ma <justksqsf <at> gmail.com>
Cc: 65057 <at> debbugs.gnu.org
Subject: Re: bug#65057: 29.1.50; cc-guess does not work with tree-sitter modes
Date: Fri, 04 Aug 2023 21:04:17 +0300
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.




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.