From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wgreenhouse-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org (W. Greenhouse) Newsgroups: gmane.emacs.help Subject: Re: *shell* jumps up and down Date: Sun, 24 Mar 2013 18:04:48 +0000 Message-ID: <874ng0ptbz.fsf@riseup.net> References: <20130324173918.GA30905@hysteria.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364148321 18766 80.91.229.3 (24 Mar 2013 18:05:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Mar 2013 18:05:21 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Sun Mar 24 19:05:48 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1UJpIf-0000BB-9B for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Mar 2013 19:05:45 +0100 Original-Received: from localhost ([::1]:52459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpIH-00054z-Ia for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Mar 2013 14:05:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpI5-00053s-3Q for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sun, 24 Mar 2013 14:05:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJpI1-0003gP-SL for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sun, 24 Mar 2013 14:05:09 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpI1-0003f6-MM for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sun, 24 Mar 2013 14:05:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UJpIM-0008IE-4D for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sun, 24 Mar 2013 19:05:26 +0100 Original-Received: from tor-exit.boingboing.net ([204.11.50.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Mar 2013 19:05:26 +0100 Original-Received: from wgreenhouse by tor-exit.boingboing.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Mar 2013 19:05:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: tor-exit.boingboing.net X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:2aIAxvU1ZakuDIUN/2nvNH5bn/U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:89720 Archived-At: Bob, Bob Proulx writes: > I browsed through shell.el but couldn't see where it was doing this. > Does anyone know how to tell or modify the inferior shell process > window to not display the buffer at the very bottom and just let emacs > do what it would normally do? Looks like it's a comint-wide problem, not just shell.el. I did some testing, and it seems--in Emacs 24.2, anyway--that this behavior is triggered by the combination of a `scroll-conservatively' value of <100 and `comint-scroll-show-maximum-output' set to t (which is the default). Changing either of these lets Emacs scrolling behavior do the same thing it does in the rest of Emacs. This works in 24, anyway, but the scrolling stuff does seem to be in a state of flux; I've noticed that erc-scrolltobottom-mode does some jumping around now in 24, for example. Possibly one of the NEWS items under "Scrolling changes" covers this, but if so, I don't understand. Best, Will -- BOFH excuse #292: We ran out of dial tone and we're and waiting for the phone company to deliver another bottle.