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

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

bug#62333: 30.0.50; Issue with tree-sitter syntax tree during certain ch


From: Dmitry Gutov
Subject: bug#62333: 30.0.50; Issue with tree-sitter syntax tree during certain changes
Date: Sat, 1 Apr 2023 19:12:43 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 01/04/2023 08:47, Eli Zaretskii wrote:
From: Yuan Fu<casouri@gmail.com>
Date: Fri, 31 Mar 2023 11:43:49 -0700
Cc: Eli Zaretskii<eliz@gnu.org>,
  Wilhelm Kirschbaum<wkirschbaum@gmail.com>,
  Gregory Heytings<gregory@heytings.org>,
  62333@debbugs.gnu.org

I think the distinction lies between “I want to narrow to this defun and work 
on it without distraction” vs “treat this region as an isolated buffer”. The 
former used by users, the latter used by lisp programs like Info and mmm-mode. 
The former still considers the visible region part of the whole buffer, just 
temporarily narrowed for convenience, the latter wants to make everything 
thinks the visible region_is_  the whole buffer.
Users can do both, for whatever reasons.

Users can try to do both, but we interpret interactive narrowing (C-x n n) in a specific way, and currently, it's the former.






reply via email to

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