From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56682: feature/improved-locked-narrowing 9dee6df39c: Reworked locked narrowing. Date: Thu, 09 Feb 2023 16:26:59 +0200 Message-ID: <83v8kalxsc.fsf@gnu.org> References: <166939872890.18950.12581667269687468681@vcs2.savannah.gnu.org> <20221125175209.51166C004B6@vcs2.savannah.gnu.org> <6c9d91cffc1bfd801530@heytings.org> <6c9d91cffc394613f58a@heytings.org> <83eds0ksev.fsf@gnu.org> <8aadf0ddd54c85c8144a@heytings.org> <831qnhg3d9.fsf@gnu.org> <9757fbea37611e9c44b9@heytings.org> <83cz6yacxt.fsf@gnu.org> <6943e04e30e5a02a52e6@heytings.org> <838rhk5fy1.fsf@gnu.org> <6943e04e30a40824e107@heytings.org> <83k0143q37.fsf@gnu.org> <94821a0ef100102ac9e0@heytings.org> <83bkmdz04y.fsf@gnu.org> <43562d4dd9dffd81938f@heytings.org> <83357ozhx0.fsf@gnu.org> <83wn4zurit.fsf@gnu.org> <83bkmaueib.fsf@gnu.org> <83357fnwyy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, monnier@iro.umontreal.ca, akrl@sdf.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 09 15:28:23 2023 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 1pQ7uR-0007yj-2Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Feb 2023 15:28:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQ7uC-0001iM-Fk; Thu, 09 Feb 2023 09:28:08 -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 1pQ7uA-0001i9-FF for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 09:28:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQ7u6-0004Ce-09 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 09:28:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQ7u5-0005ug-MB for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2023 09:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2023 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56682 X-GNU-PR-Package: emacs Original-Received: via spool by 56682-submit@debbugs.gnu.org id=B56682.167595284322684 (code B ref 56682); Thu, 09 Feb 2023 14:28:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 9 Feb 2023 14:27:23 +0000 Original-Received: from localhost ([127.0.0.1]:58053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ7tS-0005to-Fc for submit@debbugs.gnu.org; Thu, 09 Feb 2023 09:27:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ7tQ-0005ta-NR for 56682@debbugs.gnu.org; Thu, 09 Feb 2023 09:27:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQ7tI-00048V-AQ; Thu, 09 Feb 2023 09:27:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OersaHGuVqVXZGV40X7fADQc+RfYyu+f1XvvQDndhtM=; b=c98UfhraNqyu IUHbMPwTK9I+6sOaeVp76dyW+Zs4ZO6rXGiwZAgmXJZgYCXysbVbT+i4NXmU6UIt6Z6xj0Rn6Ra+/ tnELCwbSp1xDsL3JPXCz7G4ehfDVwRfioW/7VkpfhukSTpN93jIcWhyjeErxQ64WDxWGVV8yCmXsO YS+31WGVSyiJ335AfhyaS1kJo6kIrNMObxa0DvqxIJwwVzgKQ94Ong6/2Wnfy1W+KC3dMPOP4einv f3/CvoNyGmvxwMJXlV2iLNhQe268DnnIpuOuajr3OYB9f/6aexqXtJuyp6uf1iGRsmGnfjzmaq2Nv SWXAwWt6fTCFzw2kftye1g==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQ7tH-0008PX-Dd; Thu, 09 Feb 2023 09:27:11 -0500 In-Reply-To: (message from Gregory Heytings on Thu, 09 Feb 2023 10:33:34 +0000) 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:255223 Archived-At: > Date: Thu, 09 Feb 2023 10:33:34 +0000 > From: Gregory Heytings > cc: Andrea Corallo , monnier@iro.umontreal.ca, > 56682@debbugs.gnu.org > > I did on purpose separate that bugfix (commit 1 on the branch) from the > renaming ones (commits 2-5), the documentation one (commit 6) and the one > that adds a test (commit 7) to make the reviewing task easier. OK, thanks. There's one thing I cannot seem to be able to find in the documentation you added: how can a Lisp program know that it is being run under a "labeled narrowing", and in particular what is the label? Without knowing that, how can Lisp programs adapt their behavior to this special kind of narrowing, or even just break out of it using without-narrowing?