[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add function eshell/clear to clear current eshell buffer
From: |
vibhavp |
Subject: |
Re: [PATCH] Add function eshell/clear to clear current eshell buffer |
Date: |
Mon, 09 Mar 2015 00:58:12 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> As someone who was more than once in a situation where I would give
> half of my kingdom for an opportunity to look again at the contents of
> the screen I just "clear"ed
Most shells do something list this, and moves the prompt the top of the
window. Elisp has something similar with (recenter-top-bottom), but
eshell overrides this by going to the window's bottom again.
> how about filling the window with blank
> lines instead, so that the old contents are out of sight, but still
> reachable? Would that make sense?
Unfortunately, I don't know how to do that :(. Although, I think that
can be done with getting the number of lines between (point-max) and the
top of the window, and then inserting these many newlines.
--
Vibhav Pant
address@hidden
- [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 <=
- 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, 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, 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