From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: *shell* jumps up and down Date: Sun, 24 Mar 2013 12:38:10 -0600 Message-ID: <20130324183810.GA24399@hysteria.proulx.com> References: <20130324173918.GA30905@hysteria.proulx.com> <874ng0ptbz.fsf@riseup.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1364150308 4362 80.91.229.3 (24 Mar 2013 18:38:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Mar 2013 18:38:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 24 19:38:55 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 1UJpol-0003So-1K for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Mar 2013 19:38:55 +0100 Original-Received: from localhost ([::1]:33439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpoN-0006mB-C8 for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Mar 2013 14:38:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpo9-0006lk-ME for help-gnu-emacs@gnu.org; Sun, 24 Mar 2013 14:38:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJpo8-0004Tp-KP for help-gnu-emacs@gnu.org; Sun, 24 Mar 2013 14:38:17 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:33452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpo7-0004TX-SL for help-gnu-emacs@gnu.org; Sun, 24 Mar 2013 14:38:16 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id E477A211DA for ; Sun, 24 Mar 2013 12:38:10 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 9E6902DCDF; Sun, 24 Mar 2013 12:38:10 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <874ng0ptbz.fsf@riseup.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.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@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89721 Archived-At: W. Greenhouse wrote: > Looks like it's a comint-wide problem, not just shell.el. Ah! Comint! I should have looked there. That was the right place. > 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. The problem seems to be with comint-scroll-show-maximum-output interacting badly with automatic scrolling. Either by themself would be okay. But the combination of them together is annoying. Thank you for pointing me to comint-scroll-show-maximum-output! That is the answer for my problem. I have done this and then the annoyance I noted is fixed. At least so far with my minimal use and testing. (setq comint-scroll-show-maximum-output nil) But for the archive I could definite see people liking the opposite behavior desiring this opposite behavior fix. Each to their own. (setq scroll-conservatively 10000) > 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. I tested this on Emacs 24 (Debian Unstable and Wheezy 7) and Emacs 23 (Debian Stable Squeeze 6) and both behave the same and the same fix addresses both of them nicely. My sanity is restored! I haven't been using erc but have been thinking about it. I will keep an eye open for problems there. Thanks! Bob