From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#32177: Current line number shifts one column to the left. Date: Mon, 16 Jul 2018 13:33:03 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1531773127 31427 195.159.176.226 (16 Jul 2018 20:32:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 20:32:07 +0000 (UTC) Cc: 32177@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 22:32:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffAA7-00081G-0z for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 22:32:03 +0200 Original-Received: from localhost ([::1]:53868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffACC-000504-47 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 16:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffAC5-0004zn-LB for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 16:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffAC2-0005md-GU for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 16:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffAC2-0005mU-BX for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 16:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ffAC1-00083Z-QX for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 16:34:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32177 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32177-submit@debbugs.gnu.org id=B32177.153177321230924 (code B ref 32177); Mon, 16 Jul 2018 20:34:01 +0000 Original-Received: (at 32177) by debbugs.gnu.org; 16 Jul 2018 20:33:32 +0000 Original-Received: from localhost ([127.0.0.1]:44074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffABX-00082i-Kw for submit@debbugs.gnu.org; Mon, 16 Jul 2018 16:33:31 -0400 Original-Received: from gateway32.websitewelcome.com ([192.185.145.1]:49757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffABV-00082Y-Ln for 32177@debbugs.gnu.org; Mon, 16 Jul 2018 16:33:30 -0400 Original-Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 052EC17309 for <32177@debbugs.gnu.org>; Mon, 16 Jul 2018 15:33:29 -0500 (CDT) Original-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==; Original-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 ) id 1ffAB6-001x6J-4N; Mon, 16 Jul 2018 15:33:04 -0500 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148587 Archived-At: 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 > > * * * > > Why did you need to turn off bidi-display-reordering? Does the > problem go away when you don't do that?