bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10607: Handle all the escapes used by ls -b


From: Lars Ingebrigtsen
Subject: bug#10607: Handle all the escapes used by ls -b
Date: Wed, 20 Jan 2021 18:41:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

> Emacs only partially handles (setq dired-listing-switches "-alb") at the
> moment. Ideally, should add handling for all possible file-name
> characters (eg  = \a, etc). dired-goto-file needs this, possibly other
> places.

This problem is still present in Emacs 28.

Case to reproduce:

(progn
  (setq dired-listing-switches "-alb")
  (shell-command "touch /tmp/a\ab")
  (dired "/tmp/")
  (dired-goto-file "/tmp/a\ab"))

This will not go to the a^Gb file.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]