From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen Date: Mon, 21 Feb 2022 14:49:06 +0100 Message-ID: <87ley4l48d.fsf@gnus.org> References: <87wr92j6y6.fsf@web.de> <878ru5sl3n.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31560"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: michael_heerdegen@web.de, 10458@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 15:10:19 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 1nM9ON-00080l-An for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 15:10:19 +0100 Original-Received: from localhost ([::1]:49776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nM9OM-0006Wn-E3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 09:10:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM94k-0007g8-Un for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 08:50:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nM94k-0002Dn-IX for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 08:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nM94k-0002Zf-He for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 08:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Feb 2022 13:50:02 +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.16454513679831 (code B ref 10458); Mon, 21 Feb 2022 13:50:02 +0000 Original-Received: (at 10458) by debbugs.gnu.org; 21 Feb 2022 13:49:27 +0000 Original-Received: from localhost ([127.0.0.1]:35410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM942-0002YM-V0 for submit@debbugs.gnu.org; Mon, 21 Feb 2022 08:49:27 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:38706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM941-0002Y9-4e for 10458@debbugs.gnu.org; Mon, 21 Feb 2022 08:49:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=11jKa1kUt/f1/vsDx4woZh76UfOOi4SftuS2bsKwlNM=; b=hi7D2eNq2S766w6L03DMzfe/iP Smh/lJPp/l6/FjyHeoo19ZyWJgGjYjYf6HQ17DvAUuD9Ia5vlH8TV4lHJdZBGXyn53ZjO52vTPEiq oE4POoJw8CQhj1Gxfpf27qGhIGiVTrwimSYs1dSNrsBnhsryTMgAm/GkHPISr+MIQ+q0=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nM93r-0007r2-IL; Mon, 21 Feb 2022 14:49:10 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEXb4yrq9ijr9hzd pztVOoUoLZSnoZHZQFQgGWRBL0n////8n+odAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YCFQ0uDvWp EYoAAAGeSURBVDjLpZI9TyMxEIZttsjRrU1Bix0piG5hCkPHSU6AmvWJ8g4h6kWONNAnwvQnsfm3 jL1Zkt0k4k68xa40j+bjHQ9jSVz0lFNQbFO+Ix4B/zaQKv26IFNSa602gBxf6iipMt4BI1fuRXAE 2MmQ5+7urdAZHONpBwyDC2EGWBnogv35XZhZazzFlyDZl3WYPb9eTS2YFuRV8vTyfnVtS2s9tOMe Gi5yMIgvYVxO7a1OgD6IkAH66c3i79g6V4pP4DGqDm+L+dw5d7YEhoogGFjUgUTgZwNy79EXQwDG IqGUXyqBQ4MZMPBC6v0GuL0EBmigEDQYbbauYyk34QQOvPfAxUGyUqcesQvjGZqiWi7lpKnk3C1l oKkE7wPKGKB/Wr10HZIR6s5wgGr1Ij+aFJqXIX5eFk21rEUO2aAS68CtfPj12zm6iPMm57xYu5Jo Mbjyvt3uSloOF/YsvUfvELXOtRabQKWDUxulpG60E6g+0F+BLeNuB3pH8zacyL+V+v/mO4Fcb857 oD2ADTB6JP1RHZB2Ppo8TB5+K/EBD2OkmFWr3ggAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDIt MjFUMTM6NDY6MTQrMDA6MDCJywIlAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTIxVDEzOjQ2 OjE0KzAwOjAw+Ja6mQAAAABJRU5ErkJggg== X-Now-Playing: Macintosh Plus's _Sick & Panic_: "(untitled)" In-Reply-To: (Stefan Monnier's message of "Sun, 20 Feb 2022 10:14:36 -0500") 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:227338 Archived-At: Stefan Monnier writes: > The problem with that is that it's hackish and ad-hoc. It will > sometimes do the right thing, but other times it' not what's expected > and users will find it odd. Statistically speaking, it'll work on more cases than `!' used to, though. I'm pretty sure. And I think it's fine for a command like `!' to try to DWIM. > An alternative is to pass absolute file names. And I think it would > make sense in that case to let the user choose between relative names > and absolute names. Giving absolute names would break more stuff than the DWIM tweak, though, so we can't default to that. And if we can't default to having `!' work for files like this, there isn't much point. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no