all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "William Xue" <william.xue@gmail.com>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: ls in eshell will cause the prompt jumped to mid of buf
Date: Wed, 19 Sep 2007 09:39:02 +0800	[thread overview]
Message-ID: <op.tyvn3z1shkv0w5@smiling> (raw)
In-Reply-To: <E1IXipi-0006Ol-R9@fencepost.gnu.org>

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 <rms@gnu.org> 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.

  reply	other threads:[~2007-09-19  1:39 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 [this message]
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
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.tyvn3z1shkv0w5@smiling \
    --to=william.xue@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.