From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#22955: 25.1.50; *Help* xref for generic methods broken Date: Thu, 10 Mar 2016 09:53:27 +0800 Message-ID: <87a8m7hze0.fsf@ericabrahamsen.net> References: <87pov4ffpj.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457574870 9506 80.91.229.3 (10 Mar 2016 01:54:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 01:54:30 +0000 (UTC) Cc: 22955@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 10 02:54:13 2016 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 1adpnn-0005nN-Mq for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Mar 2016 02:54:11 +0100 Original-Received: from localhost ([::1]:45624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adpnn-0003a1-9p for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Mar 2016 20:54:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adpni-0003Vn-0g for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 20:54:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adpnd-0003pi-WF for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 20:54:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adpnd-0003pe-S9 for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 20:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adpnd-0003Hk-Kd for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 20:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Mar 2016 01:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22955-submit@debbugs.gnu.org id=B22955.145757482412606 (code B ref 22955); Thu, 10 Mar 2016 01:54:01 +0000 Original-Received: (at 22955) by debbugs.gnu.org; 10 Mar 2016 01:53:44 +0000 Original-Received: from localhost ([127.0.0.1]:42105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adpnM-0003HG-Du for submit@debbugs.gnu.org; Wed, 09 Mar 2016 20:53:44 -0500 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:48787) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adpnK-0003H6-8J for 22955@debbugs.gnu.org; Wed, 09 Mar 2016 20:53:42 -0500 Original-Received: from localhost (unknown [114.248.30.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 16F5D1F4066; Thu, 10 Mar 2016 01:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1457574821; bh=QPxLoGVFnfBftBHnSf8T+b4sByCrlgZ7mTG17eMHPng=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=cEE4U3inCC63/gNqjhc5tPQXxj6lu+RRy3aBuwLWmjY213WlW5tXsVFVuzmFkBGS/ t+FaFZgpagACT23kr2wK7m6wSouWitbl82Tej3imWphn5PPFr9TS4PEBT/AkW0qkt6 IduhJP4F4aTL9b9a/JCRoSlFuPS+Q4hinw12uNCg= In-Reply-To: (Dmitry Gutov's message of "Wed, 9 Mar 2016 22:19:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:114681 Archived-At: On 03/09/16 22:19 PM, Dmitry Gutov wrote: > On 03/09/2016 06:16 AM, Eric Abrahamsen wrote: >> >> If you `describe-function' on a generic method, the resulting *Help* >> buffer shows the various implementations correctly. However, >> clicking/RET on the implementation links fails with: > > Have you tried it with a build from emacs-25? > > It seems to work fine here, at least for xref-backend-definitions and > xref-backend-apropos. > >> Debugger entered--Lisp error: (wrong-number-of-arguments (lambda >> (fun file) (require (quote find-func)) (if (eq file (quote >> C-source)) (progn (setq file (help-C-file-name (indirect-function >> fun) (quote fun))))) (let ((location >> (find-function-search-for-symbol fun nil file))) >> (my-find-symbol-switch-to-buffer (car location)) (if (cdr location) >> (goto-char (cdr location)) (message "Unable to find location in >> file")))) 3) >> help-do-xref(nil (lambda (fun file) (require (quote find-func)) >> (if (eq file (quote C-source)) (progn (setq file (help-C-file-name >> (indirect-function fun) (quote fun))))) (let ((location >> (find-function-search-for-symbol fun nil file))) >> (my-find-symbol-switch-to-buffer (car location)) (if (cdr location) >> (goto-char (cdr location)) (message "Unable to find location in >> file")))) ((bbdb-db-load bbdb-db) >> "/home/eric/.emacs.d/bbdb/lisp/bbdb.el" cl-defmethod)) >> help-button-action(#) >> button-activate(# nil) >> push-button(276) >> funcall-interactively(push-button 276) >> call-interactively(push-button nil nil) >> command-execute(push-button) > > What's that my-find-symbol-switch-to-buffer in the backtrace? Well, damn -- my apologies for not trying this with emacs -Q. I had some long-forgotten customizations causing the problem. Sorry for the noise!