[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 07:12:22 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
On Mon, 09 Mar 2015 17:59:34 +0200 Eli Zaretskii <address@hidden> wrote:
>> Date: Mon, 9 Mar 2015 11:11:26 +0100
>> From: Gregor Zattler <address@hidden>
>>
>> Hi Vibhav,
>> * address@hidden <address@hidden> [09. Mar. 2015]:
>> > +(defun eshell/clear ()
>> > + "Clear the eshell-buffer"
>>
>> Now this command does not clear the eshell buffer any more, but the
>> eshell window. I think the doc string should say so because this has
>> security implications: The user may think some info is gone but actually
>> it’s only no longer visible.
EZ> The same happens with a few terminal emulators, so users should
EZ> already be expecting that possibility
But eshell is not a terminal emulator. It's a shell. Emacs provides
the text UI around it.
I would rename `eshell/clear' to `eshell/clear-view' and also provide
`eshell/clear-buffer', if that's OK with Vibhav and everyone else?
Ted
- Re: Add function eshell/clear to clear current eshell buffer,
Ted Zlatanov <=
- 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, 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, 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