unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Recentering on scroll
@ 2008-10-25 18:03 Chong Yidong
  2008-10-27  0:57 ` Juanma Barranquero
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-10-25 18:03 UTC (permalink / raw
  To: emacs-devel; +Cc: 873, Juanma Barranquero

Can anyone reproduce bug#873 (occasional recentering during C-n)?  I
thought I could reproduce it at some point, using the recipe given in
that bug report, but I can't seem to do it now.

> After setting this in .emacs:
>
> (setq scroll-preserve-screen-position 'always
>       scroll-conservatively           most-positive-fixnum ;; any large number
>       scroll-step                     0)
>
> scroll-down causes recentering. This is a regression.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recentering on scroll
  2008-10-25 18:03 Recentering on scroll Chong Yidong
@ 2008-10-27  0:57 ` Juanma Barranquero
  2008-10-27  5:19   ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2008-10-27  0:57 UTC (permalink / raw
  To: Chong Yidong; +Cc: 873, emacs-devel

On Sat, Oct 25, 2008 at 19:03, Chong Yidong <cyd@stupidchicken.com> wrote:

> Can anyone reproduce bug#873 (occasional recentering during C-n)?  I

I can still reproduce it on Windows, though the effect's frequency
varies with frame size and font (it seems to happen more often with
DejaVu Sans Mono than Courier New, for example).

  Juanma




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recentering on scroll
  2008-10-27  0:57 ` Juanma Barranquero
@ 2008-10-27  5:19   ` Chong Yidong
  2008-10-27  5:33     ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-10-27  5:19 UTC (permalink / raw
  To: Juanma Barranquero; +Cc: 873-done, emacs-devel

"Juanma Barranquero" <lekktu@gmail.com> writes:

> On Sat, Oct 25, 2008 at 19:03, Chong Yidong <cyd@stupidchicken.com> wrote:
>
>> Can anyone reproduce bug#873 (occasional recentering during C-n)?  I
>
> I can still reproduce it on Windows, though the effect's frequency
> varies with frame size and font (it seems to happen more often with
> DejaVu Sans Mono than Courier New, for example).

I managed to reproduce it, and found the bug that (I think) was causing
this problem.  I've checked in a fix.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recentering on scroll
  2008-10-27  5:19   ` Chong Yidong
@ 2008-10-27  5:33     ` Chong Yidong
  2008-10-28 12:40       ` Juanma Barranquero
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-10-27  5:33 UTC (permalink / raw
  To: Juanma Barranquero; +Cc: emacs-devel

Chong Yidong <cyd@stupidchicken.com> writes:

> I managed to reproduce it, and found the bug that (I think) was causing
> this problem.  I've checked in a fix.

Actually, the fix caused a few problems; I've reverted it for now, and
will check in a new version in a couple of hours.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Recentering on scroll
  2008-10-27  5:33     ` Chong Yidong
@ 2008-10-28 12:40       ` Juanma Barranquero
  0 siblings, 0 replies; 5+ messages in thread
From: Juanma Barranquero @ 2008-10-28 12:40 UTC (permalink / raw
  To: Chong Yidong; +Cc: 873, emacs-devel

On Mon, Oct 27, 2008 at 06:33, Chong Yidong <cyd@stupidchicken.com> wrote:

> Actually, the fix caused a few problems; I've reverted it for now, and
> will check in a new version in a couple of hours.

With your most recent patch the unwanted recentering does not happen. Thanks.

Line-by-line scroll is quite jumpy, though, as compared to next-line
in Emacs 22.X, or even to previous-line in the current trunk.

  Juanma




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-28 12:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-25 18:03 Recentering on scroll Chong Yidong
2008-10-27  0:57 ` Juanma Barranquero
2008-10-27  5:19   ` Chong Yidong
2008-10-27  5:33     ` Chong Yidong
2008-10-28 12:40       ` Juanma Barranquero

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