From: Karl Chen <quarl@hkn.eecs.berkeley.edu>
Subject: Bug: ruler-mode breaks scroll-conservatively (HEAD)
Date: Sun, 15 Dec 2002 12:50:20 -0800 [thread overview]
Message-ID: <15868.60173.1316.980178@quack.quarl.org> (raw)
This bug exists in Emacs HEAD 2002-12-14. Emacs 21.2 with ruler-mode.el from
HEAD has a similar problem.
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).
Actually if you try to even move to the last displayable line in the window
(e.g. <down>, clicking on the last line, resizing the window smaller), it
recenters. So actually, ruler-mode breaks being able to have point on the last
line of the window. Moving point upward isn't affected. Setting scroll-step
to 1 has the same problem.
In Emacs 21.2 with ruler-mode.el from HEAD, the problem exists slightly
differently. Point can exist on the first and last lines in the window, but
scrolling behaves non-conservatively when you move past the top/bottom.
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.
--
Karl Chen / quarl@quarl.org
In GNU Emacs 21.3.50.8 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2002-12-14 on quack.quarl.org
configured using `configure '--prefix=/usr/local/stow/emacs' 'CC=distcc''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
next reply other threads:[~2002-12-15 20:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-15 20:50 Karl Chen [this message]
2002-12-16 14:39 ` Bug: ruler-mode breaks scroll-conservatively (HEAD) 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=15868.60173.1316.980178@quack.quarl.org \
--to=quarl@hkn.eecs.berkeley.edu \
--cc=quarl@quarl.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).