From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Schaefer Newsgroups: gmane.emacs.devel Subject: Re: (Not) scrolling past the end of a buffer Date: Sat, 20 Oct 2012 18:45:31 +0200 Message-ID: <20121020184531.67847d8b@forcix.kollektiv-hamburg.de> References: <20121020003412.0331c798@forcix.kollektiv-hamburg.de> <87ehktksuf.fsf@silenus.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350751542 22982 80.91.229.3 (20 Oct 2012 16:45:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Oct 2012 16:45:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 20 18:45:48 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TPcBH-0004GA-Vw for ged-emacs-devel@m.gmane.org; Sat, 20 Oct 2012 18:45:48 +0200 Original-Received: from localhost ([::1]:45140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPcBA-0006wG-FM for ged-emacs-devel@m.gmane.org; Sat, 20 Oct 2012 12:45:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPcB7-0006vB-LN for emacs-devel@gnu.org; Sat, 20 Oct 2012 12:45:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPcB6-0003Yd-1M for emacs-devel@gnu.org; Sat, 20 Oct 2012 12:45:37 -0400 Original-Received: from istinn.electusmatari.com ([83.169.37.145]:42850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPcB5-0003YZ-R6 for emacs-devel@gnu.org; Sat, 20 Oct 2012 12:45:35 -0400 Original-Received: from forcix.kollektiv-hamburg.de (hmbg-5f767bb3.pool.mediaWays.net [95.118.123.179]) by istinn.electusmatari.com (Postfix) with ESMTPSA id 55D2A15DC0004; Sat, 20 Oct 2012 18:45:34 +0200 (CEST) In-Reply-To: <87ehktksuf.fsf@silenus.orebokech.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 83.169.37.145 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154468 Archived-At: On Sat, 20 Oct 2012 18:31:52 +0200 Romain Francoise wrote: > Jorgen Schaefer writes: > > > Emacs' scrolling behavior allows for a window to move past the end > > of a buffer up to the point where the last line of a buffer is the > > only thing displayed. This can be useful for editing, but it is > > unexpected behavior for modes that interact with other programs. > > > Based on the behavior of terminals, the expectation and preference > > there is that the input line would remain at the bottom edge of a > > window as long as there is enough data to be displayed. > > That's a matter of taste. Indeed, that is why I was talking about a configuration option. :-) Sorry if this came across badly. comint.el already tries to imitate this behavior by setting `comint-scroll-show-maximum-output' to t, but this only achieves this behavior after output from the process. Regards, -- Jorgen