From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Zimmermann Newsgroups: gmane.emacs.bugs Subject: bug#63910: 29.0.91; icomplete-mode ignores minibuffer-completion-confirm Date: Mon, 05 Jun 2023 15:39:42 +0200 Message-ID: <87pm6a110h.fsf@zimnn.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6637"; mail-complaints-to="usenet@ciao.gmane.io" To: 63910@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 05 15:49:20 2023 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 1q6AaG-0001XA-6y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jun 2023 15:49:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6Aa4-0004IJ-8e; Mon, 05 Jun 2023 09:49:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6AZy-0004H2-6X for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6AZx-0002jH-Ub for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6AZx-0008N8-PU for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Zimmermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jun 2023 13:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63910 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.168597288831964 (code B ref -1); Mon, 05 Jun 2023 13:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jun 2023 13:48:08 +0000 Original-Received: from localhost ([127.0.0.1]:48535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6AZ6-0008JS-2e for submit@debbugs.gnu.org; Mon, 05 Jun 2023 09:48:08 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6ARF-00082V-Ih for submit@debbugs.gnu.org; Mon, 05 Jun 2023 09:40:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ARF-0005sJ-AK for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:40:01 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6AR2-0000Tj-5w for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 09:40:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685972383; cv=none; d=strato.com; s=strato-dkim-0002; b=b86wUCR+msYFLxhxnvAXOWhV55kdEvR3bRYV/wN0YuavIzS8Mg5fhVSRbbZuYNMxmi HPWZRiJnURoNjVUTuO43zQhRzoFL80lgX5rU9EeHIGofIPmmUUAZQ1E+uvzTxeYooUqJ ZRvoGXaGTUzJ+3qpxofFzhv56AMAzZmqHKkYlX2uOKBPoQa9DigAtTk4CjJsjJaMVk0S QDBicDZbl5HlyhABeENyuRNE0UzOgmfNXl2Uw8kc9fVklmXPjGjCsXCW1+oqQ7+h5+Ax 6FuYz9qGVvYlDxB7V9y24fqg9LfCEqSBKPzo+vu5YVeFi3A4h3MkstcSV4Cusy3G45i2 os1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685972383; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=qu8JuLy8Z8iicDXl+fJY59PGaY+QTlbDn/QTiguUzu4=; b=RWbwbwNDDEZfs3rhMPJI1FrmXeTXu/K77Ds03zLo7JpbQmxxODCiBSEzsAr6Y3fImn iJniSUNUzJP6UN4xJOcD+MRcQYoCM9Ik54UrRgUQfNU/VJt9WqiDxIn9pVg1WWuBB2C4 IXrkKIeytiLWxDCNIB1byg1aXyJHX6D7vCTOMTJ+xLwg4M+y0tux8WZa6Zo9/DyWX0Ks MvV4F0zx2pwrMJZexD87iRyXerzYoFXiQPbjF5o9Mir4HVRo15zEjtHzqFCAaOGEsQi8 V/2Qc5UB4XurXdtAeo2o1gC9LTam2UKRSQcxAyYnpMGDrYcB94FBGhwbjeQczkuVWZPs ciYA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685972383; s=strato-dkim-0002; d=zimnn.de; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=qu8JuLy8Z8iicDXl+fJY59PGaY+QTlbDn/QTiguUzu4=; b=Q14JQl/ifSSSWgTQQhK+NMZgjbtmURNW9E1X1truha0YNnTTiaQg/I3eIAws0goumB ncb9O6Ry7is6wV5Q++eMzCoVcUIw47YKAaPJ8156YhjmzufbTsKJUK+DC0q5KSvOOss/ hrxXiP8WVlpnQEFBak3sDEvRE29XMYmeULbzS5ZSDDUnl9sxsWuJ5wsMuBkiUzCnciK/ fqjABHBxJOY3XmRDapItlZe7jV6tCIXzB8ejUXT9HE7xsrfH+li1r6GuGCmS7TrJVVxW ln9aGDByr2fOQvjdAP7MiN5jlD0ZYhgJ1f8BvNtHxbXG5fuui39RLbmT0DFG8TWhqfvn 3p9Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685972383; s=strato-dkim-0003; d=zimnn.de; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=qu8JuLy8Z8iicDXl+fJY59PGaY+QTlbDn/QTiguUzu4=; b=6fjBBQ79gySfyH1PO6QNp4I/cDbqq2ssJnkiyLQKBVqYfIDUnARjqe07lYc6wUC9bB sfNC+6XO0oUa/eyAt6Ag== X-RZG-AUTH: ":O2kGeEG7b/pS1FewRnG9x4oWjeKGHKuPea77GjUXFjXZ/RiX5ewYFgTKI9Blr+OG0GL2opF9R1rhWsE3OwOl3N7A1Q3YMWHcPl2bvA==" Original-Received: from manuel-usb by smtp.strato.de (RZmta 49.5.3 AUTH) with ESMTPSA id d4e234z55Ddh9LF (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Mon, 5 Jun 2023 15:39:43 +0200 (CEST) Received-SPF: none client-ip=81.169.146.161; envelope-from=m@zimnn.de; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 05 Jun 2023 09:48:07 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263013 Archived-At: The problem is that setting the variable `minibuffer-completion-confirm` to 'confirm is not respected by icomplete-mode. Steps to reproduce: 1. Evaluate following lines: (setq minibuffer-completion-confirm 'confirm) (icomplete-mode) 2. C-x C-f /tmp/non-existent-file The documentation string of `minibuffer-completion-confirm` states: If the value is 'confirm', the user may exit with an input that is not a valid completion alternative, but Emacs asks for confirmation. Since a file is opened which does not exist, I would expect that after pressing RET the first time, Emacs still stays in the minibuffer and appends [Confirm] at the end of the line. Only when pressing RET a second time Emacs switches to the new buffer. The actual behavior is that Emacs directly switches to the new buffer without confirmation after pressing RET for the first time. In GNU Emacs 29.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-06-05 built on host-1 Repository revision: dd2d8ff2f5cf5f495a793c7db0a168474a339613 Repository branch: makepkg System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --with-native-compilation=yes --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: icomplete-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t tab-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (cl-print face-remap misearch multi-isearch bug-reference find-func shortdoc help-fns radix-tree xref ring gnutls network-stream nsm vc-git diff-mode easy-mmode vc-dispatcher thingatpt project mailalias smtpmail textsec uni-scripts url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core json map byte-opt url-vars idna-mapping ucs-normalize uni-confusable textsec-check pp shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search 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 icomplete cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 291917 41682) (symbols 48 9945 7) (strings 32 56481 2760) (string-bytes 1 1397918) (vectors 16 52625) (vector-slots 8 879756 35852) (floats 8 165 141) (intervals 56 2071 1022) (buffers 984 19))