all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Yuri D'Elia <wavexx@thregr.org>
Cc: 63142@debbugs.gnu.org
Subject: bug#63142: 30.0.50; QUOTING_STYLE can break dired
Date: Fri, 28 Apr 2023 18:27:56 +0800	[thread overview]
Message-ID: <sdv8recmh9z.fsf@netyu.xyz> (raw)
In-Reply-To: <87o7n81grh.fsf@wavexx.thregr.org>


Yuri D'Elia <wavexx@thregr.org> writes:

> 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.

Are you suggesting that for ls, passing --dired should also override the
quoting style?  Either way, we can also pass --quoting-style onto the
command line to override it to something dired can play with.

> 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?

-- 
Best,


RY

[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]





  reply	other threads:[~2023-04-28 10:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28  9:35 bug#63142: 30.0.50; QUOTING_STYLE can break dired Yuri D'Elia
2023-04-28 10:27 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-04-28 10:28 ` Eli Zaretskii
2023-04-28 10:37   ` Yuri D'Elia
2023-04-28 10:46     ` Eli Zaretskii
2023-04-28 18:01       ` Yuri D'Elia
2023-04-29 10:46         ` Eli Zaretskii
2023-04-29 15:05           ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-29 15:16             ` Eli Zaretskii
2023-05-02  9:35               ` Yuri D'Elia
2023-05-02 12:18                 ` Eli Zaretskii
2023-05-02 15:57                   ` Yuri D'Elia
2023-05-02 17:48                     ` Eli Zaretskii
2023-05-05 11:04 ` Mattias Engdegård
2023-05-05 11:06   ` Yuri D'Elia
2023-05-05 11:25   ` Eli Zaretskii
2023-05-05 12:03     ` Michael Albinus
2023-05-05 12:11       ` Mattias Engdegård
2023-05-05 14:44         ` Michael Albinus
2023-05-05 17:26           ` Mattias Engdegård
2023-05-05 13:28       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sdv8recmh9z.fsf@netyu.xyz \
    --to=bug-gnu-emacs@gnu.org \
    --cc=63142@debbugs.gnu.org \
    --cc=ruijie@netyu.xyz \
    --cc=wavexx@thregr.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.