all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Globbing file name match function?
@ 2022-06-05 11:11 Lars Ingebrigtsen
  2022-06-05 11:23 ` Eli Zaretskii
  2022-06-05 11:39 ` Andreas Schwab
  0 siblings, 2 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-05 11:11 UTC (permalink / raw)
  To: emacs-devel

I've been poking around for a couple of minutes to see whether we have a
function to list files matching a regexp a la how a shell matches them.
That is:

$ ls ~/src/emacs/*/lisp/abbrev.el
/home/larsi/src/emacs/27.1/lisp/abbrev.el
/home/larsi/src/emacs/bisect/lisp/abbrev.el
/home/larsi/src/emacs/emacs-28/lisp/abbrev.el
/home/larsi/src/emacs/foo/lisp/abbrev.el
...

This is with a glob, but ideally you'd be able to drop in a regexp
anywhere in the file name.  Do we have that anywhere in Emacs?

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-06  8:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.