From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: scrolling in shell buffer Date: Sat, 24 Dec 2016 21:26:56 +0200 Message-ID: <83lgv5xh4v.fsf@gnu.org> References: <83shpl5jnz.fsf@gnu.org> <83y3zb51eq.fsf@gnu.org> <83fulg0w07.fsf@gnu.org> <83k2aqzk37.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1482607674 12373 195.159.176.226 (24 Dec 2016 19:27:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2016 19:27:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 24 20:27:50 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 1cKryq-00024W-PJ for ged-emacs-devel@m.gmane.org; Sat, 24 Dec 2016 20:27:44 +0100 Original-Received: from localhost ([::1]:44573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKryv-0008RS-F3 for ged-emacs-devel@m.gmane.org; Sat, 24 Dec 2016 14:27:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKryn-0008RN-Ad for emacs-devel@gnu.org; Sat, 24 Dec 2016 14:27:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKryk-0008Ok-7K for emacs-devel@gnu.org; Sat, 24 Dec 2016 14:27:41 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKryk-0008Oe-3g for emacs-devel@gnu.org; Sat, 24 Dec 2016 14:27:38 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4453 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cKryY-0001gE-BF; Sat, 24 Dec 2016 14:27:30 -0500 In-reply-to: (message from Richard Stallman on Sat, 24 Dec 2016 13:53:09 -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:210791 Archived-At: > From: Richard Stallman > CC: emacs-devel@gnu.org > Date: Sat, 24 Dec 2016 13:53:09 -0500 > > > If you set scroll-conservatively to a number larger than 100, locally > > in the shell buffer, don't you get the behavior you want? > > No. scroll-conservatively has no effect on the first redisplay after > I switch to the shell buffer. Strange. It did for me when I tried that. I wrote a shell script that produced a line of output every several seconds, then ran it in a shell buffer, and switched away. When I switched back to the shell buffer, some seconds later, the buffer was full of lines and point was shown on the last line. Is it possible that you tried that when the buffer had less than windowful of text?