[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65057: 29.1.50; cc-guess does not work with tree-sitter modes
From: |
Eli Zaretskii |
Subject: |
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@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.