From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#43835: 28.0.50; auto-hscroll-mode/current-line + show-paren-mode + gnus-summary-mode = bug Date: Thu, 08 Oct 2020 14:24:17 +0200 Message-ID: <87ft6oewi6.fsf@gmx.net> References: <87lfgjnq2m.fsf@gmx.net> <83lfgj9nml.fsf@gnu.org> <87h7r7nmqx.fsf@gmx.net> <83h7r6a4yg.fsf@gnu.org> <87eem9n4dg.fsf@gmx.net> <834kn586up.fsf@gnu.org> <87pn5tdsc5.fsf@gmx.net> <831ri984nc.fsf@gnu.org> <87lfghdnqo.fsf@gmx.net> <83y2kh6iep.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25629"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43835@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 08 14:25:34 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQUzG-0006ZE-EP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 14:25:34 +0200 Original-Received: from localhost ([::1]:46338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQUzF-0007vQ-A5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 08:25:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQUyl-0007uT-72 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 08:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQUyk-0004nH-TQ for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 08:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQUyk-0003nK-Q3 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2020 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43835 X-GNU-PR-Package: emacs Original-Received: via spool by 43835-submit@debbugs.gnu.org id=B43835.160215987614540 (code B ref 43835); Thu, 08 Oct 2020 12:25:02 +0000 Original-Received: (at 43835) by debbugs.gnu.org; 8 Oct 2020 12:24:36 +0000 Original-Received: from localhost ([127.0.0.1]:58945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUyJ-0003mR-GX for submit@debbugs.gnu.org; Thu, 08 Oct 2020 08:24:35 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:38359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUyG-0003m9-2j for 43835@debbugs.gnu.org; Thu, 08 Oct 2020 08:24:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602159866; bh=Wv3sfz9kVgcSuO3vPVvCk2RPXYnrHyml+N4UCmX6FHs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=W0W/OuBiMR6CvPtsbb1cnyDqQGHUNOyJLgkTKS0MGwQ5SCKxhc33TCxse94qKKVR0 K1UvTzVAFCoBr259smRkiKuekiKMGS9BZt9R0vKJ3QKWFw2AmQf1oMm5OVz3RIhNJn Wuw5iCYnT5Zeanoomuc28kOlKuU09mZro83grfp8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([92.73.67.151]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N79u8-1kRrLp2hUS-017U7f; Thu, 08 Oct 2020 14:24:25 +0200 In-Reply-To: <83y2kh6iep.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Oct 2020 14:55:58 +0300") X-Provags-ID: V03:K1:GkfXliDt7T4kQLacGoQOjeLg8S9pWCziqWVbb36jOT708B+cmmi r1KGxtZXQvtML561lep72jp8H2SHmfBHhWVP6u4M/9lSOjzg3EdJ4CFenITcgRuz+wFeklS 7KY4ebv4o9P5ywayOW0vPfiAi56lnlcJjLQ02sSddpfH2g6Do1uUqXMCYyqgWo+zzIA3Svs juiwLa9dyIE3p4JKLujYg== X-UI-Out-Filterresults: notjunk:1;V03:K0:gdeW2zQ5nnE=:PPRFpomzfvu99VNc0TEOSK IDCQm5llQC7xPKwiNy06/8FR/BWydSHkT9jFQrjO341lsY/IfeVHNmwb8TzHEMvL7N+ZzBICw 8X4QrtVBXO9iPr/raEZQoM6ECnQyr4XtErZuUIs5yI8jV5Vyvm/+eCxdt7rZKAb9cMg1DOr5V o835jfc0ECGiO5P9k1mPMWEY2h2e+gC7pLmZE88M+PIisCutN2pJKpAas7xDt5Gp+vnFsfDz9 0oqWXZVunBjBfGk+pTqzQIlzWMZosnVkY6v2VJ1eImsme6eMVQ1eXXMO2q7J3jXH2nAOwqCD6 rufy0gO4vjesC4dVchx7zVoGWd1lmdxmjE9xSJzQ2EAqQ0mIHHeE5c6tuTGL15GJLEky+IF3+ irT+6bjtpYmCKs/0o/2H1Q2MbywiiwnDSgUAiH0/0drWxcNtLL9d2YZ/FN0eI/DN/3G9GcCKf eWWCLRINc/1hSLc05WfaRBgzy9GAo3mc2WUFSqL39RouRZmOeSRArXLWaJRbzhV+ISTbc04Wt jGjgMISvDVtoEGnj4qp3vQl+76Feat/XMPFjE2LyyYFXId2pzyOFBYuxmwi/pzsbwkvXnMLne MJlEUs7ScWd21X/mt/dkV+4SSvNC17BEDvh8PttQ8oazlEOOV1bL1V8ef3xmsbZJNP0nq9lZr YfP+6uRjjCpPCxi8CEWmoI5Ixy5WVkQvga3HXV8s4iYvbKgvmhkux+6AFSsWMSI4X+MhO5YDy vyPmbFs8fZPy02sjfI2ee7nXIk89wvQPlaiL6WRUrJoSeQt1ScBWGtRFHLhGZxxE34qSrLMz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190081 Archived-At: On Thu, 08 Oct 2020 14:55:58 +0300 Eli Zaretskii wrote: >> From: Stephen Berman >> Cc: 43835@debbugs.gnu.org >> Date: Thu, 08 Oct 2020 12:18:55 +0200 >> >> I can see the problem is a real .el file, but it seems to depend on the >> form of the line and other conditions I don't understand. I visited >> bindings.el and added the following line (with no line break, in case >> one gets added to it in the email) at the end of the file: > > Like I said: this happens when the problematic line is either the very > first or the very last line of the buffer. I think you are describing > the latter situation? Yes (that is, the last nonempty line -- but I have not seen the problem on the first line if there are nonempty lines below it, nor if there is more than one empty line at the end). >> (setq bla "Subject: Re: bug#39280: 27.0.60; wdired-get-filename ignores >> first argument") >> >> Then I added a newline, evaluated (setq auto-hscroll-mode 'current-line >> truncate-lines t) and enabled show-paren-mode. With point at the >> beginning of the above line I typed `C-e' and the line scrolled left an= d >> the end of the line remained visible, i.e., no problem. Then I deleted >> the final `)', typed `C-a C-e' and the line scrolled left and then >> immediately undid the hscroll so the end of the line was not visible bu= t >> after a fraction of a second it scrolled left again and the end of the >> line remained visible. Then I additionally deleted the final `"', type= d >> `C-a C-e' and the line scrolled left and now the end of the line >> remained out of view indefinitely. This even though the final line doe= s >> now does not end with a parenthesis group, in contrast to all previous >> cases where I've seen the problem. And indeed, if I restart the >> experiment in a fresh emacs -Q and insert just `(setq bla "Subject: Re: >> bug#39280: 27.0.60; wdired-get-filename ignores first argument' -- >> i.e. without the closing `")' -- plus a newline and make the other >> necessary settings, then I see no hscrolling problem. Can you replicat= e >> these observations? > > I don't see them after fixing the problem. Is it still necessary to > see if they existed before the fix? No, with your fix all the test cases I've tried now show the correct behavior. On Thu, 08 Oct 2020 14:53:12 +0300 Eli Zaretskii wrote: >> Date: Thu, 08 Oct 2020 12:10:15 +0300 >> From: Eli Zaretskii >> Cc: 43835@debbugs.gnu.org >> >> OK, so I think the conditions for triggering the problem are well >> understood, and we both have the same observations, thanks. > > Should be fixed now on the emacs-27 branch, I think. Confirmed, and many thanks! Feel free to close the bug. Steve Berman