From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 3431e82: Ignore directory symlinks in directory-files-recursively Date: Sat, 13 Dec 2014 23:59:57 -0500 Message-ID: References: <20141212105304.4186.22515@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418533232 29221 80.91.229.3 (14 Dec 2014 05:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2014 05:00:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 14 06:00:24 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y01I8-00029v-FT for ged-emacs-devel@m.gmane.org; Sun, 14 Dec 2014 06:00:24 +0100 Original-Received: from localhost ([::1]:35026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y01I7-0004S1-VB for ged-emacs-devel@m.gmane.org; Sun, 14 Dec 2014 00:00:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y01Hp-0004OD-Iz for emacs-devel@gnu.org; Sun, 14 Dec 2014 00:00:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y01Hi-0001Up-4s for emacs-devel@gnu.org; Sun, 14 Dec 2014 00:00:05 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:29779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y01Hi-0001Ul-1L for emacs-devel@gnu.org; Sat, 13 Dec 2014 23:59:58 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEGAQEBAR6QbweESAWLAaQugXiCN4FiIYJ3AQEB X-IPAS-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEGAQEBAR6QbweESAWLAaQugXiCN4FiIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="101006332" Original-Received: from 206-248-130-192.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.192]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Dec 2014 23:59:57 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1052B660D3; Sat, 13 Dec 2014 23:59:57 -0500 (EST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 13 Dec 2014 16:01:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180053 Archived-At: > As you pointed out, `file-tree-walk' has the nice property that it can > stop recursing based on a predicate, so implementing it on > `directory-files-recursively' would not be optimal. Right, what is needed is to extend directory-files-recursively such that it can also use a predicate to decide whether to recurse or not. Stefan