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 10:39:38 +0200 Message-ID: <87pn5tdsc5.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> 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="40767"; 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 10:40:48 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 1kQRTi-000ATT-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 10:40:46 +0200 Original-Received: from localhost ([::1]:43864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQRTh-0006Xn-La for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 04:40:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQRT2-0006Xc-Ps for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 04:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQRT0-0007SV-FZ for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 04:40:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQRT0-0004ap-D7 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 04:40: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 08:40: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.160214639617639 (code B ref 43835); Thu, 08 Oct 2020 08:40:02 +0000 Original-Received: (at 43835) by debbugs.gnu.org; 8 Oct 2020 08:39:56 +0000 Original-Received: from localhost ([127.0.0.1]:58701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQRSt-0004aQ-Gl for submit@debbugs.gnu.org; Thu, 08 Oct 2020 04:39:55 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:36069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQRSr-0004aD-GZ for 43835@debbugs.gnu.org; Thu, 08 Oct 2020 04:39:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602146387; bh=5KbX21zBPrjoSniseQqtfgv+TI68c2g50vPL+1uQorc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=KXeW6Gszb4HZJ0FPj1eQDXoPelzlH/8Be43b3rwff1WGIAJx0AN4BSqkgar6VXJlQ MV3XWGj/2wtJP+ycgoVs6FeOSi3CVZD73C8Xd4Z8FbiyLNKHl/XbfY4HqSA/JkxXHc gtM/XEENjGU4jvUnb2rjXS+bUkrDgakX1wIuhpoA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([92.73.67.151]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MI5UD-1kBtPI2Ya7-00F9ss; Thu, 08 Oct 2020 10:39:47 +0200 In-Reply-To: <834kn586up.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Oct 2020 11:22:38 +0300") X-Provags-ID: V03:K1:ms5LCgqtLpYK+Ufo3BXts8eNULOROJ2OM0eN1OyADEECFzGLa9e xhcgFaySOjjHKIoGL+MlUTXBJZ522Gmi11Agpnm+VLDR3HBhuCVnQHdxncnz8ZGBxE6QdRE 3wS1ychvQDd39kwVSbHT+3MnQWe2qU0leSQk7OakRmMDcPspnlzMAsBdr7zIvhmuqZU4IYM dYZK97TpWMqYCqCcB5XFg== X-UI-Out-Filterresults: notjunk:1;V03:K0:jqHRXoWxW7I=:hhOx+LYhnG49S1kMA8Nuwe oQ0DAo6ghjG/cmjopbtt5xeea9XjDv7pa4ZoxNh8/dQ/C5o7wiuVj2RrK55xHWWlufuGYHEcM K+i3PsEmUTX1vPlMuK5Np6qqI1tW+sigUz4Cur317+DJDPqnR/LcRglHy3wSxx43hledmJMUQ p3O2jUO2oQ80LF8Xygi/+7GJTbQRHSmekCPKxlnVLG06JWi5RVl2fn+YjrU4ePQthNpfrPDk7 sSgykTVyr8PWUfN/rY1dpZgQBQ5SbVYjMSieLMqpIsJP7jStbBVn/6eWawYM1R1MuUMtK6aTq XbZ1GZr/bY6wXSGOJAmq1MKKIYZRmMZ7ENrZrv0rz/u6oU73GIw0XgYp/6Z9y6Zdw21lHW/S7 rSvfbF+I2hBHKzuovmkWbXDudB7KZtW3GD8rqAMDU3FT/ghopqIyH/I4d4GMjd5hqFJF2gW+Q cL0gL9wFv7vRUJsKWkEliMXw1of90gEbtvknWUmyC38D83GFxBFu/i8Op3a5O10mimIOZDc+L heQOvqVQYJrwsLXJ8EJ78dhLd2EDsR/8m+G4Zk7tsrYydq1FaT/zc7/u4Xs8VZFAtalX+HW37 pl+/ONl7kJ+Xqe38FKtYcNEIwP2IOX46gjJGRPaF4OFdLP7k2s0p7L+ga3UUT3f9EIIUjf9D+ x1CxbDtfqxlG+K9lM6Nm31RCBSzaJ0V+iw1288X/7xbP8SC0JuO2SInIvSwxw3w7IZOP+3lry n+1GAjHrNc7BXGkZcygatwPE5aV4LwteUFZwpJALmUmXAEGnEN5+V5Kp4RwFjDAsWDlUt/O2 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:190068 Archived-At: On Thu, 08 Oct 2020 11:22:38 +0300 Eli Zaretskii wrote: >> From: Stephen Berman >> Cc: 43835@debbugs.gnu.org >> Date: Wed, 07 Oct 2020 22:54:51 +0200 >> >> 0. emacs -Q >> 1. Evaluate the following sexp: >> >> (let ((buf (get-buffer-create "*test*"))) >> (with-current-buffer buf >> (setq auto-hscroll-mode 'current-line >> truncate-lines t >> bidi-paragraph-direction 'left-to-right) >> (insert "Subject: Re: bug#39280: 27.0.60; wdired-get-filename ignor= es first argument (this is a test)\n") >> (goto-char (point-min))) >> (show-paren-mode) >> (switch-to-buffer buf)) >> >> 2. Now typing `C-e' shows the problem. > > bidi-paragraph-direction is set to left-to-right in any descendant of > prog-mode, in particular in Emacs Lisp mode. And yet I couldn't > reproduce this in a Lisp buffer, no matter what I tried. So that > setting is not the only cause. Strange, because when I replace the above sexp in step 1 by the following, I see the same problem at step 2: (let ((buf (get-buffer-create "*test*"))) (with-current-buffer buf (setq auto-hscroll-mode 'current-line truncate-lines t bidi-paragraph-direction 'left-to-right) (insert "Subject: Re: bug#39280: 27.0.60; wdired-get-filename ignores = first argument (this is a test)\n") (emacs-lisp-mode) (goto-char (point-min))) (show-paren-mode) (switch-to-buffer buf)) > If you add a line of text before and after the Subject line you insert > in the recipe, does the problem go away? It does here. But then I > wonder whether this problem only happens in Gnus with the very first > or the very last line of the summary buffer. If that's not so, I'm > probably missing something else. I think I've only seen this on the last line in a Gnus summary buffer. This also holds for the new test case (also in Emacs Lisp mode): after evaluating the following sexp, I see the problem only on the last line: (let ((buf (get-buffer-create "*test*"))) (with-current-buffer buf (setq auto-hscroll-mode 'current-line truncate-lines t bidi-paragraph-direction 'left-to-right) (insert "Subject: Re: bug#39280: 27.0.60; wdired-get-filename ignores = first argument (this is a test)\nSubject: Re: bug#39280: 27.0.60; wdired-g= et-filename ignores first argument (this is a test)\nSubject: Re: bug#3928= 0: 27.0.60; wdired-get-filename ignores first argument (this is a test)\n"= ) (emacs-lisp-mode) (goto-char (point-min))) (show-paren-mode) (switch-to-buffer buf)) Steve Berman