all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: *shell* jumps up and down
Date: Sun, 24 Mar 2013 12:38:10 -0600	[thread overview]
Message-ID: <20130324183810.GA24399@hysteria.proulx.com> (raw)
In-Reply-To: <874ng0ptbz.fsf@riseup.net>

W. Greenhouse wrote:
> Looks like it's a comint-wide problem, not just shell.el.

Ah!  Comint!  I should have looked there.  That was the right place.

> I did some testing, and it seems--in Emacs 24.2, anyway--that this
> behavior is triggered by the combination of a `scroll-conservatively'
> value of <100 and `comint-scroll-show-maximum-output' set to t (which is
> the default).  Changing either of these lets Emacs scrolling behavior do
> the same thing it does in the rest of Emacs.

The problem seems to be with comint-scroll-show-maximum-output
interacting badly with automatic scrolling.  Either by themself would
be okay.  But the combination of them together is annoying.

Thank you for pointing me to comint-scroll-show-maximum-output!  That
is the answer for my problem.  I have done this and then the annoyance
I noted is fixed.  At least so far with my minimal use and testing.

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

But for the archive I could definite see people liking the opposite
behavior desiring this opposite behavior fix.  Each to their own.

  (setq scroll-conservatively 10000)

> This works in 24, anyway, but the scrolling stuff does seem to be in a
> state of flux; I've noticed that erc-scrolltobottom-mode does some
> jumping around now in 24, for example.  Possibly one of the NEWS items
> under "Scrolling changes" covers this, but if so, I don't understand.

I tested this on Emacs 24 (Debian Unstable and Wheezy 7) and Emacs 23
(Debian Stable Squeeze 6) and both behave the same and the same fix
addresses both of them nicely.  My sanity is restored!

I haven't been using erc but have been thinking about it.  I will keep
an eye open for problems there.

Thanks!
Bob



  reply	other threads:[~2013-03-24 18:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24 17:39 *shell* jumps up and down Bob Proulx
2013-03-24 18:04 ` W. Greenhouse
2013-03-24 18:38   ` Bob Proulx [this message]
2013-04-02 18:11     ` Bob Proulx

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=20130324183810.GA24399@hysteria.proulx.com \
    --to=bob@proulx.com \
    --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.