bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7041: comint seems to truncate from places other than the top


From: Lars Ingebrigtsen
Subject: bug#7041: comint seems to truncate from places other than the top
Date: Tue, 08 Dec 2020 23:31:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Reuben Thomas <rrt@sc3d.org> writes:

> If I try it now, it doesn't seem to truncate the buffer as expected: for 
> example
>
> emacs -Q
> M-: (add-to-list 'comint-output-filter-functions 'comint-truncate-buffer)
> M-x term
> C-c M-x set-variable comint-buffer-maximum-size 256 ; do this after M-x term
> because before comint-buffer-maximum-size is not defined
> $ seq 1 1024
>
> The entire output is retained, and not truncated. Truncation seems to happen 
> at
> 2048 lines. This does not even correspond to the original value of the 
> variable
> (1024).

I'm not getting any truncation...  but that variable is about comint
buffers, like in `M-x shell' and the like.  Is term-mode a comint
buffer?  It's not derived from comint-mode, so I'm not sure whether this
is supposed to work there?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]