Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen

From: Eli Zaretskii <[email-masked]>
Date: Sun, 20 Feb 2022 16:40:18 +0200

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Sun, 20 Feb 2022 15:31:56 +0100
> 
> But note that it doesn't replace "bar" with "./bar" -- it only does this
> if the file name starts with "-".

Sure.  Which is why the problems will be rare and subtle.

Btw, the "usual" way of telling a program "all arguments from here on
are not options" is to use "--".