[Top][All Lists]

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

Re: erase-buffer (was: with-output-to-temp-buffer)

From: Kenichi Handa
Subject: Re: erase-buffer (was: with-output-to-temp-buffer)
Date: Wed, 12 May 2004 08:47:53 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:
>>>  M-x erase-buffer RET.
>>  I often use it in *shell* and *gdb* buffers when they grow too much.

> Why not comint-truncate-buffer?

M-x era RET is shorter than M-x comint-t RET.

The more realistic reason is that the former is more
reliable because the latter leaves
comint-buffer-maximum-size lines and that may be still huge
when a program produces long output without newlines.

Ken'ichi HANDA

reply via email to

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