From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#27631: dired a/*/b Date: Wed, 02 Aug 2017 21:25:25 -0400 Message-ID: References: <87o9sth2oi.fsf@jidanni.org> <8737a0yjbg.fsf@calancha-pc> <83bmnxzwpy.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501723580 5879 195.159.176.226 (3 Aug 2017 01:26:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2017 01:26:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27631@debbugs.gnu.org, tino.calancha@gmail.com, jidanni@jidanni.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 03 03:26: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 1dd4to-0000mg-AM for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Aug 2017 03:26:04 +0200 Original-Received: from localhost ([::1]:51218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dd4tu-0005J2-AZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Aug 2017 21:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dd4tp-0005Ix-Rp for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 21:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dd4tm-0007sU-OC for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 21:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dd4tm-0007s9-KQ for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 21:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dd4tm-0004OT-Af for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 21:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Aug 2017 01:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27631 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27631-submit@debbugs.gnu.org id=B27631.150172353116853 (code B ref 27631); Thu, 03 Aug 2017 01:26:02 +0000 Original-Received: (at 27631) by debbugs.gnu.org; 3 Aug 2017 01:25:31 +0000 Original-Received: from localhost ([127.0.0.1]:39151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dd4tH-0004Nl-GF for submit@debbugs.gnu.org; Wed, 02 Aug 2017 21:25:31 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:47415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dd4tF-0004Nc-B4 for 27631@debbugs.gnu.org; Wed, 02 Aug 2017 21:25:30 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v731PP5K004744; Wed, 2 Aug 2017 21:25:26 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id AF11A66142; Wed, 2 Aug 2017 21:25:25 -0400 (EDT) In-Reply-To: <83bmnxzwpy.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Aug 2017 20:49:13 +0300") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6085=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6085> : inlines <6005> : streams <1756920> : uri <2475235> 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:135261 Archived-At: >> The old code already used the shell to do the wildcard expansion, so why >> not just adjust the old code. > I'm not sure I understand what you mean by "used the shell to do the > wildcard expansion", Just what you think it means: if you requested M-x dired RET ~/foo/* RET it called "ls --dired -al *" from directory ~/foo. My patch just changes the code so that M-x dired RET ~/foo/*/bar RET is turned into "ls --dired -al */bar" from directory ~/foo. > but if you actually mean to let the shell do that, it's unportable to > non-Posix shells. I know. That's why ls-lisp advises the corresponding function. Stefan