From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 13690@debbugs.gnu.org
Subject: bug#13690: 24.3.50; scroll-conservatively and Info-up
Date: Tue, 12 Feb 2013 18:14:33 +0200 [thread overview]
Message-ID: <834nhh5x1y.fsf@gnu.org> (raw)
In-Reply-To: <87sj52juwu.fsf@rosalinde.fritz.box>
> From: Stephen Berman <stephen.berman@gmx.net>
> Date: Tue, 12 Feb 2013 00:24:49 +0100
>
> 0. emacs -Q
> 1. Type `M-x customize-option RET scroll-conservatively RET', set the
> value to 1 and save for the current session (or just evaluate `(setq
> scroll-conservatively 1)').
> 2. Type `C-h r m Basic RET m Repeating RET' to go to the Info node
> (emacs)Repeating.
> 3. Type `u' or `^' to go up to the node (emacs)Basic, with point on the
> menu Entry "Repeating".
> ==> The line point is on is at the top of the window, so all higher
> lines in the buffer are out of view.
>
> In general, when scroll-conservatively is set to n (n > 0), then if
> Info-up puts point on the nth line counting from eob, or on a lower line
> (closer to eob), the start of that line is at window-start; if Info-up
> puts point on a higher line than the nth above eob, then the whole
> buffer is visible (up to recentering). If scroll-conservatively has its
> default value 0, the buffer display following Info-up is always
> recentered.
This is exactly the behavior under scroll-conservatively:
Scroll up to this many lines, to bring point back on screen.
If point moves off-screen, redisplay will scroll by up to
`scroll-conservatively' lines in order to bring point just barely
onto the screen again. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
And this is what happens in the use case you describe. So I'm unsure
why you regard this a bug. What did you expect instead, and why?
In general, setting scroll-conservatively to 1 tells Emacs that you
are prepared to see as little as 1 line of context.
next prev parent reply other threads:[~2013-02-12 16:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 23:24 bug#13690: 24.3.50; scroll-conservatively and Info-up Stephen Berman
2013-02-12 16:14 ` Eli Zaretskii [this message]
2013-02-12 22:00 ` Stephen Berman
2013-02-13 4:02 ` Eli Zaretskii
2013-02-13 13:36 ` Stephen Berman
2013-02-13 17:41 ` Eli Zaretskii
2013-02-13 19:02 ` Dmitry Gutov
2013-02-13 21:48 ` Eli Zaretskii
2013-02-14 1:51 ` Dmitry Gutov
2013-02-14 5:16 ` Eli Zaretskii
2013-02-13 23:18 ` Stephen Berman
2013-02-14 5:12 ` Eli Zaretskii
2013-02-14 11:32 ` Stephen Berman
2020-08-25 11:31 ` Lars Ingebrigtsen
2020-08-25 18:02 ` Stephen Berman
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=834nhh5x1y.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13690@debbugs.gnu.org \
--cc=stephen.berman@gmx.net \
/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).