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: Bad moves with xref-find-definitions Date: Tue, 28 Apr 2015 00:57:11 +0300 Message-ID: <553EB0B7.6060007@yandex.ru> References: <87h9s6c27z.fsf@gmail.com> <87zj5wnlyt.fsf@gmail.com> <553BE6F2.4030604@yandex.ru> <87fv7ondlr.fsf@gmail.com> <553C5D75.9060706@yandex.ru> <874mo3np7t.fsf@gmail.com> <553CFF9F.2030502@yandex.ru> <87fv7mn9is.fsf@gmail.com> <553D2586.6060809@yandex.ru> <87bniamww1.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1430171866 21528 80.91.229.3 (27 Apr 2015 21:57:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 21:57:46 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Vitalie Spinu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 23:57:46 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 1Ymr27-0006Qa-NE for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 23:57:43 +0200 Original-Received: from localhost ([::1]:57757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymr26-00011a-RM for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 17:57:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymr1s-0000yB-9d for emacs-devel@gnu.org; Mon, 27 Apr 2015 17:57:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymr1n-0002yX-B2 for emacs-devel@gnu.org; Mon, 27 Apr 2015 17:57:28 -0400 Original-Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:33752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymr1n-0002xL-5Y for emacs-devel@gnu.org; Mon, 27 Apr 2015 17:57:23 -0400 Original-Received: by wgin8 with SMTP id n8so130806786wgi.0 for ; Mon, 27 Apr 2015 14:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=gGz6iw/9Pj/+2hlFU/GKxgAtjH5zXG/7pNDcqg/lb6o=; b=a7FEmkGhwyW4gYG2MzjnS8BrQN2t+64+MWXwbOknRjbDklP0ZsSk86BcZKgdewV5OK Q7KF1wSTaNbaKaU1OeGnk41Twp22YnPCgoefWTC86UvSuqHYBtvQiJ1S8ebhswen2RL2 mOQD6MNRqLaRNMqPYumB8XdP1fMRCLCGYW3ECP/eqheCDNTj3gFnokzs0EmSxES2tjG7 6oeRuTYvVR5XF1DUiTOr5I9m6dV9RowmTB1q9kwdLbcOcKa+LD685z6f2elol2HUlNWE YF4YTcnLz1xKb1Hzaox54h5C7hmQ7LZ0uAo0IS9dDaio+rhTXSSe6sgeAaiX0hpfyLaX 39aA== X-Received: by 10.194.71.168 with SMTP id w8mr25515615wju.80.1430171832928; Mon, 27 Apr 2015 14:57:12 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id qt2sm31166415wjc.7.2015.04.27.14.57.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Apr 2015 14:57:12 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 In-Reply-To: <87bniamww1.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::229 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:185943 Archived-At: On 04/26/2015 11:56 PM, Vitalie Spinu wrote: > Because you need an interactive repl running to have dynamic completion > for one, and for multiple language projects you don't have access to > C/Fortran etc definitions from the interactive session anyways. So at > least the etags integration should be done properly in the core. We're talking about using some new tags table, to jump to a file in a different project, right? How come it's important to have a running repl, then? > Generally you don't want to clutter completion or location tables with > java symbols from all the projects that you import. %99.99 of those are > useless. In most cases you need clojure and java symbols in current > project. Next level is all core and imported clojure symbols. Then all > java classes/methods. Note that these levels are not split along the lines of Clojure/Java. And while it seems like it could a sensible approach, I don't exactly see a solution in terms of new xref features. > There is an open issue in CIDER on interactive doc completion where this > was discussed [1]. Bozhidar can comment on this more, but the general > idea is that you want to offer completion candidates in some sort of > stages in order to avoid impairing the usability. I think the same > concern is valid for references (for the prompt case and apropos at > least). But the currently suggested approach proposes to use one completion table for all stages.