From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William Xue" Newsgroups: gmane.emacs.devel Subject: Re: ls in eshell will cause the prompt jumped to mid of buf Date: Wed, 19 Sep 2007 09:39:02 +0800 Organization: SMILING Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190166037 20637 80.91.229.12 (19 Sep 2007 01:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 01:40:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 03:40:36 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 1IXoYI-0005Pg-Jl for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 03:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXoYG-0002vT-Rm for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 21:40:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXoX9-0002LF-Ry for emacs-devel@gnu.org; Tue, 18 Sep 2007 21:39:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXoX7-0002KQ-Af for emacs-devel@gnu.org; Tue, 18 Sep 2007 21:39:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXoX7-0002KK-6W for emacs-devel@gnu.org; Tue, 18 Sep 2007 21:39:17 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.178]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXoX6-0000ay-Pz for emacs-devel@gnu.org; Tue, 18 Sep 2007 21:39:17 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so61146wah for ; Tue, 18 Sep 2007 18:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:to:subject:from:organization:cc:content-type:message-id:user-agent:mime-version:references:in-reply-to:content-transfer-encoding; bh=SbtyPApx0p3TJsu4SVC8VSeNUHiP7NC0T0MVcS8f2D4=; b=pOSZ/0e6BlR8sYUmuD4dlZP5v2o7VfMZNS2SAye1jqfW7m/qa2oqrMfOwtKShqWpGJJmgmquhFQ6xg54ZsnDSF+y1nHYUx7h4gOg1X7GQLqn/y0zOsB9gqOBgZp9OH8XyXzD5QoHNgmyyceKbESmsO8eohtKsUCsgxKZmwxUPfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:from:organization:cc:content-type:message-id:user-agent:mime-version:references:in-reply-to:content-transfer-encoding; b=qnlUUELFjsIqeDj+jNG65LNihsCZxlnKAgCz4KJYOGENg5VSNHUc+OuEBb+IBuP8z/O+8sFZee0UroTOEE8e+Ewbdbf+6YW6PQcNSQi5wVDUHbwaFs5q3rVI/ImZ2MNSFX8I2nUnB0aPJP95J1T2Mf4kKjJO/LkrzZhg0jjZB0I= Original-Received: by 10.114.177.1 with SMTP id z1mr137199wae.1190165955120; Tue, 18 Sep 2007 18:39:15 -0700 (PDT) Original-Received: from smiling ( [222.92.100.130]) by mx.google.com with ESMTPS id j6sm349318wah.2007.09.18.18.39.10 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2007 18:39:13 -0700 (PDT) User-Agent: Opera Mail/9.50 (Win32) In-Reply-To: X-Detected-Kernel: Linux 2.6 (newer, 2) 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:79253 Archived-At: 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.