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:53:11 +0200 Message-ID: <54CE9237.2010607@yandex.ru> References: <8361cucl3u.fsf@gnu.org> <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> <54CE885C.8060202@yandex.ru> <83y4ohgysx.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 1422824058 22499 80.91.229.3 (1 Feb 2015 20:54:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2015 20:54:18 +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:54:17 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 1YI1X5-0001kv-6B for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 21:54:15 +0100 Original-Received: from localhost ([::1]:51886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI1X4-0001Js-BZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 15:54:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI1Wx-0001C1-8z for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:54:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YI1Wt-00025U-5W for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:54:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI1Wt-00025O-2E for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:54:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YI1Ws-00066k-JL for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 15:54: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: Sun, 01 Feb 2015 20:54: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.142282400423428 (code B ref 19466); Sun, 01 Feb 2015 20:54:02 +0000 Original-Received: (at 19466) by debbugs.gnu.org; 1 Feb 2015 20:53:24 +0000 Original-Received: from localhost ([127.0.0.1]:59865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YI1WG-00065o-DP for submit@debbugs.gnu.org; Sun, 01 Feb 2015 15:53:24 -0500 Original-Received: from mail-wi0-f175.google.com ([209.85.212.175]:56728) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YI1WD-00065Z-JW for 19466@debbugs.gnu.org; Sun, 01 Feb 2015 15:53:22 -0500 Original-Received: by mail-wi0-f175.google.com with SMTP id fb4so12829681wid.2 for <19466@debbugs.gnu.org>; Sun, 01 Feb 2015 12:53:15 -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=MqyR+lKOiv6myYD9y/aQve+E1bvK366l/VKTIKctxV0=; b=A6Nqwmb65qmt3UQvL/pQlTZvssNBABLwyDJqfE93NAMmNRNMKrw0Hx8tVKqj8jUX6j 87MZ7HXZoKRwbz54LTfonrnPGQahMYiUToGt75yTTcaGtQZlK3g69wtU2JHOBh6SClEF 9QQ6PvwrFpH5sB7z6aqdo61HAdOYyXbkcpYNiBfz1V27vmWc04O9AKj9bnHMsovYfe5f R7VeMTi+3CM9D9i19RE21JKPHN6q7C4qnGjMXpGz17ijHFjuv8+DY2LqRxr/8WWTr+uk vdXXzbmJuvdb7nSr2q19PrS/M5b/FQv7dpNUpvqhjlxbYX2WeP8e6wbI69OGX3/ril8c c1+g== X-Received: by 10.194.63.172 with SMTP id h12mr36193443wjs.32.1422823995915; Sun, 01 Feb 2015 12:53:15 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id et4sm24782506wjd.15.2015.02.01.12.53.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Feb 2015 12:53:15 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: <83y4ohgysx.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:98961 Archived-At: On 02/01/2015 10:30 PM, Eli Zaretskii wrote: > They all did the same, AFAICS. The end behavior is similar, but in #32, the user can `M-x xref-etags-mode' again to get back to using find-func as xref backend in emacs-lisp-mode buffers. > Because I thought the effects were supposed to be more profound than > that. It solves the original complaint, doesn't it? That's the idea. If that's actually enough for you, we can add xref-reset-backend from #41 to xref.el as `xref-reset-to-etags', and anyone will be able to (add-hook 'emacs-lisp-mode-hook 'xref-reset-to-etags) in their init file to get back to using etags. And same with any other major mode that will implement its own xref backend. > What you discovered: the order of loading Emacs TAGS tables matters. What I see there looks like a bug, and not like a necessary quirk in behavior. > I misunderstood your recipe, sorry. I only loaded src/TAGS. That's my fault, I didn't mention doing that in the previous message.