GNU bug report logs -
#44556
27.1; Ido deletes file without configuration with C-x C-v C-k
Previous Next
Reported by: Christopher Sean Morrison <brlcad <at> mac.com>
Date: Tue, 10 Nov 2020 20:05:01 UTC
Severity: normal
Found in version 27.1
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
Christopher Sean Morrison <brlcad <at> mac.com> writes:
> As I said, I provided the recipe that affected me in the original
> report — see the “For example” line. I do not know 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.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.