unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: bojohan+news@dd.chalmers.se (Johan Bockgård)
Cc: emacs-devel@gnu.org
Subject: Re: delete-overlay causes recentering
Date: Mon, 23 Apr 2007 19:07:48 -0400	[thread overview]
Message-ID: <E1Hg7dM-0002AN-KF@fencepost.gnu.org> (raw)
In-Reply-To: <yoij8xcjkxcj.fsf@gamma02.me.chalmers.se> (bojohan+news@dd.chalmers.se)

    > 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.

That is the spurious scrolling bug I have mentioned.  Thank you
for connecting it with specific code.  Now it should be possible
to track it down.

Yidong wrote:

    I don't know an easy way to fix this.

Can you describe the series of events that cause the
spurious recentering?

  parent reply	other threads:[~2007-04-23 23:07 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
2007-04-23 14:17               ` Chong Yidong
2007-04-23 15:42                 ` Stefan Monnier
2007-04-23 23:07             ` Richard Stallman [this message]
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=E1Hg7dM-0002AN-KF@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bojohan+news@dd.chalmers.se \
    --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).