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: Generalizing find-definition Date: Tue, 04 Nov 2014 13:14:58 -0500 Message-ID: References: <20141102151524.0d9c665c@forcix> <20141102172944.0f7944e3@forcix> <85h9ygtk8r.fsf@stephe-leake.org> <8561evrn50.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415124926 18005 80.91.229.3 (4 Nov 2014 18:15:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 18:15:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 04 19:15:18 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 1XlidS-00051L-0d for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2014 19:15:18 +0100 Original-Received: from localhost ([::1]:42214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlidR-0008Ny-Iv for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2014 13:15:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlidH-0008Hc-2O for emacs-devel@gnu.org; Tue, 04 Nov 2014 13:15:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xlid9-0001QC-K5 for emacs-devel@gnu.org; Tue, 04 Nov 2014 13:15:07 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:52351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlid9-0001Q7-Gi for emacs-devel@gnu.org; Tue, 04 Nov 2014 13:14:59 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCzQSFBgNJIhLCctyAQEBAQYBAQEBHpEIB4RLBYtkhAWiN4FvhBYfgnoBAQE X-IPAS-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCzQSFBgNJIhLCctyAQEBAQYBAQEBHpEIB4RLBYtkhAWiN4FvhBYfgnoBAQE X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="95944742" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO ceviche.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Nov 2014 13:14:58 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id E352B66099; Tue, 4 Nov 2014 13:14:58 -0500 (EST) In-Reply-To: <8561evrn50.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 04 Nov 2014 09:39:07 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.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:176355 Archived-At: >> - jump to file (among those listed in the TAGS file) > So looking recursively inside subdirs is wrong. The TAGS file can (and in several cases does) contain data about files in subdirectories. Basically "jump to file listed in TAGS" lets (or wants to do) you jump to any file in the current project. > So the function we are defining is 'goto-file-in-project', with the user > prompted for the file name. Exactly. And I don't think ff-get-file quite does it. > In ada-mode, the definition of 'file in project' is the combination of > compilation-search-path with ada-spec-suffixes, ada-body-suffixes. I > believe EDE projects are similar. That sounds right. Stefan