unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14900: 24.2; no recursion support for directory-files
@ 2013-07-18 17:29 eric.holbrook
  2013-07-18 18:11 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: eric.holbrook @ 2013-07-18 17:29 UTC (permalink / raw)
  To: 14900; +Cc: eric.holbrook.3rd

Perhaps this is more of a missing feature report.

If i want to tell emacs to recurse from '.', and open every file that matches
a certain pattern (a la `find`), i need to use a gnus function. See this code
suggestion from 'jlf' in #emacs:

(remove-if-not (lambda (file) (string-match some-regexp file))
               (gnus-recursive-directory-files default-directory) )

It surprized me that i'd have to have a huge pkg like gnus loaded to do
something like this.

thanks,
Eric






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

* bug#14900: 24.2; no recursion support for directory-files
  2013-07-18 17:29 bug#14900: 24.2; no recursion support for directory-files eric.holbrook
@ 2013-07-18 18:11 ` Eli Zaretskii
  2013-07-18 20:34   ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2013-07-18 18:11 UTC (permalink / raw)
  To: eric.holbrook@oracle.com; +Cc: eric.holbrook.3rd, 14900

> From: eric.holbrook@oracle.com (eric.holbrook@oracle.com)
> Date: Thu, 18 Jul 2013 12:29:03 -0500
> Cc: eric.holbrook.3rd@gmail.com
> 
> (remove-if-not (lambda (file) (string-match some-regexp file))
>                (gnus-recursive-directory-files default-directory) )
> 
> It surprized me that i'd have to have a huge pkg like gnus loaded to do
> something like this.

What's wrong with find-lisp.el?





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

* bug#14900: 24.2; no recursion support for directory-files
  2013-07-18 18:11 ` Eli Zaretskii
@ 2013-07-18 20:34   ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2013-07-18 20:34 UTC (permalink / raw)
  To: 14900-done


>> If i want to tell emacs to recurse from '.', and open every file that
>> matches a certain pattern (a la `find`)

> What's wrong with find-lisp.el?

Yes, find-lisp-find-files seems to do precisely what was requested.





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

end of thread, other threads:[~2013-07-18 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-18 17:29 bug#14900: 24.2; no recursion support for directory-files eric.holbrook
2013-07-18 18:11 ` Eli Zaretskii
2013-07-18 20:34   ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).