all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: scrolling in shell buffer
Date: Sun, 18 Dec 2016 17:41:36 +0200	[thread overview]
Message-ID: <83shpl5jnz.fsf@gnu.org> (raw)
In-Reply-To: <E1cIbPx-00055V-Su@fencepost.gnu.org> (message from Richard Stallman on Sun, 18 Dec 2016 08:22:21 -0500)

> From: Richard Stallman <rms@gnu.org>
> Date: Sun, 18 Dec 2016 08:22:21 -0500
> 
> But when I switch to another buffer, wait several minutes, then switch
> back, so that many additional lines of output have been generated, it
> puts point in the middle of the window.
> 
> That's good for ordinary buffers, but it isn't good for a shell
> buffer.  For a shell buffer, as long as point is at the end, display
> should normally scroll point to the bottom of the window.

AFAIK, the only way redisplay guarantees that point will always be at
the bottom of the window is if you set scroll-conservatively to a
value larger than 100.  Otherwise, sooner or later you will see
recentering under some conditions.

If you want this behavior for shell buffers, I suggest to customize
comint-move-point-for-output and/or comint-scroll-to-bottom-on-input.



  reply	other threads:[~2016-12-18 15:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-18 13:22 scrolling in shell buffer Richard Stallman
2016-12-18 15:41 ` Eli Zaretskii [this message]
2016-12-19 13:07   ` Richard Stallman
2016-12-19 16:28     ` Eli Zaretskii
2016-12-19 21:11       ` Johan Bockgård
2016-12-20 18:16         ` Richard Stallman
2016-12-20 18:15       ` Richard Stallman
2016-12-21 16:18         ` raman
2016-12-22 16:27         ` Eli Zaretskii
2016-12-23 16:11           ` Richard Stallman
2016-12-23 16:27             ` Eli Zaretskii
2016-12-24 18:53               ` Richard Stallman
2016-12-24 19:26                 ` Eli Zaretskii
2016-12-25 20:44                   ` Richard Stallman
2016-12-26  3:26                     ` Eli Zaretskii
2017-01-22 23:59                       ` Richard Stallman
2017-01-23 21:04                       ` Richard Stallman
2017-01-27  9:41                         ` Eli Zaretskii
2016-12-20  3:50     ` John Yates

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83shpl5jnz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.