From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#27496: 26.0.50; dired-do-shell-command just checks the first wildcard Date: Sun, 02 Jul 2017 22:13:34 +0900 Message-ID: <8760fbx9q9.fsf@calancha-pc> References: <87fuen58p2.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499001260 8952 195.159.176.226 (2 Jul 2017 13:14:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Jul 2017 13:14:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 27496-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 02 15:14:10 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 1dRehV-0001pk-J9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Jul 2017 15:14:09 +0200 Original-Received: from localhost ([::1]:58037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRehb-0006Vy-03 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Jul 2017 09:14:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRehV-0006Us-LT for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2017 09:14:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRehQ-0005pu-Nd for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2017 09:14:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRehQ-0005pl-Km for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2017 09:14:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dRehQ-0002Rv-6Y for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2017 09:14:04 -0400 Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jul 2017 13:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27496 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 27496@debbugs.gnu.org, tino.calancha@gmail.com, tino.calancha@gmail.com Original-Received: via spool by 27496-done@debbugs.gnu.org id=D27496.14990012289378 (code D ref 27496); Sun, 02 Jul 2017 13:14:03 +0000 Original-Received: (at 27496-done) by debbugs.gnu.org; 2 Jul 2017 13:13:48 +0000 Original-Received: from localhost ([127.0.0.1]:48224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRehA-0002RC-G0 for submit@debbugs.gnu.org; Sun, 02 Jul 2017 09:13:48 -0400 Original-Received: from mail-pf0-f169.google.com ([209.85.192.169]:35674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dReh8-0002Qz-9i for 27496-done@debbugs.gnu.org; Sun, 02 Jul 2017 09:13:46 -0400 Original-Received: by mail-pf0-f169.google.com with SMTP id c73so87770503pfk.2 for <27496-done@debbugs.gnu.org>; Sun, 02 Jul 2017 06:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=4aSxAWFqHC9j1mBUmuicj+OxVBcsvjoK+1WAUaHn+8o=; b=Waa6magCrP1wMH0dHgBPJnE7PyQIVGEKG7birdXh2tZo6atR/sRjOF5iq5kP/2XnxT qmQ4mF5MamjlFV/lvRX3u5/vwIXYMUb0IQVLbEXtD6z73jnRDn/SQCqTp1eFxdydGe9l JKotSNPIj5RWIPg4D09l6GeWjMSE1QgPv3gXjxN4FnE7e4aOnrHlfdd7uRWNrv1zZNXN fby5+meXOI9wRiIqqsJk5k2AVS5iz//UIX5SWxGE1EJvH3Nl1yq37aPIKkvayiRGzuJ5 DE0TQgBWhjf2+Hh+XGEKdGtrAeL9+HAvWpch8MYaxpPP9VW058Nkf94AbiMOG+HX+J/Y /04g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4aSxAWFqHC9j1mBUmuicj+OxVBcsvjoK+1WAUaHn+8o=; b=lp9FqNF5ZTvkNWWdfl++9sjWgbWGxdRxdaW9wlC2ZywneshczlQIs4Gf9S6xgNI1Jf 4u0JyHIdfV6Ug7dmYipQ1NK1TCtDKIBPyqOWH38b6woYPk3xMBL/XjWBVaR6E+SV7T8Z xJJNi00NlPOok8NBitPtnTwsBDoZtx0gUZWv+h+WYMID46ALJUaqyOifIKSARpKb+W7U t3WhibJZLJihI84/5LLQ+YgASjh3lWYWwoOKt1112w71XPKr4NFNld9ezZqixPAKCfrv horUcqPyDwmTYRggvwlUJq+eu2ap4ofO1kLFhzG/AtA5647G8WtOoGZxdRiBhzQtVPLT RTWQ== X-Gm-Message-State: AIVw113iS1ixUoal/NoLXni9gi0coQRjr77cgZ5o8k8eKCu2Tg0oNh2Z ZfS1FezyIQLX6zZY X-Received: by 10.98.106.6 with SMTP id f6mr5083575pfc.53.1499001220235; Sun, 02 Jul 2017 06:13:40 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id x25sm31550478pfi.58.2017.07.02.06.13.38 for <27496-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Jul 2017 06:13:39 -0700 (PDT) In-Reply-To: <87fuen58p2.fsf@calancha-pc> (Tino Calancha's message of "Mon, 26 Jun 2017 19:45:13 +0900") 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:134090 Archived-At: Tino Calancha 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