From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Sean Morrison via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs 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 Message-ID: Reply-To: Christopher Sean Morrison Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10814"; mail-complaints-to="usenet@ciao.gmane.io" To: 44556@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 21:05:45 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 1kcZth-0002gf-3x for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 21:05:45 +0100 Original-Received: from localhost ([::1]:57394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcZtf-0007UN-VD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 15:05:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcZt0-0007Qx-Ud for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 15:05:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcZt0-0004aj-L9 for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 15:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcZt0-0002Nq-0e for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 15:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Sean Morrison Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Nov 2020 20:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44556 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16050386589098 (code B ref -1); Tue, 10 Nov 2020 20:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Nov 2020 20:04:18 +0000 Original-Received: from localhost ([127.0.0.1]:38984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcZsI-0002Mf-9a for submit@debbugs.gnu.org; Tue, 10 Nov 2020 15:04:18 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcZjd-0008SK-WD for submit@debbugs.gnu.org; Tue, 10 Nov 2020 14:55:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcZjd-0000tB-Mf for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 14:55:21 -0500 Original-Received: from st43p00im-zteg10073501.me.com ([17.58.63.180]:51919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcZjY-0003Gz-2j for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 14:55:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605038112; bh=Vrel15Rtv+GpZpsuxufgUVQBxgFNXDlES5K/I7HbJVM=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=LV4T4ZcSe0JlRYFl9hBNck/CFFNJN+I2XU04yiLqGNIcqYfYwDiqZ8dTexQT5nK0H ToFzszcK9G5HLA8LooLbZVwWdCxrKf7N7YVIxugmH2lRyLPSY+GD2tC+oL7hSef/PE YvhIZ5oHT1mmEZxd4ax8h25nDvtQaMrguLKyaSfcZqxVPaMkek6fmegG+0wTzQi5op TtLLOL8+lzPWSCYJLfiUdQa1DPymmQ5pWCWdfjWbgic6PGC/OO0IrNjUX6TAGcxrun rr6xeRDdMZnLMDgAznwFAw1wWyapucBDfCSIi3IawexRh1w6iSIlXGnJnJqVk8dnUd Ee5T34Of+kuyg== Original-Received: from [192.168.1.3] (216.49.34.142.res-cmts.bus.ptd.net [216.49.34.142]) by st43p00im-zteg10073501.me.com (Postfix) with ESMTPSA id 8F8A7AE02B4 for ; Tue, 10 Nov 2020 19:55:12 +0000 (UTC) X-Mailer: Apple Mail (2.3445.104.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-10_07:2020-11-10, 2020-11-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011100135 Received-SPF: pass client-ip=17.58.63.180; envelope-from=brlcad@mac.com; helo=st43p00im-zteg10073501.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/10 14:55:13 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, GAPPY_SUBJECT=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 10 Nov 2020 15:04:17 -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:193051 Archived-At: 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=20= 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=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/27.1/share/info/emacs --prefix=3D/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))