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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Glenn Morris <rgm@HIDDEN>; Keywords: confirmed; dated Thu, 26 Jan 2012 06:50:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 10607 <at> debbugs.gnu.org:


Received: (at 10607) by debbugs.gnu.org; 20 Jan 2021 17:41:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 20 12:41:34 2021
Received: from localhost ([127.0.0.1]:56235 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l2HU6-0007Gu-6h
	for submit <at> debbugs.gnu.org; Wed, 20 Jan 2021 12:41:34 -0500
Received: from quimby.gnus.org ([95.216.78.240]:47504)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1l2HU3-0007Gc-To
 for 10607 <at> debbugs.gnu.org; Wed, 20 Jan 2021 12:41:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=Z1hg/xZtjHMGzjBx8i/bFxTP7J14rMpMHyhSwdU2Qrw=; b=hNpdKEq+ENjDmLwch6pebbYUE7
 8fj4iIDlhP4XjrNIRi8hZ1HmemqyXxZTZxN8owxlbXpG/a8AWjkP7Bl20WgCQ1PmhNF2GLJq6lYPp
 LWRYeqdssLBIUI/2Qi2/2XuEsgijzSpr1ikjrBIaTUzK0caNeCUvoXmbiJuIgky8graE=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1l2HTs-0001zz-Pu; Wed, 20 Jan 2021 18:41:25 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#10607: Handle all the escapes used by ls -b
References: <6o62fzm010.fsf@HIDDEN>
X-Now-Playing: Joe Jackson's _Live 1980-86 (2)_: "Memphis"
Date: Wed, 20 Jan 2021 18:41:19 +0100
In-Reply-To: <6o62fzm010.fsf@HIDDEN> (Glenn Morris's message of
 "Thu, 26 Jan 2012 01:48:59 -0500")
Message-ID: <87pn1zmrpc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Glenn Morris <rgm@HIDDEN> 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, [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 10607
Cc: 10607 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Glenn Morris <rgm@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10607; Package emacs. Full text available.

Message received at quiet <at> debbugs.gnu.org:


Received: (at quiet) by debbugs.gnu.org; 26 Jan 2012 06:49:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 01:49:34 2012
Received: from localhost ([127.0.0.1]:44877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RqJ9H-0007Fp-NZ
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2012 01:49:33 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:33096 ident=Debian-exim)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1RqJ9G-0007Fi-4o
	for quiet <at> debbugs.gnu.org; Thu, 26 Jan 2012 01:49:30 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1RqJ8l-0001o9-KS; Thu, 26 Jan 2012 01:48:59 -0500
From: Glenn Morris <rgm@HIDDEN>
To: quiet <at> debbugs.gnu.org
Subject: Handle all the escapes used by ls -b
X-Spook: Medco Fedayeen Geraldton military Sundevil Israel
X-Ran: kQz02Ce(:4c6GaYp.m.pCe^:Fd_OpE-oYC\(G*Z~q+_Xjz43JUi(J7T&{vi.MMuP6Hc1_4
X-Hue: green
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 26 Jan 2012 01:48:59 -0500
Message-ID: <6o62fzm010.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: quiet
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

Package: emacs
Severity: minor

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.




Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 20 Jan 2021 17:45:02 UTC

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