GNU bug report logs - #7041
comint seems to truncate from places other than the top

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Reuben Thomas <rrt@HIDDEN>; dated Thu, 16 Sep 2010 11:41:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Sep 2010 11:40:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 16 07:40:26 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OwCpF-0004XL-Fa
	for submit <at> debbugs.gnu.org; Thu, 16 Sep 2010 07:40:25 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rrt@HIDDEN>) id 1OwCpE-0004XG-0k
	for submit <at> debbugs.gnu.org; Thu, 16 Sep 2010 07:40:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <rrt@HIDDEN>) id 1OwCrS-0000iJ-Lj
	for submit <at> debbugs.gnu.org; Thu, 16 Sep 2010 07:42:43 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED
	autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:45562)
	by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from <rrt@HIDDEN>)
	id 1OwCrS-0000iD-Ju
	for submit <at> debbugs.gnu.org; Thu, 16 Sep 2010 07:42:42 -0400
Received: from [140.186.70.92] (port=46830 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OwCrR-0002nT-Bj
	for bug-gnu-emacs@HIDDEN; Thu, 16 Sep 2010 07:42:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <rrt@HIDDEN>) id 1OwCrQ-0000hn-6u
	for bug-gnu-emacs@HIDDEN; Thu, 16 Sep 2010 07:42:41 -0400
Received: from fencepost.gnu.org ([140.186.70.10]:51153)
	by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from <rrt@HIDDEN>)
	id 1OwCrQ-0000hj-5g
	for bug-gnu-emacs@HIDDEN; Thu, 16 Sep 2010 07:42:40 -0400
Received: from eggs.gnu.org ([140.186.70.92]:59936)
	by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69) (envelope-from <rrt@HIDDEN>) id 1OwCri-00065A-W7
	for bug-emacs@HIDDEN; Thu, 16 Sep 2010 07:42:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <rrt@HIDDEN>) id 1OwCrO-0000ha-WE
	for bug-emacs@HIDDEN; Thu, 16 Sep 2010 07:42:39 -0400
Received: from exprod7og105.obsmtp.com ([64.18.2.163]:48318)
	by eggs.gnu.org with smtp (Exim 4.69) (envelope-from <rrt@HIDDEN>)
	id 1OwCrO-0000gk-L7
	for bug-emacs@HIDDEN; Thu, 16 Sep 2010 07:42:38 -0400
Received: from source ([74.125.82.175]) by exprod7ob105.postini.com
	([64.18.6.12]) with SMTP
	ID DSNKTJICqyBxgtWOcteVABf9RBYIjRsBDPWP@HIDDEN;
	Thu, 16 Sep 2010 04:42:38 PDT
Received: by wye20 with SMTP id 20so1225282wye.20
	for <bug-emacs@HIDDEN>; Thu, 16 Sep 2010 04:42:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.227.42.4 with SMTP id q4mr2588100wbe.156.1284637354177; Thu,
	16 Sep 2010 04:42:34 -0700 (PDT)
Received: by 10.227.138.213 with HTTP; Thu, 16 Sep 2010 04:42:34 -0700 (PDT)
Date: Thu, 16 Sep 2010 12:42:34 +0100
Message-ID: <AANLkTikuPpx1hSzBi439jRiH143PWmjnCtE7X9vy1Gkw@HIDDEN>
Subject: comint seems to truncate from places other than the top
From: Reuben Thomas <rrt@HIDDEN>
To: bug-emacs <bug-emacs@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.3 (-----)

If I add comint-truncate-buffer to comint-output-filter-functions, and
set comint-buffer-maximum-size to 1024, then when a term buffer
reaches about that size, and I run a command that produces a lot of
output, then scroll back, some of the output is missing. In other
words, rather than truncate from the top of the buffer, some of the
truncation at least seems to happen much nearer the bottom.

If I remove comint-truncate-buffer from
comint-output-filter-functions, or run a command that produces a lot
of output in a fresh window (so that the number of lines of output
does not exceed comint-buffer-maximum-size) then I do not see this
behaviour, which is why I suspect it is to do with truncation.

-- 
http://rrt.sc3d.org




Acknowledgement sent to Reuben Thomas <rrt@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#7041; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.