From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: ls in eshell will cause the prompt jumped to mid of buf Date: Fri, 28 Sep 2007 14:07:02 -0400 Message-ID: <6qabr61x6h.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191002888 872 80.91.229.12 (28 Sep 2007 18:08:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 18:08:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: "William Xue" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 28 20:08:01 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 1IbKFo-0003h5-PK for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2007 20:07:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbKFl-0006ma-57 for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2007 14:07:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbKFi-0006m2-CM for emacs-devel@gnu.org; Fri, 28 Sep 2007 14:07:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbKFg-0006li-W3 for emacs-devel@gnu.org; Fri, 28 Sep 2007 14:07:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbKFg-0006lf-TF for emacs-devel@gnu.org; Fri, 28 Sep 2007 14:07:48 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbKFg-0007Uy-KB for emacs-devel@gnu.org; Fri, 28 Sep 2007 14:07:48 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IbKEw-0000jI-FT; Fri, 28 Sep 2007 14:07:02 -0400 X-Spook: Centro cryptanalysis Taiwan STARLAN SSL Freeh X-Ran: eES+*(`j{EwLN8@k#F6emH1hbipi%ALK?&AsX]OtTmsdZ>4WZ'I,7i0x>*@+t#2Z7h\`^Z X-Hue: red X-Attribution: GM In-Reply-To: (William Xue's message of "Fri, 28 Sep 2007 14:54:47 +0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:80001 Archived-At: "William Xue" wrote: > Can I set the 'scroll-margin' to 0 only for 'eshell'? I have tried > something on load hook, but failed. (add-hook 'eshell-mode-hook (lambda () (set (make-local-variable 'scroll-margin) 0)))