From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: scrolling in shell buffer Date: Mon, 19 Dec 2016 22:11:00 +0100 Message-ID: <87tw9zipzv.fsf@gnu.org> References: <83shpl5jnz.fsf@gnu.org> <83y3zb51eq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482181886 21334 195.159.176.226 (19 Dec 2016 21:11:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 21:11:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cc: rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 22:11:20 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 1cJ5DJ-0004C9-Jf for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 22:11:17 +0100 Original-Received: from localhost ([::1]:47751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ5DN-0002ss-V3 for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 16:11:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ5DH-0002sb-ST for emacs-devel@gnu.org; Mon, 19 Dec 2016 16:11:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ5DG-00069y-QS for emacs-devel@gnu.org; Mon, 19 Dec 2016 16:11:15 -0500 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]:36049) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJ5DD-00067G-1v; Mon, 19 Dec 2016 16:11:11 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 5D53ECD16; Mon, 19 Dec 2016 22:11:07 +0100 (CET) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.229.6.57] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2B1BQCYS1hYEDkG5VVcGgEBAQECAQEBAQgBAQEBgzcBAQEBAR9adhCCfYpSc5VmlQ6CAAofC4V4AoIBQBQBAgEBAQEBAQEGAQEBAQEBAQE3RYRoAQEBAQIBAVUjEAsUAQwlDwEEFAQNChoTiGMMAQmrMosQAQEBAQEFAQEBASSLD4ohBZpwhlKFcIc3jgiOGYQPH4E5FQ6GAj00AYkJAQEB X-IPAS-Result: A2B1BQCYS1hYEDkG5VVcGgEBAQECAQEBAQgBAQEBgzcBAQEBAR9adhCCfYpSc5VmlQ6CAAofC4V4AoIBQBQBAgEBAQEBAQEGAQEBAQEBAQE3RYRoAQEBAQIBAVUjEAsUAQwlDwEEFAQNChoTiGMMAQmrMosQAQEBAQEFAQEBASSLD4ohBZpwhlKFcIc3jgiOGYQPH4E5FQ6GAj00AYkJAQEB X-IronPort-AV: E=Sophos;i="5.33,375,1477954800"; d="scan'208";a="635821074" Original-Received: from c-3906e555.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.229.6.57]) by ipb4.telenor.se with ESMTP; 19 Dec 2016 22:11:06 +0100 Original-Received: by muon.localdomain (Postfix, from userid 1000) id 091BA484218; Mon, 19 Dec 2016 22:11:00 +0100 (CET) In-Reply-To: <83y3zb51eq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 19 Dec 2016 18:28:13 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.54.99.196 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:210647 Archived-At: Eli Zaretskii writes: >> From: Richard Stallman >> CC: emacs-devel@gnu.org >> Date: Mon, 19 Dec 2016 08:07:16 -0500 >> >> 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? > > By default? I don't think I agree. It's just another Emacs buffer. > Also, various terminal emulators on GUI systems let me scroll the > console window past its end, and don't scroll it back each time the > shell or some command run from the shell outputs something. ? It is already the default, and it's called `comint-scroll-show-maximum-output'. However, we also find this comment in `comint-mode': ;; Following disabled because it seems to break the case when ;; comint-scroll-show-maximum-output is nil, and no-one can remember ;; what the original problem was. If there are problems with point ;; not going to the end, consider re-enabling this. ;; http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00827.html ;; ;; This makes it really work to keep point at the bottom. ;; (make-local-variable 'scroll-conservatively) ;; (setq scroll-conservatively 10000) The last two lines were added by rms in 2002, and commented out by Glenn in 2007.