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#57433: Emacs no longer moves point into visible port of the buffer Date: Sat, 27 Aug 2022 17:47:32 +0200 Message-ID: References: <83y1vayqrm.fsf@gnu.org> <83v8qeypm5.fsf@gnu.org> <83sfliyonr.fsf@gnu.org> <83pmgmymdw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000094ee8905e73af320" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34794"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57433@debbugs.gnu.org, Eli Zaretskii To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 27 17:48:11 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 1oRy2d-0008tY-3f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 17:48:11 +0200 Original-Received: from localhost ([::1]:55274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRy2b-0007NI-GI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 11:48:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRy2V-0007Mr-7v for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRy2U-000880-VW for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRy2U-0003Ui-KW for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Aug 2022 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57433 X-GNU-PR-Package: emacs Original-Received: via spool by 57433-submit@debbugs.gnu.org id=B57433.166161528113420 (code B ref 57433); Sat, 27 Aug 2022 15:48:02 +0000 Original-Received: (at 57433) by debbugs.gnu.org; 27 Aug 2022 15:48:01 +0000 Original-Received: from localhost ([127.0.0.1]:56848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRy2S-0003UM-Cx for submit@debbugs.gnu.org; Sat, 27 Aug 2022 11:48:00 -0400 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:46633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRy2I-0003SY-4S for 57433@debbugs.gnu.org; Sat, 27 Aug 2022 11:47:54 -0400 Original-Received: by mail-ej1-f46.google.com with SMTP id bj12so8060466ejb.13 for <57433@debbugs.gnu.org>; Sat, 27 Aug 2022 08:47:50 -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; bh=H1bWZHHAU9wCePQj33b/Pk+/ZoXeuGA+95XkHobdiGs=; b=aGt71PbGrQHefqtLmHEP2FjJlysKoLpPLf0FWo40UgEyaMf8fdYVY6k3c+qzRHyHbe AASzOUF6EJxE+pX0lZDjTGu2RDUf4VX/evLYI4/yfgSZmoirKvMTT+nmo6g/qhstOMhM JhMhWwJ8/tsVt2dbZjNEFdqUxyRN2UW7p+FvgKzXiuBRKYl23616VMhPVWv/ar3UrUSZ g+AggfhynMANFqV8/hcKLtw5Tl5BTWKpZlhVJJVfgGGU/ShHJw4JOJQ4zj6qYKn4f8rO N2PTPg8VhQoO/Gzbr5nbrz04yRx01ZfzvYGz4R02eMGQXaAyxh6654Djqf2e7zWVJ3yB 83rA== 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; bh=H1bWZHHAU9wCePQj33b/Pk+/ZoXeuGA+95XkHobdiGs=; b=Mt2vQcUgb5vVJ6sHMZxRDxd0hN/OCLfsAoYkNtKJonUCR/oO+5mZH6wgjlWk9JRnEN 2HveiZ9cA/AdO+ouin7Uw9bypp+VsCfAewiCU9N6w5qhO4fcYfSgHXSRpVF3dQQK3VAp ATGw0FcCW7MFefNKJaWGzIIDL2Dj6Z5luqa/Hkf7iIWhZtxIyXsRYMjtPGT6xhH+eJMo 8lQlqy6i+FRUiWRoSjBCbzad7yM8quYPOfLUCd6AlijafXlYUezO/Wun37SuAtR8cGJI x00rTLQdy02DGTVWp36IRuwwoNyOjiE7PAVhwwLFqpLBcFnf3Bs3nxVFtN3bXy3q/E83 O5XQ== X-Gm-Message-State: ACgBeo0kzJrnjx4BKpf/TtRm3u0uaEVm5+ne8DAbNzs/Xmqtbvk8KOIL G3HLqkwHjy+o4Ov9tBt9zO61UQI/HIPB6IZCoQ== X-Google-Smtp-Source: AA6agR6Pt3LmKOvBv+m3ddHohQ3ipJAQ78vdvrq0ZTqA1hCHDsN5NiMJgrRO8V/klNAKZ6qvKjAlkc/wGgIRcdtvBy8= X-Received: by 2002:a17:907:7b95:b0:731:113a:d7a2 with SMTP id ne21-20020a1709077b9500b00731113ad7a2mr8153936ejc.377.1661615264294; Sat, 27 Aug 2022 08:47:44 -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:240945 Archived-At: --00000000000094ee8905e73af320 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > Strange. Could you please double-check that you have commit > a2d62456a7b8da27fb9b64f71b6ce588f2d73287 in your worktree? I have rebuilt Emacs and now it works. I previously tried with applying the patch from "In that case, can you see if the patch below solves the original issue with Magit?" locally, but apparently did something wrong. So yes, it works for me now, sorry. > I think you are reading too much into what that text says. It says > that point moves to the edge of such a sequence, and that is what > happens here. No more, no less. Yeah, I see now that if you move with C-b, the point disappears within the diff for the previous file, even with Emacs 28, and then Magit misbehaves. To be honest, I'm not sure if that is useful (or maybe there is some reason for moving "*to the edge*" rather than *outside* an invisible sequence), but that's certainly not a regression in Emacs. Paul On Sat, 27 Aug 2022 at 16:28, Gerd M=C3=B6llmann wrote: > Paul Pogonyshev writes: > > >> Paul, please see that your original problem is now solved. > > > > No, don't see any change in behavior. > > Strange. Could you please double-check that you have commit > a2d62456a7b8da27fb9b64f71b6ce588f2d73287 in your worktree? > --00000000000094ee8905e73af320 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Strange.=C2=A0 Could you please double-check that you= have commit
> a2d62456a7b8da27fb9b64f71b6ce588f2d73287 in your workt= ree?

I have rebuilt Emacs and now it works. I previously= tried with applying
the patch from "In that case, can you s= ee if the patch below solves the
original issue with Magit?"= locally, but apparently did something wrong.

= So yes, it works for me now, sorry.

> I think y= ou are reading too much into what that text says.=C2=A0 It says
> tha= t point moves to the edge of such a sequence, and that is what
> happ= ens here.=C2=A0 No more, no less.

Yeah, I see = now that if you move with C-b, the point disappears within
the di= ff for the previous file, even with Emacs 28, and then Magit
misb= ehaves. To be honest, I'm not sure if that is useful (or maybe there
is some reason for moving "to the edge" rather tha= n outside an
invisible sequence), but that's certainly= not a regression in Emacs.

Paul


On Sat, 27 Aug 2022 at 16:28= , Gerd M=C3=B6llmann <gerd.m= oellmann@gmail.com> wrote:
Paul Pogonyshev <pogonyshev@gmail.com> writes:

>> Paul, please see that your original problem is now solved.
>
> No, don't see any change in behavior.

Strange.=C2=A0 Could you please double-check that you have commit
a2d62456a7b8da27fb9b64f71b6ce588f2d73287 in your worktree?
--00000000000094ee8905e73af320--