1

This question already has an answer here:

I can't see that there is anyway in dired to hide permissions and ownership, but show size and date.

As the only user on the system and using a version control system, my files generally belong to me and are read-write.

marked as duplicate by Tyler, Drew, zck, Stefan, JeanPierre Oct 21 '18 at 20:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Vanilla Emacs offers nothing for this. Likewise Dired+. But perhaps there is another library that offers it. I just hit ( to peek and hit it again to hide (. But if you want to keep a certain set of details visible while hiding others then that's not sufficient. – Drew Oct 15 '18 at 23:01
1

With stock emacs, you could try this:

(require 'ls-lisp)
(setq ls-lisp-use-insert-directory-program nil)
(setq ls-lisp-verbosity nil)

That should do everything you need except for hiding the permissions.

1

The dired-details package, available from melpa, allows you to hide and show detailed listings in dired by pressing ) and (. Not exactly what you are looking for, but maybe useful as a work around until we find a way to pick and choose columns from the ls output to display.

UPDATE

As @mikado points out, this feature is now part of Emacs without any packages, just by pressing ( from a dired buffer. Neither the Emacs built-in version or the dired-details version allow you to select which columns of the ls output to show & hide, though.

  • I'm using Emacs 25.2.1 where that functionality is already built in, but I don't think it lets me customize the display in the way I'd like – mikado Oct 15 '18 at 20:05
  • Cool, I didn't realize Emacs did that without a package nowadays. And you're right - it's all or nothing. I don't think there is an option to show part of a listing like you want, but it would be really useful if there was. – Tyler Oct 15 '18 at 21:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.