From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: ls in eshell will cause the prompt jumped to mid of buf Date: Wed, 19 Sep 2007 11:49:17 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1190217267 13423 80.91.229.12 (19 Sep 2007 15:54:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 15:54:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 17:54:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IY1sG-0000ay-IY for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 17:54:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY1sF-0000RL-7p for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 11:53:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IY1oI-0006I1-V4 for emacs-devel@gnu.org; Wed, 19 Sep 2007 11:49:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IY1oG-0006HL-Tn for emacs-devel@gnu.org; Wed, 19 Sep 2007 11:49:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY1oG-0006HE-Il for emacs-devel@gnu.org; Wed, 19 Sep 2007 11:49:52 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IY1oG-00060y-92 for emacs-devel@gnu.org; Wed, 19 Sep 2007 11:49:52 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IY1nh-0001us-OC; Wed, 19 Sep 2007 11:49:17 -0400 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79322 Archived-At: Can someone please DTRT, then ack? He also said I encounted this issue in emacs-unicode-2 in windows xp and 22.0.91.1 in ubuntu. Date: Wed, 19 Sep 2007 09:39:02 +0800 To: rms@gnu.org Subject: Re: ls in eshell will cause the prompt jumped to mid of buf From: "William Xue" Organization: SMILING Cc: emacs-devel@gnu.org Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 In-Reply-To: OK, please let me descript what I have done step by step. 1. emacs -q 2. M-x eshell 3. ls 4. ls 5. do 'ls' to list the files, until the prompt reachs the bottom 6. ls, then the prompt will scroll to the half of a page. I think it should be still stayed at the bottom. If you do 'ls' in a path where has lots of files and can not be displayed in one page, the prompt will appear in the half of the page directly, instead of the bottom of the page. Is it a intended behavior? If yes, how to disable the feature? I asked this (a intended behavior?), because if I do the following: 1. emacs -q 2. C-x C-f 3. then hit 'enter', 'enter'..... in the keyboard it will do the same behavior as in eshell (scroll to the half of a page). But after I set following in .emacs, it can scroll line by line. '(scroll-conservatively 10000) '(scroll-down-aggressively 0.01) '(scroll-margin 3) '(scroll-preserve-screen-position t) '(scroll-up-aggressively 0.01) But the above settings did not effect the 'eshell'. And I could not get help from *info* or the web (http://www.gnu.org/software/emacs/manual/html_node/eshell/Smart-scrolling.html), they are empty. At last, let me make clear my request, that is: how to scroll line by line in eshell? Thanks in advance! On Wed, 19 Sep 2007 03:34:06 +0800, Richard Stallman wrote: > in eshell, if the files listed by ls are too many to display in > current > view of the buf, the prompt will scroll to the midle of it. > > Could you please send me a *precise* test case for this bug? The test > case should start with `emacs -q', so that your .emacs file does not > affect it, and it should show exactly what text to put in the buffer, > what commands to execute, and how and where to click. Also please say > exactly what incorrect results you get.