[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
- Re: Add function eshell/clear to clear current eshell buffer, Ted Zlatanov, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, Ted Zlatanov, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer,
Ted Zlatanov <=
- Re: Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, chad, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, Ted Zlatanov, 2015/04/18
- Re: Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/04/19
- Re: Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/04/19
- Re: Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/04/19
- Re: Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/04/19