From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Daan Ro <daanturo@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#74412: 31.0.50; Treesit-outline conflict with outli in Emacs 31
Date: Thu, 21 Nov 2024 00:06:41 +0700
Message-ID: <8316FFB6-1373-4EC5-9EFB-5B05A1DE0F72@getmailspring.com>
References: <9e9fcc46-e6ca-42e6-bb0e-6770ae65f150@gmail.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="673e1721_4d6dc96a_921"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="3598"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: "74412@debbugs.gnu.org" <74412@debbugs.gnu.org>
To: "liaotx2@gmail.com" <liaotx2@gmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 20 18:08:24 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1tDoBk-0000ks-32
	for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Nov 2024 18:08:24 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1tDoBP-00025k-QT; Wed, 20 Nov 2024 12:08:03 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1tDoBO-00025W-9F
 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 12:08: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 <Debian-debbugs@debbugs.gnu.org>)
 id 1tDoBO-0000gX-0v
 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 12:08: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:From:Date:To:In-Reply-To:References:Subject;
 bh=egMqdc0a9k/DDADlBvOtUGsCt7aFs907PmFC++L6LBQ=; 
 b=MxjzGnNgR9UnJFUOzL2ltCHwYFGH1MMhTKbqi6duxiqEMb3RJrpQAkGMdoiEHclifj7OXk3+AY+iWctOoBkZDJ9D0AVSppN5a0+UQKbyonAcvms843QJ15+Y1TtRSBzItupjngn73Zk080wAVLWbQgvb0EVlPVTP0ELw7qP1fHoOJycyF+otLAXtgxme53+PYwXxsJpOxutu70O+JOxAHHy5D9Z/4xROhUCIPhPWa81YiM1WBHizs7bbfex7NZZBVuCOF0Spm4vptQg0kNTCllBZd0QuqTGZYupbBNWnMVDGpmXF6fu4vi3JLTyuf3a+NRnmMT7ttlMs0liG+5bhng==;
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tDoBN-0006Pj-RZ
 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 12:08:01 -0500
X-Loop: help-debbugs@gnu.org
In-Reply-To: <9e9fcc46-e6ca-42e6-bb0e-6770ae65f150@gmail.com>
Resent-From: Daan Ro <daanturo@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 20 Nov 2024 17:08:01 +0000
Resent-Message-ID: <handler.74412.B74412.173212247024637@debbugs.gnu.org>
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.173212247024637
 (code B ref 74412); Wed, 20 Nov 2024 17:08:01 +0000
Original-Received: (at 74412) by debbugs.gnu.org; 20 Nov 2024 17:07:50 +0000
Original-Received: from localhost ([127.0.0.1]:47588 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tDoBC-0006PJ-EG
 for submit@debbugs.gnu.org; Wed, 20 Nov 2024 12:07:50 -0500
Original-Received: from mail-pg1-f174.google.com ([209.85.215.174]:51420)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <daanturo@gmail.com>) id 1tDoBA-0006PA-AS
 for 74412@debbugs.gnu.org; Wed, 20 Nov 2024 12:07:48 -0500
Original-Received: by mail-pg1-f174.google.com with SMTP id
 41be03b00d2f7-7ede82dbb63so8034a12.2
 for <74412@debbugs.gnu.org>; Wed, 20 Nov 2024 09:07:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1732122407; x=1732727207; darn=debbugs.gnu.org;
 h=mime-version:subject:message-id:cc:to:from:date:from:to:cc:subject
 :date:message-id:reply-to;
 bh=egMqdc0a9k/DDADlBvOtUGsCt7aFs907PmFC++L6LBQ=;
 b=E3Q6kVK42GI9VOC2Nb7cNR6DsH0GEYtMW6g4SUlXGOjmf55RiusP6moR+ToNANEetc
 1KKUXYb9hL/4nAfO5ZeeVnB5BnyLx9FFhxVXY4Ma6c3l/WuDlMumI3BRsgK7PoVR1SIl
 /4wvUWlWRw0rSvpVn4VgVUWKKBjcVsBHPYJrXHknqGrPZqF+OatDyeFaVx7mBwzjs0CB
 OEMy8IQRlhn3XPdoXVvOuZ9xG9+0TIBy1q2uAbLbkGCjD/6S/PuBEbCc3c3fntlO4gOy
 NuFnMjcw0GH7YA/TWJxelHCVpZdXCrMUni7l+QOGh0xnRKBiW4HN6y5sq1Mj/xxpDyCk
 KnzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1732122407; x=1732727207;
 h=mime-version:subject:message-id:cc:to:from:date:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=egMqdc0a9k/DDADlBvOtUGsCt7aFs907PmFC++L6LBQ=;
 b=BUGBWlAaqzFumgPpMwo/pw4ZKGJrwMbjMWUAJ9OWo1ufhf9F5bM8ft43u8wbD5as0J
 UdCVGdKbrAdy4D2523VPWGWjkyOBm4Zi0ocYf5NW9e+6biPhZuY8Ki+Dh3leYf20wwRW
 iZebZkS2/llxrQCKqfOiFAivT+4ieU4Sr7it82hhfm1to73ITzDUFF2ABKSAUHWPvRLK
 5NvTgDvVrbUXRy/TL5Z7As0Qwf63DfauNfUirWGtBCVwjo/otwJDReW2ed1UksJH8thm
 HweJOfk2NbdLwItNumoYbiEYJO24Z89zbcHS0F7I3XfaT8jJFRt4JJOW2l6/inkximSw
 UeZg==
