From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba 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 18:01:20 +0100 Message-ID: References: <7btwspy59q.fsf@fencepost.gnu.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1438016540 24307 80.91.229.3 (27 Jul 2015 17:02:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2015 17:02:20 +0000 (UTC) Cc: 21139@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 19:02:11 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 1ZJlmz-0005Hh-Qy for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 19:02:09 +0200 Original-Received: from localhost ([::1]:54684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJlmz-0002nz-71 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 13:02:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJlmw-0002nr-Ly for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 13:02:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJlms-0000y9-Dg for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 13:02:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJlms-0000y5-BJ for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 13:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZJlms-0006Kf-5q for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 13:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jul 2015 17:02: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.143801648324296 (code B ref 21139); Mon, 27 Jul 2015 17:02:02 +0000 Original-Received: (at 21139) by debbugs.gnu.org; 27 Jul 2015 17:01:23 +0000 Original-Received: from localhost ([127.0.0.1]:60464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJlmF-0006Jm-7j for submit@debbugs.gnu.org; Mon, 27 Jul 2015 13:01:23 -0400 Original-Received: from mail-lb0-f175.google.com ([209.85.217.175]:35690) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJlmD-0006Jf-Vz for 21139@debbugs.gnu.org; Mon, 27 Jul 2015 13:01:22 -0400 Original-Received: by lblf12 with SMTP id f12so57771912lbl.2 for <21139@debbugs.gnu.org>; Mon, 27 Jul 2015 10:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=1TJzSwTeotWi/dnr5rQwXugzXIqKKOxiHbhunm0pTJc=; b=sKyW+Dl3fI9JDj+jck4BSOcNImSxqkHg/taa6n7rnoG3hSreRwmOdcIDejkztxUElR R/ZaTYH6UcAr6unaIIXM2nHqdTmIL/eFxnLsSbM4F0hMBQNjR6QIyc2BIuYtzvXEZTAq C4VGk4UxNPGm61ukpa9YcqOoIoJKYXUfol5EbK4A66lpzOuDvxpyQ67MjgD41cq+ali8 soyLwCXTNgGYEJV6IIilNNwSgVPoCs2w/E4Q7qyXg/+OHkpogo7q2rfCpnRSoPkZrKPR 9cu9akjry6VBvYXkCESYMa8W22GJFuLyEzp2JhKf0wB+CTR5c7+7iaNwD4O6auCcYJzu UUrQ== X-Received: by 10.152.4.163 with SMTP id l3mr28464000lal.35.1438016480881; Mon, 27 Jul 2015 10:01:20 -0700 (PDT) Original-Received: by 10.25.134.139 with HTTP; Mon, 27 Jul 2015 10:01:20 -0700 (PDT) In-Reply-To: <7btwspy59q.fsf@fencepost.gnu.org> X-Google-Sender-Auth: 9BXSAZLJfsVDjUSIS-Asz3Yw9os 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:105172 Archived-At: > 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. Thanks, that helped understant what the output variable is supposed to do, and it does match the docstring (which explains that it's about the point, not the window). But what about the input variable? If I set it to nil, the window still scrolls whenever I hit RET. And the docstring seems to say it shouldn't: > Controls whether input to interpreter causes window to scroll. > If nil, then do not scroll.