From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Subject: Re: delete-overlay causes recentering
Date: Mon, 23 Apr 2007 10:11:05 -0400 [thread overview]
Message-ID: <87mz0zqiyu.fsf@stupidchicken.com> (raw)
In-Reply-To: <yoij8xcjkxcj.fsf@gamma02.me.chalmers.se> ("Johan Bockgård"'s message of "Mon\, 23 Apr 2007 15\:57\:00 +0200")
bojohan+news@dd.chalmers.se (Johan Bockgård) writes:
> Chong Yidong <cyd@stupidchicken.com> writes:
>
>> If we use the original values of BEG_UNCHANGED and END_UNCHANGED,
>> before it is "updated" by the above code, the spurious recentering
>> does not take place. The original (2006) test case also seems to
>> behave OK -- in that case, we recenter correctly. However, I can't be
>> certain this is correct because I don't know the original
>> justification for the above check.
>
> Thanks a lot for looking at this, but the new behavior is worse:
>
> When a window starts is in a continued line, it is recentered whenever
> the window is unselected--by activating the minibuffer, switching to
> another window, or switching to another frame.
I know an easy way to fix this. The original patch that introduced
this problem in 2006 was intended to prevent an even more serious
problem---redisplay being completely garbled when window starts in a
continued line. I think it will have to wait till after the release.
next prev parent reply other threads:[~2007-04-23 14:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 10:18 [alinsoar@voila.fr: a bug in global-hl-line-mode] A Soare
2007-03-14 12:52 ` Kim F. Storm
2007-04-13 13:22 ` delete-overlay causes recentering (was: [alinsoar@voila.fr: a bug in global-hl-line-mode]) Johan Bockgård
2007-04-14 9:13 ` delete-overlay causes recentering martin rudalics
2007-04-14 11:45 ` Johan Bockgård
2007-04-15 1:44 ` Chong Yidong
2007-04-15 1:50 ` Chong Yidong
2007-04-15 19:06 ` Chong Yidong
2007-04-15 20:13 ` Kim F. Storm
2007-04-23 13:57 ` Johan Bockgård
2007-04-23 14:11 ` Chong Yidong [this message]
2007-04-23 14:17 ` Chong Yidong
2007-04-23 15:42 ` Stefan Monnier
2007-04-23 23:07 ` Richard Stallman
2007-04-24 1:35 ` Chong Yidong
2007-04-25 14:51 ` Richard Stallman
2007-04-27 19:03 ` Chong Yidong
2007-04-28 4:07 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mz0zqiyu.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).