From unknown Sat Aug 09 13:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22955: 25.1.50; *Help* xref for generic methods broken Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Mar 2016 04:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22955@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145749705620394 (code B ref -1); Wed, 09 Mar 2016 04:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2016 04:17:36 +0000 Received: from localhost ([127.0.0.1]:40366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adVZ2-0005Is-Ga for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48627) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adVZ0-0005Ib-FF for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adVYu-0005h6-4m for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adVYu-0005h2-1R for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adVYt-0007I0-0y for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 23:17:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adVYp-0005gT-KY for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 23:17:26 -0500 Received: from mail.ericabrahamsen.net ([50.56.99.223]:48861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adVYp-0005g7-Dx for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 23:17:23 -0500 Received: from localhost (unknown [221.216.163.58]) (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 CF3241F4002 for ; Wed, 9 Mar 2016 04:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1457497067; bh=bb31WpOVHr4piUDF+y7dP8qj+37NrJcysMUHpziWEAE=; h=From:To:Subject:Date:From; b=uN95UU/Pm7VRZGyGf4qrS5OtUhI9QnubfCIvsv5Y0UI1VVrTtBTpxjhFtgUpdsMoz 4pJrlw9MBCtPlV98mcZjr7YtOdvSfbmL0qNJCgJUOR2a8D1YoM/N9myHxde75u4KyA veGXdf69bFu4TFgcQrZuVscdFsDAwjze1dGC2PQI= From: Eric Abrahamsen User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.17 (x86_64-unknown-linux-gnu) Date: Wed, 09 Mar 2016 12:16:56 +0800 Message-ID: <87pov4ffpj.fsf@ericabrahamsen.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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: 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) Basically, when `help-button-action' does this: (help-do-xref nil (button-get button 'help-function) (button-get button 'help-args)) There are three 'help-args (the first arg is the specializer -- actually, maybe there as many args as there are specializers? don't know), but the 'help-function only takes two args. Hope that's enough to get it there! In GNU Emacs 25.1.50.17 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.8) of 2016-03-08 built on clem Repository revision: 59c7a5d71145d88933a535e222bdf30105e7d382 Windowing system distributor 'The X.Org Foundation', version 11.0.11801000 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_CTYPE: zh_CN.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t paredit-mode: t diff-auto-refine-mode: t recentf-mode: t dired-async-mode: t ace-pinyin-global-mode: t ace-pinyin-mode: t helm-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t helm-adaptive-mode: t projectile-global-mode: t projectile-mode: t company-flx-mode: t global-company-mode: t company-mode: t display-time-mode: t show-paren-mode: t savehist-mode: t url-handler-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t From unknown Sat Aug 09 13:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22955: 25.1.50; *Help* xref for generic methods broken Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Mar 2016 20:20:02 +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: To: Eric Abrahamsen , 22955@debbugs.gnu.org Received: via spool by 22955-submit@debbugs.gnu.org id=B22955.14575547831036 (code B ref 22955); Wed, 09 Mar 2016 20:20:02 +0000 Received: (at 22955) by debbugs.gnu.org; 9 Mar 2016 20:19:43 +0000 Received: from localhost ([127.0.0.1]:41841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adka6-0000Ge-V7 for submit@debbugs.gnu.org; Wed, 09 Mar 2016 15:19:43 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38030) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adka5-0000GR-BB for 22955@debbugs.gnu.org; Wed, 09 Mar 2016 15:19:41 -0500 Received: by mail-wm0-f47.google.com with SMTP id l68so1622888wml.1 for <22955@debbugs.gnu.org>; Wed, 09 Mar 2016 12:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=JFUv7zEQXlUThgrXXohwxlwymH2KRIeWF254Dr9RoNc=; b=VH5ZFbFJWMf+Em/4yTQ0l2qTENBiGqNe9uKMKso/i5XYolMDe/HS/URwniAmpNZHry 0wKVaYb8ZAZv6yFhsZUilJ69cJ4Z5uK3XDfUjQlO/Gz0LYzF4V+EOjY2hKnQ3fuUToP/ PSTRQE2+4spZwpRY0d3y4MY/yYXvgohPKKOch6BlRl+jlAPYZ0a7NZCo6NCsN1BY6zZ/ d8+oRVtU7NPnQ6UWGaaDjmTA4T71P7aXtnRN0/9LMuYQoLAVj2c02epRK404jPtVNdhc Oz03o6VsQCoWKYoAdLdh/g6/IVIbnaVxq3i/eKVmfHRxC+eRsbbbL9L7/2dj2tZ6TMmH xrdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=JFUv7zEQXlUThgrXXohwxlwymH2KRIeWF254Dr9RoNc=; b=W/fb/bzvAPeRHgiLpOCtKjapKRYUn206lLINcHcwDI1cjBrvy07vZgY9lsqRPIChWt xF1QDytSuUZxaWpA6FFW4idRbF5wD8TP/ZJLhx0WxUpgg+c1lzYFYaeMxPpGdq/ut/Jq IDCLFj1yuHWiwIe4mlG0ppEerJNu/oNCcjiYxwn7sfCtc2qwdyWnRVbC+e9vHMUypEGI GlGm+/J+KxJxIGtsxGpOYMXvRD+FHAGw995oo79N0cPN8k1m9q5c23f2A25lA91zRF4/ si/ItcsNrcOpN1f0sxtwHI1qqEs/73cOUfVbjwlwfhfjn+3Ui21D+R0GvKsnuxSwHkbp fu4g== X-Gm-Message-State: AD7BkJLnRx//6sM6jExFp49qYPL86AuNck2GgsYL/btmzO5UyNiO/YuNBAo+Oam0DsKCIw== X-Received: by 10.194.118.106 with SMTP id kl10mr141753wjb.154.1457554775620; Wed, 09 Mar 2016 12:19:35 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id p191sm345128wmb.0.2016.03.09.12.19.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2016 12:19:34 -0800 (PST) References: <87pov4ffpj.fsf@ericabrahamsen.net> From: Dmitry Gutov Message-ID: Date: Wed, 9 Mar 2016 22:19:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <87pov4ffpj.fsf@ericabrahamsen.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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? From unknown Sat Aug 09 13:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22955: 25.1.50; *Help* xref for generic methods broken 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: To: Dmitry Gutov Cc: 22955@debbugs.gnu.org Received: via spool by 22955-submit@debbugs.gnu.org id=B22955.145757482412606 (code B ref 22955); Thu, 10 Mar 2016 01:54:01 +0000 Received: (at 22955) by debbugs.gnu.org; 10 Mar 2016 01:53:44 +0000 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 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 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= From: Eric Abrahamsen References: <87pov4ffpj.fsf@ericabrahamsen.net> Date: Thu, 10 Mar 2016 09:53:27 +0800 In-Reply-To: (Dmitry Gutov's message of "Wed, 9 Mar 2016 22:19:31 +0200") Message-ID: <87a8m7hze0.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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! From unknown Sat Aug 09 13:21:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eric Abrahamsen Subject: bug#22955: closed (Re: bug#22955: Acknowledgement (25.1.50; *Help* xref for generic methods broken)) Message-ID: References: <87efywv9ky.fsf@ericabrahamsen.net> <87pov4ffpj.fsf@ericabrahamsen.net> X-Gnu-PR-Message: they-closed 22955 X-Gnu-PR-Package: emacs Reply-To: 22955@debbugs.gnu.org Date: Fri, 17 Feb 2017 20:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1487363822-10317-1" This is a multi-part message in MIME format... ------------=_1487363822-10317-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22955: 25.1.50; *Help* xref for generic methods broken which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22955@debbugs.gnu.org. --=20 22955: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22955 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1487363822-10317-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22955-done) by debbugs.gnu.org; 17 Feb 2017 20:36:19 +0000 Received: from localhost ([127.0.0.1]:43858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cepGN-0002fS-DK for submit@debbugs.gnu.org; Fri, 17 Feb 2017 15:36:19 -0500 Received: from mail.ericabrahamsen.net ([50.56.99.223]:59022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cepGL-0002fK-Vx for 22955-done@debbugs.gnu.org; Fri, 17 Feb 2017 15:36:18 -0500 Received: from localhost (71-212-6-137.tukw.qwest.net [71.212.6.137]) (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 AB08ABEE3F for <22955-done@debbugs.gnu.org>; Fri, 17 Feb 2017 20:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1487363774; bh=J5fTbKjnUKntH6XBuPgLW9nxEO+hPXlZwVIfFdnCXxI=; h=From:To:Subject:References:Date:In-Reply-To:From; b=EehIlGA+eim2LEsDcAqEtWIvfApM7WLzyl/f43AMEUrs/8Yhr/MwV2WsMLR8MjSws wRXMCeFR2CVK/0+AE8NPSKp33nuMytDiGDhUKak6+nmqzHc5+/jd8ZtrcBQsNN8z90 Vc6nyvXfNaZCv+jcLFBi0u8FaOjEkDznACRh3UeQ= From: Eric Abrahamsen To: 22955-done@debbugs.gnu.org Subject: Re: bug#22955: Acknowledgement (25.1.50; *Help* xref for generic methods broken) References: <87pov4ffpj.fsf@ericabrahamsen.net> Date: Fri, 17 Feb 2017 12:36:13 -0800 In-Reply-To: (GNU bug Tracking System's message of "Wed, 09 Mar 2016 04:18:01 +0000") Message-ID: <87efywv9ky.fsf@ericabrahamsen.net> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22955-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This was not a bug. Will it let me close it? ------------=_1487363822-10317-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Mar 2016 04:17:36 +0000 Received: from localhost ([127.0.0.1]:40366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adVZ2-0005Is-Ga for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48627) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adVZ0-0005Ib-FF for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adVYu-0005h6-4m for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adVYu-0005h2-1R for submit@debbugs.gnu.org; Tue, 08 Mar 2016 23:17:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adVYt-0007I0-0y for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 23:17:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adVYp-0005gT-KY for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 23:17:26 -0500 Received: from mail.ericabrahamsen.net ([50.56.99.223]:48861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adVYp-0005g7-Dx for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 23:17:23 -0500 Received: from localhost (unknown [221.216.163.58]) (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 CF3241F4002 for ; Wed, 9 Mar 2016 04:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1457497067; bh=bb31WpOVHr4piUDF+y7dP8qj+37NrJcysMUHpziWEAE=; h=From:To:Subject:Date:From; b=uN95UU/Pm7VRZGyGf4qrS5OtUhI9QnubfCIvsv5Y0UI1VVrTtBTpxjhFtgUpdsMoz 4pJrlw9MBCtPlV98mcZjr7YtOdvSfbmL0qNJCgJUOR2a8D1YoM/N9myHxde75u4KyA veGXdf69bFu4TFgcQrZuVscdFsDAwjze1dGC2PQI= From: Eric Abrahamsen To: bug-gnu-emacs@gnu.org Subject: 25.1.50; *Help* xref for generic methods broken User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.17 (x86_64-unknown-linux-gnu) Date: Wed, 09 Mar 2016 12:16:56 +0800 Message-ID: <87pov4ffpj.fsf@ericabrahamsen.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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: 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) Basically, when `help-button-action' does this: (help-do-xref nil (button-get button 'help-function) (button-get button 'help-args)) There are three 'help-args (the first arg is the specializer -- actually, maybe there as many args as there are specializers? don't know), but the 'help-function only takes two args. Hope that's enough to get it there! In GNU Emacs 25.1.50.17 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.8) of 2016-03-08 built on clem Repository revision: 59c7a5d71145d88933a535e222bdf30105e7d382 Windowing system distributor 'The X.Org Foundation', version 11.0.11801000 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_CTYPE: zh_CN.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t paredit-mode: t diff-auto-refine-mode: t recentf-mode: t dired-async-mode: t ace-pinyin-global-mode: t ace-pinyin-mode: t helm-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t helm-adaptive-mode: t projectile-global-mode: t projectile-mode: t company-flx-mode: t global-company-mode: t company-mode: t display-time-mode: t show-paren-mode: t savehist-mode: t url-handler-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t ------------=_1487363822-10317-1--