From: Eli Zaretskii <eliz@gnu.org>
To: Augusto Stoffel <arstoffel@gmail.com>
Cc: 61785-done@debbugs.gnu.org
Subject: bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode
Date: Thu, 02 Mar 2023 14:04:05 +0200 [thread overview]
Message-ID: <83bklbe4wa.fsf@gnu.org> (raw)
In-Reply-To: <87sfeu3ruh.fsf@gmail.com> (message from Augusto Stoffel on Sat, 25 Feb 2023 12:30:14 +0100)
> From: Augusto Stoffel <arstoffel@gmail.com>
> 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.
next prev parent reply other threads:[~2023-03-02 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-25 11:30 bug#61785: [PATCH] Add option to keep some columns in dired-hide-details-mode Augusto Stoffel
2023-03-02 12:04 ` Eli Zaretskii [this message]
2023-03-04 6:07 ` Augusto Stoffel
2023-03-04 7:54 ` Eli Zaretskii
2023-03-04 11:26 ` Augusto Stoffel
2023-03-04 12:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83bklbe4wa.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=61785-done@debbugs.gnu.org \
--cc=arstoffel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.