From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen Date: Sun, 20 Feb 2022 16:23:55 +0200 Message-ID: <83pmnhwr9g.fsf@gnu.org> References: <87wr92j6y6.fsf@web.de> <878ru5sl3n.fsf@gnus.org> <83r17xws15.fsf@gnu.org> <87fsodr5mq.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18406"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, 10458@debbugs.gnu.org, monnier@IRO.UMontreal.CA To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 20 15:25:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nLn9O-0004cO-62 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 15:25:22 +0100 Original-Received: from localhost ([::1]:60892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLn9M-00064c-Sj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 09:25:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLn95-00063C-Vg for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 09:25:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLn93-0003aG-PO for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 09:25:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLn93-0005No-Jp for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 09:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Feb 2022 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10458 X-GNU-PR-Package: emacs Original-Received: via spool by 10458-submit@debbugs.gnu.org id=B10458.164536704720613 (code B ref 10458); Sun, 20 Feb 2022 14:25:01 +0000 Original-Received: (at 10458) by debbugs.gnu.org; 20 Feb 2022 14:24:07 +0000 Original-Received: from localhost ([127.0.0.1]:59740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLn8B-0005MP-H3 for submit@debbugs.gnu.org; Sun, 20 Feb 2022 09:24:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLn88-0005Lv-Gf for 10458@debbugs.gnu.org; Sun, 20 Feb 2022 09:24:05 -0500 Original-Received: from [2001:470:142:3::e] (port=56752 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLn7y-0003Vk-KM; Sun, 20 Feb 2022 09:23:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6c0zQm0HIsrvzNgl1/kGKVP/KLuVDlp6eF0mpnWRAdE=; b=n/MIhJ05gT6U Qy8VczgXrtyu1NgCSnfJ5yERm29mAebzGwKF0Fcgmj2iUCECHNenwUGD83QDPVQMtz9ezpu7HdwLF U1bBjpw44IMppPMvAgMwfGndhMAkRaebmByH5zJda4PaeZV3bAtCHGKuZziOO3+IuCHS60KT+6/0q SmRBwk7DkAJ4dw51WQbVStsi6iMEpyBOMIoihre74QOIkh3s18G3Na+GhbTONdqiqjZk887Jpz5aG +fjveuMc4qMxquAkAxEFRrE4Nub3MTjD+uPEd+tV4bbeWygXubazMD1YPlt7bLmMsIH0BxccVuv8P gmr/9458eo8SO9Alg1dZUA==; Original-Received: from [87.69.77.57] (port=1902 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLn7y-0001XJ-4o; Sun, 20 Feb 2022 09:23:54 -0500 In-Reply-To: <87fsodr5mq.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 20 Feb 2022 15:10:05 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227243 Archived-At: > From: Lars Ingebrigtsen > Cc: monnier@IRO.UMontreal.CA, michael_heerdegen@web.de, 10458@debbugs.gnu.org > Date: Sun, 20 Feb 2022 15:10:05 +0100 > > Eli Zaretskii writes: > > > 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. > > Commands like "echo" will behave differently, but I tried to imagine > other functions where this would make a difference, and I failed. Do > you have any examples? Here: find /foo/bar -name %f I think substituting "./bar" for %f has different semantics that "bar", doesn't it? Basically, any scenario where "foo" doesn't mean 'the file "foo" in the directory where the command is invoked'. > The old behaviour would misbehave for the vast majority of commands, so > I think it's an improvement. In some cases, yes. I'm worried about those where it changes the meaning, and the fact that we do this silently.