From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#19466: 25.0.50; xref-find-def doesn't find C functions Date: Wed, 21 Jan 2015 15:02:34 -0500 Message-ID: References: <8361cucl3u.fsf@gnu.org> <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> <54BD076E.6090707@yandex.ru> <54BE0B5A.6060706@gmx.at> <54BE4693.5050804@yandex.ru> <54BE6B59.5090404@gmx.at> <54BF5345.9090303@yandex.ru> <54BF843E.10907@gmx.at> <54BFB6A1.8050802@yandex.ru> <54BFD9AF.10002@gmx.at> <54BFE933.9090009@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421870591 11136 80.91.229.3 (21 Jan 2015 20:03:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 20:03:11 +0000 (UTC) Cc: 19466@debbugs.gnu.org, Helmut Eller , Dmitry Gutov To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 21 21:03: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 1YE1Ub-0006fP-B6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 21:03:09 +0100 Original-Received: from localhost ([::1]:49985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE1Ua-0003yG-Q7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 15:03:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE1UW-0003w8-9I for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 15:03:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YE1UU-0008PS-Uq for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 15:03:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE1UU-0008Oe-Rz for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 15:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YE1UU-0001x8-GL for bug-gnu-emacs@gnu.org; Wed, 21 Jan 2015 15:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jan 2015 20:03: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.14218705807497 (code B ref 19466); Wed, 21 Jan 2015 20:03:02 +0000 Original-Received: (at 19466) by debbugs.gnu.org; 21 Jan 2015 20:03:00 +0000 Original-Received: from localhost ([127.0.0.1]:52125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YE1UR-0001wq-GN for submit@debbugs.gnu.org; Wed, 21 Jan 2015 15:03:00 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:49805) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YE1UP-0001wi-PL for 19466@debbugs.gnu.org; Wed, 21 Jan 2015 15:02:58 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 7A49F85E8B; Wed, 21 Jan 2015 15:02:57 -0500 (EST) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 1EDC71E5B8B; Wed, 21 Jan 2015 15:02:35 -0500 (EST) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 01F94B4102; Wed, 21 Jan 2015 15:02:34 -0500 (EST) In-Reply-To: <54BFE933.9090009@gmx.at> (martin rudalics's message of "Wed, 21 Jan 2015 19:00:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:98559 Archived-At: >> >> Debugger entered--Lisp error: (args-out-of-range "" 0) >> >> help-function-arglist(#[257 "\300\207" ["(No location)"] 2 "(No >> >> location)\n\n(fn ##)"] preserve-names) >> >> eieio--defmethod(xref-location-group nil xref-bogus-location #[257 >> >> "\300\207" ["(No location)"] 2 "(No location)\n\n(fn ##)"]) >> > I'm sure Someone(tm) will fix that right away. :) Sorry, I missed this. When/how do you get this error? > Meanwhile I additionally get: > ELC progmodes/xref.elc > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. > `defmethod' is an obsolete macro (as of 25.1); use `cl-defmethod' instead. > `defgeneric' is an obsolete macro (as of 25.1); use `cl-defgeneric' instead. There are two problems here: 1- The warnings fail to include the "xref.el:: " prefix. Haven't figured out why yet. If someone wants to help fix this, he'd be very welcome. The problem seems to happen only when macroexp--warn-and-return is used on a toplevel form (aka "file-form"). The warnings themselves are otherwise correct (and "harmless"). 2- xref.el (just like pretty much all existing code using EIEIO) uses obsolete macros, indeed. This is easy to fix. Stefan