From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [vrotney@earthlink.net: Eamcs 22.1 comint-scroll-show-maximum-output bug] Date: Fri, 24 Aug 2007 19:04:45 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188002607 300 80.91.229.12 (25 Aug 2007 00:43:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2007 00:43:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 25 02:43:24 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IOjkK-0005iu-Ce for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2007 02:43:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOjkJ-0004AQ-Ea for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2007 20:43:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOjkH-0004AB-2x for emacs-devel@gnu.org; Fri, 24 Aug 2007 20:43:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOjkE-00049z-KB for emacs-devel@gnu.org; Fri, 24 Aug 2007 20:43:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOjkE-00049v-3T for emacs-devel@gnu.org; Fri, 24 Aug 2007 20:43:18 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOiCt-00081X-OK for emacs-devel@gnu.org; Fri, 24 Aug 2007 19:04:48 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IOiCr-0000uP-GD; Fri, 24 Aug 2007 19:04:45 -0400 X-Spook: lock picking Etacs clones embassy Firefly red noise X-Ran: QP3UYfWCKf@ei0O*\aIhE"Asf&o,Uz0'_[!-uCR$sAt?hO@d@*ffCsC0"z}AU_Gte)4*zN X-Hue: magenta X-Attribution: GM In-Reply-To: (Richard Stallman's message of "Fri, 17 Aug 2007 16:18:12 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77111 Archived-At: Richard Stallman wrote: > comint-scroll-show-maximum-output > > does not work as documented when set to nil. This is caused by your 2002-12-28 change to comint-mode that sets scroll-conseratively to 10000. This was reported and diagnosed two years ago, and you said: From: Richard M. Stallman Subject: Re: scrolling in comint mode always conservative Date: Mon, 19 Sep 2005 20:03:02 -0400 I put that in because it did not work otherwise. So I can't take it out. I could imagine conditionalizing that setq on some of those other variables, such as comint-scroll-to-bottom... That would not be 100% correct, since changing those variables would not have the right effect on an existing shell buffer. But it might be better than nothing. I tried let-binding scroll-conservatively in comint-postoutput-scroll-to-bottom, but it does not help. In other words, things like this don't work, for reasons I don't understand: (setq scroll-conservatively 0) (let ((scroll-conservatively 10000)) ; no effect (goto-char (point-max))) ; still acts like s-c = 0