unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: "Emacs Dev \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: Annoying recentering when scrolling down
Date: Fri, 22 Aug 2008 17:32:02 -0400	[thread overview]
Message-ID: <87ej4gvir1.fsf@cyd.mit.edu> (raw)
In-Reply-To: <f7ccd24b0808221311v35dbddb6ua639f32fae7e0926@mail.gmail.com> (Juanma Barranquero's message of "Fri\, 22 Aug 2008 22\:11\:03 +0200")

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

> On Fri, Aug 22, 2008 at 20:50, Chong Yidong <cyd@stupidchicken.com> wrote:
>
>> Could you check if you have scroll-margin on?  (This wasn't mentioned in
>> your original post)?
>
> Because it is at the default value, 0.
>
>> Also, is there a way to reproduce this problem?
>
> In my setup, it is 100% repeatable.
>
> I start Emacs with the following .emacs:
>
> ;;;; .emacs starts here
> (setq scroll-preserve-screen-position 'always
>       scroll-conservatively           most-positive-fixnum
>       scroll-step                     0)
> ;;;; .emacs ends here
>
> then I visit NEWS with C-h C-n, press <down> and keep it so. At first
> it scrolls line by line; after a while it starts recentering.

Looks like this value of scroll-conservatively is causing an integer
overflow in scroll_conservatively, due to different maximum sizes of
EMACS_INT and int.  Bleah.  I'll take a look.




  reply	other threads:[~2008-08-22 21:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21  1:06 Annoying recentering when scrolling down Juanma Barranquero
2008-08-21  2:00 ` Chong Yidong
2008-08-22 11:33   ` Juanma Barranquero
2008-08-22 14:29     ` Chong Yidong
2008-08-22 18:50     ` Chong Yidong
2008-08-22 20:11       ` Juanma Barranquero
2008-08-22 21:32         ` Chong Yidong [this message]
2008-08-23  2:13           ` Chong Yidong
2008-08-23 10:47             ` Juanma Barranquero
2008-08-23 11:48               ` martin rudalics
2008-08-23 11:59                 ` Juanma Barranquero
2008-08-23 12:17                   ` martin rudalics
2008-08-23 12:47                     ` Juanma Barranquero
2008-08-23 15:03                       ` Chong Yidong
2008-08-25 15:20                         ` Juanma Barranquero
2008-08-25 15:41                           ` Chong Yidong
2008-08-23 17:45                       ` Chong Yidong
2008-08-24  0:24                         ` Juanma Barranquero

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=87ej4gvir1.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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).