all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Fixxed buffer size for eshell
@ 2017-04-30 10:02 Anast Gramm
  2017-04-30 14:21 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Anast Gramm @ 2017-04-30 10:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I am using eshell to compile and test my projects.

When I run a build command eshell gets filled with thousands of lines
with the compiler commands.

This results in a huge buffer (>10mb) thus slowing down emacs.

As a workaround I use the clear function copied straight out of
the emacsdev mailing list [1].

This is not ideal, since I use it after the buffer is filled, and emacs
is already slow at that point.

What I want is a fixed buffer size, like in normal terminals where
you have a set amount of lines.
I'd like something like (setq eshell-max-lines 1000) so when the output reaches
line 1000 the next like is inserted while the first one is deleted and so on...

Does this exist? If not, how would one go to implement such a feature?


[1]: http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00176.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-01 14:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-30 10:02 Fixxed buffer size for eshell Anast Gramm
2017-04-30 14:21 ` Eli Zaretskii
2017-04-30 18:37   ` Anast Gramm
2017-04-30 19:21     ` Eli Zaretskii
2017-05-01 12:15       ` Anast Gramm
2017-05-01 14:26         ` Eli Zaretskii

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.