all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Globbing file name match function?
Date: Sun, 05 Jun 2022 13:59:07 +0200	[thread overview]
Message-ID: <87v8tf48z8.fsf@gnus.org> (raw)
In-Reply-To: <83ilpf9wlw.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jun 2022 14:29:47 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> But what glob does is recursively find each wildcard, expand it, then
> go deeper and repeat.  So it should be possible to do the same based
> on directory-files, I think?

Yes, and I wondered if we had that already.

Andreas Schwab <schwab@linux-m68k.org> writes:

> There is file-expand-wildcards.

Ah, thanks, just what I was looking for.  (Not under the name I was
looking for, though.)  Hm...  it takes globs, but it looks trivial to
expand to regexps.

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



  reply	other threads:[~2022-06-05 11:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-05 11:11 Globbing file name match function? Lars Ingebrigtsen
2022-06-05 11:23 ` Eli Zaretskii
2022-06-05 11:25   ` Lars Ingebrigtsen
2022-06-05 11:29     ` Eli Zaretskii
2022-06-05 11:59       ` Lars Ingebrigtsen [this message]
2022-06-05 13:29         ` Stefan Monnier
2022-06-05 20:34         ` Philip Kaludercic
2022-06-05 20:42           ` Lars Ingebrigtsen
2022-06-06  8:02             ` Andreas Schwab
2022-06-05 11:39 ` Andreas Schwab

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=87v8tf48z8.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.