From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#57684: locked narrowing breaks existing code without an apparent way to repair Date: Tue, 13 Sep 2022 22:54:07 +0200 Message-ID: References: <2e25ca87e3c6ebb795d7@heytings.org> <87bkrowmiw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000050753a05e89537cb" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9463"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 57684@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 13 22:55:10 2022 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 1oYCw2-0002BW-II for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 22:55:10 +0200 Original-Received: from localhost ([::1]:34508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYCw0-0004OQ-W2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 16:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYCvu-0004OI-Dx for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 16:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYCvu-0005gN-2f for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 16:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYCvt-0002PU-SQ for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 16:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2022 20:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57684 X-GNU-PR-Package: emacs Original-Received: via spool by 57684-submit@debbugs.gnu.org id=B57684.16631024689216 (code B ref 57684); Tue, 13 Sep 2022 20:55:01 +0000 Original-Received: (at 57684) by debbugs.gnu.org; 13 Sep 2022 20:54:28 +0000 Original-Received: from localhost ([127.0.0.1]:52996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYCvL-0002OZ-Nj for submit@debbugs.gnu.org; Tue, 13 Sep 2022 16:54:28 -0400 Original-Received: from mail-ej1-f49.google.com ([209.85.218.49]:41523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYCvJ-0002OJ-Fs for 57684@debbugs.gnu.org; Tue, 13 Sep 2022 16:54:26 -0400 Original-Received: by mail-ej1-f49.google.com with SMTP id gh9so30296480ejc.8 for <57684@debbugs.gnu.org>; Tue, 13 Sep 2022 13:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=1mzPbbQMZGQgs7AzoSziuB6jkNV1mLydCFxE3Kr5szg=; b=UZdCWv3JuzmK3+HNIL+CjqdGHI9R70+/xj44JU1MhVq3Lor5B0WoVPYj/ZdOYOP8/H nXohQNEhxiwZLQalp/Vrn557aJ1XPabrXa3rAo3isQNe5OORAm1dLdEWW2/FY9q3yQlY SNnNJ0Fd74VSKYtRTftA3ttU0bz/cJYrDaAjrCykJKIjnz+vCrTEbpDOURmV9RhmCwiS dvA4viGLybPbD0sR/Cy7+599BFgNowD7zQXBccvrOJl/K7PDF9Jm2BQlP6oRhHdtckiX SwVc0muZZK0SjtbtRuA9rvJZKpfmIFkowl0vzN56fIsNvvSHHm4HrIBiODrwoJYvflwT mFtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=1mzPbbQMZGQgs7AzoSziuB6jkNV1mLydCFxE3Kr5szg=; b=X2JAv4yfM+wZ5HIDO80HKYkcIYZdwTXD+212ogzEqcz4SJrU60MJtNcnKLCZz3chgx cvmTf0roVA3MDaEGp1W/SulWp1ZRUUflJAv8wOjBWi/ewUeejFD5bwv337TrbBoiQ7Cq UNGnafRP1KNGR2wrsV8jzoBkH0Caql4tKmw1dzth9+b8CW3bMCjoUJKe0XOjX3IMq8JN OqlaPQVJipRU72cLiAoTBK0ILwhnJQuZHtey60QnQpFyuGdRT5+IQq3retTFFlr07Gln m5jMkr3BQxUhpJhgmaRoxc0vkKWQuqkmniWJlEbjHLurzxuoJojUB0/6T1EWzfz7FFNp u2FQ== X-Gm-Message-State: ACgBeo1gvTDrWtFR8n62VPICJb7UvX0jZhRUzF4ZnhQFFJh18KRITK+r 2Uw0pk9L6MmpZn2nLbPBV8s7Qrn18mJn7cVslg== X-Google-Smtp-Source: AA6agR5zlLbnuCupXatUm8kxUcZFeqe0RdFSqlPOrIQGbxz9IgpcXg/SOqVGpY/Lf1Bz7imSWO+BIQaR3JQF7LKmyU0= X-Received: by 2002:a17:907:75cd:b0:779:5bfe:5d92 with SMTP id jl13-20020a17090775cd00b007795bfe5d92mr18247158ejc.23.1663102459342; Tue, 13 Sep 2022 13:54:19 -0700 (PDT) In-Reply-To: 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" Xref: news.gmane.io gmane.emacs.bugs:242413 Archived-At: --00000000000050753a05e89537cb Content-Type: text/plain; charset="UTF-8" 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. Paul On Fri, 9 Sept 2022 at 18:20, Gregory Heytings wrote: > > >> This issue is being worked on, see the (not yet finished) > >> feature/improved-locked-narrowing branch. > > > > Is there much to be done on that branch before merging? > > > > I don't know yet. Not "that much" I think, but there are a number of > things that need to be fixed/improved. > --00000000000050753a05e89537cb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
By the way, today Emacs 29 hung in Magit blaming for me, w= ith C-g doing nothing. Grepping Magit sources suggest it uses the "sav= e-restriction - temporarily widen" more than ten times in various plac= es, 3 of them when blaming. Cannot say for sure that was it, but all the ou= ter symptoms are identical with the hangs in Logview.

I = really think there must be a way to "widen no matter which locks are i= nstalled" - a lot of code seems to depend on that.

Paul

On Fri, 9 Sept 2022 at 18:20, Gregory Heytings <gregory@heytings.org> wrote:

>> This issue is being worked on, see the (not yet finished)
>> feature/improved-locked-narrowing branch.
>
> Is there much to be done on that branch before merging?
>

I don't know yet.=C2=A0 Not "that much" I think, but there ar= e a number of
things that need to be fixed/improved.
--00000000000050753a05e89537cb--