From: Lars Ingebrigtsen <larsi@gnus.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 7041@debbugs.gnu.org
Subject: bug#7041: comint seems to truncate from places other than the top
Date: Tue, 08 Dec 2020 23:31:18 +0100 [thread overview]
Message-ID: <87lfe87ww9.fsf@gnus.org> (raw)
In-Reply-To: <CAOnWdohre-5wcpRzWwx9HOYw38UP3=qwz9TKdRQCYV=POVQp4w@mail.gmail.com> (Reuben Thomas's message of "Tue, 8 Dec 2020 19:18:34 +0000")
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
next prev parent reply other threads:[~2020-12-08 22:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-16 11:42 bug#7041: comint seems to truncate from places other than the top Reuben Thomas
2020-12-08 16:42 ` Lars Ingebrigtsen
2020-12-08 19:18 ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-08 22:31 ` Lars Ingebrigtsen [this message]
2020-12-08 22:37 ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-08 22:42 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lfe87ww9.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=7041@debbugs.gnu.org \
--cc=rrt@sc3d.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.