From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.help Subject: Re: shell-mode - make it stop!!! Date: 06 Jun 2007 01:02:31 GMT Organization: Sedgeboy Inc. Message-ID: References: <20070605195905.3bbebec8@zooty> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1181094037 316 80.91.229.12 (6 Jun 2007 01:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2007 01:40:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 06 03:40:36 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HvkVl-0006uN-TX for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Jun 2007 03:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvkVl-00048d-H1 for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Jun 2007 21:40:33 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.aliant.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Lines: 40 Original-X-Complaints-To: abuse@aliant.net Original-Xref: shelby.stanford.edu gnu.emacs.help:149102 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44688 Archived-At: On 2007-06-05, Tom Horsley wrote: > The NEWS file says this about shell-mode > > ** Changes in Shell Mode > > *** Shell output normally scrolls so that the input line is at the > bottom of the window -- thus showing the maximum possible text. (This > is similar to the way sequential output to a terminal works.) > > Unfortunately it doesn't say how the devil to make this insanely > annoying behavior stop :-). Any way to disable it? (One of the reasons > I liked emacs shell mode was because it didn't act this way - if > I wanted an ordinary terminal, I'd use one of them :-). You might check out the emacs manual for more detailed instructions than are generally provided with NEWS files. This is from Emacs 21: 29.15.6 Shell Mode Options -------------------------- If `comint-scroll-show-maximum-output' is non-`nil', then scrolling due to the arrival of output tries to place the last line of text at the bottom line of the window, so as to show as much useful text as possible. (This mimics the scrolling behavior of many terminals.) The default is `nil'. So it looks like the default has changed. Something along the lines of (setq comint-scroll-show-maximum-output nil) in your .emacs should fix the behaviour, but check the manual of your Emacs to be sure. HTH, Tyler