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
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Christopher Sean Morrison <brlcad <at> mac.com> writes:
>
>> It is good to remove the malfunction from key bindings. Better is to
>> remove it completely.
>>
>> +1 on removing it completely. That’s a dangerous binding considering it’s typically
>> “cut to end of line”.
>
> I've now done this in Emacs 29.
I happened across this bug report and was surprised by the end
result. To state my case for a different solution:
- The C-k functionality is one of the core features of ido-mode, as
evidenced by the same feature being re-implemented to create fido-mode
- The C-k functionality is still present in fido-mode (although it can
never silently delete a file) with the same key binding active by
default
- ido-mode is not enabled by default and delete-by-moving-to-trash
defaults to nil, therefore nothing is silently deleted by default
- "Upon installing Graphene (require 'graphene) which enables Ido
everywhere". Surely this is the cause of the original issue and the
Graphene package is at last partially responsible for the problem?
In order to keep the functionality would it be possible to revert the
change but introduce a new ido-mode configuration variable? This new
variable could be checked in place of delete-by-moving-to-trash to
indicate that silent deleting is allowed, and the default value can
prevent silent deleting unless the user enables it.
This would re-align with the fido-mode operation and also protect
against accidental deletions.
Thanks,
Morgan
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.