GNU bug report logs - #63142
30.0.50; QUOTING_STYLE can break dired

Previous Next

Package: emacs;

Reported by: Yuri D'Elia <wavexx <at> thregr.org>

Date: Fri, 28 Apr 2023 09:47:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#63142: closed (30.0.50; QUOTING_STYLE can break dired)
Date: Tue, 02 May 2023 17:49:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 02 May 2023 20:48:47 +0300
with message-id <83o7n2mxog.fsf <at> gnu.org>
and subject line Re: bug#63142: 30.0.50; QUOTING_STYLE can break dired
has caused the debbugs.gnu.org bug report #63142,
regarding 30.0.50; QUOTING_STYLE can break dired
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
63142: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63142
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Yuri D'Elia <wavexx <at> thregr.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; QUOTING_STYLE can break dired
Date: Fri, 28 Apr 2023 11:35:09 +0200
If the environment variable QUOTING_STYLE is set, GNU "ls" can return a
format that dired doesn't like.

QUOTING_STYLE=shell will quote files with spaces such as 'a b', and
trying to interact with these files with dired results in:

dired-get-file-for-visit: File no longer exists; type g to update Dired buffer

Interestingly, even using "ls --dired" does the same if QUOTING_STYLE is
set.

Should dired handle QUOTING_STYLE (looking at the coreutils manual it
seems that other tools besides ls handle it) or should dired actively
suppress the quoting mode?



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Yuri D'Elia <wavexx <at> thregr.org>
Cc: ruijie <at> netyu.xyz, 63142-done <at> debbugs.gnu.org
Subject: Re: bug#63142: 30.0.50; QUOTING_STYLE can break dired
Date: Tue, 02 May 2023 20:48:47 +0300
> From: Yuri D'Elia <wavexx <at> thregr.org>
> Cc: ruijie <at> netyu.xyz, 63142 <at> debbugs.gnu.org
> Date: Tue, 02 May 2023 17:57:50 +0200
> 
> On Tue, May 02 2023, Eli Zaretskii wrote:
> > What about the patch I proposed: does it give good results?
> 
> Working as intended.

Thanks, so I've now installed it on the master branch, and I'm closing
this bug.


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

Previous Next


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