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: Sun, 01 Feb 2015 22:11:08 +0200 Message-ID: <54CE885C.8060202@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> <54BEBF63.9050709@yandex.ru> <8361c0w16n.fsf@gnu.org> <54C063E3.8020401@yandex.ru> <83a91avglz.fsf@gnu.org> <54C1655E.4050403@yandex.ru> <83r3uluawd.fsf@gnu.org> <54C28635.8070606@yandex.ru> <83twzhryyq.fsf@gnu.org> <54C2C9DC.1050908@yandex.ru> <83h9vgsehi.fsf@gnu.org> <54C3CCB2.5030708@yandex.ru> <83y4ojjpqy.fsf@gnu.org> <54CD8E72.5000902@yandex.ru> <83ioflipt0.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 1422821532 16738 80.91.229.3 (1 Feb 2015 20:12:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2015 20:12:12 +0000 (UTC) Cc: 19466@debbugs.gnu.org, eller.helmut@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 01 21:12:11 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 1YI0sN-0007Mk-14 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 21:12:11 +0100 Original-Received: from localhost ([::1]:51773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI0sM-0006CF-At for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 15:12:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI0sH-0006BF-LH for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:12:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YI0sE-0002cX-6j for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:12:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI0sE-0002cR-3O for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YI0sD-00056M-QY for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Feb 2015 20:12: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.142282148119560 (code B ref 19466); Sun, 01 Feb 2015 20:12:01 +0000 Original-Received: (at 19466) by debbugs.gnu.org; 1 Feb 2015 20:11:21 +0000 Original-Received: from localhost ([127.0.0.1]:59849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YI0rY-00055Q-N4 for submit@debbugs.gnu.org; Sun, 01 Feb 2015 15:11:21 -0500 Original-Received: from mail-we0-f179.google.com ([74.125.82.179]:49957) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YI0rW-00055C-1u for 19466@debbugs.gnu.org; Sun, 01 Feb 2015 15:11:18 -0500 Original-Received: by mail-we0-f179.google.com with SMTP id q59so35642452wes.10 for <19466@debbugs.gnu.org>; Sun, 01 Feb 2015 12:11:12 -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=VXaiziNb6z0IUbs71cMEHU2JqfT8wyL4GD1cIGU4jK0=; b=oea5qFVIphVuTx4ZYwQbvo7tOSfLjyDkT5S5sTszn/dW5ExGwk3bCFBW0r4CfOx1oW fYFj/zpd3wrBlpolvJ3chMJkBEv9idj9QN9vi/e/flFoh9U7W/y6xKDL4OBH7U1+CN35 NBcQsv/ymppB0SPJl+nmx25WXHXthcK5VimSKccf4npizZSBlmCMD0h9M79mUJwqb28w 5qM35ST6Da2UlBw/xTasAUFxKQCfCfhWHZ7p1ynyciZGK2eDB16HI7uggPHXSaM3Ghs7 dWCV0jOmO+wKfhnkBmWfFhtPobbw9A49TjJKpbrA4h0QXp+yl+mjgXUeN5vqbv1nYkcP UOVQ== X-Received: by 10.194.120.40 with SMTP id kz8mr36023029wjb.21.1422821472563; Sun, 01 Feb 2015 12:11:12 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id g8sm12274390wiy.6.2015.02.01.12.11.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Feb 2015 12:11:12 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: <83ioflipt0.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:98958 Archived-At: On 02/01/2015 06:01 PM, Eli Zaretskii wrote: >> What have you tried, exactly? > > I evaluated your suggested code, and then typed "M-.". If you recall, I gave you several options, with the end goal being making the choice between them or maybe something else. So it would help if you mentioned exactly which one you tried and the problems you experienced after. >> You should have noticed that `M-.' in emacs-lisp-mode buffers behaves >> like in other buffers and uses the current tags table (and prompts for >> it if the tags table hasn't been visited yet). > > It does. Good. So why did you report not seeing any significant changes? >> I've found one caveat now: even though the tags list is not buffer-local >> (right?), (tags-lazy-completion-table) returns different results in >> lisp/**/*.el buffers and src/*.c buffers. > > Yes, it's not 100% smooth. What do you mean by that exactly? It can't be that same as what I meant because you've rejected the only example I gave. >> `find-tag' completion exhibits the same difference. For instance, >> calling `M-x find-tag' in src/disp.c, then typing `display_li' and >> pressing TAB will complete it to `display_line'. No so in >> lisp/progmodes/etags.el. Doing it in that buffer results in [No match]. > > That's not what I see, both in Emacs 24.4 and with the current trunk: > the completion works even in buffers whose major mode is emacs-lisp. Good to know. That means I did something unusual, and the average user won't see that problem. >> However, typing `display_line' fully in either, then pressing RET, >> brings you to that function's definition. This should be considered a >> bug, right? > > Yes, except that I don't see it, at least not in "emacs -Q". This has nothing to do with my configuration, just with a few (maybe ill-considered) steps that I performed: http://debbugs.gnu.org/19741