emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add function eshell/clear to clear current eshell buffer


From: Bozhidar Batsov
Subject: Re: [PATCH] Add function eshell/clear to clear current eshell buffer
Date: Sun, 8 Mar 2015 09:25:15 +0200

Yeah, this command seems pretty broken to me. Guess someone should have a look at it.

On 8 March 2015 at 09:19, <address@hidden> wrote:
Bozhidar Batsov <address@hidden> writes:

> Guess it should be bound to `C-c M-o` as the clear command for comint
> buffers.

`C-c M-o` is bound to (eshell-mark-output), which does something similar
to clear, but instead of erasing the buffer, only moves the active
eshell prompt to the top of the window. However, once you enter a
newline at the prompt, the prompt goes back to its original position,
something which clear isn't supposed to do.

The documentation suggests that the command is used to narrow the buffer
to the region containing the last command's output.

--
Vibhav Pant
address@hidden


reply via email to

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