GNU bug report logs - #10458
24.0.92; ! in dired on a file starting with a hyphen

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Sun, 8 Jan 2012 20:13:01 UTC

Severity: minor

Found in version 24.0.92

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: michael_heerdegen <at> web.de, 10458 <at> debbugs.gnu.org, monnier <at> IRO.UMontreal.CA
Subject: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
Date: Sun, 20 Feb 2022 15:31:56 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> Here:
>
>    find /foo/bar -name %f
>
> I think substituting "./bar" for %f has different semantics that
> "bar", doesn't it?

Hm, right.  I guess that's a possible command somebody could use (even
though it doesn't work well in general (if you've ticked several files)).

But note that it doesn't replace "bar" with "./bar" -- it only does this
if the file name starts with "-".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 57 days ago.

Previous Next


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