GNU bug report logs - #32177
Current line number shifts one column to the left.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Keith David Bershatsky <esq@HIDDEN>; dated Mon, 16 Jul 2018 17:38:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 32177 <at> debbugs.gnu.org:


Received: (at 32177) by debbugs.gnu.org; 21 Jul 2018 10:34:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 21 06:34:10 2018
Received: from localhost ([127.0.0.1]:50233 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgpDG-0003eP-Ct
	for submit <at> debbugs.gnu.org; Sat, 21 Jul 2018 06:34:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48108)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgpDF-0003eD-G3
 for 32177 <at> debbugs.gnu.org; Sat, 21 Jul 2018 06:34:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgpD7-0007Ek-9b
 for 32177 <at> debbugs.gnu.org; Sat, 21 Jul 2018 06:34:04 -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.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56291)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgpD7-0007Ee-6M; Sat, 21 Jul 2018 06:34:01 -0400
Received: from [176.228.60.248] (port=2207 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgpD6-00038M-86; Sat, 21 Jul 2018 06:34:00 -0400
Date: Sat, 21 Jul 2018 13:34:02 +0300
Message-Id: <838t64zxlx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: esq@HIDDEN
In-reply-to: <83d0vn81nm.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 16
 Jul 2018 21:40:29 +0300)
Subject: Re: bug#32177: Current line number shifts one column to the left.
References: <m24lgz84mr.wl%esq@HIDDEN> <83fu0j82ln.fsf@HIDDEN>
 <83d0vn81nm.fsf@HIDDEN>
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: 32177
Cc: 32177 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Mon, 16 Jul 2018 21:40:29 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 32177 <at> debbugs.gnu.org
> 
> > Date: Mon, 16 Jul 2018 21:20:04 +0300
> > From: Eli Zaretskii <eliz@HIDDEN>
> > Cc: 32177 <at> debbugs.gnu.org
> > 
> > In any case, I cannot reproduce this here, not in "emacs -Q", not on
> > master and not on the emacs-26 branch.
> 
> I succeeded in reproducing this, but only if I enlarge the frame so it
> is taller than the default.

And I no longer can reproduce this, so a more reliable recipe is
needed.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32177; Package emacs. Full text available.

Message received at 32177 <at> debbugs.gnu.org:


Received: (at 32177) by debbugs.gnu.org; 17 Jul 2018 02:30:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 22:30:38 2018
Received: from localhost ([127.0.0.1]:44297 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ffFl6-0005ab-DY
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 22:30:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54350)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ffFl4-0005aN-IA
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 22:30:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ffFku-0000S9-JZ
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 22:30: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=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58940)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ffFku-0000S5-Ey; Mon, 16 Jul 2018 22:30:24 -0400
Received: from [176.228.60.248] (port=4542 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ffFkt-0004m7-R4; Mon, 16 Jul 2018 22:30:24 -0400
Date: Tue, 17 Jul 2018 05:30:34 +0300
Message-Id: <8336wi8ugl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Keith David Bershatsky <esq@HIDDEN>
In-reply-to: <m21sc2c45c.wl%esq@HIDDEN> (message from Keith David
 Bershatsky on Mon, 16 Jul 2018 13:33:03 -0700)
Subject: Re: bug#32177: Current line number shifts one column to the left.
References: <m21sc2c45c.wl%esq@HIDDEN>
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: 32177
Cc: 32177 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date:  Mon, 16 Jul 2018 13:33:03 -0700
> From:  Keith David Bershatsky <esq@HIDDEN>
> Cc:  32177 <at> debbugs.gnu.org
> 
> Although it is not often very that I need to inspect the undo-tree history file, setting bidi-display-reordering to a nil value of t gives a tremendous enhancement to movements within that buffer.  Without setting bidi-display-reordering to nil, movements with arrow keys up/down and so forth is unbearably s-l-o-w.  Occasionally, I have to inspect the desktop save file and that too has some very long lines where I think setting bidi-display-reordering may help.  Here is a little snippet written by Noam Postavsky that produces a line matching the format of the undo-tree history file.

You should know that setting that variable to nil is not supported, so
you are playing with fire, that's all.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32177; Package emacs. Full text available.

Message received at 32177 <at> debbugs.gnu.org:


Received: (at 32177) by debbugs.gnu.org; 16 Jul 2018 22:16:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 18:16:44 2018
Received: from localhost ([127.0.0.1]:44119 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ffBnQ-00024w-Gj
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 18:16:44 -0400
Received: from gateway21.websitewelcome.com ([192.185.45.95]:42136)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <esq@HIDDEN>) id 1ffBnO-00024o-Vj
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 18:16:43 -0400
Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9])
 by gateway21.websitewelcome.com (Postfix) with ESMTP id A5DD7400DAF67
 for <32177 <at> debbugs.gnu.org>; Mon, 16 Jul 2018 17:16:41 -0500 (CDT)
Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP
 id fBnBf1xAEbXuJfBnIf9xKj; Mon, 16 Jul 2018 17:16:41 -0500
X-Authority-Reason: nr=8
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com
 ; s=default;
 h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date:
 Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=ZT7hbaoJXsaiHgj0hKlF0OILzsyV8euBCSQZ5EvqGWw=; b=HMMRhpqklrO+ajyM9XTi0mUiIK
 fP640dzDAF0pWDebKsTrNfy3+4hu/LVqJVm04LFbAKN3AsCUwj7uRrjW0C6MQmFn16oX0kljlbHuA
 Udz/iltPzLa2wrNYC8lM68+eZMqCbRS8AEPTX2ZPzregK07/T1USVEw2lN2NrDi1RoHOwMrcl7n31
 WdYg0YPhzrhB2uPPtqHLPXCWXgAJtyNldAYIbIi+ZAuKsnGg2LWfp4uqJ+AwHImkywe5q3yrVWwHY
 5O6ozU8dJRwjgLk1b36AljM8IL/JjgHCEuXuvCvnFd9oJLjtFHDzpumkDjMEDkxlVhWK3ydwl11IY
 bCXfGWlg==;
Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50398
 helo=server.local)
 by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256)
 (Exim 4.91) (envelope-from <esq@HIDDEN>)
 id 1ffBnB-002hgz-5T; Mon, 16 Jul 2018 17:16:29 -0500
Date: Mon, 16 Jul 2018 15:16:28 -0700
Message-ID: <m27elubzcz.wl%esq@HIDDEN>
From: Keith David Bershatsky <esq@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#32177: Current line number shifts one column to the left.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator3053.hostgator.com
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lawlist.com
X-BWhitelist: no
X-Source-IP: 45.48.239.195
X-Source-L: No
X-Exim-ID: 1ffBnB-002hgz-5T
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.local)
 [45.48.239.195]:50398
X-Source-Auth: lawlist
X-Email-Count: 1
X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t
X-Local-Domain: yes
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32177
Cc: 32177 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I take back (in part) what I said below.  It turned out that one of the settings in the org-mode buffer I am using is (setq bidi-paragraph-direction 'left-to-right), which _also_ can be used to reproduce issue 32177.  So it looks like we can use either bidi-paragraph-direction or bidi-display-reordering to reproduce issue 32177.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

DATE:  [07-16-2018 13:33:03] <16 Jul 2018 13:33:03 -0700>
FROM:  Keith David Bershatsky <esq@HIDDEN>
> 
> * * *
> 
> I was able to reproduce the issue on my end with bidi-display-reordering set to a non-nil value of t, but it will take some time to come up with an emacs -Q recipe.
> 
> * *




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32177; Package emacs. Full text available.

Message received at 32177 <at> debbugs.gnu.org:


Received: (at 32177) by debbugs.gnu.org; 16 Jul 2018 20:33:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 16:33:31 2018
Received: from localhost ([127.0.0.1]:44074 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ffABX-00082i-Kw
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 16:33:31 -0400
Received: from gateway32.websitewelcome.com ([192.185.145.1]:49757)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <esq@HIDDEN>) id 1ffABV-00082Y-Ln
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 16:33:30 -0400
Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9])
 by gateway32.websitewelcome.com (Postfix) with ESMTP id 052EC17309
 for <32177 <at> debbugs.gnu.org>; Mon, 16 Jul 2018 15:33:29 -0500 (CDT)
Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP
 id fAB6fxLsObXuJfABJf5Mo8; Mon, 16 Jul 2018 15:33:28 -0500
