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: vibhavp
Subject: Re: [PATCH] Add function eshell/clear to clear current eshell buffer
Date: Sun, 08 Mar 2015 12:49:38 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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]