GNU bug report logs - #21139
25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input

Previous Next

Package: emacs;

Reported by: bruce.connor.am <at> gmail.com

Date: Mon, 27 Jul 2015 10:48:02 UTC

Severity: minor

Tags: confirmed

Found in version 25.0.50

Done: Artur Malabarba <bruce.connor.am <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21139 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: bruce.connor.am <at> gmail.com
Cc: 21139 <at> debbugs.gnu.org
Subject: Re: bug#21139: 25.0.50;
 shell-mode doesn't respect comint-scroll-to-bottom-on-output/input
Date: Mon, 27 Jul 2015 11:44:17 -0400
Artur Malabarba wrote:

> 1. Set `comint-scroll-to-bottom-on-output` and
> `comint-scroll-to-bottom-on-input` to nil via the customize interface
> (or via `setq-default`)
> 2. Run `M-x shell`
> 3. Run a couple of shell commands so you have enough output to fill
> the screen (`ls -al ~/` should do it).
> 4. Hit `C-l` twice so point is at the top of the screen.
> 5. Type `date` on the prompt and hit `RET`.
> 6. The window scrolls until point is at the bottom.

I think this is a misunderstanding.
Try (in a shell buffer with more than one page of output present):

sleep 5; date

and scroll Emacs to the top of the shell buffer before the sleep ends.
Compare the behaviour with comint-move-point-for-output nil and non-nil.




This bug report was last modified 9 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.