all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tyler Smith <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: shell-mode - make it stop!!!
Date: 06 Jun 2007 01:02:31 GMT	[thread overview]
Message-ID: <slrnf6c5dr.rvt.tyler.smith@blackbart.mynetwork> (raw)
In-Reply-To: 20070605195905.3bbebec8@zooty

On 2007-06-05, Tom Horsley <tom.horsley@att.net> wrote:
> The NEWS file says this about shell-mode
>
>  ** Changes in Shell Mode
>
>  *** Shell output normally scrolls so that the input line is at the
>  bottom of the window -- thus showing the maximum possible text.  (This
>  is similar to the way sequential output to a terminal works.)
>
> Unfortunately it doesn't say how the devil to make this insanely
> annoying behavior stop :-). Any way to disable it? (One of the reasons
> I liked emacs shell mode was because it didn't act this way - if
> I wanted an ordinary terminal, I'd use one of them :-).

You might check out the emacs manual for more detailed instructions
than are generally provided with NEWS files. This is from Emacs 21:

29.15.6 Shell Mode Options
--------------------------

<snip>

   If `comint-scroll-show-maximum-output' is non-`nil', then scrolling
due to the arrival of output tries to place the last line of text at
the bottom line of the window, so as to show as much useful text as
possible.  (This mimics the scrolling behavior of many terminals.)  The
default is `nil'.

<snip>

So it looks like the default has changed. Something along the lines of 

(setq comint-scroll-show-maximum-output nil)

in your .emacs should fix the behaviour, but check the manual of your
Emacs to be sure.

HTH,

Tyler

  reply	other threads:[~2007-06-06  1:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 23:59 shell-mode - make it stop!!! Tom Horsley
2007-06-06  1:02 ` Tyler Smith [this message]
2007-06-06  1:22   ` Tom Horsley
2007-06-06  2:06     ` Nick Roberts
2007-06-06  8:27     ` Kim F. Storm

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=slrnf6c5dr.rvt.tyler.smith@blackbart.mynetwork \
    --to=tyler.smith@mail.mcgill.ca \
    --cc=help-gnu-emacs@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.