GNU bug report logs - #74412
31.0.50; Treesit-outline conflict with outli in Emacs 31

Previous Next

Package: emacs;

Reported by: Taka Obsid <liaotx2 <at> gmail.com>

Date: Mon, 18 Nov 2024 05:05:03 UTC

Severity: normal

Found in version 31.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Taka Obsid <liaotx2 <at> gmail.com>
Cc: 74412 <at> debbugs.gnu.org
Subject: Re: bug#74412: 31.0.50; Treesit-outline conflict with outli in
 Emacs 31
Date: Wed, 20 Nov 2024 09:15:10 +0200
> I'm using `straight' so I start the emacs as
>
> ```sh
>
> /Applications/Emacs.app/Contents/MacOS/Emacs -q --eval "(progn
>           (add-to-list 'load-path
> \"~/.emacs.d/straight/build/java-ts-mode\")

Where do you get straight's version of java-ts-mode?

Does it differ from lisp/progmodes/java-ts-mode.el
provided by Emacs core?

Do you use treesit.el from `straight' too?

>           (add-to-list 'load-path \"~/.emacs.d/straight/build/outli\")
>           (require 'java-ts-mode)
>           (require 'outli))"
>
> ```
>
> The file I tried is
>
> ```java
>
> public class Test {
>     public static void main(String[] args) {
>
>     }
> }
>
> ```
>
> You might need to enable the outli-mode in the java file manually.

I tried this with lisp/progmodes/java-ts-mode.el,
and can't reproduce the bug.

> It seems this bug only appears in gui emacs. The `revert-buffer' works
> fine in tui.

Very strange, there should be no difference between gui and tui.




This bug report was last modified 238 days ago.

Previous Next


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