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#67953: 30.0.50; ls-lisp messes up columns Date: Sat, 23 Dec 2023 13:05:20 +0200 Message-ID: <834jg9dvrj.fsf@gnu.org> References: <83jzp6fw69.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67953-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 23 12:06:24 2023 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 1rGzpo-0006AO-9O for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Dec 2023 12:06:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGzpP-0006fo-9O; Sat, 23 Dec 2023 06:05:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGzpN-0006fV-4V for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 06:05:57 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rGzpM-0003T5-Sj for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 06:05:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGzpR-0004BU-QK for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 06:06:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2023 11:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67953 X-GNU-PR-Package: emacs Mail-Followup-To: 67953@debbugs.gnu.org, eliz@gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by 67953-done@debbugs.gnu.org id=D67953.170332954516058 (code D ref 67953); Sat, 23 Dec 2023 11:06:01 +0000 Original-Received: (at 67953-done) by debbugs.gnu.org; 23 Dec 2023 11:05:45 +0000 Original-Received: from localhost ([127.0.0.1]:48697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGzpB-0004Aw-Cg for submit@debbugs.gnu.org; Sat, 23 Dec 2023 06:05:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGzp9-0004Aj-Fn for 67953-done@debbugs.gnu.org; Sat, 23 Dec 2023 06:05:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGzoy-00036i-Gr; Sat, 23 Dec 2023 06:05:32 -0500 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=LWONCZNqEJ2RSWlT6Y4wev5xqmbhjMSj81l93uySEmA=; b=a5iPUp1AZ9Uf g8y6yiUVvh8OuPGho71PCxUagYpFS17Siq0915JE/BV1drqELypV2iBQsBYMEAkud95fVCGLwDACt x2ndFoK8xM4PaSyGU/IZc6zpg0FjeMSjf0AR8UDKsl8429IFYDKndl5jry6pPfFB1A2ZWmJAeePQg 14QNtj0tAAuoqvUV27mBSm/SqVj2aQwa92mid3oZx4UMkER2RvKSNwzjefVOJS8bc1hNSIa93sd4f FmEU9p287BZ5dEbJW3Sz+dfkFhI+rLtXbbAaaBZ5YNoDdcnsEH9mdhenT/ZgbjoQlLMegFKx5KbcH AdrHG1gi3AvJD4c8t2fBmw==; In-Reply-To: (message from Stefan Monnier on Fri, 22 Dec 2023 10:31:07 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276732 Archived-At: > From: Stefan Monnier > Cc: 67953@debbugs.gnu.org > Date: Fri, 22 Dec 2023 10:31:07 -0500 > > > The simple kludge below, which simply prevents it from realigning the > > first column of data, seems to fix it here. WDYT? > > Looks OK to me. I'd recommend we add a comment about this (zerop > curcol) test explaining why the other branch mishandles this > case (or mentioning that we don't know why). Done. I decided to install this on master, since this is a very old problem (I can see it in Emacs 26), and the situations where it rears its ugly head are quite rare. Closing.