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: Re: [vrotney@earthlink.net: Eamcs 22.1 comint-scroll-show-maximum-output bug] Date: Sun, 26 Aug 2007 23:07:57 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1188184143 12183 80.91.229.12 (27 Aug 2007 03:09:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2007 03:09:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris , vrotney@earthlink.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 27 05:09:01 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 1IPUyJ-0007JI-Si for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2007 05:09:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPUyJ-00083P-CP for ged-emacs-devel@m.gmane.org; Sun, 26 Aug 2007 23:08:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IPUxQ-0006oa-Vj for emacs-devel@gnu.org; Sun, 26 Aug 2007 23:08:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IPUxP-0006lh-29 for emacs-devel@gnu.org; Sun, 26 Aug 2007 23:08:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPUxO-0006lQ-RS for emacs-devel@gnu.org; Sun, 26 Aug 2007 23:08:02 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IPUxO-0000gQ-Ha for emacs-devel@gnu.org; Sun, 26 Aug 2007 23:08:02 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IPUxJ-0004CB-Gp; Sun, 26 Aug 2007 23:07:57 -0400 In-reply-to: (message from Glenn Morris on Fri, 24 Aug 2007 19:04:45 -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:77250 Archived-At: Does this fix the bug? *** comint.el 25 Jul 2007 11:49:09 -0400 1.361.2.2 --- comint.el 26 Aug 2007 21:04:46 -0400 *************** *** 1875,1883 **** ;; ends at the bottom of the window. (if (and comint-scroll-show-maximum-output (= (point) (point-max))) ! (save-excursion ! (goto-char (point-max)) ! (recenter (- -1 scroll-margin)))) (select-window selected))))) nil t)) (set-buffer current)))) --- 1875,1884 ---- ;; ends at the bottom of the window. (if (and comint-scroll-show-maximum-output (= (point) (point-max))) ! (let ((scroll-conservatively nil)) ! (save-excursion ! (goto-char (point-max)) ! (recenter (- -1 scroll-margin))))) (select-window selected))))) nil t)) (set-buffer current))))