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: Re: scrolling in shell buffer Date: Mon, 19 Dec 2016 08:07:16 -0500 Message-ID: References: <83shpl5jnz.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482152849 10010 195.159.176.226 (19 Dec 2016 13:07:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 13:07:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 14:07:22 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 1cIxey-0001AU-Rf for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 14:07:20 +0100 Original-Received: from localhost ([::1]:45325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxf2-0000Rb-V5 for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 08:07:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxew-0000RG-EC for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:07:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIxev-0007Xh-Bu for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:07:18 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxev-0007XZ-8S for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:07:17 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cIxeu-0001VC-Ni; Mon, 19 Dec 2016 08:07:16 -0500 In-reply-to: <83shpl5jnz.fsf@gnu.org> (message from Eli Zaretskii on Sun, 18 Dec 2016 17:41:36 +0200) 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:210624 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. ]]] > 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. comint-move-point-for-output is not pertinent. It controls moving point. This is not about moving point. comint-scroll-to-bottom-on-input is not pertinent either. It controls what happens on input. This is not about input. Customizing is not pertinent, since this issue I'm raising is about the proper default. I think that we should make the default behavior for shell buffers, when point is at the end, to scroll to keep point at the bottom of the window. Does anyone disagree that this behavior would be right? -- 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.