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#57433: Emacs no longer moves point into visible port of the buffer Date: Sat, 27 Aug 2022 12:33:49 +0300 Message-ID: <83y1vayqrm.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4675"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57433@debbugs.gnu.org, pogonyshev@gmail.com 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 11:34:22 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 1oRsCr-0000zQ-7B for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 11:34:21 +0200 Original-Received: from localhost ([::1]:53522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRsCq-0002kT-4c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 05:34:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRsCY-0002j8-AR for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 05:34:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRsCX-00021x-TE for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 05:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRsCX-0007ug-Ox for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 05:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Aug 2022 09:34:01 +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.166159282330389 (code B ref 57433); Sat, 27 Aug 2022 09:34:01 +0000 Original-Received: (at 57433) by debbugs.gnu.org; 27 Aug 2022 09:33:43 +0000 Original-Received: from localhost ([127.0.0.1]:55208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRsCF-0007u5-7K for submit@debbugs.gnu.org; Sat, 27 Aug 2022 05:33:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:32870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRsCD-0007ts-Nk for 57433@debbugs.gnu.org; Sat, 27 Aug 2022 05:33:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRsC8-000201-FN; Sat, 27 Aug 2022 05:33:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=cvSzxde0exXxYudIboTYxrZUCVR0qL3hNXZO4jYdQEg=; b=SYlvcXaDK413FNcaLUNG XWWfQQ4znHc5K69e2Ppy5+pxbfM5/GrJrBI2EctaqTT/G3wYfRQkOoTYtmaWcSwP+3ByUONDo6ciO afK8mpyjNMCoIhk7qrJb+N8o+EHzuBDmT3KThlh4HUaIqU07+Jj7I62OuoSx2Q6JPcoOBWWkKGFWS f9EajfmybTsfuq1bDrwetRlQxv+FP+azaQPhWI2eK4KPUJYMdv8tF7NxNfe3Y06TzDUNwuC43Vhrp Nc4nGFnTaQ1GByaE3VVX+6HItsKAL23cDwkLtXAkjtUrnJk2koDXKUbZlS4MmIwEr0y3wGeV1FBuI gIPApOL4hpfOXA==; Original-Received: from [87.69.77.57] (port=3552 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 1oRsC5-0007lZ-Uy; Sat, 27 Aug 2022 05:33:36 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sat, 27 Aug 2022 10:53:37 +0200) 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:240890 Archived-At: > Cc: 57433@debbugs.gnu.org > From: Gerd Möllmann > Date: Sat, 27 Aug 2022 10:53:37 +0200 > > Gerd Möllmann writes: > > > Gerd Möllmann writes: > > > > a71c05b44de74fe16691f680df34c4534992e472 is the first bad commit > > > > I will look at the changes in simple.el soon if no-one beats me. > > Hm, I must admit that I don't understand the change in line-move, or > better said the context in which it was made. So if I fix this I > probably break some optimization. The changes in line-move should only affect buffers with very long lines. > I have a simple recipe now, though. > > emacs -Q > > Insert and eval this function: > > (defun hansi () > (insert "line 1\n") > (insert (propertize "+invisible 1\ninvisible2-\n" 'invisible t)) > (insert "line 2\n")) > > M-: (hansi) RET > C-p > C-x = > => > Char: + (43, #o53, #x2b) point=330 of 365 (90%) column=0 Why is that a problem? I get the same result on the emacs-28 branch, where the changes in this commit were not installed. And the OP said the problem is new on master.