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: Sun, 04 Jan 2015 22:29:48 +0200 Message-ID: <831tna9tmr.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1420403427 30565 80.91.229.3 (4 Jan 2015 20:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2015 20:30:27 +0000 (UTC) Cc: 19466@debbugs.gnu.org, dgutov@yandex.ru To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 04 21:30:15 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 1Y7roS-0001ll-HU for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2015 21:30:12 +0100 Original-Received: from localhost ([::1]:57997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7roR-00062E-Pm for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2015 15:30:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7roO-00060a-Ca for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 15:30:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7roK-0001o4-Dj for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 15:30:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7roK-0001np-BW for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 15:30:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y7roJ-0007bR-Tu for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 15:30:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jan 2015 20:30:03 +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.142040339029185 (code B ref 19466); Sun, 04 Jan 2015 20:30:03 +0000 Original-Received: (at 19466) by debbugs.gnu.org; 4 Jan 2015 20:29:50 +0000 Original-Received: from localhost ([127.0.0.1]:36630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7ro5-0007ae-SC for submit@debbugs.gnu.org; Sun, 04 Jan 2015 15:29:50 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:55397) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7ro3-0007aU-93 for 19466@debbugs.gnu.org; Sun, 04 Jan 2015 15:29:48 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NHO00E006197I00@a-mtaout21.012.net.il> for 19466@debbugs.gnu.org; Sun, 04 Jan 2015 22:29:45 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHO00E2O69K7V00@a-mtaout21.012.net.il>; Sun, 04 Jan 2015 22:29:45 +0200 (IST) In-reply-to: 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:98001 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , 19466@debbugs.gnu.org > Date: Sun, 04 Jan 2015 15:10:12 -0500 > > Right, I think we should definitely start with just a way to use TAGS > *instead* of the major mode's own system. > > We can consider later on adding some other system to merge TAGS info > with other info, but ... one step at a time, since we may end up not > needing the next step. Btw, I think I've found another "issue" with xref-find-def: it uses the TAGS table information without any tolerance. So if you have a TAGS file that is slightly outdated, you are put on the wrong line. By contrast, etags.el had special code that would look around the position specified by TAGS, see etags-goto-tag-location. And one more thing: after invoking M-. and typing the function name, then typing '.' to get the first candidate displayed, if I switch to the window where that candidate is displayed, the window switches buffers on me, so that the function I wanted to look at disappears. What am I doing wrong this time?