From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: find-file-project Date: Tue, 15 Sep 2015 22:34:19 -0500 Message-ID: <86io7b11hg.fsf@stephe-leake.org> References: <86pp1j4ejm.fsf@stephe-leake.org> <55F899EA.7050700@yandex.ru> <86lhc73wog.fsf@stephe-leake.org> <86mvwn11u1.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442374499 15976 80.91.229.3 (16 Sep 2015 03:34:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Sep 2015 03:34:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 16 05:34:49 2015 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 1Zc3Ud-00012f-Rr for ged-emacs-devel@m.gmane.org; Wed, 16 Sep 2015 05:34:47 +0200 Original-Received: from localhost ([::1]:47172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc3Uc-0000VM-Tl for ged-emacs-devel@m.gmane.org; Tue, 15 Sep 2015 23:34:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zc3UY-0000Uy-Sn for emacs-devel@gnu.org; Tue, 15 Sep 2015 23:34:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zc3UV-0003BA-Mh for emacs-devel@gnu.org; Tue, 15 Sep 2015 23:34:42 -0400 Original-Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:44215) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Zc3UV-00039z-FH for emacs-devel@gnu.org; Tue, 15 Sep 2015 23:34:39 -0400 Original-Received: (qmail 13591 invoked by uid 0); 16 Sep 2015 03:34:32 -0000 Original-Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy1.mail.unifiedlayer.com with SMTP; 16 Sep 2015 03:34:32 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by CMOut01 with id HfaM1r00o2UdiVW01faQde; Tue, 15 Sep 2015 21:34:31 -0600 X-Authority-Analysis: v=2.1 cv=EbVbHpWC c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=ff-B7xzCdYMA:10 a=vaJtXVxTAAAA:8 a=PPTNLd6rQYLxieTSglkA:9 Original-Received: from [76.218.37.33] (port=51131 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1Zc3UE-0002QI-7V for emacs-devel@gnu.org; Tue, 15 Sep 2015 21:34:22 -0600 In-Reply-To: <86mvwn11u1.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 15 Sep 2015 22:26:46 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.25.95 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:189996 Archived-At: Stephen Leake writes: > Stephen Leake writes: > >> Dmitry Gutov writes: >> >>>> + ;; FIXME: do we need both project-ignores and project-ignore-files-globs? >>> >>> Just having project-ignores should suffice. >> >> I guess I could just ignore 'dir' in project-ignores. > > On the other hand, if some implementation of project-ignores does not > ignore the `dir' argument, then the predicate in project-find-file must > call project-ignores for each dir. > Similarly, project-recursive-ignores-to-flat should call project-ignores for each dir, rather than using a simple ignore-dirs list. Which would eliminate the need for project-ignore-dirs. But that is much more complicated, so I'd rather remove the `dir' argument from project-ignores, if it is not needed for some known use case. -- -- Stephe