From: Tino Calancha <tino.calancha@gmail.com>
To: 27496-done@debbugs.gnu.org
Subject: bug#27496: 26.0.50; dired-do-shell-command just checks the first wildcard
Date: Sun, 02 Jul 2017 22:13:34 +0900 [thread overview]
Message-ID: <8760fbx9q9.fsf@calancha-pc> (raw)
In-Reply-To: <87fuen58p2.fsf@calancha-pc> (Tino Calancha's message of "Mon, 26 Jun 2017 19:45:13 +0900")
Tino Calancha <tino.calancha@gmail.com> writes:
> emacs -Q:
> ;; Evaluate following form.
> (let ((foo (make-temp-file "foo" 'dir))
> (bar (make-temp-file "bar" 'dir)))
> (dired foo)
> (dired-up-directory)
> (revert-buffer)
> (dired-do-shell-command
> (format "cp -r ? %s/?" bar) nil (dired-get-marked-files t nil)))
>
> ;; Should ask confirmation because "/?".
>
> If we change the last line to:
> (format "cp -r ./? %s/?" bar) nil (dired-get-marked-files t nil)))
> then it asks confirmation because "./?".
Fixed in master branch as commit
6e39940adba7b96dfe520caa52a1b92a1a84a84f
prev parent reply other threads:[~2017-07-02 13:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 10:45 bug#27496: 26.0.50; dired-do-shell-command just checks the first wildcard Tino Calancha
2017-07-02 13:13 ` Tino Calancha [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8760fbx9q9.fsf@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=27496-done@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).