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 22:11:38 +0200 Message-ID: <831tkz6yh1.fsf@gnu.org> References: <874mpwhxml.fsf@gmail.com> <83lhj7lcgn.fsf@gnu.org> <87y4n7e1bn.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425845545 31297 80.91.229.3 (8 Mar 2015 20:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2015 20:12:25 +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 21:12:18 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 1YUhYe-0003Z9-8h for ged-emacs-devel@m.gmane.org; Sun, 08 Mar 2015 21:12:16 +0100 Original-Received: from localhost ([::1]:40407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUhYd-0000zE-IZ for ged-emacs-devel@m.gmane.org; Sun, 08 Mar 2015 16:12:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUhYR-0000z9-C6 for emacs-devel@gnu.org; Sun, 08 Mar 2015 16:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUhYJ-0007Vx-Gv for emacs-devel@gnu.org; Sun, 08 Mar 2015 16:12:03 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:38821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUhYJ-0007VJ-8W for emacs-devel@gnu.org; Sun, 08 Mar 2015 16:11:55 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NKW00300TDGLU00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 08 Mar 2015 22:11:53 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKW003CSTFTGL60@a-mtaout22.012.net.il>; Sun, 08 Mar 2015 22:11:53 +0200 (IST) In-reply-to: <87y4n7e1bn.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:183734 Archived-At: > From: vibhavp@gmail.com > Cc: emacs-devel@gnu.org > Date: Mon, 09 Mar 2015 00:58:12 +0530 > > > 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. Yes, exactly. It shouldn't be hard.