From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 28969@debbugs.gnu.org
Subject: bug#28969: 27.0.50; dired: Confirmation prompt for wildcard not surrounded by whitespace
Date: Sun, 14 Jul 2019 23:23:20 +0200 [thread overview]
Message-ID: <877e8kwbsn.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87she833e1.fsf@web.de> (Michael Heerdegen's message of "Tue, 24 Oct 2017 18:40:54 +0200")
Michael Heerdegen <michael_heerdegen@web.de> writes:
> the docstring of `dired-do-shell-command' says:
>
> | `*' 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.
>
> However, the `y-or-n-p' prompts asks:
>
> "Confirm--do you mean to use `*' as a wildcard? "
>
> and
>
> "Confirm--do you mean to use `?' as a wildcard? "
>
> and you must answer with 'y' to let these not be treated as wildcards -
> if you answer with 'n' as the docstring suggests, the operation is
> aborted. So, with other words, I think the questions must be inverted.
Hm... I don't quite follow you here... It says it has no significance
for the command, but just passes it through to the shell. Where, of
course, it has great significance.
If you create the file 1-1, put "bar" in it, and say "! cat 1*1" on the
file, after you've answered "y", you'll get a buffer with "bar bar" in
it.
So I think all this is correct? Unless I'm misreading you.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-07-14 21:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-24 16:40 bug#28969: 27.0.50; dired: Confirmation prompt for wildcard not surrounded by whitespace Michael Heerdegen
2019-07-14 21:23 ` Lars Ingebrigtsen [this message]
2019-07-14 22:38 ` Noam Postavsky
2019-07-15 1:34 ` Michael Heerdegen
2019-07-15 19:19 ` Kévin Le Gouguec
2019-07-15 20:50 ` Michael Heerdegen
2019-07-16 5:53 ` Kévin Le Gouguec
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877e8kwbsn.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=28969@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.