unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: scrolling in shell buffer
Date: Sun, 18 Dec 2016 08:22:21 -0500	[thread overview]
Message-ID: <E1cIbPx-00055V-Su@fencepost.gnu.org> (raw)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

I have (setq scroll-conservatively 6).
I'm running a job in a shell buffer that produces a line of output
a couple of times a minute, with point at the end.

As the output appears, the buffer scrolls so that the cursor is always
at the bottom.  That is good.

If I switch to another buffer, then switch back after a minute or two,
it scrolls up for the new output but the cursor stays at the bottom.
That is good.

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.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




             reply	other threads:[~2016-12-18 13:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-18 13:22 Richard Stallman [this message]
2016-12-18 15:41 ` scrolling in shell buffer Eli Zaretskii
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

  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=E1cIbPx-00055V-Su@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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).