From: Dan Nicolaescu <dann@ics.uci.edu>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 736@emacsbugs.donarmstrong.com, emacs-devel@gnu.org
Subject: bug#736: C-l interacts badly with scroll-conservatively
Date: Sun, 17 Aug 2008 12:58:02 -0700 [thread overview]
Message-ID: <200808171958.m7HJw2Wb009703__26161.6601878361$1219003718$gmane$org@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <87tzdj8ni3.fsf__43536.6355035969$1219001342$gmane$org@cyd.mit.edu> (Chong Yidong's message of "Sun, 17 Aug 2008 15:12:04 -0400")
Chong Yidong <cyd@stupidchicken.com> writes:
> "Drew Adams" <drew.adams@oracle.com> writes:
>
> >> emacs -q
> >> M-: (setq scroll-conservatively 100) RET
> >> C-h n
> >> C-v
> >> C-l
> >> C-l
> >> C-l
> >>
> >> The repeated C-l's don't move to the top or bottom of the
> >> window, unlike the usual behavior (new to Emacs 23) of
> >> recenter-top-bottom.
> >
> > Maybe I'm misunderstanding the bug report, but by design
> > `scroll-conservatively' modifies the behavior of
> > `recenter-top-bottom'. As the doc string says:
> >
> > "Top and bottom destinations are actually
> > `scroll-conservatively' lines from true window top
> > and bottom."
>
> That's true; I didn't see that.
>
> But why does recenter-top-bottom use scroll-conservatively? AFAICT,
> people often use a large nonzero number for scroll-conservatively so
> that when point is at the bottom of the window, C-n scrolls down by one
> and keeps the cursor at the bottom; and similarly, if point is at the
> top of the window, C-p keeps the cursor at the top. It doesn't make
> sense to make scroll-conservatively affect C-l.
>
> I think we should use scroll-margin for this purpose, rather than
> scroll-conservatively.
IMHO, that makes more sense.
next prev parent reply other threads:[~2008-08-17 19:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87d4k77zmg.fsf@stupidchicken.com>
2008-08-17 15:30 ` bug#736: C-l interacts badly with scroll-conservatively Chong Yidong
2008-08-17 16:07 ` Drew Adams
2008-08-17 19:12 ` Chong Yidong
2008-08-17 19:58 ` Dan Nicolaescu [this message]
[not found] ` <87tzdj8ni3.fsf@cyd.mit.edu>
2008-08-17 20:14 ` Drew Adams
2008-08-18 3:55 ` bug#736: marked as done (C-l interacts badly with scroll-conservatively) Emacs bug Tracking System
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='200808171958.m7HJw2Wb009703__26161.6601878361$1219003718$gmane$org@sallyv1.ics.uci.edu' \
--to=dann@ics.uci.edu \
--cc=736@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.com \
--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).