From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 27 06:47:04 2015 Received: (at submit) by debbugs.gnu.org; 27 Jul 2015 10:47:04 +0000 Received: from localhost ([127.0.0.1]:59673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJfvz-0006At-S7 for submit@debbugs.gnu.org; Mon, 27 Jul 2015 06:47:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51247) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJfvx-0006AU-K5 for submit@debbugs.gnu.org; Mon, 27 Jul 2015 06:47:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJfvw-0000tf-Fn for submit@debbugs.gnu.org; Mon, 27 Jul 2015 06:47:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJfvw-0000tY-Dg for submit@debbugs.gnu.org; Mon, 27 Jul 2015 06:47:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJfvv-0006sF-NK for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 06:47:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJfvu-0000s2-Tm for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 06:46:59 -0400 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:34117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJfvu-0000rp-KX for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 06:46:58 -0400 Received: by lbbzr7 with SMTP id zr7so50573739lbb.1 for ; Mon, 27 Jul 2015 03:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to :content-type; bh=Fmc1dhT56wzPBiBbRY96HPQTXce5/4ATma34Tzpt7HI=; b=W7yi0a3NSysxg0WUxe3ICph8dnVPFm422zVLRol4zem6FboTjuHiQtqH5iKL/wVgm2 sI9p3Xhta75FiWed1g7G6es2tSYbnqhkBBnIm5SVsDfSgnHG4x/Y2EBSILjBjOTakuBz 76YJ9SMcTS1f9FNxoeVfFFAs4sibpT67gQb9xiTKS0gY8yi3i/AJcOWFFd/ifja4SgYI 4tZz75B9xnUVbsrs0aQ5cNMwmMSihQpZtOFYKI7hSGSEH03Hazhgj0YwCTyCswTWqn8i +6C77ibU+GbVScVhVo9vtUDuCe5hLDNHbqeVtFZlJJ7jFovaeva2BlWK5hsLNO8buYZa cUZA== MIME-Version: 1.0 X-Received: by 10.112.120.134 with SMTP id lc6mr26443349lbb.86.1437994016813; Mon, 27 Jul 2015 03:46:56 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Mon, 27 Jul 2015 03:46:56 -0700 (PDT) Date: Mon, 27 Jul 2015 11:46:56 +0100 X-Google-Sender-Auth: SC5MetRo0fovKjtr45-NG6iQgcE Message-ID: Subject: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input From: Artur Malabarba To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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. It would seem that, by setting those variables to nil, the window should not scroll. If this is not intended to be the case, then these variables' docstrings are unclear to me. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 27 11:44:25 2015 Received: (at 21139) by debbugs.gnu.org; 27 Jul 2015 15:44:25 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,BAYES_05, RP_MATCHES_RCVD,UNRESOLVED_TEMPLATE autolearn=disabled version=3.3.2 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 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 From: Glenn Morris To: bruce.connor.am@gmail.com Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input References: 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") Message-ID: <7btwspy59q.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 21139 Cc: 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 27 13:01:23 2015 Received: (at 21139) by debbugs.gnu.org; 27 Jul 2015 17:01:23 +0000 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 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 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== MIME-Version: 1.0 X-Received: by 10.152.4.163 with SMTP id l3mr28464000lal.35.1438016480881; Mon, 27 Jul 2015 10:01:20 -0700 (PDT) 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> References: <7btwspy59q.fsf@fencepost.gnu.org> Date: Mon, 27 Jul 2015 18:01:20 +0100 X-Google-Sender-Auth: 9BXSAZLJfsVDjUSIS-Asz3Yw9os Message-ID: Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input From: Artur Malabarba To: Glenn Morris Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21139 Cc: 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 28 15:55:44 2015 Received: (at 21139) by debbugs.gnu.org; 28 Jul 2015 19:55:44 +0000 Received: from localhost ([127.0.0.1]:32998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKAyV-0000Q5-RY for submit@debbugs.gnu.org; Tue, 28 Jul 2015 15:55:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44873) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKAyT-0000Pw-Gt for 21139@debbugs.gnu.org; Tue, 28 Jul 2015 15:55:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKAyS-000644-Ae for 21139@debbugs.gnu.org; Tue, 28 Jul 2015 15:55:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKAyQ-00063U-0l; Tue, 28 Jul 2015 15:55:38 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZKAyP-0004aY-IE; Tue, 28 Jul 2015 15:55:37 -0400 From: Glenn Morris To: bruce.connor.am@gmail.com Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input References: <7btwspy59q.fsf@fencepost.gnu.org> X-Spook: Defcon Mudslide Quarnantine Keylogger TTP Aid Artistic X-Ran: IR\Rpti2S`h=LA-P^Ug`ZI^B*tH?nlBLG71r(:Z%Z:j^e|]PAX%K{PwJt'4:QyY*9M$s8U X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 28 Jul 2015 15:55:37 -0400 In-Reply-To: (Artur Malabarba's message of "Mon, 27 Jul 2015 18:01:20 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 21139 Cc: 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) Artur Malabarba wrote: > But what about the input variable? I assume it's supposed to work like in a terminal emulator: scroll back to look at earlier output, typing new input does not jump to the end. But in Emacs, when you scroll back to look at earlier output and start typing, if this option is nil then input is entered at point, not the end of the buffer. The whole thing seems kind of nonsensical. It only works sensibly if the option is non-nil. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 28 15:58:25 2015 Received: (at control) by debbugs.gnu.org; 28 Jul 2015 19:58:25 +0000 Received: from localhost ([127.0.0.1]:33002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKB16-0000UB-GY for submit@debbugs.gnu.org; Tue, 28 Jul 2015 15:58:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45671) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKB15-0000U4-7p for control@debbugs.gnu.org; Tue, 28 Jul 2015 15:58:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKB14-000779-CV for control@debbugs.gnu.org; Tue, 28 Jul 2015 15:58:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKB14-00076y-96 for control@debbugs.gnu.org; Tue, 28 Jul 2015 15:58:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZKB14-0004tD-0L for control@debbugs.gnu.org; Tue, 28 Jul 2015 15:58:22 -0400 Subject: control message for bug 21139 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 28 Jul 2015 15:58:22 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) tag 21139 confirmed From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 05:03:28 2015 Received: (at 21139) by debbugs.gnu.org; 8 Aug 2015 09:03:28 +0000 Received: from localhost ([127.0.0.1]:50597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZO02J-0003e2-JI for submit@debbugs.gnu.org; Sat, 08 Aug 2015 05:03:27 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:60029) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZO02H-0003dq-1B for 21139@debbugs.gnu.org; Sat, 08 Aug 2015 05:03:26 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NSR00000AM2MA00@mtaout26.012.net.il> for 21139@debbugs.gnu.org; Sat, 08 Aug 2015 12:06:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NSR00KCAANEVH50@mtaout26.012.net.il>; Sat, 08 Aug 2015 12:06:50 +0300 (IDT) Date: Sat, 08 Aug 2015 12:03:22 +0300 From: Eli Zaretskii Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83a8u2qhid.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21139 Cc: 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 27 Jul 2015 11:46:56 +0100 > From: Artur Malabarba > > 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. > > > It would seem that, by setting those variables to nil, the window > should not scroll. If this is not intended to be the case, then these > variables' docstrings are unclear to me. The variable comint-scroll-to-bottom-on-output (a.k.a. comint-move-point-for-output) control whether _point_ moves. In the scenario you described, point does not move, it stays at EOB. What happens is that the window is scrolled to place point on the last line of the window; this is controlled by another variable, comint-scroll-show-maximum-output, which attempts to show as much of the shell buffer as possible. if you set it to nil, you will have what you want in this scenario. IOW, this doesn't look like a bug, but intended behavior, and you need to customize another variable to have what you want. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 14:01:58 2015 Received: (at 21139-done) by debbugs.gnu.org; 8 Aug 2015 18:01:58 +0000 Received: from localhost ([127.0.0.1]:50801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZO8RR-0000nV-Td for submit@debbugs.gnu.org; Sat, 08 Aug 2015 14:01:58 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:35232) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZO8RP-0000nN-Tx for 21139-done@debbugs.gnu.org; Sat, 08 Aug 2015 14:01:56 -0400 Received: by lahi9 with SMTP id i9so6645264lah.2 for <21139-done@debbugs.gnu.org>; Sat, 08 Aug 2015 11:01:54 -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=EbDcJYfsW7e9rrwr2aURkJ6Ow2+Kme1Cldiw5G9WEg0=; b=r9zYa1nHzfHPerTsOUDi8g2De1VbloTVz6smWveMymh6MYL1UVKHahyUF+wX++nGzj U+pfa5RtHstoSdSLudebGm9q2/nrnJsaHX0coIu2nJKdfC7i1AuNlSoRcoIV+G/Wp++z wwRpXn77s3DPzyrXnnjWynHAysFjTVc42hSdG9gC8GBMXyT04Kkx8w2/4HwAbd2pM4od J0LfwLeYldPrMq34riPu1d8kLhQBaQ3fJSmFOHN/PWD8ZCJ+WywaySAFvfh526RRzRXR q6VnfZJQ/AarpoJBQ6l7xnKfEdnv2nLkWyCREaAG71h9e3lxpiWwLAker/Az7d8LN3rp zq9w== MIME-Version: 1.0 X-Received: by 10.112.138.199 with SMTP id qs7mr13512947lbb.21.1439056914665; Sat, 08 Aug 2015 11:01:54 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Sat, 8 Aug 2015 11:01:54 -0700 (PDT) In-Reply-To: <83a8u2qhid.fsf@gnu.org> References: <83a8u2qhid.fsf@gnu.org> Date: Sat, 8 Aug 2015 19:01:54 +0100 X-Google-Sender-Auth: Fdm8Wr3MvrLGZPM_FUfIsEzkA68 Message-ID: Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21139-done Cc: 21139-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) THanks Eli. Indeed, that's what I was looking for. I'll close this now. 2015-08-08 10:03 GMT+01:00 Eli Zaretskii : >> Date: Mon, 27 Jul 2015 11:46:56 +0100 >> From: Artur Malabarba >> >> 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. >> >> >> It would seem that, by setting those variables to nil, the window >> should not scroll. If this is not intended to be the case, then these >> variables' docstrings are unclear to me. > > The variable comint-scroll-to-bottom-on-output > (a.k.a. comint-move-point-for-output) control whether _point_ moves. > In the scenario you described, point does not move, it stays at EOB. > What happens is that the window is scrolled to place point on the last > line of the window; this is controlled by another variable, > comint-scroll-show-maximum-output, which attempts to show as much of > the shell buffer as possible. if you set it to nil, you will have > what you want in this scenario. > > IOW, this doesn't look like a bug, but intended behavior, and you need > to customize another variable to have what you want. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 22:26:43 2015 Received: (at 21139) by debbugs.gnu.org; 9 Aug 2015 02:26:43 +0000 Received: from localhost ([127.0.0.1]:50885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOGJv-0003pM-1r for submit@debbugs.gnu.org; Sat, 08 Aug 2015 22:26:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42995) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOGJs-0003pD-BS for 21139@debbugs.gnu.org; Sat, 08 Aug 2015 22:26:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOGJr-0003KP-M0 for 21139@debbugs.gnu.org; Sat, 08 Aug 2015 22:26:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOGJr-0003KL-Ih; Sat, 08 Aug 2015 22:26:39 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZOGJp-0003F9-QE; Sat, 08 Aug 2015 22:26:38 -0400 From: Glenn Morris To: 21139@debbugs.gnu.org Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input References: <83a8u2qhid.fsf@gnu.org> X-Spook: underground Bellcore Baranyi Spillover HAMASMOIS Coast X-Ran: nEi?+k6Y%eJ}Ie&QOk`|c[p/5AJ*{8q$i,}j]zOKt,p-5%57;k\Gb,eUqpJFu6= (Artur Malabarba's message of "Sat, 8 Aug 2015 19:01:54 +0100") Message-ID: <3z7fp58aea.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 21139 Cc: bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) Artur Malabarba wrote: > THanks Eli. Indeed, that's what I was looking for. > I'll close this now. But you previously asked about the -input functionality too, and I agreed that it seemed broken to me. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 09 05:05:10 2015 Received: (at 21139) by debbugs.gnu.org; 9 Aug 2015 09:05:10 +0000 Received: from localhost ([127.0.0.1]:50976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOMXW-0004i6-4G for submit@debbugs.gnu.org; Sun, 09 Aug 2015 05:05:10 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:36838) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOMXT-0004hw-UC for 21139@debbugs.gnu.org; Sun, 09 Aug 2015 05:05:08 -0400 Received: by lagz9 with SMTP id z9so40611541lag.3 for <21139@debbugs.gnu.org>; Sun, 09 Aug 2015 02:05:07 -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=EOAobdieAecD24RCfDTYn0vr+ng4G0v3ILyGKeda3t0=; b=k3P+1uHuvd41eYwOZCbDyKvijtoizENUzxQX295R8zQzKl86GLEVO4yL5GdCIz8vkk H9ZAG26yACGugYpLF/1A0+UX/bNZ6qJa/or1fqU5R/Pl3BIGid9nVkhliEI3uHWtNcUM YdzwdvweqG7VwLQH4Te/wCN0maCEzfaqd5oLmzK+PBGg++1kcZ3ofc0zjKX+bxgVd2bq RatAbH2jyai5z9NqqP2LpYJvemQeJlMQDyUq1NLShzdeap8wC4LLLyBApgiRSwUfF8V2 5BsUf0/0MzU9cm7tXnzo7UQU+YgcOxAzAfjoKdsBPj1sC4aC9sj2f5XDIjA25TbQmVPT dIxQ== MIME-Version: 1.0 X-Received: by 10.112.67.65 with SMTP id l1mr5477022lbt.86.1439111107175; Sun, 09 Aug 2015 02:05:07 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Sun, 9 Aug 2015 02:05:07 -0700 (PDT) In-Reply-To: <3z7fp58aea.fsf@fencepost.gnu.org> References: <83a8u2qhid.fsf@gnu.org> <3z7fp58aea.fsf@fencepost.gnu.org> Date: Sun, 9 Aug 2015 10:05:07 +0100 X-Google-Sender-Auth: ZyQqDv-rapBrY07b27Dfi7w3iyg Message-ID: Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input From: Artur Malabarba To: Glenn Morris Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21139 Cc: 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-08-09 3:26 GMT+01:00 Glenn Morris : > Artur Malabarba wrote: > >> THanks Eli. Indeed, that's what I was looking for. >> I'll close this now. > > But you previously asked about the -input functionality too, and I > agreed that it seemed broken to me. True. Sorry I forgot about your message. The behaviour I was looking for is that of `comint-scroll-show-maximum-output'. But indeed, I still don't completely understand what that `input' variable does. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 09 10:49:46 2015 Received: (at 21139) by debbugs.gnu.org; 9 Aug 2015 14:49:46 +0000 Received: from localhost ([127.0.0.1]:51361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZORv0-0006Cv-DG for submit@debbugs.gnu.org; Sun, 09 Aug 2015 10:49:46 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:40292) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZORuf-0006CT-5Z for 21139@debbugs.gnu.org; Sun, 09 Aug 2015 10:49:44 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NST00400KZADL00@mtaout26.012.net.il> for 21139@debbugs.gnu.org; Sun, 09 Aug 2015 17:52:52 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NST005OILC3GS00@mtaout26.012.net.il>; Sun, 09 Aug 2015 17:52:52 +0300 (IDT) Date: Sun, 09 Aug 2015 17:49:15 +0300 From: Eli Zaretskii Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83y4hkplec.fsf@gnu.org> References: <83a8u2qhid.fsf@gnu.org> <3z7fp58aea.fsf@fencepost.gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21139 Cc: rgm@gnu.org, 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 9 Aug 2015 10:05:07 +0100 > From: Artur Malabarba > Cc: 21139@debbugs.gnu.org > > But indeed, I still don't completely understand what that `input' > variable does. AFAICS, it moves point to EOB if it is not already there, when user input is expected. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 05:26:20 2015 Received: (at 21139) by debbugs.gnu.org; 10 Aug 2015 09:26:21 +0000 Received: from localhost ([127.0.0.1]:51763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOjLY-0007hj-LJ for submit@debbugs.gnu.org; Mon, 10 Aug 2015 05:26:20 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:33988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOjLW-0007ha-HO for 21139@debbugs.gnu.org; Mon, 10 Aug 2015 05:26:19 -0400 Received: by lbbtg9 with SMTP id tg9so53788867lbb.1 for <21139@debbugs.gnu.org>; Mon, 10 Aug 2015 02:26:17 -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=BGD4/GkXThxCQ4buZmLs/DiazzpsiYrkMmzbncBkBLE=; b=bemuMaVTGGheCN8nh86Ic55CTQNQ2+dyTKXaQhDFdIJjHPmHXPhz2/EAGLRubYSlNP 9mbDp50J/k8R273/T2GaU9otVUw5JXLDxrQoicnD1k7rQs/ORzzoRZ/CrfdW5+QmtT41 jPCySqBWTao9loQoWmDetcDNp5xfB1szWEkwrl/Pcg9rSfjmxxSC5m/GLfnPcBRB6sSb 4U6NAbpm+MrLQpcpnV66cf/VDFXyAuKQh5+y/tG32xs+0CYeI1ZBUFHztKDrB+zNkotf kOhL5ZdGTB8978gTWICKWUELPgIoe+txWoh06uVmdH2zL89z+yt6OEey3pBAfn4hdDnK Pm6Q== MIME-Version: 1.0 X-Received: by 10.152.26.163 with SMTP id m3mr19290694lag.86.1439198777491; Mon, 10 Aug 2015 02:26:17 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Mon, 10 Aug 2015 02:26:17 -0700 (PDT) In-Reply-To: <83y4hkplec.fsf@gnu.org> References: <83a8u2qhid.fsf@gnu.org> <3z7fp58aea.fsf@fencepost.gnu.org> <83y4hkplec.fsf@gnu.org> Date: Mon, 10 Aug 2015 10:26:17 +0100 X-Google-Sender-Auth: q9_PorWa-0BqUBV8bnSFPUIVJFM Message-ID: Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21139 Cc: Glenn Morris , 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > AFAICS, it moves point to EOB if it is not already there, when user > input is expected. What's an exmaple of 'input is expected'? When the shell prompt is displayed? I've set all 3 variables to nil, but my cursor is still moved to the end of the buffer when the output+prompt are displayed, no matter where it was before. (Tested by runnning 'sleep 2; date' and then moving the point around.) From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 11 14:52:01 2015 Received: (at 21139) by debbugs.gnu.org; 11 Aug 2015 18:52:01 +0000 Received: from localhost ([127.0.0.1]:53464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPEeW-0003UD-Bk for submit@debbugs.gnu.org; Tue, 11 Aug 2015 14:52:00 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:45094) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPEeT-0003U1-Eb for 21139@debbugs.gnu.org; Tue, 11 Aug 2015 14:51:58 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NSX00G00LPFLT00@a-mtaout20.012.net.il> for 21139@debbugs.gnu.org; Tue, 11 Aug 2015 21:51:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NSX00GVVLQJHS20@a-mtaout20.012.net.il>; Tue, 11 Aug 2015 21:51:55 +0300 (IDT) Date: Tue, 11 Aug 2015 21:51:45 +0300 From: Eli Zaretskii Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83614lpsji.fsf@gnu.org> References: <83a8u2qhid.fsf@gnu.org> <3z7fp58aea.fsf@fencepost.gnu.org> <83y4hkplec.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21139 Cc: rgm@gnu.org, 21139@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 10 Aug 2015 10:26:17 +0100 > From: Artur Malabarba > Cc: Glenn Morris , 21139@debbugs.gnu.org > > > AFAICS, it moves point to EOB if it is not already there, when user > > input is expected. > > What's an exmaple of 'input is expected'? When the shell prompt is displayed? > > I've set all 3 variables to nil, but my cursor is still moved to the > end of the buffer when the output+prompt are displayed, no matter > where it was before. (Tested by runnning 'sleep 2; date' and then > moving the point around.) Not sure why you consider the scenario you described relevant for what comint-scroll-to-bottom-on-input controls. The scenario that I think is relevant is this: . M-x shell . move point back to some place in the buffer other than the last shell prompt . type something When comint-scroll-to-bottom-on-input is non-nil, point moves to the last shell prompt before your input is inserted; when the variable is nil, whatever you type is inserted where point was, without moving it anywhere. This behavior seems consistent with the doc string of comint-preinput-scroll-to-bottom, the only function that references that variable: Go to the end of buffer in all windows showing it. Movement occurs if point in the selected window is not after the process mark, and `this-command' is an insertion command. Insertion commands recognized are `self-insert-command', `comint-magic-space', `yank', and `hilit-yank'. Depends on the value of `comint-scroll-to-bottom-on-input'. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 01:57:31 2015 Received: (at 21139) by debbugs.gnu.org; 12 Aug 2015 05:57:31 +0000 Received: from localhost ([127.0.0.1]:53753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPP2Y-0006gk-Pw for submit@debbugs.gnu.org; Wed, 12 Aug 2015 01:57:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57374) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPP2X-0006gc-Dz for 21139@debbugs.gnu.org; Wed, 12 Aug 2015 01:57:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPP2W-0001Hj-Ky for 21139@debbugs.gnu.org; Wed, 12 Aug 2015 01:57:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPP2V-0001G9-0s; Wed, 12 Aug 2015 01:57:27 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZPP2T-0002Cf-RL; Wed, 12 Aug 2015 01:57:25 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input References: <83a8u2qhid.fsf@gnu.org> <3z7fp58aea.fsf@fencepost.gnu.org> <83y4hkplec.fsf@gnu.org> <83614lpsji.fsf@gnu.org> X-Spook: Coast Guard National laboratory Semtex supercomputer Food X-Ran: .Xp}.XdX1(7.=Cr-/=&P]7#H\&W6uTvNu;?d=YlM-J"yMCUV[_?+;.lvf(PeVm(+k{Vk8B X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 12 Aug 2015 01:57:25 -0400 In-Reply-To: <83614lpsji.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Aug 2015 21:51:45 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 21139 Cc: 21139@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) Eli Zaretskii wrote: > . M-x shell > . move point back to some place in the buffer other than the last > shell prompt > . type something > > When comint-scroll-to-bottom-on-input is non-nil, point moves to the > last shell prompt before your input is inserted; when the variable is > nil, whatever you type is inserted where point was, without moving it > anywhere. The latter behaviour makes no sense to me, as I already said, so I filed my own report about that (not that I expect anything to result from it). From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 08:42:44 2015 Received: (at 21139) by debbugs.gnu.org; 12 Aug 2015 12:42:44 +0000 Received: from localhost ([127.0.0.1]:53932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPVMh-0000iN-Rp for submit@debbugs.gnu.org; Wed, 12 Aug 2015 08:42:44 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:43476) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPVMf-0000iF-Mz for 21139@debbugs.gnu.org; Wed, 12 Aug 2015 08:42:42 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NSY00300YG3RQ00@a-mtaout22.012.net.il> for 21139@debbugs.gnu.org; Wed, 12 Aug 2015 15:42:34 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NSY00316ZAYBD90@a-mtaout22.012.net.il>; Wed, 12 Aug 2015 15:42:34 +0300 (IDT) Date: Wed, 12 Aug 2015 15:42:26 +0300 From: Eli Zaretskii Subject: Re: bug#21139: 25.0.50; shell-mode doesn't respect comint-scroll-to-bottom-on-output/input In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <8337zoptjh.fsf@gnu.org> References: <83a8u2qhid.fsf@gnu.org> <3z7fp58aea.fsf@fencepost.gnu.org> <83y4hkplec.fsf@gnu.org> <83614lpsji.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21139 Cc: 21139@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: bruce.connor.am@gmail.com, 21139@debbugs.gnu.org > Date: Wed, 12 Aug 2015 01:57:25 -0400 > > Eli Zaretskii wrote: > > > . M-x shell > > . move point back to some place in the buffer other than the last > > shell prompt > > . type something > > > > When comint-scroll-to-bottom-on-input is non-nil, point moves to the > > last shell prompt before your input is inserted; when the variable is > > nil, whatever you type is inserted where point was, without moving it > > anywhere. > > The latter behaviour makes no sense to me, as I already said, so I filed > my own report about that (not that I expect anything to result from it). Which bug is that? From unknown Mon Jun 23 18:29:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Sep 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator