From: Christopher Sean Morrison via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 44556@debbugs.gnu.org
Subject: bug#44556: 27.1; Ido deletes file without configuration with C-x C-v C-k
Date: Tue, 10 Nov 2020 14:55:11 -0500 [thread overview]
Message-ID: <F203BBAC-D2D6-4DDD-AC26-A3353875C436@mac.com> (raw)
Ido is not prompting for file delete confirmation during C-k.
Upon installing Graphene (require 'graphene) which enables Ido
everywhere, I found myself accidentally deleting files when attempting
to switch to other files via C-x C-v and being accustomed to running C-k
to cut the current file name from the minibuffer line and type a new
file name. For example, touch file1 file2; emacs file1; C-x C-v C-k
file2 [enter].
With default bindings, that's an efficient switch to file2 but instead
is resulting in file1 being silently deleted.
According to a comment in ido.el, C-k is supposed to confirm the
deletion but no confirmation is presented. I'm running 27.1 installed
from brew on MacOSX.
Configured using:
'configure --disable-silent-rules
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/27.1/share/info/emacs
--prefix=/usr/local/Cellar/emacs/27.1 --with-gnutls --without-x
--with-xml2 --without-dbus --with-modules --without-ns
--without-imagemagick'
Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB MODULES THREADS JSON PDUMPER GMP
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Fundamental
Minor modes in effect:
show-paren-mode: t
project-persist-drawer-mode: t
project-persist-mode: t
global-auto-revert-mode: t
ido-ubiquitous-mode: t
ido-everywhere: t
delete-selection-mode: t
global-company-mode: t
company-mode: t
smartparens-global-mode: t
smartparens-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
global-visual-line-mode: t
visual-line-mode: t
transient-mark-mode: t
Load-path shadows:
~/.emacs.d/lisp/cmake-mode hides /usr/local/share/emacs/site-lisp/cmake/cmake-mode
Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch
jka-compr eieio-opt cl-extra help-fns radix-tree ffap bookmark
text-property-search pp term/xterm xterm flycheck ansi-color find-func
rx paren linum graphene graphene-look graphene-osx-defaults
graphene-projects ppd-sr-speedbar project-persist-drawer sr-speedbar
speedbar sb-image ezimage image dframe project-persist graphene-env
autorevert filenotify ido-completing-read+ memoize minibuf-eldef smex
ido graphene-editing delsel smartparens-html web-mode disp-table
company-oddmuse company-keywords company-etags etags fileloop generator
xref project ring company-gtags company-dabbrev-code company-dabbrev
company-files company-clang company-capf company-cmake company-semantic
company-template company-bbdb company edmacro kmacro pcase
graphene-smartparens-config smartparens-config smartparens-text
smartparens advice help-mode dash graphene-helper-functions finder-inf
cc-styles cc-align cc-engine cc-vars cus-edit cus-start cus-load
wid-edit google-c-style cc-defs regexp-opt cmake-mode thingatpt info
tool-bar package easymenu browse-url url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json
subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue multi-tty make-network-process emacs)
Memory information:
((conses 16 306295 12861)
(symbols 48 22766 2)
(strings 32 99999 1371)
(string-bytes 1 2760347)
(vectors 16 29865)
(vector-slots 8 346698 12318)
(floats 8 104 654)
(intervals 56 263 0)
(buffers 1000 13))
next reply other threads:[~2020-11-10 19:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 19:55 Christopher Sean Morrison via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-11-11 10:12 ` bug#44556: 27.1; Ido deletes file without configuration with C-x C-v C-k 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F203BBAC-D2D6-4DDD-AC26-A3353875C436@mac.com \
--to=bug-gnu-emacs@gnu.org \
--cc=44556@debbugs.gnu.org \
--cc=brlcad@mac.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).