From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29465: 25.3; Confusing message for dired-do-shell-command substitution Date: Fri, 01 Dec 2017 10:36:18 +0200 Message-ID: <83mv323kvx.fsf@gnu.org> References: <83vahv67eb.fsf@gnu.org> <87fu8zukmb.fsf@gmail.com> <83609u5pyr.fsf@gnu.org> <29b407d1-e1f6-4676-a686-ccdf19af8bb4@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512117434 19255 195.159.176.226 (1 Dec 2017 08:37:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2017 08:37:14 +0000 (UTC) Cc: vianchielfaura@gmail.com, 29465@debbugs.gnu.org, tino.calancha@gmail.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 01 09:37:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKgoj-0004Wb-1L for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 09:37:05 +0100 Original-Received: from localhost ([::1]:51270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKgoq-0002oO-FM for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 03:37:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKgok-0002nP-MB for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:37:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKgog-00083Y-9j for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:37:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKgog-00083R-5G for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKgof-0004Hb-Ud for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Dec 2017 08:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29465-submit@debbugs.gnu.org id=B29465.151211741116447 (code B ref 29465); Fri, 01 Dec 2017 08:37:01 +0000 Original-Received: (at 29465) by debbugs.gnu.org; 1 Dec 2017 08:36:51 +0000 Original-Received: from localhost ([127.0.0.1]:38950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKgoV-0004HC-C0 for submit@debbugs.gnu.org; Fri, 01 Dec 2017 03:36:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKgoT-0004Gy-B4 for 29465@debbugs.gnu.org; Fri, 01 Dec 2017 03:36:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKgoN-0007s9-BW for 29465@debbugs.gnu.org; Fri, 01 Dec 2017 03:36:44 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKgoI-0007o1-Cx; Fri, 01 Dec 2017 03:36:38 -0500 Original-Received: from [176.228.60.248] (port=1817 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eKgoH-0005ps-P6; Fri, 01 Dec 2017 03:36:38 -0500 In-reply-to: <29b407d1-e1f6-4676-a686-ccdf19af8bb4@default> (message from Drew Adams on Tue, 28 Nov 2017 20:20:38 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140572 Archived-At: > Date: Tue, 28 Nov 2017 20:20:38 -0800 (PST) > From: Drew Adams > Cc: 29465@debbugs.gnu.org, Tino Calancha > > IF we feel it helps a user to prompt about something, > and IF we feel there is a possibility that some users > might not understand the prompt, in spite of our best > efforts to come up with a good prompt, and IF we feel > that understanding the prompt is important, THEN the > doc string should make clear whatever it is that it > is important that users understand about that prompting. > > It's quite possible for a user not to understand even > a good prompt. S?he should be able to get the point > by doing `C-h f', in that case. The doc string already attempts to do that: `*' and `?' when not surrounded by whitespace nor `\\=`' have no special significance for `dired-do-shell-command', and are passed through normally to the shell, but you must confirm first. We could make the intent of the confirmation even more clear, e.g. `*' and `?' when not surrounded by whitespace nor `\\=`' have no special significance for `dired-do-shell-command', and are passed through normally to the shell, but you must confirm first, to avoid inadvertently passing a wildcard to a shell command, which would cause that command to act on more files than you intended. Is anything else needed to make this prompt's intent more clear?