From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#19466: 25.0.50; xref-find-def doesn't find C functions Date: Tue, 20 Jan 2015 22:49:39 +0200 Message-ID: <54BEBF63.9050709@yandex.ru> 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> 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 1421787016 2565 80.91.229.3 (20 Jan 2015 20:50:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 20:50:16 +0000 (UTC) Cc: eller.helmut@gmail.com, 19466@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 21:50:12 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 1YDfkZ-0000N3-Vj for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 21:50:12 +0100 Original-Received: from localhost ([::1]:45584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDfkZ-0006bZ-8O for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 15:50:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDfkV-0006aF-EK for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2015 15:50:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDfkR-0004g1-DP for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2015 15:50:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDfkR-0004fW-9I for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2015 15:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YDfkQ-0006ur-Ob for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2015 15:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jan 2015 20:50:02 +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.142178698826557 (code B ref 19466); Tue, 20 Jan 2015 20:50:02 +0000 Original-Received: (at 19466) by debbugs.gnu.org; 20 Jan 2015 20:49:48 +0000 Original-Received: from localhost ([127.0.0.1]:51079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YDfkC-0006uH-BM for submit@debbugs.gnu.org; Tue, 20 Jan 2015 15:49:48 -0500 Original-Received: from mail-wi0-f178.google.com ([209.85.212.178]:65422) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YDfkB-0006u3-6H for 19466@debbugs.gnu.org; Tue, 20 Jan 2015 15:49:47 -0500 Original-Received: by mail-wi0-f178.google.com with SMTP id em10so16920478wid.5 for <19466@debbugs.gnu.org>; Tue, 20 Jan 2015 12:49:41 -0800 (PST) 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=KqOIegy9SL2Ll4DxC8RN8sRgy/DiEycD28jE9Z9jK3k=; b=pj1vzG2PLjV1mvWitP+y/Q2DUmwdsKl4MlhCx3Ev60kBolWzjgJ6LDsWxwIPAxXfte t4yvaUftxqNlYOCrs6vhDiluuLFvFN2TyfrSWDKlZdAt3MGOjOU1UT4G3//0EsYFU+7U olucP/2U2KVl0hsXl1ISj5uJmsPT3FuAQZ8lBCeRdH/nqtxAd1drdrksbSTnvCMH84Kc fqsWOe1zYOUvVwkmhX4Z2FaCDkpJ0fgi+NtDuZKj7UfotSlkY+Zce1QC26er+norwMJM ta8PIERMey7M6dfgxoJJ9SQd23GCc6L2Vjq/395qopzMdEBvY1v//C8JwQh5+vpSydot uAGg== X-Received: by 10.180.90.241 with SMTP id bz17mr31856537wib.0.1421786981579; Tue, 20 Jan 2015 12:49:41 -0800 (PST) Original-Received: from [192.168.0.185] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by mx.google.com with ESMTPSA id bb2sm11033703wjc.43.2015.01.20.12.49.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jan 2015 12:49:40 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: <83wq4hwejl.fsf@gnu.org> 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:98519 Archived-At: 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. ...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? > 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. Come on, in each case that's just a few lines of Lisp you need to look at, and maybe try. > so my suggestion would be to start with something that looks > promising, and then see if users like that. The important thing is > implement something; just enumerating the alternatives is not enough. 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.