emacs-devel
[Top][All Lists]
Advanced

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

Re: Add function eshell/clear to clear current eshell buffer


From: Ted Zlatanov
Subject: Re: Add function eshell/clear to clear current eshell buffer
Date: Sat, 18 Apr 2015 10:17:26 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

On Sat, 18 Apr 2015 16:43:16 +0300 Eli Zaretskii <address@hidden> wrote: 

>> For simplicity, how about `eshell/clear' for the window and
>> `eshell/clear-scrollback' for the whole buffer (also invoked with
>> universal-prefix on `eshell/clear')? The scrollback clear should IMO
>> also make sure undo is enabled, but the text is not in any registers.

EZ> I'm not necessarily object, but again: what would be the purpose of
EZ> removing the scrollback? what will that give you?

Often I force-close an eshell buffer because I don't want the
interaction to remain in memory, because some password was echoed (to
the terminal, in a URL, etc.).

Perhaps it's not a common need so triggering a full scrollback clear
with the universal prefix is probably the best way forward.

Ted




reply via email to

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