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

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

bug#57684: locked narrowing breaks existing code without an apparent way


From: Eli Zaretskii
Subject: bug#57684: locked narrowing breaks existing code without an apparent way to repair
Date: Wed, 14 Sep 2022 05:34:02 +0300

> Cc: Lars Ingebrigtsen <larsi@gnus.org>, 57684@debbugs.gnu.org
> From: Paul Pogonyshev <pogonyshev@gmail.com>
> Date: Tue, 13 Sep 2022 22:54:07 +0200
> 
> By the way, today Emacs 29 hung in Magit blaming for me, with C-g doing 
> nothing. Grepping Magit sources
> suggest it uses the "save-restriction - temporarily widen" more than ten 
> times in various places, 3 of them
> when blaming. Cannot say for sure that was it, but all the outer symptoms are 
> identical with the hangs in
> Logview.
> 
> I really think there must be a way to "widen no matter which locks are 
> installed" - a lot of code seems to
> depend on that.

What does long-line-optimizations-p produce in Magit buffers?  If it
returns nil, what you see there has nothing to do with locked
narrowing, which is only used when buffer text has very long lines.

(Magit hides buffer text almost completely, presenting you what is
largely overlays and 'display' properties, so you may not be aware of
what the actual buffer text looks like.)





reply via email to

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