unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lektu@terra.es>
Cc: emacs-devel@gnu.org
Subject: Re: Bug: ruler-mode breaks scroll-conservatively (HEAD)
Date: Mon, 16 Dec 2002 15:39:13 +0100	[thread overview]
Message-ID: <20021216152041.DB0F.LEKTU@terra.es> (raw)
In-Reply-To: <15868.60173.1316.980178@quack.quarl.org>

On Sun, 15 Dec 2002 12:50:20 -0800, Karl Chen <quarl@hkn.eecs.berkeley.edu> wrote:

> Synopsis:
> 
>      emacs-21-3.50 -q    # in X (the bug doesn't occur with -nw)
> 
>      C-x C-f file_with_more_lines_than_window_height.txt
> 
>      M-x set-variable scroll-conservatively 99999
> 
>      ;; Scrolling occurs one line at a time when the cursor moves past the
>      ;; first or last lines in the window (expected/desired behavior)
> 
>      M-x ruler-mode
> 
>      ;; Moving point past to/past the last line of the window recenters it
>      ;; rather than scrolling by one line (bug).

This problem has already been reported several times. The behavior
appeared after a patch by RMS to fix a bug in the redisplay of
partially-visible lines.

See:

http://mail.gnu.org/pipermail/emacs-devel/2002-July/010505.html
http://mail.gnu.org/pipermail/emacs-devel/2002-July/010512.html
http://mail.gnu.org/pipermail/emacs-devel/2002-July/010588.html
http://mail.gnu.org/pipermail/emacs-devel/2002-September/012049.html
http://mail.gnu.org/pipermail/emacs-devel/2002-September/012539.html

for part of the little bugger's history.

> This may ahve to do with the fact that with ruler-mode on, the last line of
> text has one or two pixels less than without it.

Yes. In fact, anything that would make the last line of the window to be
only partially visible should trigger the bug.

                                                           /L/e/k/t/u

      reply	other threads:[~2002-12-16 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-15 20:50 Bug: ruler-mode breaks scroll-conservatively (HEAD) Karl Chen
2002-12-16 14:39 ` Juanma Barranquero [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=20021216152041.DB0F.LEKTU@terra.es \
    --to=lektu@terra.es \
    --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).