From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 01:57:40 2018 Received: (at submit) by debbugs.gnu.org; 30 May 2018 05:57:40 +0000 Received: from localhost ([127.0.0.1]:54569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNu7A-0003Ef-0Z for submit@debbugs.gnu.org; Wed, 30 May 2018 01:57:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNu79-0003EU-4u for submit@debbugs.gnu.org; Wed, 30 May 2018 01:57:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNu73-0001G4-4q for submit@debbugs.gnu.org; Wed, 30 May 2018 01:57:33 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNu73-0001Fy-1c for submit@debbugs.gnu.org; Wed, 30 May 2018 01:57:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNu71-0005r3-Nh for bug-gnu-emacs@gnu.org; Wed, 30 May 2018 01:57:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNu6y-0001FS-LE for bug-gnu-emacs@gnu.org; Wed, 30 May 2018 01:57:31 -0400 Received: from world.peace.net ([64.112.178.59]:35124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNu6y-0001FM-H9 for bug-gnu-emacs@gnu.org; Wed, 30 May 2018 01:57:28 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNu6x-00014U-6w; Wed, 30 May 2018 01:57:27 -0400 From: Mark H Weaver To: bug-gnu-emacs@gnu.org Subject: 26.1; comint-scroll-show-maximum-output nil regression Date: Wed, 30 May 2018 01:56:13 -0400 Message-ID: <87k1rlbsaq.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (------) Emacs 26.1 has introduced a regression compared with 25.3 in the handling of 'comint-scroll-show-maximum-output', which I prefer to set to nil. Here's how to reproduce the problem: * Run "emacs-26.1 -Q", with or without "-nw" as you prefer. * M-x shell * M-: (setq comint-scroll-show-maximum-output nil) * Press RET repeatedly until the window starts scrolling. Observe that after the point reaches the bottom of the window, it is subsequently kept at the bottom of the window by aggressively scrolling one line at a time. If you perform the same steps above with emacs-25.3, you'll see that it always recenters, so that scrolling occurs only once for every ~N/2 lines of output, where N is the window height. Note that (setq comint-scroll-show-maximum-output nil) still has some effect. After performing the steps above, try this: * C-l * Press RET repeatedly until the window starts scrolling. * M-: (setq comint-scroll-show-maximum-output t) * C-l * Press RET just once. Observe that with 'comint-scroll-show-maximum-output' set to t, the first RET after C-l immediately scrolls the window to show the maximum output. If you can suggest a workaround or a patch to fix this issue, I would be grateful. Thanks very much for your work on Emacs. Mark From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 02:57:06 2018 Received: (at submit) by debbugs.gnu.org; 30 May 2018 06:57:06 +0000 Received: from localhost ([127.0.0.1]:54588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNv2g-0004b4-6S for submit@debbugs.gnu.org; Wed, 30 May 2018 02:57:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNv2e-0004aa-7V for submit@debbugs.gnu.org; Wed, 30 May 2018 02:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNv2X-0000fJ-Tc for submit@debbugs.gnu.org; Wed, 30 May 2018 02:56:58 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52349) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNv2X-0000f9-Qf for submit@debbugs.gnu.org; Wed, 30 May 2018 02:56:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNv2W-0000ge-Lc for bug-gnu-emacs@gnu.org; Wed, 30 May 2018 02:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNv2T-0000d6-JM for bug-gnu-emacs@gnu.org; Wed, 30 May 2018 02:56:56 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNv2T-0000cw-G9; Wed, 30 May 2018 02:56:53 -0400 Received: from [176.12.187.189] (port=31810 helo=[10.214.38.66]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1fNv2S-0005JW-OG; Wed, 30 May 2018 02:56:53 -0400 Date: Wed, 30 May 2018 09:56:49 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <87k1rlbsaq.fsf@netris.org> References: <87k1rlbsaq.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#31653: 26.1; comint-scroll-show-maximum-output nil regression To: bug-gnu-emacs@gnu.org, Mark H Weaver , 31653@debbugs.gnu.org From: Eli Zaretskii Message-ID: <53501D62-2054-4AEC-B2B9-2A2666A81BD7@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (------) On May 30, 2018 8:56:13 AM GMT+03:00, Mark H Weaver wrot= e: > Emacs 26=2E1 has introduced a regression compared with 25=2E3 in the > handling of 'comint-scroll-show-maximum-output', which I prefer to set > to nil=2E Here's how to reproduce the problem: >=20 > * Run "emacs-26=2E1 -Q", with or without "-nw" as you prefer=2E > * M-x shell > * M-: (setq comint-scroll-show-maximum-output nil) > * Press RET repeatedly until the window starts scrolling=2E >=20 > Observe that after the point reaches the bottom of the window, it is > subsequently kept at the bottom of the window by aggressively > scrolling > one line at a time=2E >=20 > If you perform the same steps above with emacs-25=2E3, you'll see that > it > always recenters, so that scrolling occurs only once for every ~N/2 > lines of output, where N is the window height=2E >=20 > Note that (setq comint-scroll-show-maximum-output nil) still has some > effect=2E After performing the steps above, try this: >=20 > * C-l > * Press RET repeatedly until the window starts scrolling=2E > * M-: (setq comint-scroll-show-maximum-output t) > * C-l > * Press RET just once=2E >=20 > Observe that with 'comint-scroll-show-maximum-output' set to t, the > first RET after C-l immediately scrolls the window to show the maximum > output=2E >=20 > If you can suggest a workaround or a patch to fix this issue, I would > be > grateful=2E >=20 > Thanks very much for your work on Emacs=2E >=20 > Mark It's a deliberate change, by popular demand: shell-mode now sets scroll-conservatively to a large value locally in shell buffers=2E Reset that in your mode hook, and Bob's your uncle=2E If you are interested in the reasons for the change, see the log message of commit d7ac7b15ca9, it points to the relevant discussion=2E (This should have been in NEWS, sigh=2E=2E=2E) From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 03:58:17 2018 Received: (at 31653) by debbugs.gnu.org; 30 May 2018 07:58:17 +0000 Received: from localhost ([127.0.0.1]:54631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNvzt-00061T-D9 for submit@debbugs.gnu.org; Wed, 30 May 2018 03:58:17 -0400 Received: from world.peace.net ([64.112.178.59]:48892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNvzr-00061G-JR for 31653@debbugs.gnu.org; Wed, 30 May 2018 03:58:16 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNvzk-0001hG-K9; Wed, 30 May 2018 03:58:08 -0400 From: Mark H Weaver To: Eli Zaretskii Subject: Re: bug#31653: 26.1; comint-scroll-show-maximum-output nil regression References: <87k1rlbsaq.fsf@netris.org> <53501D62-2054-4AEC-B2B9-2A2666A81BD7@gnu.org> Date: Wed, 30 May 2018 03:56:47 -0400 In-Reply-To: <53501D62-2054-4AEC-B2B9-2A2666A81BD7@gnu.org> (Eli Zaretskii's message of "Wed, 30 May 2018 09:56:49 +0300") Message-ID: <8736y9bmps.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31653 Cc: 31653@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Hi Eli, Eli Zaretskii writes: > It's a deliberate change, by popular demand: shell-mode now sets > scroll-conservatively to a large value locally in shell buffers. Reset > that in your mode hook, and Bob's your uncle. That's very helpful, thank you! > If you are interested in the reasons for the change, see the log > message of commit d7ac7b15ca9, it points to the relevant discussion. Thanks for the pointer. I acknowledge that I'm in the minority here, but I greatly prefer less frequent scrolling, so that I have more time to visually process the text before it moves and disrupts my ability to process it. Ideally, both settings of 'comint-scroll-show-maximum-output' would behave as expected, without mode hooks. That said, I don't have time to work on this myself, and it's certainly of very little importance. The mode hook workaround is good enough for me, and I guess there are very few people with my preferences, so I'm willing to let this go. Feel free to close this bug as "wontfix", or to keep it open, as you prefer. Thanks again, Mark From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 04:01:43 2018 Received: (at 31653) by debbugs.gnu.org; 30 May 2018 08:01:43 +0000 Received: from localhost ([127.0.0.1]:54635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNw3C-00067L-Sv for submit@debbugs.gnu.org; Wed, 30 May 2018 04:01:43 -0400 Received: from mx2.suse.de ([195.135.220.15]:55348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNw3A-000678-Th for 31653@debbugs.gnu.org; Wed, 30 May 2018 04:01:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4E6C3ACA1; Wed, 30 May 2018 08:01:35 +0000 (UTC) From: Andreas Schwab To: Mark H Weaver Subject: Re: bug#31653: 26.1; comint-scroll-show-maximum-output nil regression References: <87k1rlbsaq.fsf@netris.org> X-Yow: Two with FLUFFO, hold th' BEETS..side of SOYETTES! Date: Wed, 30 May 2018 10:01:35 +0200 In-Reply-To: <87k1rlbsaq.fsf@netris.org> (Mark H. Weaver's message of "Wed, 30 May 2018 01:56:13 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 31653 Cc: 31653@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) On Mai 30 2018, Mark H Weaver wrote: > Observe that after the point reaches the bottom of the window, it is > subsequently kept at the bottom of the window by aggressively scrolling > one line at a time. What is the value of scroll-conservatively? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 12:48:57 2018 Received: (at control) by debbugs.gnu.org; 30 May 2018 16:48:57 +0000 Received: from localhost ([127.0.0.1]:55358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fO4HQ-0005eW-V2 for submit@debbugs.gnu.org; Wed, 30 May 2018 12:48:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fO4HP-0005eJ-Cm for control@debbugs.gnu.org; Wed, 30 May 2018 12:48:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fO4HG-00013h-59 for control@debbugs.gnu.org; Wed, 30 May 2018 12:48:50 -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 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fO4HG-00013J-13; Wed, 30 May 2018 12:48:46 -0400 Received: from [176.228.60.248] (port=1214 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fO4HF-0000h8-Fh; Wed, 30 May 2018 12:48:45 -0400 Date: Wed, 30 May 2018 19:48:41 +0300 Message-Id: <831sdthyxi.fsf@gnu.org> From: Eli Zaretskii To: Mark H Weaver In-reply-to: <8736y9bmps.fsf@netris.org> (message from Mark H Weaver on Wed, 30 May 2018 03:56:47 -0400) Subject: Re: bug#31653: 26.1; comint-scroll-show-maximum-output nil regression References: <87k1rlbsaq.fsf@netris.org> <53501D62-2054-4AEC-B2B9-2A2666A81BD7@gnu.org> <8736y9bmps.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control Cc: 31653-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) tags 31653 notabug thanks > From: Mark H Weaver > Cc: 31653@debbugs.gnu.org > Date: Wed, 30 May 2018 03:56:47 -0400 > > That said, I don't have time to work on this myself, and it's certainly > of very little importance. The mode hook workaround is good enough for > me, and I guess there are very few people with my preferences, so I'm > willing to let this go. Feel free to close this bug as "wontfix", or to > keep it open, as you prefer. Done. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 01 05:27:18 2018 Received: (at 31653) by debbugs.gnu.org; 1 Jun 2018 09:27:18 +0000 Received: from localhost ([127.0.0.1]:56800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fOgL8-00075z-5p for submit@debbugs.gnu.org; Fri, 01 Jun 2018 05:27:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fOgL6-00075m-1j for 31653@debbugs.gnu.org; Fri, 01 Jun 2018 05:27:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOgKw-0007Nc-S0 for 31653@debbugs.gnu.org; Fri, 01 Jun 2018 05:27:10 -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 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOgKh-0007Ft-Cs; Fri, 01 Jun 2018 05:26:51 -0400 Received: from [176.228.60.248] (port=4156 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fOgKg-0002E0-Pb; Fri, 01 Jun 2018 05:26:51 -0400 Date: Fri, 01 Jun 2018 12:26:51 +0300 Message-Id: <83r2lqg8mc.fsf@gnu.org> From: Eli Zaretskii To: 31653@debbugs.gnu.org In-reply-to: <53501D62-2054-4AEC-B2B9-2A2666A81BD7@gnu.org> (message from Eli Zaretskii on Wed, 30 May 2018 09:56:49 +0300) Subject: Re: bug#31653: 26.1; comint-scroll-show-maximum-output nil regression References: <87k1rlbsaq.fsf@netris.org> <53501D62-2054-4AEC-B2B9-2A2666A81BD7@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31653 Cc: mhw@netris.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Wed, 30 May 2018 09:56:49 +0300 > From: Eli Zaretskii > > (This should have been in NEWS, sigh...) Now done. From unknown Fri Aug 15 20:29:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Jun 2018 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