From unknown Sat Jun 21 03:10:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22955 <22955@debbugs.gnu.org> To: bug#22955 <22955@debbugs.gnu.org> Subject: Status: 25.1.50; *Help* xref for generic methods broken Reply-To: bug#22955 <22955@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:10:54 +0000 retitle 22955 25.1.50; *Help* xref for generic methods broken reassign 22955 emacs submitter 22955 Eric Abrahamsen severity 22955 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 08 23:17:36 2016 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 09 15:19:43 2016 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) Subject: Re: bug#22955: 25.1.50; *Help* xref for generic methods broken To: Eric Abrahamsen , 22955@debbugs.gnu.org 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-Debbugs-Envelope-To: 22955 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 debbugs-submit-bounces@debbugs.gnu.org Wed Mar 09 20:53:44 2016 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 To: Dmitry Gutov Subject: Re: bug#22955: 25.1.50; *Help* xref for generic methods broken 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-Debbugs-Envelope-To: 22955 Cc: 22955@debbugs.gnu.org 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 debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 15:36:19 2017 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? From unknown Sat Jun 21 03:10:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Mar 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator