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:12:26 -0500 Message-ID: References: <20141102151524.0d9c665c@forcix> <20141102172944.0f7944e3@forcix> <20141103084433.12117c03@forcix> <20141103192853.2702fe7a@forcix> <20141103215526.28edeb27@forcix> <85egtjrpa9.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415124777 15419 80.91.229.3 (4 Nov 2014 18:12:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 18:12:57 +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:12:49 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 1Xlib2-0003kV-EJ for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2014 19:12:48 +0100 Original-Received: from localhost ([::1]:42189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlib1-0006y8-Uz for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2014 13:12:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xliaq-0006v2-Tt for emacs-devel@gnu.org; Tue, 04 Nov 2014 13:12:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xliai-00013f-3J for emacs-devel@gnu.org; Tue, 04 Nov 2014 13:12:36 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xliai-00013T-0f for emacs-devel@gnu.org; Tue, 04 Nov 2014 13:12:28 -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="95944526" 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:12:26 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 8E54766099; Tue, 4 Nov 2014 13:12:26 -0500 (EST) In-Reply-To: <85egtjrpa9.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 04 Nov 2014 08:52:46 -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:176354 Archived-At: > I would also, but I would not expect a generic Emacs function to return > that. It certainly requires a backend function. Agreed. > I'm still not clear what 'identifier-at-point' is good for outside "goto > definition", "show uses", and completion. Since the meaning is highly > backend specific, I don't see what other parts of Emacs might use it. I just know that it's used commonly. Maybe it's always used by backend-specific code, so it could stay completely in each backend, but I don't see any reason why we couldn't standardize the name of that backend function, in case some non-backend specific code wants to use it. Stefan