GNU bug report logs - #10607
Handle all the escapes used by ls -b

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 26 Jan 2012 06:50:01 UTC

Severity: minor

Tags: confirmed

Full log


Message #4 received at 10607 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 10607 <at> debbugs.gnu.org
Subject: Re: bug#10607: Handle all the escapes used by ls -b
Date: Wed, 20 Jan 2021 18:41:19 +0100
Glenn Morris <rgm <at> 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




This bug report was last modified 2 years and 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.