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 12:40:41 +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 1190176866 11212 80.91.229.12 (19 Sep 2007 04:41:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 04:41:06 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Glenn Morris" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 06:41:05 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 1IXrN2-0005bx-1d for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 06:41:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXrN0-0002Jp-CZ for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 00:41:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXrMv-0002Jf-Lz for emacs-devel@gnu.org; Wed, 19 Sep 2007 00:40:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXrMt-0002JE-Cq for emacs-devel@gnu.org; Wed, 19 Sep 2007 00:40:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXrMt-0002JB-6s for emacs-devel@gnu.org; Wed, 19 Sep 2007 00:40:55 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXrMs-00062Q-GR for emacs-devel@gnu.org; Wed, 19 Sep 2007 00:40:54 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so79104rvf for ; Tue, 18 Sep 2007 21:40:53 -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:mime-version:references:content-transfer-encoding:message-id:in-reply-to:user-agent; bh=/0k8DKMt8g89R9Z6QsMIpaX9A2w8QFVPdoDtrXf/7ys=; b=jB0bBqo18poAuiQYjJs7BjJALnyMKTW+ftDAshhUcpFmlrimZmwUabjB4wTOdekHuU3GEAF8jH3dKrOlqRdcpHimTHMJcapbz1KUh8Xp9ONnmKS2vFuPCuJIVFfy5SPeu0P30os25w3p8hzBdFwbvcJeNT70lVbqbQ0skYQmJCw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:from:organization:cc:content-type:mime-version:references:content-transfer-encoding:message-id:in-reply-to:user-agent; b=I/pw69bAgYIyIK7F7qzCgv21Gj7L1pHtV/w6grlHkXK5QCS6TbZ2m/yn2Jjm1dH+sY/LUaqm4hjRNia2bJhR544syJQbvcb/YDXwETnS42YWXbEQK5NkvPSvg7PvyxdMQrbofwcl+vz9TUpTAddvTVTiBfrbt1t5k55+LHQWKr4= Original-Received: by 10.140.148.3 with SMTP id v3mr71208rvd.1190176853080; Tue, 18 Sep 2007 21:40:53 -0700 (PDT) Original-Received: from smiling ( [222.92.124.222]) by mx.google.com with ESMTPS id g6sm568284rvb.2007.09.18.21.40.47 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2007 21:40:52 -0700 (PDT) In-Reply-To: User-Agent: Opera Mail/9.50 (Win32) 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:79272 Archived-At: On Wed, 19 Sep 2007 11:32:35 +0800, Glenn Morris wrote: > "William Xue" wrote: > >> At last, let me make clear my request, that is: how to scroll line >> by line in eshell? > > (add-hook 'eshell-output-filter-functions > 'eshell-postoutput-scroll-to-bottom) Thanks, it makes things closer. Now, after hiting 'enter', the prompt is at the bottom, but when input a letter, it will move one or two line up. > > I think this should be there by default (since there are variables to > control _how_ it scrolls, as for comint).