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#64391: buffer narrowing slowdown regression in emacs 29 Date: Sun, 09 Jul 2023 19:39:46 +0300 Message-ID: <837cr99gz1.fsf@gnu.org> References: <87r0psb51z.fsf@ust.hk> <0AD15A09-F669-48C0-AF5C-971D52F5BF8E@gmail.com> <83v8f3q1ff.fsf@gnu.org> <50A46AAC-2089-45CB-A355-CCB2B4EA8D76@gmail.com> <5995c9ed6a0b39c3070c@heytings.org> <83a5wak1tr.fsf@gnu.org> <26cee506f708f3c6cfe1@heytings.org> <26cee506f70bbc9de58b@heytings.org> <83h6qghpdc.fsf@gnu.org> <26cee506f77e9c87e325@heytings.org> <06A8380F-08A6-464E-9946-02F8498031EC@gmail.com> <239e2a5aa11924a2f1d3@heytings.org> <239e2a5aa14d33c1b087@heytings.org> <83jzv9bp0a.fsf@gnu.org> <17bc5861309c808fe41c@heytings.org> <831qhhbh60.fsf@gnu.org> <17bc5861306adf83809a@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28337"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acohen@ust.hk, 64391@debbugs.gnu.org, mattias.engdegard@gmail.com, monnier@iro.umontreal.ca To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 09 18:40:26 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 1qIXST-0007Al-Lb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jul 2023 18:40:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIXSF-0007Wk-0x; Sun, 09 Jul 2023 12:40:11 -0400 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 1qIXS7-0007Uv-AG for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 12:40:04 -0400 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 1qIXS6-0002nk-SJ for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 12:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIXS6-0004X9-DR; Sun, 09 Jul 2023 12:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 09 Jul 2023 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64391 X-GNU-PR-Package: emacs,gnus X-Debbugs-Original-Cc: acohen@ust.hk, 64391@debbugs.gnu.org, mattias.engdegard@gmail.com, monnier@iro.umontreal.ca, bugs@gnus.org Original-Received: via spool by 64391-submit@debbugs.gnu.org id=B64391.168892078917400 (code B ref 64391); Sun, 09 Jul 2023 16:40:02 +0000 Original-Received: (at 64391) by debbugs.gnu.org; 9 Jul 2023 16:39:49 +0000 Original-Received: from localhost ([127.0.0.1]:47022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIXRt-0004Wa-GK for submit@debbugs.gnu.org; Sun, 09 Jul 2023 12:39:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIXRp-0004WK-Sw for 64391@debbugs.gnu.org; Sun, 09 Jul 2023 12:39:48 -0400 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 1qIXRj-0002SO-7C; Sun, 09 Jul 2023 12:39:39 -0400 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=k40/7+LFchxWKJMOYdlkMc7pQPc96a/l9V5kOWIwMkg=; b=pQulL6u+zoY3 2Yao+/hG5DAArQrcR5MdaBcm4UHpm+WURGTHyNhOBWaM2kVx5Ta1y6cr93G/0t5gvcpVYRQ+85V93 10bSA8Uoy90glk5zzA25Co++qCl5r5cgCJqPQzUzeEKGMQwQvcCjBzHnYk+XLB+S1VZWooY34c9sq RkMnfkgul+LJHbMqm0o6G+Ez1lVPJRkKHeGsW+afIPZEsucsXKKHx/ZGYOuVv2qe6vKsHhB5BO9tb wKUvezCOacOM2s+cbzhf1K1OA1C8Mtm9q70GltZN10k7rudBiJeFkHkvG8vYa1Z44K90nHRRMD5KU cfiTd5sRrDHF4keph2NZPQ==; 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 1qIXRi-0000S0-9z; Sun, 09 Jul 2023 12:39:38 -0400 In-Reply-To: <17bc5861306adf83809a@heytings.org> (message from Gregory Heytings on Sun, 09 Jul 2023 16:04:09 +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:264845 Archived-At: > Date: Sun, 09 Jul 2023 16:04:09 +0000 > From: Gregory Heytings > cc: acohen@ust.hk, 64391@debbugs.gnu.org, mattias.engdegard@gmail.com, > monnier@iro.umontreal.ca, bugs@gnus.org > > On a second thought, I believe its better to not replace LABEL with TAG, > because that would mean changing that word in many places, including > places in which such a change would make the text less understandable, > e.g. the docstring of narrow-to-region: LABEL implies a string or a symbol, whereas :label can accept "any object that is not nil". The description of 'catch' uses TAG. > --- a/doc/lispref/positions.texi > +++ b/doc/lispref/positions.texi > @@ -1169,9 +1169,10 @@ Narrowing > > @cindex labeled narrowing > @cindex labeled restriction > -When the optional argument @var{label}, a symbol, is present, the > -narrowing is @dfn{labeled}. A labeled narrowing differs from a > -non-labeled one in several ways: > +When the optional argument @var{label}, which is evaluated to get the > +label to use and must not be @code{nil}, What "must not be nil": the label or the result of its evaluation?