all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: Tom Tromey <tom@tromey.com>, 31495@debbugs.gnu.org
Subject: bug#31495: 26.1; filename completion -vs- "*"
Date: Sat, 19 May 2018 20:17:34 +0200	[thread overview]
Message-ID: <87tvr3mrwh.fsf@gmx.de> (raw)
In-Reply-To: <87wovzzs8c.fsf@gmail.com> (Tino Calancha's message of "Sat, 19 May 2018 22:32:03 +0900")

Tino Calancha <tino.calancha@gmail.com> 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.





  reply	other threads:[~2018-05-19 18:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 15:33 bug#31495: 26.1; filename completion -vs- "*" Tom Tromey
2018-05-19 13:32 ` Tino Calancha
2018-05-19 18:17   ` Michael Albinus [this message]
2018-05-20  2:19     ` Tino Calancha
2018-06-20 12:36   ` Noam Postavsky
2018-06-20 12:48     ` Tino Calancha
2018-06-20 13:08       ` Tino Calancha
2018-06-20 14:05         ` Michael Albinus
2018-06-21  1:50           ` Tino Calancha
2018-06-21  7:19             ` Michael Albinus
2018-06-21  7:44               ` Tino Calancha
2020-08-22 15:40   ` Lars Ingebrigtsen

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=87tvr3mrwh.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=31495@debbugs.gnu.org \
    --cc=tino.calancha@gmail.com \
    --cc=tom@tromey.com \
    /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.