From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [vrotney@earthlink.net: Eamcs 22.1 comint-scroll-show-maximum-output bug] Date: Sat, 25 Aug 2007 00:07:16 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1188014897 22667 80.91.229.12 (25 Aug 2007 04:08:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2007 04:08:17 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 25 06:08:15 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 1IOmwY-0000cw-AT for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2007 06:08:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOmwX-0001ew-Ma for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2007 00:08:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOmvj-0001FT-Ky for emacs-devel@gnu.org; Sat, 25 Aug 2007 00:07:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOmvi-0001E6-3z for emacs-devel@gnu.org; Sat, 25 Aug 2007 00:07:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOmvg-0001CT-FS for emacs-devel@gnu.org; Sat, 25 Aug 2007 00:07:22 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOmve-0007F6-EA for emacs-devel@gnu.org; Sat, 25 Aug 2007 00:07:18 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IOmvc-0001mQ-6V; Sat, 25 Aug 2007 00:07:16 -0400 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:77115 Archived-At: [I sent this message a week ago but did not get a response.] Would someone please DTRT and ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE, UNPARSEABLE_RELAY autolearn=no version=3.1.0 Date: Thu, 16 Aug 2007 20:28:11 -0700 From: William Paul Vrotney To: bug-gnu-emacs@gnu.org FCC: ~/rmail/sent Subject: Eamcs 22.1 comint-scroll-show-maximum-output bug BUG DESCRIPTION: First noticed in Emacs 22.1. The comint variable comint-scroll-show-maximum-output does not work as documented when set to nil. For example when setting this variable to nil when using M-x shell the Emacs 22.1 manual says 41.7 Shell Mode Options If `comint-scroll-show-maximum-output' is non-`nil', then arrival of output when point is at the end tries to scroll the last line of text to the bottom line of the window, showing as much useful text as possible. (This mimics the scrolling behavior of most terminals.) The default is `t'. BUG REPLICATION: Emacs source: from http://ftp.gnu.org emacs-22.1.tar.gz Build: Simply: configure; make; make install; Emacs M-x version: Its value is "22.1.1" Operating System: Fedora core 3 Emacs Invocation: emacs -q Then if you then do the following M-x set-variable comint-scroll-show-maximum-output nil M-x shell then once the shell buffer becomes full every output still scrolls the last line of text to the bottom as it does when comint-scroll-show-maximum-output is set to t. I've tried setting this variable in all possible ways: before/after running M-x shell and using 'setq' in ~/.emacs, 'M-x set-variable' and 'M-x customize. But with all the same results as explained above. OTHER INFORMATION: The M-x shell defaults to running the bash shell. ADDITIONAL RELATED BUG: When I run the command M-x shell with comint-scroll-show-maximum-output set to nil the shell buffer window does not show the first line of bash shell output. In my case it the first line of my two line prompt. If I type M-x recenter then the first line of bash shell output comes into view in the buffer window. PATCH: If I use Emacs 22.1 but load in my ~/.emacs the comint.elc from Emacs 21.3 then all works fine as it did for Emacs 23.1 and earlier. _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message -------