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

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

bug#59498: 29.0.50; c++-ts-mode get wrong-type-argument error when enabl


From: Yuan Fu
Subject: bug#59498: 29.0.50; c++-ts-mode get wrong-type-argument error when enabled
Date: Sun, 18 Dec 2022 14:49:12 -0800


> On Dec 18, 2022, at 1:57 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Stefan Kangas <stefankangas@gmail.com>
>> Date: Sun, 27 Nov 2022 16:24:07 -0800
>> Cc: dev@rjt.dev, aqua0210@foxmail.com, 
>>      Stefan Monnier <monnier@iro.umontreal.ca>, 59498@debbugs.gnu.org, 
>> mardani29@yahoo.es
>> 
>> Yuan Fu <casouri@gmail.com> writes:
>> 
>>>> OK, but do you agree that adding yet another pair of variables,
>>>> treesit-comment-start/end, is the opposite of what we want?
>>> 
>>> Yes. I removed them in d5dc1dbf7cb.
>> 
>> I also think some documentation updates might be needed:
>> 
>> admin/notes/tree-sitter/html-manual/Parser_002dbased-Indentation.html
>> 191: defined by regular expression <code>treesit-comment-end</code>
>> 192: (see <a 
>> href="Tree_002dsitter-major-modes.html">treesit-comment-end</a>).
>> 239: expression <code>treesit-comment-start</code> (see <a
>> href="Tree_002dsitter-major-modes.html">treesit-comment-start</a>).
>> This function assumes <var>parent</var> is
>> 248: <code>treesit-comment-start</code>.  This function assumes
>> <var>parent</var> is
>> 
>> doc/lispref/modes.texi
>> 4974: defined by regular expression @code{treesit-comment-end}
>> 4975: (@pxref{Tree-sitter major modes, treesit-comment-end}).
>> 5014: expression @code{treesit-comment-start} (@pxref{Tree-sitter major
>> 5015: modes, treesit-comment-start}).  This function assumes @var{parent} is
>> 5023: @code{treesit-comment-start}.  This function assumes @var{parent} is
>> 
>> doc/lispref/parsing.texi
>> 1733: @defvar treesit-comment-start
>> 1739: @defvar treesit-comment-end
>> 
>> lisp/treesit.el
>> 1180:     Matches if text after point matches `treesit-comment-end'.
>> 1215:     Returns the position after a match for `treesit-comment-start'.
> 
> Yuan, would you please update the above places to remove references to
> these two variables that no longer exist?
> 
> TIA

Ah, yes, sorry. I made the change.

Yuan




reply via email to

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