X-Authority-Reason: nr=8
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com
 ; s=default;
 h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date:
 Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=5K4LGdzKPbCw8gQFCseavqLOIeJpKFTKfugd3dpBywU=; b=fgKMUtRXA1QFZC4yrUKxFHx9lF
 hhyy+Idl5MZyFc6OTcTbML+gSN5wGSNL30bUFBp++qxOg3o31YYqlrJrlMCCCWxnA4Vv6WORNrhtp
 f3eAQZeu/MOA/3b3e41gvcB1idw9MweEJuqd8iFvYf5R9wxF8Msz67rNqvJ3RusKNAgmNfJK69iF8
 NotfW6n5oh2xKlf41GaeFrScNov1v9LzRWnN4DwlA6MugO7bZv3OPRhZ73+D/dC5hWg8DOvaegXVR
 aEh5BYNxnnwTdv9+mgPv737dqFofL94g5fFU0oPvtup1S8OwK7YsIDtmYGyIC2Q1kYTuHur9rv2kh
 td7AefNg==;
Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:49423
 helo=server.local)
 by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256)
 (Exim 4.91) (envelope-from <esq@HIDDEN>)
 id 1ffAB6-001x6J-4N; Mon, 16 Jul 2018 15:33:04 -0500
Date: Mon, 16 Jul 2018 13:33:03 -0700
Message-ID: <m21sc2c45c.wl%esq@HIDDEN>
From: Keith David Bershatsky <esq@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#32177: Current line number shifts one column to the left.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator3053.hostgator.com
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lawlist.com
X-BWhitelist: no
X-Source-IP: 45.48.239.195
X-Source-L: No
X-Exim-ID: 1ffAB6-001x6J-4N
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.local)
 [45.48.239.195]:49423
X-Source-Auth: lawlist
X-Email-Count: 1
X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t
X-Local-Domain: yes
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32177
Cc: 32177 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Thank you, Eli, for looking into issue #32177.  I was happy to hear that you were eventually able to reproduce the bug on your end.

I was able to reproduce the issue on my end with bidi-display-reordering set to a non-nil value of t, but it will take some time to come up with an emacs -Q recipe.

Although it is not often very that I need to inspect the undo-tree history file, setting bidi-display-reordering to a nil value of t gives a tremendous enhancement to movements within that buffer.  Without setting bidi-display-reordering to nil, movements with arrow keys up/down and so forth is unbearably s-l-o-w.  Occasionally, I have to inspect the desktop save file and that too has some very long lines where I think setting bidi-display-reordering may help.  Here is a little snippet written by Noam Postavsky that produces a line matching the format of the undo-tree history file.

    (require 'cl-lib)

    (defun make-deep-object (depth)
      (let ((obj 1))
        (while (> (cl-decf depth) 0)
          (setq obj (vector (list obj))))
        obj))

    (setq print-circle t)

    (let ((buf (get-buffer-create "*test*")))
      (with-current-buffer buf
        (insert (prin1-to-string (make-deep-object 4964))))
      (switch-to-buffer buf))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

DATE:  [07-16-2018 11:20:04] <16 Jul 2018 21:20:04 +0300>
FROM:  Eli Zaretskii <eliz@HIDDEN>
> 
> * * *
> 
> Why did you need to turn off bidi-display-reordering?  Does the
> problem go away when you don't do that?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32177; Package emacs. Full text available.

Message received at 32177 <at> debbugs.gnu.org:


Received: (at 32177) by debbugs.gnu.org; 16 Jul 2018 18:40:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 14:40:31 2018
Received: from localhost ([127.0.0.1]:44033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ff8QB-0005Hi-AS
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:40:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ff8QA-0005HU-7j
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:40:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ff8Q1-0004SL-Of
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:40:24 -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.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51751)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ff8Q1-0004Rh-EC; Mon, 16 Jul 2018 14:40:21 -0400
Received: from [176.228.60.248] (port=3641 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ff8Q0-0003lD-PQ; Mon, 16 Jul 2018 14:40:21 -0400
Date: Mon, 16 Jul 2018 21:40:29 +0300
Message-Id: <83d0vn81nm.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: esq@HIDDEN
In-reply-to: <83fu0j82ln.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 16
 Jul 2018 21:20:04 +0300)
Subject: Re: bug#32177: Current line number shifts one column to the left.
References: <m24lgz84mr.wl%esq@HIDDEN> <83fu0j82ln.fsf@HIDDEN>
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: 32177
Cc: 32177 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Mon, 16 Jul 2018 21:20:04 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 32177 <at> debbugs.gnu.org
> 
> In any case, I cannot reproduce this here, not in "emacs -Q", not on
> master and not on the emacs-26 branch.

I succeeded in reproducing this, but only if I enlarge the frame so it
is taller than the default.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32177; Package emacs. Full text available.

Message received at 32177 <at> debbugs.gnu.org:


Received: (at 32177) by debbugs.gnu.org; 16 Jul 2018 18:20:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 14:20:07 2018
Received: from localhost ([127.0.0.1]:44023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ff86R-0004jw-A5
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:20:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52346)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ff86P-0004jF-4w
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:20:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1ff86G-0003no-SG
 for 32177 <at> debbugs.gnu.org; Mon, 16 Jul 2018 14:19:59 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51393)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1ff86G-0003nj-Ol; Mon, 16 Jul 2018 14:19:56 -0400
