From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <7btwspy59q.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438011924 9708 80.91.229.3 (27 Jul 2015 15:45:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2015 15:45:24 +0000 (UTC) Cc: 21139@debbugs.gnu.org To: bruce.connor.am@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 17:45:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZJkaT-0001TD-7z for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 17:45:09 +0200 Original-Received: from localhost ([::1]:54203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkaS-0006MJ-JM for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 11:45:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkaO-0006Ke-1M for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJkaN-0000MY-6j for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:45:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkaN-0000Lv-3R for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZJkaM-00081S-Lc for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jul 2015 15:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21139 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21139-submit@debbugs.gnu.org id=B21139.143801186530726 (code B ref 21139); Mon, 27 Jul 2015 15:45:02 +0000 Original-Received: (at 21139) by debbugs.gnu.org; 27 Jul 2015 15:44:25 +0000 Original-Received: from localhost ([127.0.0.1]:60386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJkZj-0007zV-Lg for submit@debbugs.gnu.org; Mon, 27 Jul 2015 11:44:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55626) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJkZh-0007zD-81 for 21139@debbugs.gnu.org; Mon, 27 Jul 2015 11:44:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJkZg-0008LW-8o for 21139@debbugs.gnu.org; Mon, 27 Jul 2015 11:44:20 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:51741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkZe-0008KZ-Cb; Mon, 27 Jul 2015 11:44:18 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZJkZe-0002Lc-0D; Mon, 27 Jul 2015 11:44:18 -0400 X-Spook: ANC csim Power outage Chemical BLU-97 A/B Twister nitrate X-Ran: AcK.Mslk1%((l-gMSY*eG"V%FQRY)eb$[qQOCer}!_>U$Q2J (Artur Malabarba's message of "Mon, 27 Jul 2015 11:46:56 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105165 Archived-At: 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.