From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 11:22:38 +0300 Message-ID: <834kn586up.fsf@gnu.org> References: <87lfgjnq2m.fsf@gmx.net> <83lfgj9nml.fsf@gnu.org> <87h7r7nmqx.fsf@gmx.net> <83h7r6a4yg.fsf@gnu.org> <87eem9n4dg.fsf@gmx.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3456"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43835@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 08 10:23:10 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 1kQRCg-0000ou-NL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 10:23:10 +0200 Original-Received: from localhost ([::1]:50896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQRCf-00053w-86 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 04:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQRCY-00053d-Up for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 04:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQRCY-0005BR-Kx for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 04:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQRCY-0004BI-Hr for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 04:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2020 08:23: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.160214535916016 (code B ref 43835); Thu, 08 Oct 2020 08:23:02 +0000 Original-Received: (at 43835) by debbugs.gnu.org; 8 Oct 2020 08:22:39 +0000 Original-Received: from localhost ([127.0.0.1]:58681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQRCB-0004AF-7U for submit@debbugs.gnu.org; Thu, 08 Oct 2020 04:22:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQRC9-0004A1-6H for 43835@debbugs.gnu.org; Thu, 08 Oct 2020 04:22:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:32862) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQRC3-00059G-OZ; Thu, 08 Oct 2020 04:22:31 -0400 Original-Received: from [176.228.60.248] (port=4862 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kQRC3-0006Xh-6u; Thu, 08 Oct 2020 04:22:31 -0400 In-Reply-To: <87eem9n4dg.fsf@gmx.net> (message from Stephen Berman on Wed, 07 Oct 2020 22:54:51 +0200) 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:190064 Archived-At: > 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 ignores 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. 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. > Do you still want the output of trace-redisplay? No, I can do that myself now. Thanks.