bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60427: Emacs-29, c++-ts-mode: typing "char" into an empty buffer cau


From: Eli Zaretskii
Subject: bug#60427: Emacs-29, c++-ts-mode: typing "char" into an empty buffer causes an exception in redisplay.
Date: Sat, 31 Dec 2022 13:05:57 +0200

> Date: Sat, 31 Dec 2022 10:29:21 +0000
> Cc: Eli Zaretskii <eliz@gnu.org>, 60427@debbugs.gnu.org, acm@muc.de
> From: Alan Mackenzie <acm@muc.de>
> 
> As you mentioned, the backtrace now looks a bit different, namely:
> 
> Error: treesit-query-error ("Node type error at" 195 "[\"break\" \"case\" \"co

Yuan, what is "195" in this error message?  According to the source
code, its is "error_offset+1", but what is that?  If it's a buffer
position, then how come we see 195 when the buffer has only "char" in
it?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]