From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add function eshell/clear to clear current eshell buffer Date: Sun, 08 Mar 2015 17:45:44 +0200 Message-ID: <83lhj7lcgn.fsf@gnu.org> References: <874mpwhxml.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425829617 5530 80.91.229.3 (8 Mar 2015 15:46:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2015 15:46:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: vibhavp@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 08 16:46:47 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YUdPj-0003D2-Hx for ged-emacs-devel@m.gmane.org; Sun, 08 Mar 2015 16:46:47 +0100 Original-Received: from localhost ([::1]:39375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUdPj-0007uq-3v for ged-emacs-devel@m.gmane.org; Sun, 08 Mar 2015 11:46:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUdPR-0007lr-KK for emacs-devel@gnu.org; Sun, 08 Mar 2015 11:46:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUdPN-0002AE-Lh for emacs-devel@gnu.org; Sun, 08 Mar 2015 11:46:29 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUdPN-0002A7-De for emacs-devel@gnu.org; Sun, 08 Mar 2015 11:46:25 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NKW00100GLRPB00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 08 Mar 2015 17:46:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKW001WCH4NCRA0@a-mtaout22.012.net.il>; Sun, 08 Mar 2015 17:46:00 +0200 (IST) In-reply-to: <874mpwhxml.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183728 Archived-At: > From: vibhavp@gmail.com > Date: Sun, 08 Mar 2015 10:52:10 +0530 > > Eshell currently lacks a "clear" command. Since it cannot use the one > provided by the ncurses package, I added a patch which adds similar > functionality to eshell. It can be called by simply typing "clear" on > the eshell prompt. Thanks. 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, 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?