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#56176: 28.1.50; csv-align-mode misaligns when display-line-numbers-mode is on Date: Mon, 27 Jun 2022 16:03:47 +0300 Message-ID: <83bkue8dho.fsf@gnu.org> References: <87pmizjftu.fsf@fastmail.fm> <87zgi2qu3r.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6996"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joostkremers@fastmail.fm, larsi@gnus.org, 56176@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 27 15:04:38 2022 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 1o5oPt-0001bp-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 15:04:37 +0200 Original-Received: from localhost ([::1]:43734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5oPs-00062f-3j for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 09:04:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5oPK-0005zk-Vy for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 09:04:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5oPK-00032R-NZ for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 09:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5oPK-000086-FI for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 09:04: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: Mon, 27 Jun 2022 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56176 X-GNU-PR-Package: emacs Original-Received: via spool by 56176-submit@debbugs.gnu.org id=B56176.1656335033480 (code B ref 56176); Mon, 27 Jun 2022 13:04:02 +0000 Original-Received: (at 56176) by debbugs.gnu.org; 27 Jun 2022 13:03:53 +0000 Original-Received: from localhost ([127.0.0.1]:50285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5oPB-00007g-HN for submit@debbugs.gnu.org; Mon, 27 Jun 2022 09:03:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5oP9-00007R-L4 for 56176@debbugs.gnu.org; Mon, 27 Jun 2022 09:03:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5oP3-0002vk-Sw; Mon, 27 Jun 2022 09:03:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UYhncvWu0sjT113nrZJkIjaF2s+HC1btCqG0K3Tk7Ls=; b=A7+wkWE2QgSc KpyRAsmqAQs6SHu/kArIF7U36Xfh7ypU65rlqMVK+5jOhM9nagxAtoYSLgynjOFckg9i9BFVfQqsx rA0nCvrjrm+VA7T6W8Pmy0WGvEq+SgMKvBbrDRlaq0dSO3jEyJJToSSw2N7fqbWlkyYRvntNcYdRC DAUbZTIo7ND8XuuWsNDvCQQxI7ezClNqADYsz94PC4v+K1dyqNEyLDv5OiEvbl0RhyVWZta7uDxd2 vlSJrckIwWz9UfK2WQtbkLup8FNrBTerOLCjhFcUt29AxNOLHZRAXnLKYkpQrjOoDoEvxZz58Ar0o ulUo2BC95GR/9s6SQ7XoXQ==; Original-Received: from [87.69.77.57] (port=1764 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5oP3-0003gv-An; Mon, 27 Jun 2022 09:03:45 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) 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:235452 Archived-At: > Cc: Joost Kremers , 56176@debbugs.gnu.org > Date: Mon, 27 Jun 2022 08:55:07 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I'm not sure the problem is on `csv-mode.el`, tho. > I just tried it on a TSV file of mine where I can indeed see incorrect > alignment (tho it is correct both when displaying the leftmost columns > and when displaying the rightmost column: the errors show up only when > I scrolled in the middle for me). > > But when I look with `C-u C-x =` at the TAB separator between two > columns, I see that two misaligned separators both show: > > display (space :align-to 63) > > and when I try `M-: (current-column)` I see that one of them says 60 and > the other says 61, so both elastic spaces *should* end at the same > column 63, AFAICT, even tho they clearly don't on my screen. Also, the > 60 -vs- 61 is odd because the column position on screen of those two > positions differs by 3 rather than by 1, according to my eyes. > > So, my crystal ball suggests the error might be in the redisplay. A recipe starting from "emacs -Q", preferably without csv-mode at all, would be appreciated.