From unknown Sat Aug 16 16:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Feb 2023 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 61785@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16773246336136 (code B ref -1); Sat, 25 Feb 2023 11:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2023 11:30:33 +0000 Received: from localhost ([127.0.0.1]:39279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVsl5-0001as-Hu for submit@debbugs.gnu.org; Sat, 25 Feb 2023 06:30:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:51572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVsl2-0001ak-RY for submit@debbugs.gnu.org; Sat, 25 Feb 2023 06:30:30 -0500 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 1pVsky-0004sz-RO for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 06:30:27 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVsks-0007QH-Kt for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 06:30:21 -0500 Received: by mail-ed1-x533.google.com with SMTP id s26so7223830edw.11 for ; Sat, 25 Feb 2023 03:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=aLddHDx/VBkvDHEv7KUXJXKsfU3nDbzdFpyVNkbj1j4=; b=mo1xNKGhKzohtBXmhfhqdFvOIvZNrw+3nhKKcq148ktCAtJaTare/EqhBfsZskziam jwPRzFhiNor/lGglZgtOZID8cUx/yzh/O/K2t0kDCSS4Wr/lHB3Bn67+0Oq3plp1EH5/ 60BlCULpuRpui/kQvQsd2k0GGNGFmKlYpV+2vICVA9lGLKClY1LFmpi/kys26wMvg8ux lQT1tCG5JeHcozKf1KavTmAH+vXf+kKYnkuf/cCaEDd53OZw0b9AOwcPPZtHtLHi1f5c k9FG+plbOZNlpHbGTiPik1Q1vUbjtBUgrpn88PZZ2whSD+CB4+3Ef56c9E1x23DRR9j1 OGDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aLddHDx/VBkvDHEv7KUXJXKsfU3nDbzdFpyVNkbj1j4=; b=AqQh2Z+hdS4JQNBYNcYi+QZeEXoHWwKsTVc5jtHA7noGQZE26Gw6aaUNW2EVccqjar erLU0C/W8agTFvyCBhbGzehtzLLeSsUqHTyTOMYekhVizvXqMLyRpmT3LqUZylWQasjH o0llsmCNMZUJ6ilwHsMN3pfe8WVOushwzOn1VdxXcY6eMiXqItQRZkkk6M/WyIqB2InT nZJeft5J6Oog4z1ca7kGITQu1isNfa5nYDvHc14JsBh61Hh0LiMzczBiqCr7caDNCbpF lFp88TTInFUPH8QgXPPzHZiLBwbScKcNFByYv5NBlxk7i39BbzLwRQkgykXdEEJZW1gJ 9VBQ== X-Gm-Message-State: AO0yUKUl8ic0TsLv71oWK7hZC+TU8wiw2PclYhJbpmNM4bCFQMEksT8A kD0biDMqXWdEZIefQTExJz2ucm79xEY= X-Google-Smtp-Source: AK7set/O3NLF338etOX7QcU1kgPUhJtO5l2juC3j5hOnAIENN5boknmPDsHc4J+q5ei303kEQGq0RQ== X-Received: by 2002:a17:906:4ad1:b0:8f8:375e:f0b6 with SMTP id u17-20020a1709064ad100b008f8375ef0b6mr2112706ejt.58.1677324615787; Sat, 25 Feb 2023 03:30:15 -0800 (PST) Received: from ars3 ([2a02:8109:8ac0:56d0::6fd0]) by smtp.gmail.com with ESMTPSA id a24-20020a17090640d800b008b1797b77b2sm724845ejk.221.2023.02.25.03.30.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 03:30:15 -0800 (PST) From: Augusto Stoffel Date: Sat, 25 Feb 2023 12:30:14 +0100 Message-ID: <87sfeu3ruh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Tags: patch I find the normal dired buffer a bit too busy but dired-hide-details-mode a bit too lacking. So I'd like show only the details I care most about, for instance like this: --8<---------------cut here---------------start------------->8--- /home/augusto/emacs: 4.0K Feb 25 . 4.0K Feb 20 .. 4.0K Feb 25 admin 4.0K Feb 20 autom4te.cache 4.0K Feb 25 build-aux 3.6K Feb 20 aclocal.m4 11K Feb 25 autogen.sh 932 Jun 6 BUGS ... --8<---------------cut here---------------end--------------->8--- The above can be obtained by setting (setq dired-hide-details-preserved-columns '(5 6 7)) After writing this, I realized one could easily modify the new user option to be an alist mapping column numbers to arbitrary text properties to be applied to that column. If anyone thinks this variant is useful, I'd be happy to adapt the patch. --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Add-option-to-keep-some-columns-in-dired-hide-detail.patch >From 58ed1d179e4b9a66f21a3507787033bd94d7107d Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Sat, 25 Feb 2023 12:15:43 +0100 Subject: [PATCH] Add option to keep some columns in dired-hide-details-mode * lisp/dired.el (dired-hide-details-preserved-columns): New user option. (dired-insert-set-properties): Use it. --- lisp/dired.el | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lisp/dired.el b/lisp/dired.el index 2bcb28a0e00..7a9076ecb49 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -490,6 +490,11 @@ dired-guess-shell-znew-switches (string :tag "Switches")) :version "29.1") +(defcustom dired-hide-details-preserved-columns nil + "List of columns which are not hidden in `dired-hide-details-mode'." + :type '(repeat integer) + :version "30.1") + ;;; Internal variables @@ -1880,8 +1885,15 @@ dired-insert-set-properties (put-text-property (line-beginning-position) (1+ (line-end-position)) 'invisible 'dired-hide-details-information)) - (put-text-property (+ (line-beginning-position) 1) (1- (point)) - 'invisible 'dired-hide-details-detail) + (save-excursion + (let ((end (1- (point))) + (opoint (goto-char (1+ (pos-bol)))) + (i 0)) + (put-text-property opoint end 'invisible 'dired-hide-details-detail) + (while (re-search-forward "[^ ]+" end t) + (when (member (cl-incf i) dired-hide-details-preserved-columns) + (put-text-property opoint (point) 'invisible nil)) + (setq opoint (point))))) (when (and dired-mouse-drag-files (fboundp 'x-begin-drag)) (put-text-property (point) (save-excursion -- 2.39.2 --=-=-=-- From unknown Sat Aug 16 16:16:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Augusto Stoffel Subject: bug#61785: closed (Re: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode) Message-ID: References: <83bklbe4wa.fsf@gnu.org> <87sfeu3ruh.fsf@gmail.com> X-Gnu-PR-Message: they-closed 61785 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 61785@debbugs.gnu.org Date: Thu, 02 Mar 2023 12:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1677758702-13459-1" This is a multi-part message in MIME format... ------------=_1677758702-13459-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61785: [PATCH] Add option to keep some columns in dired-hide-details-mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61785@debbugs.gnu.org. --=20 61785: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61785 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1677758702-13459-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61785-done) by debbugs.gnu.org; 2 Mar 2023 12:04:20 +0000 Received: from localhost ([127.0.0.1]:56013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXhfX-0003U6-2O for submit@debbugs.gnu.org; Thu, 02 Mar 2023 07:04:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXhfU-0003Tr-Rh for 61785-done@debbugs.gnu.org; Thu, 02 Mar 2023 07:04:18 -0500 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 1pXhfP-0005Ym-Gj; Thu, 02 Mar 2023 07:04:11 -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=7O8qO/6ZgzMCzL43d/sIugJj+lobhi+kTxoG5aRkoog=; b=gvjhObXQ+OQq IgnPhkxSAOVG9rhZOeEXIF8YdEXfbESOR1ZCMFYPqkUKUNsHhH7tr6wajPXut/X15dAC+BWzmgZFs X4xcsZyif9NtArJRXD+GwN5XVRYPp2pzLt60XxURkIS0W1a8h9LGG8/Pb1yXxg3tK4K84b/xXDroc gXQ1KFwtBkO6tvzuZdqcL6zbFdD3EbHbE3fzRv8orhRb6zv4a1qAm1/AYnQC7K6GI6Q3ZWjHRc3CR i1ko1hXP33KfQYdMs5+/uBaY72QtPi7LlQvNEEBXSvEh8LKAD3rgZBX2Jt3yWjiHlg5u4hgQgMBkP yfKZ8pQh2/5OewspO9OZzw==; Received: from [87.69.77.57] (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 1pXhfO-00016t-VA; Thu, 02 Mar 2023 07:04:11 -0500 Date: Thu, 02 Mar 2023 14:04:05 +0200 Message-Id: <83bklbe4wa.fsf@gnu.org> From: Eli Zaretskii To: Augusto Stoffel In-Reply-To: <87sfeu3ruh.fsf@gmail.com> (message from Augusto Stoffel on Sat, 25 Feb 2023 12:30:14 +0100) Subject: Re: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode References: <87sfeu3ruh.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61785-done Cc: 61785-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Augusto Stoffel > Date: Sat, 25 Feb 2023 12:30:14 +0100 > > I find the normal dired buffer a bit too busy but > dired-hide-details-mode a bit too lacking. So I'd like show only the > details I care most about, for instance like this: > > --8<---------------cut here---------------start------------->8--- > /home/augusto/emacs: > 4.0K Feb 25 . > 4.0K Feb 20 .. > 4.0K Feb 25 admin > 4.0K Feb 20 autom4te.cache > 4.0K Feb 25 build-aux > 3.6K Feb 20 aclocal.m4 > 11K Feb 25 autogen.sh > 932 Jun 6 BUGS > ... > --8<---------------cut here---------------end--------------->8--- > > The above can be obtained by setting > > (setq dired-hide-details-preserved-columns '(5 6 7)) > > After writing this, I realized one could easily modify the new user > option to be an alist mapping column numbers to arbitrary text > properties to be applied to that column. If anyone thinks this variant > is useful, I'd be happy to adapt the patch. Thanks, installed on the master branch. Feel free to post further enhancements if you think they will be useful. ------------=_1677758702-13459-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Feb 2023 11:30:33 +0000 Received: from localhost ([127.0.0.1]:39279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVsl5-0001as-Hu for submit@debbugs.gnu.org; Sat, 25 Feb 2023 06:30:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:51572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVsl2-0001ak-RY for submit@debbugs.gnu.org; Sat, 25 Feb 2023 06:30:30 -0500 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 1pVsky-0004sz-RO for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 06:30:27 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVsks-0007QH-Kt for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 06:30:21 -0500 Received: by mail-ed1-x533.google.com with SMTP id s26so7223830edw.11 for ; Sat, 25 Feb 2023 03:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=aLddHDx/VBkvDHEv7KUXJXKsfU3nDbzdFpyVNkbj1j4=; b=mo1xNKGhKzohtBXmhfhqdFvOIvZNrw+3nhKKcq148ktCAtJaTare/EqhBfsZskziam jwPRzFhiNor/lGglZgtOZID8cUx/yzh/O/K2t0kDCSS4Wr/lHB3Bn67+0Oq3plp1EH5/ 60BlCULpuRpui/kQvQsd2k0GGNGFmKlYpV+2vICVA9lGLKClY1LFmpi/kys26wMvg8ux lQT1tCG5JeHcozKf1KavTmAH+vXf+kKYnkuf/cCaEDd53OZw0b9AOwcPPZtHtLHi1f5c k9FG+plbOZNlpHbGTiPik1Q1vUbjtBUgrpn88PZZ2whSD+CB4+3Ef56c9E1x23DRR9j1 OGDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aLddHDx/VBkvDHEv7KUXJXKsfU3nDbzdFpyVNkbj1j4=; b=AqQh2Z+hdS4JQNBYNcYi+QZeEXoHWwKsTVc5jtHA7noGQZE26Gw6aaUNW2EVccqjar erLU0C/W8agTFvyCBhbGzehtzLLeSsUqHTyTOMYekhVizvXqMLyRpmT3LqUZylWQasjH o0llsmCNMZUJ6ilwHsMN3pfe8WVOushwzOn1VdxXcY6eMiXqItQRZkkk6M/WyIqB2InT nZJeft5J6Oog4z1ca7kGITQu1isNfa5nYDvHc14JsBh61Hh0LiMzczBiqCr7caDNCbpF lFp88TTInFUPH8QgXPPzHZiLBwbScKcNFByYv5NBlxk7i39BbzLwRQkgykXdEEJZW1gJ 9VBQ== X-Gm-Message-State: AO0yUKUl8ic0TsLv71oWK7hZC+TU8wiw2PclYhJbpmNM4bCFQMEksT8A kD0biDMqXWdEZIefQTExJz2ucm79xEY= X-Google-Smtp-Source: AK7set/O3NLF338etOX7QcU1kgPUhJtO5l2juC3j5hOnAIENN5boknmPDsHc4J+q5ei303kEQGq0RQ== X-Received: by 2002:a17:906:4ad1:b0:8f8:375e:f0b6 with SMTP id u17-20020a1709064ad100b008f8375ef0b6mr2112706ejt.58.1677324615787; Sat, 25 Feb 2023 03:30:15 -0800 (PST) Received: from ars3 ([2a02:8109:8ac0:56d0::6fd0]) by smtp.gmail.com with ESMTPSA id a24-20020a17090640d800b008b1797b77b2sm724845ejk.221.2023.02.25.03.30.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 03:30:15 -0800 (PST) From: Augusto Stoffel To: bug-gnu-emacs@gnu.org Subject: [PATCH] Add option to keep some columns in dired-hide-details-mode Date: Sat, 25 Feb 2023 12:30:14 +0100 Message-ID: <87sfeu3ruh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Tags: patch I find the normal dired buffer a bit too busy but dired-hide-details-mode a bit too lacking. So I'd like show only the details I care most about, for instance like this: --8<---------------cut here---------------start------------->8--- /home/augusto/emacs: 4.0K Feb 25 . 4.0K Feb 20 .. 4.0K Feb 25 admin 4.0K Feb 20 autom4te.cache 4.0K Feb 25 build-aux 3.6K Feb 20 aclocal.m4 11K Feb 25 autogen.sh 932 Jun 6 BUGS ... --8<---------------cut here---------------end--------------->8--- The above can be obtained by setting (setq dired-hide-details-preserved-columns '(5 6 7)) After writing this, I realized one could easily modify the new user option to be an alist mapping column numbers to arbitrary text properties to be applied to that column. If anyone thinks this variant is useful, I'd be happy to adapt the patch. --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Add-option-to-keep-some-columns-in-dired-hide-detail.patch >From 58ed1d179e4b9a66f21a3507787033bd94d7107d Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Sat, 25 Feb 2023 12:15:43 +0100 Subject: [PATCH] Add option to keep some columns in dired-hide-details-mode * lisp/dired.el (dired-hide-details-preserved-columns): New user option. (dired-insert-set-properties): Use it. --- lisp/dired.el | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lisp/dired.el b/lisp/dired.el index 2bcb28a0e00..7a9076ecb49 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -490,6 +490,11 @@ dired-guess-shell-znew-switches (string :tag "Switches")) :version "29.1") +(defcustom dired-hide-details-preserved-columns nil + "List of columns which are not hidden in `dired-hide-details-mode'." + :type '(repeat integer) + :version "30.1") + ;;; Internal variables @@ -1880,8 +1885,15 @@ dired-insert-set-properties (put-text-property (line-beginning-position) (1+ (line-end-position)) 'invisible 'dired-hide-details-information)) - (put-text-property (+ (line-beginning-position) 1) (1- (point)) - 'invisible 'dired-hide-details-detail) + (save-excursion + (let ((end (1- (point))) + (opoint (goto-char (1+ (pos-bol)))) + (i 0)) + (put-text-property opoint end 'invisible 'dired-hide-details-detail) + (while (re-search-forward "[^ ]+" end t) + (when (member (cl-incf i) dired-hide-details-preserved-columns) + (put-text-property opoint (point) 'invisible nil)) + (setq opoint (point))))) (when (and dired-mouse-drag-files (fboundp 'x-begin-drag)) (put-text-property (point) (save-excursion -- 2.39.2 --=-=-=-- ------------=_1677758702-13459-1-- From unknown Sat Aug 16 16:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 06:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 61785-done@debbugs.gnu.org Received: via spool by 61785-done@debbugs.gnu.org id=D61785.167791003424707 (code D ref 61785); Sat, 04 Mar 2023 06:08:01 +0000 Received: (at 61785-done) by debbugs.gnu.org; 4 Mar 2023 06:07:14 +0000 Received: from localhost ([127.0.0.1]:35128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYL34-0006QP-6O for submit@debbugs.gnu.org; Sat, 04 Mar 2023 01:07:14 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:39814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYL32-0006MZ-0H for 61785-done@debbugs.gnu.org; Sat, 04 Mar 2023 01:07:12 -0500 Received: by mail-ed1-f50.google.com with SMTP id f13so18461873edz.6 for <61785-done@debbugs.gnu.org>; Fri, 03 Mar 2023 22:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677910025; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AUssMpm1Se/LAAuqQi2E1UCeq6Ou1B3udVxc2GLn8i8=; b=ptyPdNR1x4UrY+ROVdNjnCyEhnHZDh1+NyuikI1gJdQXv1+MloBKrlxIcHIXv1UQ7e GrkUp/Nw6cQ3X0dTD30VSsOiYWAZRjzB2lxtRDS1/bFhs9NIUWJm0DIp0DV2QRR1BmMa VjA8PFONDYv160JRRgecO3yUSWAscvcJWZD4uHvzAsySMUoFihMBv4suN7FtqL7kh2EY JA6CvuU/InRNKHb0KtaNGz53t8YXf9vio/bYYgGUBXgReVgCqDtxmECyTcqTduXVnC7F 4zFWDAqAOCbwxT6N5XysKCj8R+cddqeza9CXRil4v9UYmj8Kk0moJGTY/kcdcroEIwFd 8zYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677910025; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=AUssMpm1Se/LAAuqQi2E1UCeq6Ou1B3udVxc2GLn8i8=; b=tQeH88pvP07ZQH5oPsoNkLS1WT2rtnW1DjAobtrWl9jpAWXWl04klNTi9sWvToIcst 8kvk5Gw8wvLcCY7vWMdRvX7oiRV8ph0+27hvrmnOWO3wCDEnWaYWulmvnEooxssHXMH4 c+MLsV4z8qO0fcbTJyKhvwhKYeQN2pUfos0/ccCc14Jkq+0DemtgyMb6M6a1pNC20uT7 XVQtvy+OtzKEmuofrXMakWzCHm8/Zo58JcZQvTwUm5c2TBXyNNPcZX+n/WXsIEIzWAPW Ok7067lBsGvC8ieMVJdDEy2kWPbB7k414qkRbBHhl+Xgi87BVq8MU1ca5eU48vhFzetu 96kg== X-Gm-Message-State: AO0yUKVFwNzat5zkThe5AICraR+yI8Y5i4V0/T2vQYMMvW/+/ECR5crp 7rIFHt+aP5qXvOmf9nJDmZ2kChW51Xg= X-Google-Smtp-Source: AK7set/awWXsJX/eQNNAXBd3AxgW+MPK4iV0N0xR3Zk15ECg9pET7YA4xZee+SwH9r93H3kgStCS9A== X-Received: by 2002:a17:906:1687:b0:8b1:2c2d:4658 with SMTP id s7-20020a170906168700b008b12c2d4658mr4030639ejd.33.1677910025121; Fri, 03 Mar 2023 22:07:05 -0800 (PST) Received: from ars3 ([2a02:8109:8ac0:56d0::8b3a]) by smtp.gmail.com with ESMTPSA id h21-20020a170906261500b008b23b22b062sm1703433ejc.114.2023.03.03.22.07.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 22:07:04 -0800 (PST) From: Augusto Stoffel In-Reply-To: <83bklbe4wa.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Mar 2023 14:04:05 +0200") References: <87sfeu3ruh.fsf@gmail.com> <83bklbe4wa.fsf@gnu.org> Date: Sat, 04 Mar 2023 07:07:02 +0100 Message-ID: <871qm5t5h5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 2 Mar 2023 at 14:04, Eli Zaretskii wrote: > Thanks, installed on the master branch. Feel free to post further > enhancements if you think they will be useful. I was having second thoughts about this idea =F0=9F=98=AC. The feature is = useful but difficult to implement right. The problem is that some columns of 'ls -l' are left aligned, so it's impossible to know where a column starts or ends by looking at an individual line. I think I would rather revert the commit until someone comes up with a better idea, if you don't mind. The ideal would be if 'ls --dired' would report the names and positions of the columns. From unknown Sat Aug 16 16:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Augusto Stoffel Cc: 61785-done@debbugs.gnu.org Received: via spool by 61785-done@debbugs.gnu.org id=D61785.16779164603723 (code D ref 61785); Sat, 04 Mar 2023 07:55:02 +0000 Received: (at 61785-done) by debbugs.gnu.org; 4 Mar 2023 07:54:20 +0000 Received: from localhost ([127.0.0.1]:35183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYMii-0000xz-4Q for submit@debbugs.gnu.org; Sat, 04 Mar 2023 02:54:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYMig-0000xm-Pa for 61785-done@debbugs.gnu.org; Sat, 04 Mar 2023 02:54:19 -0500 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 1pYMib-0004GH-9U; Sat, 04 Mar 2023 02:54:13 -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=LecZPAlZ24w3smOerGCFDoNiseHqQFVVD/n9+ghGLS8=; b=RoNfGHkDRd6W EH1RlZK4KWcs8wyl+uocdvizXsyqztlrYNRUjis0VxD+9o4+YdXt4jWgLqxCXV41xfV9I/IoRYuwU K1cFU1ZWuXLW3VEZh6ESCK17gY2MhFOLB0MCH7qH5rm5qrigmqGBY3g5VBd9qs+qR8lOcbjRJPE1u 1tvWBxzR/Hxr+1oneMoIrqkm12cWXXjcqGNtBsVD2eSV3GFulVCL/Nv+fkhJzMEWf6lorE3cbi96l ibrZ38iQFIKL1w4E7n27norsYUddTMzHiKx8pkLYQ5D3bjoy0hEX6gCnlDrTzaAmWweIXULGPkHbG dA4iV0cw+OfbUFVVayBYHg==; Received: from [87.69.77.57] (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 1pYMia-0005Ec-Jy; Sat, 04 Mar 2023 02:54:12 -0500 Date: Sat, 04 Mar 2023 09:54:00 +0200 Message-Id: <838rgdar53.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <871qm5t5h5.fsf@gmail.com> (message from Augusto Stoffel on Sat, 04 Mar 2023 07:07:02 +0100) References: <87sfeu3ruh.fsf@gmail.com> <83bklbe4wa.fsf@gnu.org> <871qm5t5h5.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Augusto Stoffel > Cc: 61785-done@debbugs.gnu.org > Date: Sat, 04 Mar 2023 07:07:02 +0100 > > I think I would rather revert the commit until someone comes up with a > better idea, if you don't mind. I'm not sure I see a problem with counting columns. What is the harm of keeping the commit on master? If we get complaints about it, we have ample time to remove the feature when and if we get those complaints. From unknown Sat Aug 16 16:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 11:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 61785-done@debbugs.gnu.org Received: via spool by 61785-done@debbugs.gnu.org id=D61785.16779292071470 (code D ref 61785); Sat, 04 Mar 2023 11:27:02 +0000 Received: (at 61785-done) by debbugs.gnu.org; 4 Mar 2023 11:26:47 +0000 Received: from localhost ([127.0.0.1]:35306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYQ2J-0000Ne-5W for submit@debbugs.gnu.org; Sat, 04 Mar 2023 06:26:47 -0500 Received: from mail-ed1-f47.google.com ([209.85.208.47]:47040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYQ2H-0000NN-4A for 61785-done@debbugs.gnu.org; Sat, 04 Mar 2023 06:26:45 -0500 Received: by mail-ed1-f47.google.com with SMTP id o15so19955659edr.13 for <61785-done@debbugs.gnu.org>; Sat, 04 Mar 2023 03:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677929198; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZgNEojp8Hl5XyYQrGeAsZUE8d6bDw2fjL6h984B70iU=; b=BdVr39GPM8jWMc/4z7tjZGSFu9bhNSWzqrpm07AqbW0jIzOYhQEUjDNpL32RLK1xvy SZuwE9sStBdywCItneGW6BmTeigmdfEEM7VZw9vt1o8y2KytwKQXI3f5LD7w5gCAipDi B9E+1NPLYfeoEU+a7xyiYyz9OLAz4WMCq2i9UZOPGocaNR5u1hUe0oG6u0HUKi4+x/C0 cLrrknnxVmx0T+e3SKqiT6/aZ2l2TDe7e0s0G8oImkWWc3Oc8YGrbvtW6eJSrHZU/XC5 jl2ytwvhEffym5OaqkofWay1+ch9U+6tirQpZ7bx8TS/EU9stn7ztcEweC7quvey27Om ebZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677929198; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZgNEojp8Hl5XyYQrGeAsZUE8d6bDw2fjL6h984B70iU=; b=T772cLTGm6OhyBo+y1h1hDm0ADWQqnLaVeRR0JYIcaDELlwrvzDMxI0zOaEk5m5enF gZDpxY4yUixr3tPSD+PDc1kkISDd8DhIAyC2IUPLFvv6VlS3lDuAZnbv431zCEbkCNfk 1PCtsSCY3mhT2Fmf3JH0UH7l9mT8cGnCOGa3JoylVOuF6EXVmU7DM0Xq8FxcD07j+4oJ N6zAUthzTagdFarsX8fsHFZbrpooDzde/A5gtMBPQgGXeCsH6H/GF8yiyv7m+TziUHMa bdjC9bf44zKyuVYhY9QuwxKajwKy0PfhDrl3sFlku4eHrI/TsuPc1CT3d/uzyrAZ83fv 2/1w== X-Gm-Message-State: AO0yUKXEExQ1DfcCJ6pl9SQ1qNhfSJgzDCeWtA+6SVpgkT/zvcr8V1Mw Q/gOJ0kxfH+hTGWm3l3RbODc19+yZ+o= X-Google-Smtp-Source: AK7set/DHP5CQqm5Q0ZlijV4mK+cTBTqYS+g/8kCSLwnTVh5qzl98OpfPbjzt3NCRCrQBu0+CgfBiQ== X-Received: by 2002:a17:906:af18:b0:8aa:c155:9233 with SMTP id lx24-20020a170906af1800b008aac1559233mr4893168ejb.26.1677929198465; Sat, 04 Mar 2023 03:26:38 -0800 (PST) Received: from ars3 ([2a02:8109:8ac0:56d0::8b3a]) by smtp.gmail.com with ESMTPSA id gq11-20020a170906e24b00b008dd2db45c0bsm1973390ejb.105.2023.03.04.03.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 03:26:37 -0800 (PST) From: Augusto Stoffel In-Reply-To: <838rgdar53.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Mar 2023 09:54:00 +0200") References: <87sfeu3ruh.fsf@gmail.com> <83bklbe4wa.fsf@gnu.org> <871qm5t5h5.fsf@gmail.com> <838rgdar53.fsf@gnu.org> Date: Sat, 04 Mar 2023 12:26:36 +0100 Message-ID: <87edq4pxjn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, 4 Mar 2023 at 09:54, Eli Zaretskii wrote: >> From: Augusto Stoffel >> Cc: 61785-done@debbugs.gnu.org >> Date: Sat, 04 Mar 2023 07:07:02 +0100 >> >> I think I would rather revert the commit until someone comes up with a >> better idea, if you don't mind. > > I'm not sure I see a problem with counting columns. > > What is the harm of keeping the commit on master? If we get > complaints about it, we have ample time to remove the feature when and > if we get those complaints. The problem is that the code asssumes the columns are right-aligned, which is not true for user and group. So for instance this listing: drwx------. 43 augusto augusto 69632 Mar 4 12:21 . drwxr-xr-x. 4 root root 4096 Aug 9 2022 .. drwx------. 171 augusto augusto 12288 Feb 27 11:52 .cache will get abridged like this: 69632 Mar 4 12:21 . 4096 Aug 9 2022 .. 12288 Feb 27 11:52 .cache But if you don't mind that, we can keep the code and see if someone finds a nice way to deal with it. From unknown Sat Aug 16 16:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 12:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Augusto Stoffel Cc: 61785-done@debbugs.gnu.org Received: via spool by 61785-done@debbugs.gnu.org id=D61785.167793334817291 (code D ref 61785); Sat, 04 Mar 2023 12:36:02 +0000 Received: (at 61785-done) by debbugs.gnu.org; 4 Mar 2023 12:35:48 +0000 Received: from localhost ([127.0.0.1]:35350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYR76-0004Uo-IZ for submit@debbugs.gnu.org; Sat, 04 Mar 2023 07:35:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYR75-0004Ub-01 for 61785-done@debbugs.gnu.org; Sat, 04 Mar 2023 07:35:47 -0500 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 1pYR6z-0007Ra-MM; Sat, 04 Mar 2023 07:35:41 -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=WGqGm0koPrLUXEorFtXUprlJ4TcXholGJ4cVh3qGa6c=; b=aU2JI53HHpGX BoKJPtyIR9WEX+OztUGKvu2ZvffrPpKBL1r19VieiVOKtxOafmGsefbqRNgXZIlahEpcSDmuwqmh9 E6WRjLqPGQOzG49ifcLvYiOU6zFPbonl39XPE0ddDcDwMbOkAZ772lBZLzEJGXzYzQ8yB2e8zbn5D TMA2NQOYyXQZ57DGR+J1t+M9xr/6122p6Q4bwQjEy5eTrQ58dapCLuPN4BEanYMymPgmpFji2fmBE hdTNNAWXW/iHFdVUyTGXh4aWcu7nrCFLS5BxvV1d0Yg0GIMudRDVgM/AW3pp1g4bZ19Z/8SDySVsn vh995NYaMdP6SffXHdZSqw==; Received: from [87.69.77.57] (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 1pYR6z-0003lR-5e; Sat, 04 Mar 2023 07:35:41 -0500 Date: Sat, 04 Mar 2023 14:35:28 +0200 Message-Id: <83ttz0ae3z.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87edq4pxjn.fsf@gmail.com> (message from Augusto Stoffel on Sat, 04 Mar 2023 12:26:36 +0100) References: <87sfeu3ruh.fsf@gmail.com> <83bklbe4wa.fsf@gnu.org> <871qm5t5h5.fsf@gmail.com> <838rgdar53.fsf@gnu.org> <87edq4pxjn.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Augusto Stoffel > Cc: 61785-done@debbugs.gnu.org > Date: Sat, 04 Mar 2023 12:26:36 +0100 > > On Sat, 4 Mar 2023 at 09:54, Eli Zaretskii wrote: > > >> From: Augusto Stoffel > >> Cc: 61785-done@debbugs.gnu.org > >> Date: Sat, 04 Mar 2023 07:07:02 +0100 > >> > >> I think I would rather revert the commit until someone comes up with a > >> better idea, if you don't mind. > > > > I'm not sure I see a problem with counting columns. > > > > What is the harm of keeping the commit on master? If we get > > complaints about it, we have ample time to remove the feature when and > > if we get those complaints. > > The problem is that the code asssumes the columns are right-aligned, > which is not true for user and group. So for instance this listing: > > drwx------. 43 augusto augusto 69632 Mar 4 12:21 . > drwxr-xr-x. 4 root root 4096 Aug 9 2022 .. > drwx------. 171 augusto augusto 12288 Feb 27 11:52 .cache > > will get abridged like this: > > 69632 Mar 4 12:21 . > 4096 Aug 9 2022 .. > 12288 Feb 27 11:52 .cache > > But if you don't mind that, we can keep the code and see if someone > finds a nice way to deal with it. We could perhaps mention the caveat with right-aligned columns to the doc string, and expect users to avoid those columns?