X-Gm-Message-State: AOJu0YyC22BeRwCCeD2bGHmAr6T6VSEj+WaCj+YweTqd2Q75qbsKqXb7
 vloC/e0QsSP5D9lZM+uUFaAegTiq3AZNi6ucRX84vvK5LK8UDjC1eW7gjQoiwz4=
X-Google-Smtp-Source: AGHT+IFy1CxB4sifXA8X/1SBjIdlfl0LeLfJKUheDljjgbTuhOvnCAjuPrBQHCa08RkUwpyl4hTEcw==
X-Received: by 2002:a05:6a20:c511:b0:1db:ec0f:5cf4 with SMTP id
 adf61e73a8af0-1ddb11d80damr3359998637.39.1732122406664; 
 Wed, 20 Nov 2024 09:06:46 -0800 (PST)
Original-Received: from dan-laptop ([2405:4802:bfff:6f10:4e7e:a8aa:eff7:d8f])
 by smtp.gmail.com with ESMTPSA id
 d2e1a72fcca58-724befb27bfsm1871953b3a.169.2024.11.20.09.06.45
 for <74412@debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 20 Nov 2024 09:06:45 -0800 (PST)
X-Mailer: Mailspring
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:295682
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/295682>

--673e1721_4d6dc96a_921
Content-Type: multipart/alternative; boundary="673e1721_447a8643_921"

--673e1721_447a8643_921
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Personally I also find treesit's decision to set outline variables
somewhat intrusive. I have to advice `treesit-major-mode-setup` to
disable that. If only there is an easier way to do it like the
attached patch.

Daanturo


--673e1721_447a8643_921
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>Personally I also find treesit's decision to set outline variables</=
div><div>somewhat intrusive. I have to advice =60treesit-major-mode-setup=
=60 to</div><div>disable that. If only there is an easier way to do it li=
ke the</div><div>attached patch.</div><br><br><div><div><signature id=3D=22=
local-5a488b9c-f75f=22><table cellpadding=3D=220=22 cellspacing=3D=220=22=
><tbody><tr><td style=3D=22vertical-align:top=22></td><td><div>Daanturo</=
div><div style=3D=22font-size:0.9em;border-top:1px solid gray;min-width:2=
50px;max-width:300px;margin-top:4px;padding-top:4px=22><div><div></div><d=
iv></div></div></div></td></tr></tbody></table></signature></div></div><i=
mg class=3D=22mailspring-open=22 alt=3D=22Sent from Mailspring=22 width=3D=
=220=22 height=3D=220=22 style=3D=22border:0; width:0; height:0;=22 src=3D=
=22https://link.getmailspring.com/open/8316=46=46B6-1373-4EC5-9E=46B-5B05=
A1DE0=4672=40getmailspring.com=3Fme=3D2e84f983&amp;recipient=3DNzQ0MTJAZG=
ViYnVncy5nbnUub3Jn=22>
--673e1721_447a8643_921--

--673e1721_4d6dc96a_921
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; 
 filename="0001-Add-custom-option-treesit-enable-outline-settings.patch"

RnJvbSBhNmFhNjQyMDY0MDkyMmM3NDhiMTczY2ZlYjFjZjIwZWUxYmFhZGU4IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBEYWFudHVybyA8ZGFhbnR1cm9AZ21haWwuY29tPgpEYXRlOiBX
ZWQsIDIwIE5vdiAyMDI0IDE0OjMzOjAyICswMDAwClN1YmplY3Q6IFtQQVRDSF0gQWRkIGN1c3Rv
bSBvcHRpb24gdHJlZXNpdC1lbmFibGUtb3V0bGluZS1zZXR0aW5ncwoKKiBsaXNwL3RyZWVzaXQu
ZWw6IERlZmluZSB0aGUgdmFyaWFibGUgYW5kIHVzZSBpdCBpbgp0cmVlc2l0LW1ham9yLW1vZGUt
c2V0dXAuCi0tLQogbGlzcC90cmVlc2l0LmVsIHwgNiArKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA2
IGluc2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