Subject: Re: bug#63142: 30.0.50; QUOTING_STYLE can break dired

From: Eli Zaretskii <[email-masked]>
Date: Tue, 02 May 2023 15:18:56 +0300

> From: Yuri D'Elia <[email-masked]>
> Cc: Ruijie Yu <[email-masked]>, [email-masked]
> Date: Tue, 02 May 2023 11:35:13 +0200
> 
> On Sat, Apr 29 2023, Eli Zaretskii wrote:
> >> > +	(setq switches (concat "--dired -N " switches)))
> >> >      ;; Expand directory wildcards and fill file-list.
> >> >      (let ((dir-wildcard (insert-directory-wildcard-in-dir-p dir)))
> >> >        (cond (dir-wildcard
> >>
> >> Do we need to prevent "wild" users from setting a conflicting quoting
> >> style in `switches'
> >
> > Why would we want to do that?  If they think they know what they are
> > doing, let them live with the consequences.
> 
> It's always a good idea to actually have the possibility to override
> flags as an escape hatch.

I agree.

What about the patch I proposed: does it give good results?