[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add function eshell/clear to clear current eshell buffer
From: |
Eli Zaretskii |
Subject: |
Re: Add function eshell/clear to clear current eshell buffer |
Date: |
Mon, 09 Mar 2015 17:59:34 +0200 |
> 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.
The same happens with a few terminal emulators, so users should
already be expecting that possibility
> "Scroll contents out of the eshell window by inserting newlines."
The last part describes the implementation, which is not a good thing,
IMO. So I suggest just
Scroll contents of eshell window out of sight, leaving a blank window.
Thanks.
- Re: [PATCH] Add function eshell/clear to clear current eshell buffer, (continued)
Re: [PATCH] Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/03/08
- Re: [PATCH] Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/03/08
- Re: [PATCH] Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/03/08
- Re: [PATCH] Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/03/09
- Re: Add function eshell/clear to clear current eshell buffer, Gregor Zattler, 2015/03/09
- Re: Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/03/09
- Re: Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/03/09
- Re: Add function eshell/clear to clear current eshell buffer,
Eli Zaretskii <=
- Re: Add function eshell/clear to clear current eshell buffer, vibhavp, 2015/03/09
- Re: Add function eshell/clear to clear current eshell buffer, Eli Zaretskii, 2015/03/09
- Re: Add function eshell/clear to clear current eshell buffer, Vibhav Pant, 2015/03/09
- Re: Add function eshell/clear to clear current eshell buffer, Bozhidar Batsov, 2015/03/10
- Re: Add function eshell/clear to clear current eshell buffer, Ricardo Wurmus, 2015/03/10