mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-21 20:13:29 -08:00
* doc/emacs/dired.texi (Dired Enter): Update documentation of Dired's display and handling of file names that contain newlines. Document new user option 'dired-auto-toggle-b-switch'. * etc/NEWS: Announce new warning and new user option. * lisp/dired.el (dired-auto-toggle-b-switch): New user option. (dired-internal-noselect): Pop up a warning if the Dired listing displays a literal newline. (dired-switches-escape-p): Take the 'ls' switch '--quoting-style=escape' into account. (dired-mode): Add 'dired--toggle-b-switch' to 'post-command-hook'. (dired-move-to-end-of-filename): When the Dired listing includes a file name containing a newline, this can result in no change in the 'dired-filename' text property on the last file name, so in this case take the position just before the final newline as the end of the last file name to prevent a wrong-type-argument error. (dired--filename-with-newline-p, dired--remove-b-switch) (dired--toggle-b-switch, dired--set-auto-toggle-b-switch) (dired--display-filename-with-newline-warning): New functions. |
||
|---|---|---|
| .. | ||
| emacs | ||
| lispintro | ||
| lispref | ||
| man | ||
| misc | ||
| translations | ||