GNU bug report logs - #31496
26.1; support "**" globbing in filename completion

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Fri, 18 May 2018 15:36:02 UTC

Severity: wishlist

Found in version 26.1

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tom Tromey <tom <at> tromey.com>
Cc: 31496 <at> debbugs.gnu.org
Subject: bug#31496: 26.1; support "**" globbing in filename completion
Date: Sat, 13 Jul 2019 16:32:08 +0200
Tom Tromey <tom <at> tromey.com> writes:

> Bash has a "**" globbing feature (you have to set "globstar" to get
> this) for recursive globbing.  "**" will recursively match
> subdirectories.
>
> This would be handy for filename completion in Emacs.
> Then finding a file somewhere in some subdirectory would be as easy as
>
> C-x C-f **/filename TAB

I just tried this:

~/src/emacs/trunk/**/abbrev.el

and it worked!  (Which is news to me.)

~/src/emacs/trunk/**/abb TAB

also worked.  But you want ** to do the same thing recursively?  Hm...
Oh, I see -- ** is just the same as *?  Yes, then I agree that recursive
** globbing would be very nice...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.