From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#31495: 26.1; filename completion -vs- "*" Date: Sat, 19 May 2018 20:17:34 +0200 Message-ID: <87tvr3mrwh.fsf@gmx.de> References: <877eo1gern.fsf@tromey.com> <87wovzzs8c.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1526753833 13151 195.159.176.226 (19 May 2018 18:17:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 May 2018 18:17:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Tom Tromey , 31495@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 19 20:17:09 2018 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 1fK6Pf-0003BA-5w for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 May 2018 20:17:03 +0200 Original-Received: from localhost ([::1]:43962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fK6Rm-0004Kr-6e for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 May 2018 14:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fK6Rd-0004K5-F6 for bug-gnu-emacs@gnu.org; Sat, 19 May 2018 14:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fK6Ra-0002Wo-B8 for bug-gnu-emacs@gnu.org; Sat, 19 May 2018 14:19:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33345) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fK6Ra-0002We-7A for bug-gnu-emacs@gnu.org; Sat, 19 May 2018 14:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fK6RZ-0005yL-RY for bug-gnu-emacs@gnu.org; Sat, 19 May 2018 14:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 May 2018 18:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31495-submit@debbugs.gnu.org id=B31495.152675388222889 (code B ref 31495); Sat, 19 May 2018 18:19:01 +0000 Original-Received: (at 31495) by debbugs.gnu.org; 19 May 2018 18:18:02 +0000 Original-Received: from localhost ([127.0.0.1]:41241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fK6Qc-0005x7-GQ for submit@debbugs.gnu.org; Sat, 19 May 2018 14:18:02 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:39679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fK6Qa-0005wc-U7 for 31495@debbugs.gnu.org; Sat, 19 May 2018 14:18:01 -0400 Original-Received: from detlef.gmx.de ([212.91.249.45]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LuP19-1gLf4o42Kd-011jMV; Sat, 19 May 2018 20:17:38 +0200 In-Reply-To: <87wovzzs8c.fsf@gmail.com> (Tino Calancha's message of "Sat, 19 May 2018 22:32:03 +0900") X-Provags-ID: V03:K1:gRA3HMtSxlQT0S4Olk2pyQNBWuylC2s+g4oDU+Zr/5mv70Puu6D 9jyp2OruFuw/GSmyAnJsQIMYbsmL+BG1uKo+vkHW1U9TSEpM7v9FcQ+v++LCwSDZ0rTpwy4 Mbope5FfOyAZCZUrgoiQ2bVChRWe+QqnxhJnedraVwmCNH9pmdhlY+njda/5YS/oM/COulV +ih0sRxcAOVXPS++VvPbQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:0uAotoRH7H4=:zjARj+l0TKP7ISp1M7arMU eW4Yeov3t5YAqXBOxTwucMLiDbWeGINHgS89q7Yr0uZh0uK058M++vsuhpd7FukfWhgqkcOHU 28C06J4C3EPSmfeLodOPW5nBb8VKnclVWDJDZNlXP0pO/VQFdX7Fq0vz7y45IbeDF4AvEJ3my sM+TZJMHxRMuto1HTTInuaV7wSC6sksYT9bhLtqNR/UxOOUSRqCowlK7oAq9IYm1O56FWyzgs jS1OOCGyKfMXBGd70gysFqSfHIMcN5XwiZrlgTZ0FI5ellyftIXlAij5IJb5JVMqda77Ybu81 rSMF0SUIhzxp1VtZpW5v0PH5I43Q4lVjx/RP+4eAjYd54HE0VCpgQiD9rk9vRubHW/JB8EvJ5 eE/08lzcLAG5W0GSEDNb7LdASUJrj0bwt/HUkRG+3rWDbJUk+n3K80mKmppUBf1rkI+lL2Uk3 uisTajUDPDC+rvBSPaPgW5xc5nHYog3r1iBVUnq3ApfZrzrAHY1SGuJbTdsxacZGWxi6Ih1sT RsFgUpdPg2yZ0kIZ7vcUo+bJU3sq2YvbQcdNWk25xt46QYpS2+LrJ5TEm2DPmJFQWbJmbgKI7 GZaKqBxTI+4TPbASWjRzpgPp2F4H+zjPVV178HPLE04A8ennUOzZibMMxtRFVil70tSjUplOL 7WcghKVFxBHGpbq+0WkaY+5wIWLABf3L4+s3Y3KyaxCsqmgakgJJVOWmPt5GlfAhMDbjPY8ZL i1YdDQxC7024URNw359WqhnNdchZvCpY2nmemN1//teI295lutJqcBsCg/CCOBPSR/oFmhaw 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:146297 Archived-At: Tino Calancha writes: Hi Tino, > We could even let the user enable globstar in those shells supporting > it but having it disable by default (e.g. bash). What about ls-lisp? > +(defconst dired-enable-globstar-in-shell > + '(("ksh" . "set -G") > + ("bash" . "shopt -s globstar")) > + "Alist of (SHELL . COMMAND), where COMMAND enables globstar in SHELL. > +If `dired-maybe-use-globstar' is non-nil, then `dired-insert-directory' > +checks this alist to enable globstar in the shell subprocess.") This works only if the shell name like bash or ksh is used. Often, just /bin/sh is used, and you don't know which real shell this file is linked to. Best regards, Michael.