From unknown Sat Aug 16 21:59:00 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#29611 <29611@debbugs.gnu.org> To: bug#29611 <29611@debbugs.gnu.org> Subject: Status: 25.3; help navigation error Reply-To: bug#29611 <29611@debbugs.gnu.org> Date: Sun, 17 Aug 2025 04:59:00 +0000 retitle 29611 25.3; help navigation error reassign 29611 emacs submitter 29611 Alex Branham severity 29611 normal tag 29611 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 07 17:17:53 2017 Received: (at submit) by debbugs.gnu.org; 7 Dec 2017 22:17:53 +0000 Received: from localhost ([127.0.0.1]:51047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN4UL-0007rp-C6 for submit@debbugs.gnu.org; Thu, 07 Dec 2017 17:17:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN4UK-0007rd-KF for submit@debbugs.gnu.org; Thu, 07 Dec 2017 17:17:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eN4UE-0007Qk-3Y for submit@debbugs.gnu.org; Thu, 07 Dec 2017 17:17:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,FREEMAIL_FROM, NULL_IN_BODY,T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40718) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eN4UD-0007QS-WD for submit@debbugs.gnu.org; Thu, 07 Dec 2017 17:17:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eN4UC-0003N3-C7 for bug-gnu-emacs@gnu.org; Thu, 07 Dec 2017 17:17:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eN4U9-0007MK-6i for bug-gnu-emacs@gnu.org; Thu, 07 Dec 2017 17:17:44 -0500 Received: from mail-ot0-x22d.google.com ([2607:f8b0:4003:c0f::22d]:36634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eN4U8-0007L1-WB for bug-gnu-emacs@gnu.org; Thu, 07 Dec 2017 17:17:41 -0500 Received: by mail-ot0-x22d.google.com with SMTP id d5so7705948oti.3 for ; Thu, 07 Dec 2017 14:17:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=nUTq29xVBItJwxzzT5vlhtLz2Wssg4sVo1cjhGwIIEg=; b=p8qLvoYc7Hfwfk/+I2vUX8YQQysQ6saacZrZ7OEnW0ZNdFoWAJmClZaTU398KxD71/ ZN+BeQCwYstfPgl87Ss4XoT9CpCRFolsUXW0xGf8LTckkx/PDq9WT+iPi65S/m1MywZC s9ttKrBPGffYKASZAECLNxrXmVC7u+XH99fLEEhEYYH6IxAhCwlKdnEFUFSjCi6ie7Dg 2hH4J4CiJJjZ32vPMT1/QaqmZATIhXGmlntd6l0IW8HG+YQnPFChL3cpOs8u/60nm9t5 kpi/0wICWaFI56b9Wle50hX2xQFbo1syV2qq5YUq17BGF85qw2Yn4EWPdQ4bA5Nu/15f ObzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=nUTq29xVBItJwxzzT5vlhtLz2Wssg4sVo1cjhGwIIEg=; b=Ju4RMRui0Zj+XzzXOMeU8/yXHimBxb0Hh370sIU0kdZxXL+R+73uCl58IXP//Ffwhz ymEL0ybrEbF5a2ep5MJPpHsieJwSGONuglLQte8g3VWR2poAfU55nkFYYfCrHqhLkwtY 7rQVis1CNGqmATb07OLarsZmM39DscD3NXvAeszFQIAM21mYHq3GQB2pS3qODJNb1qBz U+HHBa6W+QzGHYepo0sPAN8X8RjsMweoJr/m6h2AZAtlduAiu6ZOsI/Lzkhg3z9xvgAD kpIxX7QxWFVFVtSsqc7ydALPG5kbGMOx+6SaQButb0p9Z6cZE96uYw0vBdGjGsVfPWsY JggQ== X-Gm-Message-State: AJaThX5j1r84QW+wTNZeiHjJIE7mkN/BKMEU5rUVrQkuWBlxl2W+ToTh mDosuddQaSRJO4M/CTFY9d+g37jT X-Google-Smtp-Source: AGs4zMYXTXMsGCB21Nx8YsIQL8EePdT9/UNCBywjFOZ34J9tz15URByr/FTE+JM8+oPacwKOtHMvrA== X-Received: by 10.157.39.199 with SMTP id c65mr28470749otb.49.1512685059820; Thu, 07 Dec 2017 14:17:39 -0800 (PST) Received: from mars (nat-128-62-59-183.public.utexas.edu. [128.62.59.183]) by smtp.gmail.com with ESMTPSA id s63sm2567636oie.41.2017.12.07.14.17.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Dec 2017 14:17:39 -0800 (PST) User-agent: mu4e 0.9.18; emacs 25.3.1 From: Alex Branham To: bug-gnu-emacs@gnu.org Subject: 25.3; help navigation error Date: Thu, 07 Dec 2017 16:17:38 -0600 Message-ID: <87r2s6gp31.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) 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: -3.5 (---) Clicking on a specific link from a specific help buffer results in an error. On Emacs 25.3, from emacs -q: M-/ (dabbrev-expand) C-h v dabbrev-select-buffers-function (navigate to the second link and click it) results in: apply: Wrong number of arguments: #[(fun file &optional type) "ÄÅ!ˆÆ=ƒ.ÇÈ !Á\".É #.Ê @!ˆËÌ!ˆ Aƒ+. Ab‚..ÍÎ!)‡" [file fun type location require find-func C-source help-C-file-name indirect-function find-function-search-for-symbol ...] 4], 1 Thanks, Alex In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.19) of 2017-09-16 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 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 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 Recent messages: Scanning for dabbrevs...done user-error: No dynamic expansion for ‘buffer. ’ found Type C-x 1 to delete the help window. mouse-2, RET: find variable's definition mouse-2, RET: find function's definition apply: Wrong number of arguments: #[(fun file &optional type) "ÄÅ!ˆÆ=ƒ.ÇÈ !Á\".É #.Ê @!ˆËÌ!ˆ Aƒ+. Ab‚..ÍÎ!)‡" [file fun type location require find-func C-source help-C-file-name indirect-function find-function-search-for-symbol ...] 4], 1 Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dabbrev thingatpt help-fns help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 87298 5725) (symbols 48 19850 0) (miscs 40 62 96) (strings 32 14679 4944) (string-bytes 1 420586) (vectors 16 11936) (vector-slots 8 432906 5933) (floats 8 173 61) (intervals 56 233 16) (buffers 976 19)) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 07 19:44:31 2017 Received: (at control) by debbugs.gnu.org; 8 Dec 2017 00:44:31 +0000 Received: from localhost ([127.0.0.1]:51109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN6mF-00035f-DD for submit@debbugs.gnu.org; Thu, 07 Dec 2017 19:44:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN6mD-00035S-41 for control@debbugs.gnu.org; Thu, 07 Dec 2017 19:44:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eN6m7-0007ZH-77 for control@debbugs.gnu.org; Thu, 07 Dec 2017 19:44:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eN6m7-0007Z6-32 for control@debbugs.gnu.org; Thu, 07 Dec 2017 19:44:23 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eN6m6-00088O-S0 for control@debbugs.gnu.org; Thu, 07 Dec 2017 19:44:22 -0500 Subject: control message for bug 29611 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 07 Dec 2017 19:44:22 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) found 29611 22.1 tag 29611 confirmed From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 07 20:32:17 2017 Received: (at 29611-done) by debbugs.gnu.org; 8 Dec 2017 01:32:17 +0000 Received: from localhost ([127.0.0.1]:51152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN7WS-00086L-SX for submit@debbugs.gnu.org; Thu, 07 Dec 2017 20:32:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN7WR-000868-7E for 29611-done@debbugs.gnu.org; Thu, 07 Dec 2017 20:32:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eN7WL-00069x-6M for 29611-done@debbugs.gnu.org; Thu, 07 Dec 2017 20:32:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eN7WL-00069t-1n for 29611-done@debbugs.gnu.org; Thu, 07 Dec 2017 20:32:09 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eN7WJ-0000kA-FP; Thu, 07 Dec 2017 20:32:07 -0500 From: Glenn Morris To: 29611-done@debbugs.gnu.org Subject: Re: bug#29611: 25.3; help navigation error References: <87r2s6gp31.fsf@gmail.com> X-Spook: AFSPC 9/11 Power outage Phreaking hackers explosion Ebola X-Ran: pg{7lGC1q>Y<.EN7~Mvmw7T[t(RM6]^m?Td{8?Fg/H2yo=gIv*UQp"FtUr5&Ne*L0]C/=h X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 07 Dec 2017 20:32:07 -0500 In-Reply-To: <87r2s6gp31.fsf@gmail.com> (Alex Branham's message of "Thu, 07 Dec 2017 16:17:38 -0600") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29611-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: -5.0 (-----) Version: 26.0.91 Thanks; looks like an old bug. commit c0a670a (HEAD, origin/emacs-26, emacs-26) Date: Thu Dec 7 20:30:39 2017 -0500 * lisp/help-mode.el (help-function-def): Allow help-make-xrefs to call with one argument. (Bug#29611) diff --git a/lisp/help-mode.el b/lisp/help-mode.el index a98bce0..8bafa46 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -192,20 +192,24 @@ 'help-customize-face (define-button-type 'help-function-def :supertype 'help-xref - 'help-function (lambda (fun file &optional type) - (require 'find-func) - (when (eq file 'C-source) - (setq file - (help-C-file-name (indirect-function fun) 'fun))) - ;; Don't use find-function-noselect because it follows - ;; aliases (which fails for built-in functions). - (let ((location - (find-function-search-for-symbol fun type file))) - (pop-to-buffer (car location)) - (run-hooks 'find-function-after-hook) - (if (cdr location) - (goto-char (cdr location)) - (message "Unable to find location in file")))) + 'help-function (lambda (fun &optional file type) + (or file + (setq file (find-lisp-object-file-name fun type))) + (if (not file) + (message "Unable to find defining file") + (require 'find-func) + (when (eq file 'C-source) + (setq file + (help-C-file-name (indirect-function fun) 'fun))) + ;; Don't use find-function-noselect because it follows + ;; aliases (which fails for built-in functions). + (let ((location + (find-function-search-for-symbol fun type file))) + (pop-to-buffer (car location)) + (run-hooks 'find-function-after-hook) + (if (cdr location) + (goto-char (cdr location)) + (message "Unable to find location in file"))))) 'help-echo (purecopy "mouse-2, RET: find function's definition")) (define-button-type 'help-function-cmacro ; FIXME: Obsolete since 24.4. @@ -495,12 +499,6 @@ help-make-xrefs (help-xref-button 8 'help-face sym))) ((match-string 6)) ; nothing for `symbol' ((match-string 7) - ;; this used: - ;; #'(lambda (arg) - ;; (let ((location - ;; (find-function-noselect arg))) - ;; (pop-to-buffer (car location)) - ;; (goto-char (cdr location)))) (help-xref-button 8 'help-function-def sym)) ((cl-some (lambda (x) (funcall (nth 1 x) sym)) describe-symbol-backends) From unknown Sat Aug 16 21:59:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Jan 2018 12: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