From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73455: 30.0.91: find buffer pretty print columns don't line up on 1080p Date: Wed, 25 Sep 2024 15:36:58 +0000 Message-ID: References: Reply-To: Van Ly Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8905"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73455@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 25 17:38:09 2024 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 1stU5g-00027y-Qo for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Sep 2024 17:38:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stU5D-00066a-9l; Wed, 25 Sep 2024 11:37:39 -0400 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 1stU5B-000656-2K for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 11:37:37 -0400 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 1stU5A-0004GO-Pt for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 11:37:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=PWGCUZXheObNgSFtcNP6SBrVzuEaIatAbBi1KcCvMJA=; b=ZjPB95pDpZiGjChCU649nWKDt9iAeqGyrriUZ88RsoJ2M+UIMhxIqPFKmfsySjbtNWE/vNLbpBrCfRB2GcjCu4Jpfy0n125KutXx6Mku0tXDbg9Z7p/mtTJImswC4HnBPJL3W/jV4RCzrsRYOHjnEmB1rbvxJGOrSiMWZlcyEfy1l25EdlLSF4EVHs/ZfL3Lk1GU9jq2CHa7hhLgfapx6Rx0xeN9Ltw0rzlFz9IR59oxbXiJ2DYOHyPJoW4zONMzC1YRemgU8aLm/qirb17DVi40EdfmDvC4OUQ+9TjJXjkaSw06pbBAam0gBrzZVJKeQm5HOyPSXJ9478h27Yxq+A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stU5Z-0003CM-N9 for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 11:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Sep 2024 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73455 X-GNU-PR-Package: emacs Original-Received: via spool by 73455-submit@debbugs.gnu.org id=B73455.172727865212234 (code B ref 73455); Wed, 25 Sep 2024 15:38:01 +0000 Original-Received: (at 73455) by debbugs.gnu.org; 25 Sep 2024 15:37:32 +0000 Original-Received: from localhost ([127.0.0.1]:43036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stU55-0003BG-JW for submit@debbugs.gnu.org; Wed, 25 Sep 2024 11:37:31 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:65263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stU52-0003B5-Vn for 73455@debbugs.gnu.org; Wed, 25 Sep 2024 11:37:30 -0400 Original-Received: from sdf.org (IDENT:van.ly@iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 48PFaxvI006038 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 25 Sep 2024 15:37:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sdf.org; s=sdf.org; t=1727278621; bh=d4t1X4ZOhzopvWG9LGF7AdZ53LWrnDIa1N0ddWJWN4M=; h=From:To:Cc:Subject:In-Reply-To:Date; b=aPlU6QtxoOICFYtnCw+aE7xe2ghzgB0CaAK+eG7qh63pQyQE4vGsf2JADrRBZtuA4 npfw/QFP75tviSgAZJfohxBtJ2yUo5jwMhMaW6O3oaihV3gBHk2wbQzbWqXJI2C4RW 4UgzUUPl8xomz+HARZ9k4y/VSPHe6cdweWX0jWlE= Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 48PFawXN025109; Wed, 25 Sep 2024 15:36:58 GMT In-Reply-To: <865xqjdim3.fsf@gnu.org> (message from Eli Zaretskii on Wed, 25 Sep 2024 15:26:44 +0300) 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:292399 Archived-At: Eli Zaretskii writes: > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Emacs does not realign the c= olumns > in the output of the Find command, it uses the output as-is. Since > you are on NetBSD, I'm guessing that your Find command is not GNU > Find, and it probably doesn't guarantee that the columns are aligned. > I think I see in the GNU Find code which tries to handle this case, so > maybe you could install GNU Find and try with that. > The GNU findutils package offers pkg/gnu/bin/find and pkg/bin/gfind as follows, and the column alignment is correct in the GNU find. Emacs doesn't seem to have a configuration option to override the system's find with gfind from GNU. Placing in PATH /usr/pkg/gnu/bin:/usr/pkg/bin:/usr/bin has the potential to knock-on unwanted side-effects where tools prefer the base system commands. An example would be make and gmake. 1 $ pkgin pkg-content findutils 2 Information for https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64= /10.0_2024Q2/All/findutils-4.9.0.tgz: 3 Files: 4 /usr/pkg/bin/gfind 5 /usr/pkg/bin/glocate 6 /usr/pkg/bin/gupdatedb 7 /usr/pkg/bin/gxargs 8 /usr/pkg/gnu/bin/find 9 /usr/pkg/gnu/bin/locate 10 /usr/pkg/gnu/bin/updatedb 11 /usr/pkg/gnu/bin/xargs --=20 vl