Received: from [176.228.60.248] (port=2316 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1ff86G-0004wF-9o; Mon, 16 Jul 2018 14:19:56 -0400
Date: Mon, 16 Jul 2018 21:20:04 +0300
Message-Id: <83fu0j82ln.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Keith David Bershatsky <esq@HIDDEN>
In-reply-to: <m24lgz84mr.wl%esq@HIDDEN> (message from Keith David
 Bershatsky on Mon, 16 Jul 2018 10:36:12 -0700)
Subject: Re: bug#32177: Current line number shifts one column to the left.
References: <m24lgz84mr.wl%esq@HIDDEN>
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: 32177
Cc: 32177 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Mon, 16 Jul 2018 10:36:12 -0700
> From: Keith David Bershatsky <esq@HIDDEN>
> 
> 1.  Launch a newly built GUI version of Emacs master branch (07/16/2018).
> 
> 2.  WINDOWS XP -- GUI Emacs:  From the *GNU Emacs* welcome screen, type M-: and evaluate the following:
> 
>     (progn
>       (switch-to-buffer (get-buffer-create "foo"))
>       (setq header-line-format "foo")
>       (display-line-numbers-mode 1)
>       (setq bidi-display-reordering nil)
>       (dotimes (i 57)
>         (insert "\n"))
>       (recenter 1)
>       (sit-for 1)
>       (insert "@"))
> 
> [OR]
> 
> 2.  OSX 10.6.8 GUI Emacs:  From the *GNU Emacs* welcome screen, type M-: and evaluate the following:
> 
>     (progn
>       (switch-to-buffer (get-buffer-create "foo"))
>       (setq header-line-format "foo")
>       (display-line-numbers-mode 1)
>       (setq bidi-display-reordering nil)
>       (dotimes (i 50)
>         (insert "\n"))
>       (recenter 1)
>       (sit-for 1)
>       (insert "@"))
> 
> 3.  Observe that line number 58 (on Windows XP), or line number 51 (on OSX 10.6.8), shifts one column to the left of where it should be.  Here is a link to a screenshot depicting the bug with both versions of Emacs (Windows / OSX):
> 
> https://www.lawlist.com/images/bug_07_16_2018.png

Actually, the screenshot shows that line number 57 is to the right of
where it should have been.

In any case, I cannot reproduce this here, not in "emacs -Q", not on
master and not on the emacs-26 branch.

Why did you need to turn off bidi-display-reordering?  Does the
problem go away when you don't do that?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32177; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jul 2018 17:37:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 16 13:37:09 2018
Received: from localhost ([127.0.0.1]:43988 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ff7Qr-0003fQ-Az
	for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 13:37:09 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43158)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <esq@HIDDEN>) id 1ff7Qp-0003fC-BA
 for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 13:37:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1ff7Qj-0002wN-9f
 for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 13:37:02 -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,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36845)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <esq@HIDDEN>) id 1ff7Qi-0002w4-QI
 for submit <at> debbugs.gnu.org; Mon, 16 Jul 2018 13:37:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34116)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1ff7Qh-0007Qn-CS
 for bug-gnu-emacs@HIDDEN; Mon, 16 Jul 2018 13:37:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esq@HIDDEN>) id 1ff7Qb-0002tv-UU
 for bug-gnu-emacs@HIDDEN; Mon, 16 Jul 2018 13:36:59 -0400
Received: from gateway23.websitewelcome.com ([192.185.50.107]:19771)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <esq@HIDDEN>) id 1ff7Qb-0002qs-KE
 for bug-gnu-emacs@HIDDEN; Mon, 16 Jul 2018 13:36:53 -0400
Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4])
 by gateway23.websitewelcome.com (Postfix) with ESMTP id 43FFD12334
 for <bug-gnu-emacs@HIDDEN>; Mon, 16 Jul 2018 12:36:40 -0500 (CDT)
Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP
 id f7PxfvjsOBcCXf7QDfbkXk; Mon, 16 Jul 2018 12:36:40 -0500
