From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74412: 31.0.50; Treesit-outline conflict with outli in Emacs 31 Date: Wed, 20 Nov 2024 09:15:10 +0200 Organization: LINKOV.NET Message-ID: <87o72a2x6p.fsf@mail.linkov.net> References: <9e9fcc46-e6ca-42e6-bb0e-6770ae65f150@gmail.com> <87h683jdsr.fsf@mail.linkov.net> <23466bfc-9ec0-498d-a39a-5e2d5749808a@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2378"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 74412@debbugs.gnu.org To: Taka Obsid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 20 08:19:29 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tDezo-0000R5-9i for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Nov 2024 08:19:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDezS-0000y3-DN; Wed, 20 Nov 2024 02:19:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDezO-0000wb-PT for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 02:19:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDezO-0003U0-GQ for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 02:19:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=DT+86dwXS0jDzgSkIrgTqOfizCm3pKW8RrAHYhpnMVU=; b=Eig9SD+ZHSHpNS9vBs/U5HvZxSuKqS2plo/3lvpOQbI2ZLkLhkXjGa6ODNb6e6uyJO8xLquFuGulC/0vAcNtjdRwltdEUEtYk3tlN2Kfg4m0I0zo5LuENb3fI+y7OwE4aEIdt8iqP2XKe5JlzOUC8R71cpoZvV9vlIAKw7YcDrYxIM1Ioanvq1QXdjcgXSJHROm2rxbx6d0uojdDhcWUhzivAPyGeteVLd0XQ1jAfEoPPxzsdJ/lGMCqYZEHkAtvpeFYHULmKjJaoy9kzoe1UDPPtH73tCEUFS9DqSnA1VIPIgWzZMzEeJPlzuTxtgNhINIYEGNSmnGcfouxlk+tDQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDezO-00041x-Bj for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 02:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Nov 2024 07:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74412 X-GNU-PR-Package: emacs Original-Received: via spool by 74412-submit@debbugs.gnu.org id=B74412.173208713315469 (code B ref 74412); Wed, 20 Nov 2024 07:19:02 +0000 Original-Received: (at 74412) by debbugs.gnu.org; 20 Nov 2024 07:18:53 +0000 Original-Received: from localhost ([127.0.0.1]:45030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDezE-00041R-V8 for submit@debbugs.gnu.org; Wed, 20 Nov 2024 02:18:53 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:45323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDezC-00040x-6T for 74412@debbugs.gnu.org; Wed, 20 Nov 2024 02:18:50 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 9EC6640005; Wed, 20 Nov 2024 07:18:20 +0000 (UTC) In-Reply-To: <23466bfc-9ec0-498d-a39a-5e2d5749808a@gmail.com> (Taka Obsid's message of "Wed, 20 Nov 2024 11:34:17 +0800") X-GND-Sasl: juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295666 Archived-At: > 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.