From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19466: 25.0.50; xref-find-def doesn't find C functions Date: Wed, 21 Jan 2015 18:25:36 +0200 Message-ID: <8361c0w16n.fsf@gnu.org> References: <8361cucl3u.fsf@gnu.org> <54A230CD.3040309@yandex.ru> <83vbktb1ct.fsf@gnu.org> <54A2EE15.3020406@yandex.ru> <831tnhasx0.fsf@gnu.org> <54A6DAF6.5070605@yandex.ru> <831tna9tmr.fsf@gnu.org> <54A9C94F.8040701@yandex.ru> <83vbkl99vm.fsf@gnu.org> <54B8878A.4050506@yandex.ru> <54B8C22B.3080200@gmx.at> <54BC7A77.5020307@yandex.ru> <54BCC033.2010104@gmx.at> <83oapuy8ew.fsf@gnu.org> <54BDC34C.5070309@yandex.ru> <83wq4hwejl.fsf@gnu.org> <54BEBF63.9050709@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421857575 12198 80.91.229.3 (21 Jan 2015 16:26:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 16:26:15 +0000 (UTC) Cc: eller.helmut@gmail.com, 19466@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 21 17:26:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YDy6c-00036c-H9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 17:26:10 +0100 Original-Received: from localhost ([::1]:49105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDy6b-0003he-Vh for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 11:26:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDy6Y-0003hS-Rc for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 11:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDy6U-0006pn-6G for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 11:26:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDy6U-0006pj-3B for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 11:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YDy6T-0004yG-Pe for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 11:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jan 2015 16:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19466 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19466-submit@debbugs.gnu.org id=B19466.142185755019092 (code B ref 19466); Wed, 21 Jan 2015 16:26:01 +0000 Original-Received: (at 19466) by debbugs.gnu.org; 21 Jan 2015 16:25:50 +0000 Original-Received: from localhost ([127.0.0.1]:52037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YDy6H-0004xq-6x for submit@debbugs.gnu.org; Wed, 21 Jan 2015 11:25:49 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:53152) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YDy6E-0004xa-8d for 19466@debbugs.gnu.org; Wed, 21 Jan 2015 11:25:47 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NIJ00K00C6JAO00@a-mtaout22.012.net.il> for 19466@debbugs.gnu.org; Wed, 21 Jan 2015 18:25:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIJ00KSFCAR0G70@a-mtaout22.012.net.il>; Wed, 21 Jan 2015 18:25:39 +0200 (IST) In-reply-to: <54BEBF63.9050709@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98548 Archived-At: > Date: Tue, 20 Jan 2015 22:49:39 +0200 > From: Dmitry Gutov > CC: rudalics@gmx.at, 19466@debbugs.gnu.org, eller.helmut@gmail.com > > On 01/20/2015 07:24 PM, Eli Zaretskii wrote: > > > Then I'd suggest "show definition" instead of "navigate". The latter > > has no useful meaning in this context, and just confuses. > > "go to definition" should be the clearest option, then. Works for me. > ...Except the xref interface is also supposed to be used for "apropos" > and "find references". The latter, though not implemented for the two > current backends, would be reasonably easy to do for certain > environments like SLIME. "definition" won't be the right term then. Any > suggestions? Can the package that uses xref modify that string? If so, we don't need a single-fits-all phrase. If we do need a single phrase, then how about "go to definition/reference"? > > I don't really understand the difference between the various options, > > I'm afraid you'll have to spend the effort to understand it (but feel > free to ask questions). AFAICT, the audience for this feature is just a > few people, and myself is not among them. So far, I don't have the > proper requirements to work with. Perhaps you could ask what issues need to be resolved for you to understand the requirements. > Come on, in each case that's just a few lines of Lisp you need to look > at, and maybe try. If you can show me the complete Lisp, I can try that and return feedback. > Messages 32 and 41 include functional implementations you can try. The > patches that would go into Emacs won't be much different, we'd just have > to decide on code organization. The recipe in #32 is clearly incomplete. Not sure about 41. Once again, if you can show a complete Lisp to try, I will. Thanks.