From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: scrolling in shell buffer Date: Sun, 18 Dec 2016 08:22:21 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482067412 7747 195.159.176.226 (18 Dec 2016 13:23:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2016 13:23:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 18 14:23:26 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIbR0-00014N-BY for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2016 14:23:26 +0100 Original-Received: from localhost ([::1]:40496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIbR4-0002ff-Ne for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2016 08:23:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIbQ0-0002VU-DJ for emacs-devel@gnu.org; Sun, 18 Dec 2016 08:22:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIbPz-0004fG-KO for emacs-devel@gnu.org; Sun, 18 Dec 2016 08:22:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIbPz-0004f1-Gr for emacs-devel@gnu.org; Sun, 18 Dec 2016 08:22:23 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cIbPx-00055V-Su; Sun, 18 Dec 2016 08:22:22 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210599 Archived-At: [[[ 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.