In order to not show hidden file names in the Emacs dired directory listings, take the following steps:
- Use the Meta–x to enter a command.
- At the M–x prompt, type customize–groupand hit <Enter>
- At the ’
Customize group (default emacs):
’ prompt type ’dired’ - In the Emacs customization buffer for group Dired, find the option setting titled List Directory Verbose Switches [option variable name is list-directory-verbose-switches]
- Remove the a from the string value provided to list-directory-verbose-switches
- Save the changes.
Here is the Lisp code to set this option:
(if (eq system-type 'vax-vms) "/PROTECTION/SIZE/DATE/OWNER/WIDTH=(OWNER:10)" "-l")
The Lisp code can be placed in the .emacs file manually, if that method of editing and setting the Emacs environment options is preferred.