Hi, Drew Adams has an other opinion:
see the emails on the bottom (the first, I asked, is quite at the bottom, chronologically sorted)
Am 19.02.25 um 13:26 schrieb Tobias Geerinckx-Rice:
Hi Gottfried, Like almost all Linux distributions, Guix uses the ‘ls’ and many other fundamental commands from the GNU coreutils package. These are the ones you'll see called ‘Linux commands’ in many silly tutorials, like ‘cp’, ‘mv’, etc. Almost all GNU commands support the ‘--help’ option, which will print a list of all documented options as part of the usage instructions. Those that don't (often CLI commands not written for the GNU project) support the traditional single-letter ‘-h’ switch which does the same thing. So try ‘ls --help’, or ‘ls -h’! It should be exhaustive. And it's often easier to skim than the proper manual is… However, it won't tell you which options Dired likes and which it does not. I don't know if that's documented but if it is, that's Dired's job. Kind regards, T G-R Sent on the go. Excuse or enjoy my brevity.
--------------------------------------------------- This isn't an Emacs question. Likely `M-x man RET ls RET' will give you the answer. If not, consult the `ls' doc for your OS. What Dired wants is the list of `ls' command-line switches (also called options), e.g., -alF. Dunno whether your `ls' command has switches that show only the columns you want to show. But it's a question for your `ls', not for Emacs. Drew Adams ---------------------------------------------------- Hi Drew, You are right there are 2 possibilities: 1. in customizing Dired there is a "Dired Listing Switches" option it is set to :String: -al That is written underneath: Switches passed to ‘ls’ for Dired. MUST contain the ‘l’ option. Hide May contain all other options that don’t contradict ‘-l’; may contain even ‘F’, ‘b’, ‘i’ and ‘s’. See also the variable ‘dired-ls-F-marks-symlinks’ concerning the ‘F’ switch. If you have files with names with embedded newline characters, adding ‘b’ to the switches will allow Dired to handle those files better. Options that include embedded whitespace must be quoted like this: "--option=value with spaces"; you can use ‘combine-and-quote-strings’ to produce the correct quoting of each option.On systems such as MS-DOS and MS-Windows, which use ‘ls’ emulation in Lisp,
some of the ‘ls’ switches are not supported; see the doc string of ‘insert-directory’ in ‘ls-lisp.el’ for more details. 2. If I open Dired with C-u C-x d there is in the Menu "change ls switches": I pressed that: in the minibuffer Ido comes up with New ls switches - must contain -l (current: -al) (-al): I don´t know what to write there ---------------------------------------------------- No, not from Dired. But depending on the `ls' command for your OS, you can maybe do that. You can (1) customize option `dired-listing-switches' or (2) use `C-u' when you invoke `dired', to provide the `ls' switches for a given Dired listing. Drew Adams ------------------------------------------------- Hi Drew, in Dired+ you can toggle: "Global Dired Hide Details Mode" (it is the last one in the list) I found that you can hide everything except the directory/file name or show everything. Is there a possibility to hide only the first 3 columns, drwxr-xr-x user name users but show the last 3 columns: size of the file/directory Date Directory/file name thanks Gottfried
OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature