From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Generalizing find-definition Date: Fri, 19 Dec 2014 10:00:28 +0200 Message-ID: <86ioh8ax2b.fsf@yandex.ru> References: <20141102151524.0d9c665c@forcix> <86ppbqn841.fsf@yandex.ru> <86mw6o3k28.fsf@yandex.ru> <548F5B60.8050509@yandex.ru> <548F5FFD.5010703@yandex.ru> <548F66B3.3050103@yandex.ru> <54901FEB.1090704@yandex.ru> <5490962D.7010105@yandex.ru> <5490A6B5.7020308@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418976059 14304 80.91.229.3 (19 Dec 2014 08:00:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2014 08:00:59 +0000 (UTC) Cc: emacs-devel , Stephen Leake , Stefan Monnier , Jorgen Schaefer To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 09:00:53 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 1Y1sUX-0005YF-8t for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2014 09:00:53 +0100 Original-Received: from localhost ([::1]:57167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1sUR-0005e3-MW for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2014 03:00:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1sUI-0005dq-S6 for emacs-devel@gnu.org; Fri, 19 Dec 2014 03:00:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1sUD-0002SR-8R for emacs-devel@gnu.org; Fri, 19 Dec 2014 03:00:38 -0500 Original-Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:40686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1sUD-0002SM-13 for emacs-devel@gnu.org; Fri, 19 Dec 2014 03:00:33 -0500 Original-Received: by mail-wi0-f180.google.com with SMTP id n3so868537wiv.7 for ; Fri, 19 Dec 2014 00:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:cc:cc:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=mguxkK7jq5+G9EN59fV8VVgbk767E/XBdxrtRheUO+s=; b=Xev6JErN20IhRKLwx1BRmXBzBqrMGKsKyCHsWPi1bFHHcDNpxuHNdqxR2uQZKqivVk ghkNj6WMNFmVvOMQKAJ0TSTIhhJgivCMJ9SLcbHJnisRAoPuBXTtzmk29H4IZ1X35dgh LPBsJmxzOvmTMQpCypLK76kC+Z7OFNVEXp+UGVDyHSW4LdRG1A3VRe1DII4j+Fbn6Anw hFxVd4/iQRVrmi05PULijfsIX/hN9qHd3rfcDPogYCq5DdMNoI2VmhH9B/3uAyE0rhxA 7hyWdC2/+tWAhc7aomxOm0c+3VuQ6I0EKrqDMc3oZrcCOmUHmUAq4DEly6Tv+0GhSfgr NLrg== X-Received: by 10.180.95.37 with SMTP id dh5mr3264696wib.64.1418976031066; Fri, 19 Dec 2014 00:00:31 -0800 (PST) Original-Received: from axl ([82.102.93.54]) by mx.google.com with ESMTPSA id wx3sm11759501wjc.19.2014.12.19.00.00.29 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 19 Dec 2014 00:00:30 -0800 (PST) In-Reply-To: (Helmut Eller's message of "Wed, 17 Dec 2014 08:25:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::234 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:180315 Archived-At: Helmut Eller writes: >> But what if they want to jump to a symbol defined in a different >> package/namespace? > > Then there's no other choice than to use a qualified name. Okay. Anyway, the identifier table can just as well include local names (and aliases), all of which `xref-find-function' should be able to resolve with no problem because it's called in the same buffer. And strings in completion tables can include properties, too. I've pushed the patch with some updates to http://git.savannah.gnu.org/cgit/emacs.git/log/?h=scratch/xref, please everyone take a look. If there are no further objections, I'll install it in a few days.