all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "William Xue" <william.xue@gmail.com>
To: "Glenn Morris" <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: ls in eshell will cause the prompt jumped to mid of buf
Date: Sat, 29 Sep 2007 11:31:59 +0800	[thread overview]
Message-ID: <op.tzeb3llphkv0w5@smiling> (raw)
In-Reply-To: <6qabr61x6h.fsf@fencepost.gnu.org>

On Sat, 29 Sep 2007 02:07:02 +0800, Glenn Morris <rgm@gnu.org> wrote:

> "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)))

Eh, yes, make-local-variable.

Thank you very much!

-- 
Yours,
WilliamX

  reply	other threads:[~2007-09-29  3:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18  5:58 ls in eshell will cause the prompt jumped to mid of buf William Xue
2007-09-18 19:34 ` Richard Stallman
2007-09-19  1:39   ` William Xue
2007-09-19  3:32     ` Glenn Morris
2007-09-19  4:40       ` William Xue
2007-09-20  1:39         ` Glenn Morris
2007-09-20  7:43           ` William Xue
2007-09-20  8:13             ` Glenn Morris
2007-09-20  8:30               ` William Xue
2007-09-21 12:23                 ` Richard Stallman
2007-09-28  6:54               ` William Xue
2007-09-28 18:07                 ` Glenn Morris
2007-09-29  3:31                   ` William Xue [this message]
2007-09-19 15:49     ` Richard Stallman
2007-09-21  3:00       ` Glenn Morris
2007-09-21 22:33         ` Richard Stallman
2007-09-22  2:44           ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2007-09-19 15:49 Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tzeb3llphkv0w5@smiling \
    --to=william.xue@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.