GNU bug report logs - #63374
treesit.el commit 2930294: incorrect usage of `rx-to-string'; needs more `seq'

Previous Next

Package: emacs;

Reported by: Dominique Quatravaux <dominique.quatravaux <at> epfl.ch>

Date: Mon, 8 May 2023 15:55:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 63374 <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: dominique.quatravaux <at> epfl.ch
Cc: 63374 <at> debbugs.gnu.org
Subject: Re: bug#63374: treesit.el commit 2930294: incorrect usage of 
 `rx-to-string'; needs more `seq'
Date: Mon, 8 May 2023 13:00:32 -0700
Dominique Quatravaux <dominique.quatravaux <at> epfl.ch> writes:

> How to reproduce:
>
> 1. Install treesit language DLLs as per
> https://github.com/emacs-mirror/emacs/blob/master/admin/notes/tree-sitter/starter-guide#install-language-definitions
>
> 2. Open a file and turn on one of the supported tree-sitter modes
> 3. Evaluate the expression `(treesit-simple-imenu)`
>
> Expected result: no error.
>
> Actual result:
>
> (error "Unknown rx form ‘bos’")
>
> The cause is a one-line bug described at
> https://github.com/emacs-mirror/emacs/commit/293029458c87d6ec18a6f6a5958d0b499310ca3b#r112393206 
>

Thanks! I pushed the fix.

Yuan




This bug report was last modified 2 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.