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: Fri, 23 Dec 2016 11:11:49 -0500 Message-ID: References: <83shpl5jnz.fsf@gnu.org> <83y3zb51eq.fsf@gnu.org> <83fulg0w07.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 1482509552 22864 195.159.176.226 (23 Dec 2016 16:12:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2016 16:12:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 23 17:12:28 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 1cKSSC-0004kB-HT for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 17:12:20 +0100 Original-Received: from localhost ([::1]:39776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSSH-0002WP-6P for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 11:12:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSRj-0002WK-G8 for emacs-devel@gnu.org; Fri, 23 Dec 2016 11:11:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKSRi-0002Hl-JO for emacs-devel@gnu.org; Fri, 23 Dec 2016 11:11:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSRi-0002Hg-GR for emacs-devel@gnu.org; Fri, 23 Dec 2016 11:11:50 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cKSRh-0000ML-42; Fri, 23 Dec 2016 11:11:49 -0500 In-reply-to: <83fulg0w07.fsf@gnu.org> (message from Eli Zaretskii on Thu, 22 Dec 2016 18:27: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:210753 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 stand corrected. I wrote what I wrote because I had a vivid mental > picture of that in my mind, but after looking around, I see that no > terminal emulator behaves like that. So I think we are all agreed that the change I proposed would be good. Would someone like to implement it? It would be sufficient to add a feature, enabled by some global variable, to scroll the buffer (to put point on the last line if it's at the end of the buffer) when the buffer is redisplayed for the first time after being put in any given window with set-window-buffer. set-window-buffer could set a flag in the window so that the next redisplay of that window will do this scrolling if the buffer requests it. -- 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.