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#44556: 27.1; Ido deletes file without configuration with C-x C-v C-k Date: Wed, 09 Dec 2020 21:35:40 +0100 Message-ID: <87pn3ivhsz.fsf@gnus.org> References: <87o8k4cicz.fsf@gnus.org> <87k0tr10a6.fsf@gnus.org> <86C0D40E-5DAD-452B-ACCB-C6E18E7F988D@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39160"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44556@debbugs.gnu.org To: Christopher Sean Morrison Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 09 21:43:07 2020 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 1kn6Il-000A5K-Cf for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 21:43:07 +0100 Original-Received: from localhost ([::1]:48312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn6Ik-0001sC-D2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 15:43:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn6Bt-0001IB-W6 for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:36:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn6Bt-0006Eu-Og for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:36:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kn6Bt-0008FX-Ma for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Dec 2020 20:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44556 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44556-submit@debbugs.gnu.org id=B44556.160754615231680 (code B ref 44556); Wed, 09 Dec 2020 20:36:01 +0000 Original-Received: (at 44556) by debbugs.gnu.org; 9 Dec 2020 20:35:52 +0000 Original-Received: from localhost ([127.0.0.1]:36300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn6Bk-0008Eu-E7 for submit@debbugs.gnu.org; Wed, 09 Dec 2020 15:35:52 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:42328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn6Bi-0008Eg-Ss for 44556@debbugs.gnu.org; Wed, 09 Dec 2020 15:35:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=Y2pHzkOQ3haFMxh49s9NRXiOpSSg9EjCpOHkQSE4Cxw=; b=TNPKm/JPk14K+eyHtvJs+Wvxnc JmD122397ZTV6BSHhkHLNjNFZxNVfvRpYith1YAV0cXL4KbeDpI/p/22xiiwAXs1Fc7bE1Iwj8KyE A71bJnebFIVW0f3a01IFy+tsrUi5KSrWigDrv+BRAhyj5SwdgMnXyE6/yMxHjnpYx3tE=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kn6Ba-0005Lb-25; Wed, 09 Dec 2020 21:35:44 +0100 X-Now-Playing: =?UTF-8?Q?R=C3=B3isin?= Murphy's _Murphy's Law (Crooked Remixes)_: "Murphy's Law (Crooked Cowbelly 2)" In-Reply-To: <86C0D40E-5DAD-452B-ACCB-C6E18E7F988D@mac.com> (Christopher Sean Morrison's message of "Wed, 9 Dec 2020 14:23:40 -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:195596 Archived-At: Christopher Sean Morrison writes: > As I said, I provided the recipe that affected me in the original > report =E2=80=94 see the =E2=80=9CFor example=E2=80=9D line. I do not kn= ow if this issue > occurs in any other context, e.g., with/without Graphene and am not > any more available to explore those possibilities. I interpreted your bug report to say that you needed Graphene to reproduce the problem, but I see now that you didn't really say that. The recipe is: touch file1 file2 emacs -Q -f ido-mode file1 C-x C-v C-k Emacs will now say "Delete /tmp/file1 (yes or no)", and that is indeed pretty surprising behaviour. It's due to this: (defvar ido-file-completion-map [...] (define-key map "\C-k" 'ido-delete-file-at-head) I had no idea that that existed -- I use ido myself, but not for files. Anybody who uses ido for files here? Do you really use this to delete files? It seems really odd to mix up file deletion into a file name completion framework. (Reopening this bug report.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no