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: Fri, 28 Sep 2007 14:54:47 +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 1190962529 27767 80.91.229.12 (28 Sep 2007 06:55:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 06:55:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Glenn Morris" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 28 08:55:23 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 1Ib9kr-000488-KJ for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2007 08:55:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ib9ko-0002k5-1a for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2007 02:55:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ib9kk-0002fw-8f for emacs-devel@gnu.org; Fri, 28 Sep 2007 02:55:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ib9ke-0002Um-8p for emacs-devel@gnu.org; Fri, 28 Sep 2007 02:55:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ib9ke-0002Uc-4K for emacs-devel@gnu.org; Fri, 28 Sep 2007 02:55:04 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ib9kd-0000dL-JB for emacs-devel@gnu.org; Fri, 28 Sep 2007 02:55:03 -0400 Original-Received: from nz-out-0506.google.com ([64.233.162.224]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ib9kd-0003oL-1P for emacs-devel@gnu.org; Fri, 28 Sep 2007 02:55:03 -0400 Original-Received: by nz-out-0506.google.com with SMTP id f1so2054595nzc for ; Thu, 27 Sep 2007 23:54:58 -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=27GrbJyR8CvXet02Przz/0WcrJx0j4vFDZdX2Cvw4S4=; b=S21kgwpqIRAGt3BpOsUT5plAXclWKAPuRwjEAxOCbvGKyihlBnoS3y+lYJ9XkyNhBCPgqo3m0WSTFkX6myvygf6j32hFCQi6vqvO8o2Ue5qfy5wL/OjkBZWvyKQ8Y+Bl8kKFq5a51L4lX982CzkJSzAwbi9UPLevKn3ld0RsDzA= 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=T5W68XLvv4jDJWYusehDobZ7MPNKX7WWi+ktXXpwPdL7fnAPBNX0E8CepJcRcenK3n8QUhxEDHPu8Ve9PkEVEgmFJG1W1RKt1AX52B18smdG5V4RfpxmZbhll9usgh+qw7HplIYvdz1NEVhCIda2zPwS3a4FXxReF8NH6auDfPE= Original-Received: by 10.114.156.1 with SMTP id d1mr554277wae.1190962497586; Thu, 27 Sep 2007 23:54:57 -0700 (PDT) Original-Received: from smiling ( [222.92.124.222]) by mx.google.com with ESMTPS id v25sm3597738wah.2007.09.27.23.54.53 (version=SSLv3 cipher=OTHER); Thu, 27 Sep 2007 23:54:56 -0700 (PDT) User-Agent: Opera Mail/9.50 (Win32) In-Reply-To: X-detected-kernel: Linux 2.6 (newer, 2) 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:79983 Archived-At: On Thu, 20 Sep 2007 16:13:39 +0800, Glenn Morris wrote: > "William Xue" wrote: > >>>> Now, after hiting 'enter', the prompt is at the bottom, but when >>>> input a letter, it will move one or two line up. > [...] >> You can see the different between e:\sc_tmp_13.png and e:\sc_tmp_14.png. > > Yes, I can. It doesn't do that for me though. I found the issue was cause by the setting for 'scroll-margin'. I set 'scroll-margin' to 3, when input a char, the prompt scroll up 3 lines. Can I set the 'scroll-margin' to 0 only for 'eshell'? I have tried something on load hook, but failed. -- Yours, WilliamX