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#45319: 28.0.50; Redisplay: `forward-char' moves backwards into invisible text Date: Sat, 19 Dec 2020 15:05:25 +0200 Message-ID: <83r1nmt08a.fsf@gnu.org> References: <87sg82tjf6.fsf@web.de> <838s9uupnr.fsf@gnu.org> <87ft42m47c.fsf@web.de> <83v9cyt4ty.fsf@gnu.org> <87bleqm1yq.fsf@web.de> <83sg82t2cg.fsf@gnu.org> <877dpem0dm.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="962"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jonas@bernoul.li, 45319@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 19 14:06:13 2020 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 1kqbw3-000AbQ-GU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 14:06:11 +0100 Original-Received: from localhost ([::1]:55850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqbw2-0005iF-GH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 08:06:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqbvu-0005hv-0u for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:06:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqbvt-0000EC-P3 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:06:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqbvt-0007jR-JD for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Dec 2020 13:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45319 X-GNU-PR-Package: emacs Original-Received: via spool by 45319-submit@debbugs.gnu.org id=B45319.160838315929713 (code B ref 45319); Sat, 19 Dec 2020 13:06:01 +0000 Original-Received: (at 45319) by debbugs.gnu.org; 19 Dec 2020 13:05:59 +0000 Original-Received: from localhost ([127.0.0.1]:41028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqbvq-0007jA-Oy for submit@debbugs.gnu.org; Sat, 19 Dec 2020 08:05:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqbvp-0007iw-C1 for 45319@debbugs.gnu.org; Sat, 19 Dec 2020 08:05:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55643) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqbvi-0000Ao-Fz; Sat, 19 Dec 2020 08:05:50 -0500 Original-Received: from [176.228.60.248] (port=1092 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqbve-0000eZ-HZ; Sat, 19 Dec 2020 08:05:48 -0500 In-Reply-To: <877dpem0dm.fsf@web.de> (message from Michael Heerdegen on Sat, 19 Dec 2020 13:44:05 +0100) 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:196383 Archived-At: > From: Michael Heerdegen > Cc: 45319@debbugs.gnu.org, jonas@bernoul.li > Date: Sat, 19 Dec 2020 13:44:05 +0100 > > Magit's section highlighting is performed in post-command-hook, so it > highlights the wrong section in this case based on that value. Do you > have a solution for this kind of problem? I don't think I understand the problem well enough yet to answer that question, especially since you say that your simplified recipe behaves differently. What exactly is the problem in the magit case? does it use the value of point in some way, and if so, how? IOW, what is "section highlighting" in magit? > Ok, have tried now with (setq global-disable-point-adjustment t) and it > avoids the problem in my test case, yes. However it's not what I want > to do in this buffer (or generally in this kind of situation, most of > the time). A stab in the dark: there's disable-point-adjustment, which could be set temporarily, perhaps that could help?