GNU bug report logs - #64391
30.0.50; buffer narrowing slowdown regression in emacs 29

Previous Next

Packages: emacs, gnus;

Reported by: Andrew Cohen <acohen <at> ust.hk>

Date: Sat, 1 Jul 2023 00:21:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: acohen <at> ust.hk, 64391 <at> debbugs.gnu.org, mattias.engdegard <at> gmail.com, monnier <at> iro.umontreal.ca
Subject: bug#64391: buffer narrowing slowdown regression in emacs 29
Date: Sun, 09 Jul 2023 19:39:46 +0300
> Date: Sun, 09 Jul 2023 16:04:09 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: acohen <at> ust.hk, 64391 <at> debbugs.gnu.org, mattias.engdegard <at> gmail.com, 
>     monnier <at> iro.umontreal.ca, bugs <at> 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?




This bug report was last modified 1 year and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.