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

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

bug#70426: 30.0.50; lisp-tests fail


From: Juri Linkov
Subject: bug#70426: 30.0.50; lisp-tests fail
Date: Wed, 17 Apr 2024 09:53:13 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

close 70426 30.0.50
quit

>> # make -C test lisp-tests
>> 2 unexpected results:
>>    FAILED  up-list-cross-string
>>    FAILED  up-list-out-of-string
>
> Juri, this is due to your changes in
>
>   commit 568c1741352a4932508fbbd474b9fd9ebe90ddfb
>   Author:     Juri Linkov <juri@linkov.net>
>   AuthorDate: Sun Apr 14 19:18:31 2024 +0300
>   Commit:     Juri Linkov <juri@linkov.net>
>   CommitDate: Sun Apr 14 19:22:01 2024 +0300
>
>       Add 'forward-sexp-default-function' to be used by 'treesit-forward-sexp'
>
>       * lisp/emacs-lisp/lisp.el (forward-sexp-default-function):
>       New function with body from 'forward-sexp' (bug#68993).
>       (forward-sexp-function): Change the default value from nil to
>       'forward-sexp-default-function'.
>       (forward-sexp): Use either 'forward-sexp-function' or
>       'forward-sexp-default-function'.
>
>       * lisp/treesit.el (treesit-forward-sexp): In nodes of type 'text'
>       fall back to 'forward-sexp-default-function'.  Improve docstring.
>
>       * doc/lispref/positions.texi (List Motion): Fix pxref.
>
> Could you please look into this?

This is because 'up-list' contains:

            (if (null forward-sexp-function)

This means that can't do the right thing anymore
to set the default function to 'forward-sexp-function'.

Ok, so now reverted it back to nil.





reply via email to

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