From unknown Sun Jun 22 08:02:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64493: 29.0.92; Setting =?UTF-8?Q?=E2=80=98dired-no-confirm=E2=80=99?= to t does not have the expected effect Resent-From: Sebastian Miele Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jul 2023 09:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64493 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 64493@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168863554028653 (code B ref -1); Thu, 06 Jul 2023 09:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2023 09:25:40 +0000 Received: from localhost ([127.0.0.1]:39594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHLF6-0007S5-5K for submit@debbugs.gnu.org; Thu, 06 Jul 2023 05:25:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:37038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHLF4-0007Ry-W2 for submit@debbugs.gnu.org; Thu, 06 Jul 2023 05:25:39 -0400 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 1qHLF4-0004rQ-Oq for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 05:25:38 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qHLF0-00014A-Ny for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 05:25:38 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4QxWN45Wd6z9ssf for ; Thu, 6 Jul 2023 11:25:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whxvd.name; s=MBO0001; t=1688635524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dQKEdxYIi1k91+LYE/RpTREHTo2BSdwzTMos1T0MH+8=; b=gXQvPYiUfrSqvICkzsmVJUXYWlTcqX1M6qE+0zBRdz2lgJCHja6MDbMchThCNS4/JjWmPm 3RZjh6JUWqBIMVWMen0bx8CXIfI13uGQqZiN5TbayFH5FzBur2DJqVV5wSolqCFZ8aMMei 44Ku578AmJHRQJC+5dG2tNixE5zFFx0DYqoxHPAR0OlXks0JSrBmSWQJCcNDHTXEtIx4vg TjACyUdh3g5w0eRpcSa6ECoxXL3GvGQWmXWagqcVdtsV+NqWEbVCDMYqGZvSQQ6IWkFRoS LwSgHuwK8V/Yk+ZZnVGVsD3/KPl49FQ6qShqS1JQYPubFyPsLXuehxQsyQbSgg== From: Sebastian Miele Date: Thu, 06 Jul 2023 11:25:23 +0200 Message-ID: <875y6xwfwc.fsf@whxvd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4QxWN45Wd6z9ssf Received-SPF: pass client-ip=80.241.56.172; envelope-from=iota@whxvd.name; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Run src/emacs -Q. Evaluate (setopt dired-no-confirm t). Try to delete one or more files using Dired (using d and x, or (m and) D). Then Emacs still asks for confirmation. Expected: After pressing x or D, the files get deleted without any further questions. After also trying to rename (R) files, my impression is that setting =E2=80=98dired-no-confirm=E2=80=99 to t currently just suppresses the pop-u= p buffer that shows the list of marked/flagged files while the action is about to be executed (i.e., while waiting for the confirmation when deleting, or while finding the destination when renaming multiple files). The fact that =E2=80=98dired-no-confirm=E2=80=99 does not actually suppress= confirmation questions (at least when deleting files, I did not try all other possible actions) probably is a bug. However, it also would be nice if =E2=80=98dired-no-confirm=E2=80=99 would = not have the double meaning of also suppressing the pop-up buffer listing the marked files (e.g., when finding the destination for renaming). Ideally there would be a second variable controlling just that. In GNU Emacs 29.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-06 built on huette Repository revision: c3fefb2b3ae098068bc03cc305b9181746d72751 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Arch Linux Configured using: 'configure --with-x-toolkit=3Dgtk --with-native-compilation=3Dyes --with-tree-sitter --with-json --with-mailutils --with-imagemagick' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: 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 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: (shadow sort mail-extr emacsbug message mailcap yank-media puny 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 tabify thingatpt help-fns radix-tree cus-edit pp cus-start cus-load wid-edit dired-aux dired comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode cl-loaddefs cl-lib bytecomp byte-compile dired-loaddefs rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-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 lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 128852 8294) (symbols 48 9029 0) (strings 32 36236 2204) (string-bytes 1 1061055) (vectors 16 24905) (vector-slots 8 413347 15262) (floats 8 53 21) (intervals 56 363 0) (buffers 984 14)) From unknown Sun Jun 22 08:02:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64493: 29.0.92; Setting =?UTF-8?Q?=E2=80=98dired-no-confirm=E2=80=99?= to t does not have the expected effect Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jul 2023 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64493 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sebastian Miele Cc: 64493@debbugs.gnu.org Received: via spool by 64493-submit@debbugs.gnu.org id=B64493.168863709031341 (code B ref 64493); Thu, 06 Jul 2023 09:52:02 +0000 Received: (at 64493) by debbugs.gnu.org; 6 Jul 2023 09:51:30 +0000 Received: from localhost ([127.0.0.1]:39645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHLe5-00089Q-Kr for submit@debbugs.gnu.org; Thu, 06 Jul 2023 05:51:29 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:43854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHLe4-00089E-5Q for 64493@debbugs.gnu.org; Thu, 06 Jul 2023 05:51:28 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 79A4D223A1; Thu, 6 Jul 2023 09:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688637082; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b8yoZV9k0ZQh5Bu5I33uKZiMbEl7O05OSQapDzNEefY=; b=Ok2tKyerXKIAmvQx1cslTn/yypKjmokHojjRNR4VldezDE25IiUTQ2VYwCpQrgViah0w5l POJvQvKjNe60+zjYhY96zgJ/S5QpMtqRdOiQi4mcTdqp0OMib8tGv8fF4ga21Wjx7XzziQ WL7SBWSh+3P3+pcmwzr5Aldy0+j0iaM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688637082; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b8yoZV9k0ZQh5Bu5I33uKZiMbEl7O05OSQapDzNEefY=; b=L3qM+/QnyRqkrRVPMNGBkJRRr3iyKXBo1Q7FAIr+gTfVO41A+4WudYJJ3m61BA1B3vBMDO tV1wNougBAUB7BBg== Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 603A72C142; Thu, 6 Jul 2023 09:51:22 +0000 (UTC) Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 493954A03CA; Thu, 6 Jul 2023 11:51:22 +0200 (CEST) From: Andreas Schwab In-Reply-To: <875y6xwfwc.fsf@whxvd.name> (Sebastian Miele's message of "Thu, 06 Jul 2023 11:25:23 +0200") References: <875y6xwfwc.fsf@whxvd.name> X-Yow: I'm pretending I'm pulling in a TROUT! Am I doing it correctly?? Date: Thu, 06 Jul 2023 11:51:22 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Jul 06 2023, Sebastian Miele wrote: > However, it also would be nice if ‘dired-no-confirm’ would not have the > double meaning of also suppressing the pop-up buffer listing the marked > files (e.g., when finding the destination for renaming). Actually, dired-no-confirm *only* has this meaning, since it was added in 1992. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Sun Jun 22 08:02:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64493: 29.0.92; Setting =?UTF-8?Q?=E2=80=98dired-no-confirm=E2=80=99?= to t does not have the expected effect Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jul 2023 10:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64493 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Sebastian Miele Cc: 64493@debbugs.gnu.org Received: via spool by 64493-submit@debbugs.gnu.org id=B64493.1688638495951 (code B ref 64493); Thu, 06 Jul 2023 10:15:02 +0000 Received: (at 64493) by debbugs.gnu.org; 6 Jul 2023 10:14:55 +0000 Received: from localhost ([127.0.0.1]:39658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHM0k-0000FH-I6 for submit@debbugs.gnu.org; Thu, 06 Jul 2023 06:14:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHM0j-0000F3-8A for 64493@debbugs.gnu.org; Thu, 06 Jul 2023 06:14:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHM0d-00040I-0s; Thu, 06 Jul 2023 06:14:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PLGazb9yJ7qRVDN8h7b9JI5/y+fj2LDOegzXLj1ErA4=; b=PfrFm0WvvZXmiVEsDB6V z5fUlRgAqswt5VITLNbYonM0NpNOieTy0WTw/kQIPgg/Z26/F4OsMvgk9PnT4tX58EvyrhTov6st1 ZKwLvxjlKggAeryzorhr9ZLhbQIxiwRcFGZApkkcNjkkInP8KFJi2PK7IubedIbAMQAtA3ViX6gC5 /y8gpz3Zfrn9J8SBCfYtGDpuDJq3P/nDaHTrEiB0IYeaxCnnbR/EOIyS3b210wRVozdfVyzCM7ojZ ItWiAbMpVWOJkbNIJnvNYZ2E2Galc0npONHUNu79QrT9LCXPmdsRdnQ0FrIMhSahK1LBhVDYxkchb Gdru8Ggoj2pNoQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHM0c-0007ZE-He; Thu, 06 Jul 2023 06:14:46 -0400 Date: Thu, 06 Jul 2023 13:14:46 +0300 Message-Id: <835y6xibxl.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <875y6xwfwc.fsf@whxvd.name> (message from Sebastian Miele on Thu, 06 Jul 2023 11:25:23 +0200) References: <875y6xwfwc.fsf@whxvd.name> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sebastian Miele > Date: Thu, 06 Jul 2023 11:25:23 +0200 > > Run src/emacs -Q. Evaluate (setopt dired-no-confirm t). Try to delete > one or more files using Dired (using d and x, or (m and) D). Then Emacs > still asks for confirmation. Expected: After pressing x or D, the files > get deleted without any further questions. > > After also trying to rename (R) files, my impression is that setting > ‘dired-no-confirm’ to t currently just suppresses the pop-up buffer that > shows the list of marked/flagged files while the action is about to be > executed (i.e., while waiting for the confirmation when deleting, or > while finding the destination when renaming multiple files). > > The fact that ‘dired-no-confirm’ does not actually suppress confirmation > questions (at least when deleting files, I did not try all other > possible actions) probably is a bug. > > However, it also would be nice if ‘dired-no-confirm’ would not have the > double meaning of also suppressing the pop-up buffer listing the marked > files (e.g., when finding the destination for renaming). Ideally there > would be a second variable controlling just that. The name of the variable is unfortunate, because its only effect is indeed to prevent the pop-up window with the list of affected files to be shown. This doesn't look like a bug, because this behavior existed since the time the variable was added (30 years ago). It looks like intentional (albeit strange) behavior. I have now updated the doc string on the emacs-29 branch to explain the actual effect of the variable. If you want to avoid the confirmation prompts, you can write a custom dired-deletion-confirmer function that always returns t. Patches implementing a new option that actually prevents the confirmation prompts will also be welcome. From unknown Sun Jun 22 08:02:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Sebastian Miele Subject: bug#64493: closed (Re: bug#64493: 29.0.92; Setting =?UTF-8?Q?=E2=80=98dired-no-confirm=E2=80=99?= to t does not have the expected effect) Message-ID: References: <83y1jhd35z.fsf@gnu.org> <875y6xwfwc.fsf@whxvd.name> X-Gnu-PR-Message: they-closed 64493 X-Gnu-PR-Package: emacs Reply-To: 64493@debbugs.gnu.org Date: Sat, 15 Jul 2023 07:51:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1689407462-6221-1" This is a multi-part message in MIME format... ------------=_1689407462-6221-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64493: 29.0.92; Setting =E2=80=98dired-no-confirm=E2=80=99 to t does not h= ave the expected effect which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64493@debbugs.gnu.org. --=20 64493: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64493 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1689407462-6221-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64493-done) by debbugs.gnu.org; 15 Jul 2023 07:50:02 +0000 Received: from localhost ([127.0.0.1]:44015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKa2T-0001au-Tz for submit@debbugs.gnu.org; Sat, 15 Jul 2023 03:50:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKa2S-0001aJ-9a for 64493-done@debbugs.gnu.org; Sat, 15 Jul 2023 03:50:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKa2M-0007OZ-S6; Sat, 15 Jul 2023 03:49:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=pd5jAyOtbHTxd6KtMKzanpTEUaNMp99/K8oAe0fHzq8=; b=SSVMEU75Vu6ub0YR/3mx Bp3+pEB2RPokFQR02iDmBYmcNWxxolN9SZXCWxKptJo6htR5nRsD4VT962rg5eHBDEJpoU8RO73pQ IIDxythMPjCj8+hTv4WzLiVCJvdZ6H1711XJealPwZjUChswCSbsKr2bUafREBzaZw+94Sk/EihBL CMP9XiQQAP2yTsmiN+gzDc6he2cV9xowcryQ4h1MPwHf15bmTHI7J+Hwc4P5ENiu9Fmqo54ey3ONZ 7eJMTmhiS2bnNpbW1UnqAPsx/XVTZ7OJhxIXsOIghdXHnJnqUZPjZimD5nuqYfpbkzmyRGceEYIzz u5fJ5vx1mYfZ3w==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKa2M-0002UA-AA; Sat, 15 Jul 2023 03:49:54 -0400 Date: Sat, 15 Jul 2023 10:50:16 +0300 Message-Id: <83y1jhd35z.fsf@gnu.org> From: Eli Zaretskii To: iota@whxvd.name In-Reply-To: <835y6xibxl.fsf@gnu.org> (message from Eli Zaretskii on Thu, 06 Jul 2023 13:14:46 +0300) Subject: Re: bug#64493: 29.0.92; Setting =?utf-8?Q?=E2=80=98dired-no-confirm=E2=80=99?= to t does not have the expected effect References: <875y6xwfwc.fsf@whxvd.name> <835y6xibxl.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64493-done Cc: 64493-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 64493@debbugs.gnu.org > Date: Thu, 06 Jul 2023 13:14:46 +0300 > From: Eli Zaretskii > > > From: Sebastian Miele > > Date: Thu, 06 Jul 2023 11:25:23 +0200 > > > > Run src/emacs -Q. Evaluate (setopt dired-no-confirm t). Try to delete > > one or more files using Dired (using d and x, or (m and) D). Then Emacs > > still asks for confirmation. Expected: After pressing x or D, the files > > get deleted without any further questions. > > > > After also trying to rename (R) files, my impression is that setting > > ‘dired-no-confirm’ to t currently just suppresses the pop-up buffer that > > shows the list of marked/flagged files while the action is about to be > > executed (i.e., while waiting for the confirmation when deleting, or > > while finding the destination when renaming multiple files). > > > > The fact that ‘dired-no-confirm’ does not actually suppress confirmation > > questions (at least when deleting files, I did not try all other > > possible actions) probably is a bug. > > > > However, it also would be nice if ‘dired-no-confirm’ would not have the > > double meaning of also suppressing the pop-up buffer listing the marked > > files (e.g., when finding the destination for renaming). Ideally there > > would be a second variable controlling just that. > > The name of the variable is unfortunate, because its only effect is > indeed to prevent the pop-up window with the list of affected files to > be shown. This doesn't look like a bug, because this behavior existed > since the time the variable was added (30 years ago). It looks like > intentional (albeit strange) behavior. > > I have now updated the doc string on the emacs-29 branch to explain > the actual effect of the variable. > > If you want to avoid the confirmation prompts, you can write a custom > dired-deletion-confirmer function that always returns t. > > Patches implementing a new option that actually prevents the > confirmation prompts will also be welcome. No further comments, so I'm closing the bug now. Feel free to reopen if something else should be done, or if someone has patches for a new option as described above. ------------=_1689407462-6221-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Jul 2023 09:25:40 +0000 Received: from localhost ([127.0.0.1]:39594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHLF6-0007S5-5K for submit@debbugs.gnu.org; Thu, 06 Jul 2023 05:25:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:37038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHLF4-0007Ry-W2 for submit@debbugs.gnu.org; Thu, 06 Jul 2023 05:25:39 -0400 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 1qHLF4-0004rQ-Oq for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 05:25:38 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qHLF0-00014A-Ny for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 05:25:38 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4QxWN45Wd6z9ssf for ; Thu, 6 Jul 2023 11:25:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whxvd.name; s=MBO0001; t=1688635524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dQKEdxYIi1k91+LYE/RpTREHTo2BSdwzTMos1T0MH+8=; b=gXQvPYiUfrSqvICkzsmVJUXYWlTcqX1M6qE+0zBRdz2lgJCHja6MDbMchThCNS4/JjWmPm 3RZjh6JUWqBIMVWMen0bx8CXIfI13uGQqZiN5TbayFH5FzBur2DJqVV5wSolqCFZ8aMMei 44Ku578AmJHRQJC+5dG2tNixE5zFFx0DYqoxHPAR0OlXks0JSrBmSWQJCcNDHTXEtIx4vg TjACyUdh3g5w0eRpcSa6ECoxXL3GvGQWmXWagqcVdtsV+NqWEbVCDMYqGZvSQQ6IWkFRoS LwSgHuwK8V/Yk+ZZnVGVsD3/KPl49FQ6qShqS1JQYPubFyPsLXuehxQsyQbSgg== From: Sebastian Miele To: bug-gnu-emacs@gnu.org Subject: 29.0.92; Setting =?utf-8?Q?=E2=80=98dired-no-confirm=E2=80=99?= to t does not have the expected effect Date: Thu, 06 Jul 2023 11:25:23 +0200 Message-ID: <875y6xwfwc.fsf@whxvd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4QxWN45Wd6z9ssf Received-SPF: pass client-ip=80.241.56.172; envelope-from=iota@whxvd.name; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Run src/emacs -Q. Evaluate (setopt dired-no-confirm t). Try to delete one or more files using Dired (using d and x, or (m and) D). Then Emacs still asks for confirmation. Expected: After pressing x or D, the files get deleted without any further questions. After also trying to rename (R) files, my impression is that setting =E2=80=98dired-no-confirm=E2=80=99 to t currently just suppresses the pop-u= p buffer that shows the list of marked/flagged files while the action is about to be executed (i.e., while waiting for the confirmation when deleting, or while finding the destination when renaming multiple files). The fact that =E2=80=98dired-no-confirm=E2=80=99 does not actually suppress= confirmation questions (at least when deleting files, I did not try all other possible actions) probably is a bug. However, it also would be nice if =E2=80=98dired-no-confirm=E2=80=99 would = not have the double meaning of also suppressing the pop-up buffer listing the marked files (e.g., when finding the destination for renaming). Ideally there would be a second variable controlling just that. In GNU Emacs 29.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-06 built on huette Repository revision: c3fefb2b3ae098068bc03cc305b9181746d72751 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Arch Linux Configured using: 'configure --with-x-toolkit=3Dgtk --with-native-compilation=3Dyes --with-tree-sitter --with-json --with-mailutils --with-imagemagick' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: 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 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: (shadow sort mail-extr emacsbug message mailcap yank-media puny 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 tabify thingatpt help-fns radix-tree cus-edit pp cus-start cus-load wid-edit dired-aux dired comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode cl-loaddefs cl-lib bytecomp byte-compile dired-loaddefs rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-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 lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 128852 8294) (symbols 48 9029 0) (strings 32 36236 2204) (string-bytes 1 1061055) (vectors 16 24905) (vector-slots 8 413347 15262) (floats 8 53 21) (intervals 56 363 0) (buffers 984 14)) ------------=_1689407462-6221-1--