From: Morgan Willcock <mwillcock@precedence.co.uk>
To: 44556@debbugs.gnu.org
Subject: bug#44556: 27.1; Ido deletes file without configuration with C-x C-v C-k
Date: Mon, 28 Feb 2022 12:44:07 +0000 [thread overview]
Message-ID: <86v8wztb3c.fsf@precedence.co.uk> (raw)
In-Reply-To: <877d9zuksf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Feb 2022 11:24:00 +0100")
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Christopher Sean Morrison <brlcad@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
next prev parent reply other threads:[~2022-02-28 12:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 19:55 bug#44556: 27.1; Ido deletes file without configuration with C-x C-v C-k Christopher Sean Morrison via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-11 10:12 ` Lars Ingebrigtsen
2020-12-09 15:12 ` Lars Ingebrigtsen
2020-12-09 15:24 ` Jean Louis
2020-12-09 19:23 ` Christopher Sean Morrison via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-09 20:22 ` Jean Louis
2020-12-09 20:35 ` Lars Ingebrigtsen
2020-12-09 20:58 ` Jean Louis
2020-12-09 21:19 ` Christopher Sean Morrison via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-13 10:24 ` Lars Ingebrigtsen
2022-02-28 12:44 ` Morgan Willcock [this message]
2022-03-01 15:43 ` Lars Ingebrigtsen
2020-12-09 21:15 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86v8wztb3c.fsf@precedence.co.uk \
--to=mwillcock@precedence.co.uk \
--cc=44556@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.