X-Authority-Reason: nr=8
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com
 ; s=default;
 h=Content-Type:MIME-Version:Subject:To:From:Message-ID:Date:
 Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=2Pdif2Aau8YCgVM1CBoKpPd6rrf1w2tNsbMMuRzypNA=; b=LvluGgVerSiEChjjzKv9pO9HeM
 A1SjxwthJG8a00Z4onKYue98qrWhBMczSavMBfx+wigBxBfLu4maS5oH55ysqrCGaZgZ3nQ0dg7JU
 Ei0gOIFS9gt/LPD408Lol0ht+lEg5gs4hvC/KxsjdVoF0UyawmJXqVvPnqAM8Cu5m0rabaC9HvdkI
 d9yCTyxH8aTgDnBAxMMAxEn+A3p19mV3/iTmwpuIfAMoT8nCC6/tRG8G+LlTZB3QxkjKA/uFr7MGK
 uS1ZmHCHh1MxWJfeawrrzHrFyut2JSJb37asgbnYnw3SNn4OF9I7i7NbP9AKNdW+Spauyv/azPI8y
 O6a1rlpA==;
Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:51157
 helo=server.local)
 by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256)
 (Exim 4.91) (envelope-from <esq@HIDDEN>) id 1ff7Px-000VtO-HI
 for bug-gnu-emacs@HIDDEN; Mon, 16 Jul 2018 12:36:13 -0500
Date: Mon, 16 Jul 2018 10:36:12 -0700
Message-ID: <m24lgz84mr.wl%esq@HIDDEN>
From: Keith David Bershatsky <esq@HIDDEN>
To: Emacs Bug Reports <bug-gnu-emacs@HIDDEN>
Subject: Current line number shifts one column to the left.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator3053.hostgator.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lawlist.com
X-BWhitelist: no
X-Source-IP: 45.48.239.195
X-Source-L: No
X-Exim-ID: 1ff7Px-000VtO-HI
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.local)
 [45.48.239.195]:51157
X-Source-Auth: lawlist
X-Email-Count: 5
X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t
X-Local-Domain: yes
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

1.  Launch a newly built GUI version of Emacs master branch (07/16/2018).

2.  WINDOWS XP -- GUI Emacs:  From the *GNU Emacs* welcome screen, type M-: and evaluate the following:

    (progn
      (switch-to-buffer (get-buffer-create "foo"))
      (setq header-line-format "foo")
      (display-line-numbers-mode 1)
      (setq bidi-display-reordering nil)
      (dotimes (i 57)
        (insert "\n"))
      (recenter 1)
      (sit-for 1)
      (insert "@"))

[OR]

2.  OSX 10.6.8 GUI Emacs:  From the *GNU Emacs* welcome screen, type M-: and evaluate the following:

    (progn
      (switch-to-buffer (get-buffer-create "foo"))
      (setq header-line-format "foo")
      (display-line-numbers-mode 1)
      (setq bidi-display-reordering nil)
      (dotimes (i 50)
        (insert "\n"))
      (recenter 1)
      (sit-for 1)
      (insert "@"))

3.  Observe that line number 58 (on Windows XP), or line number 51 (on OSX 10.6.8), shifts one column to the left of where it should be.  Here is a link to a screenshot depicting the bug with both versions of Emacs (Windows / OSX):

https://www.lawlist.com/images/bug_07_16_2018.png

A modification of the current line is necessary to reproduce this bug.  In my case, I notice the bug a few times each day when I place an overlay on the current line.  The bug is rather elusive and requires just the right circumstances to see it happen.  For example, if I _first_ kill the *GNU Emacs* buffer, then the code above in Step #2 is insufficient to reproduce the bug.

On OSX 10.6.8, my build configuration is:

CFLAGS='-O0 -g3' ./configure \
--with-ns \
--enable-checking='yes,glyphs' \
--enable-check-lisp-object-type \
--without-compress-install \
--without-makeinfo \
--with-gnutls=no \
--with-mailutils \
--without-makeinfo

On Windows XP, my build configuration is:

CFLAGS='-O0 -g3' ./configure \
--prefix=/c/docume~1/admini~1/desktop/trunk \
--enable-checking='yes,glyphs' \
--enable-check-lisp-object-type \
--without-compress-install \
--without-makeinfo \
--with-gnutls=no \
--with-mailutils \
--without-makeinfo




Acknowledgement sent to Keith David Bershatsky <esq@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#32177; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.