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: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.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 16:07:18 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 20 Feb 2022 14:50:36 +0100
> Cc: michael_heerdegen <at> web.de, 10458 <at> debbugs.gnu.org
> 
> But adding ./ to file names that start with - should be safe, I think?

It changes semantics.  The list of file names passed to a command
doesn't necessarily mean "open each file and process it", it could
mean something else, like "make a list of files".  So I don't think we
should do that.




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

Previous Next


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