unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Joe Wells <jbw@macs.hw.ac.uk>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Emacs 22.1 does not redisplay while holding down Prior key (scroll-down)
Date: Tue, 11 Sep 2007 03:08:04 +0100	[thread overview]
Message-ID: <86sl5mned7.fsf@macs.hw.ac.uk> (raw)
In-Reply-To: <jwvbqca6mi5.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon\, 10 Sep 2007 21\:04\:56 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> When holding down the Prior key (usually labeled “Page Up”) which
>> is bound to scroll-down to scroll toward the start of the buffer,
>> no redisplay occurs until the beginning of the buffer is reached.
>
> Is it the case everywhere?  E.g, also in fundamental-mode buffers?

Yes, the problem occurs in fundamental mode in a fresh “emacs -Q”.

I just did some more testing, and the problem shows up for buffers
with very long lines.  It doesn't seem to happen for buffers with
lines less than 80 characters long.

To reproduce the bug, run these shell commands:

  wget http://codevortex.com/lovecraft/c_d_ward.htm
  emacs -Q c_d_ward.htm

Then in the Emacs frame, type M-x fundamental-mode RET M->.  Then
press and hold the Prior key.

Usually when I do this there is no redisplay until the beginning of
the buffer is reached.  Sometimes there are one or even two
redisplays.  In contrast, when using the Next key to go forward
starting from the beginning of the buffer, there are lots of
redisplays.

I wonder why scrolling backward would have the problem while scrolling
forward does not.  In Emacs 21.4 both directions of scrolling got good
redisplays.

By the way, for comparison, I don't see the problem on a plain text
variant of the c_d_ward.htm file with all lines less than 80
characters long.

-- 
Joe

      reply	other threads:[~2007-09-11  2:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <86fy1mrjb3.fsf@macs.hw.ac.uk>
2007-09-10 23:55 ` Emacs 22.1 does not redisplay while holding down Prior key (scroll-down) Richard Stallman
2007-09-11  1:04   ` Stefan Monnier
2007-09-11  2:08     ` Joe Wells [this message]

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=86sl5mned7.fsf@macs.hw.ac.uk \
    --to=jbw@macs.hw.ac.uk \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@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).