From unknown Sat Aug 09 13:21:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69462: 29.2.50; describe-function should support finding references Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Feb 2024 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69462@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170914203029274 (code B ref -1); Wed, 28 Feb 2024 17:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Feb 2024 17:40:30 +0000 Received: from localhost ([127.0.0.1]:56941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfNuv-0007c1-23 for submit@debbugs.gnu.org; Wed, 28 Feb 2024 12:40:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:35658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfNmf-00079g-Q5 for submit@debbugs.gnu.org; Wed, 28 Feb 2024 12:31:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfNmC-00052l-48 for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2024 12:31:29 -0500 Received: from mxout5.mail.janestreet.com ([64.215.233.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfNm6-0001es-CF for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2024 12:31:26 -0500 From: Spencer Baugh Date: Wed, 28 Feb 2024 12:31:13 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1709141474; bh=5XVl9lcumEK6SiDm7pxsvDAAINwQJ77ZazmTSPvDupM=; h=From:To:Subject:Date; b=C8D79UrJ3GA8rC5grA7/cNse/Rhn+h2vPmFv781WUpuqDh9oA/3WnXNvQx9b+wL4X z2xzqW7rvrqjn3AUIc7nQs8+zeUijHnJqrG2GnqLtNGR35Ow7WKcTeKbUt1L1LI1lt 9+J7rnB1Q0Yng8LNArtadNmOPM1gEeqKSV+EPtSU56yUfF9MnhioXi97JsF/QvjKSx EMCKOrGp4wcy3Bc5/d42FpaLehdOFyGWxhZLW8aOfvsJHC4QCsu0sPN1SA7gS1z3Sb /3io/PWlkIuuDEnfcddmaEaqad6HmKx/evALKIZHs0OfpDmBhYVMy/gjsQgfWNHGiP hnWIp9rxmeZQQ== Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@janestreet.com; helo=mxout5.mail.janestreet.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) In emacs-lisp-mode in an Emacs git checkout, M-? (xref-find-references) nicely searches the load path for references to a symbol. It would be neat if this feature could be accessed from describe-function and describe-variable as well, perhaps by just hitting M-? in the help buffer. The feature may need to be redesigned somewhat, since it's currently dependent on being run from a project; to use it from a describe-function help buffer, we'd want to only search the load-path. In GNU Emacs 29.2.50 (build 4, x86_64-pc-linux-gnu, X toolkit, cairo version 1.15.12, Xaw scroll bars) of 2024-02-28 built on igm-qws-u22796a Repository revision: 46e23709d37943a20faa735c97af520196a443e9 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Rocky Linux 8.9 (Green Obsidian) Configured using: 'configure 'CFLAGS=-O0 -g3' --with-gif=ifavailable --with-x-toolkit=lucid' Configured features: CAIRO DBUS FREETYPE GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 66391 8487) (symbols 48 9599 1) (strings 32 23263 2684) (string-bytes 1 688577) (vectors 16 10405) (vector-slots 8 158153 18632) (floats 8 44 18) (intervals 56 259 0) (buffers 976 11)) From unknown Sat Aug 09 13:21:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69462: 29.2.50; describe-function should support finding references Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Sep 2024 23:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Spencer Baugh , 69462@debbugs.gnu.org Received: via spool by 69462-submit@debbugs.gnu.org id=B69462.17274781321415 (code B ref 69462); Fri, 27 Sep 2024 23:03:01 +0000 Received: (at 69462) by debbugs.gnu.org; 27 Sep 2024 23:02:12 +0000 Received: from localhost ([127.0.0.1]:58130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suJyV-0000Ml-P7 for submit@debbugs.gnu.org; Fri, 27 Sep 2024 19:02:12 -0400 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]:42453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suJyS-0000MS-UW for 69462@debbugs.gnu.org; Fri, 27 Sep 2024 19:02:09 -0400 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 51BD4138022A; Fri, 27 Sep 2024 19:01:34 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Fri, 27 Sep 2024 19:01:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1727478094; x=1727564494; bh=ER84MyTKF+ ifcm0tfE5dbzG51/NJyIGEWrMRVBF1j2o=; b=ODzXwJ070d+iKsn10BBnLH1ST5 RNioqUgW/xdMehf/8pPaS32osSTYNMwpLKPIbm4Re/dbcbJKH3Wm9Vwdc7Gb4O/r eOAj+EJZfaHGmFVk3mPAEHlxGdP0e6AQoefb0hXofHEUNrxh9S2Y8jpt1TKjGBJf N6ac10Aq/BoPV27UqUmtHQuC0g+D6Y6WHmFrFWBq/szLKUu029YTUQFdRcxPUTip NbnoPZJT4IrJ8Ut1zaknq1Mw5BwRZ54OwrWlHcSIGfDNkYY2ungATYqp/d9qGn1h FeY36MRlUL7Y+A8+MGzRU5GGS/mZl/gOcRzlLKgCaCIRTuQpE3o5nKdc2P4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1727478094; x=1727564494; bh=ER84MyTKF+ifcm0tfE5dbzG51/NJ yIGEWrMRVBF1j2o=; b=QCu34aw6VstRDIa+FDFOS/6nVydon0YQxs/B9HJkt/XY qAPMmLC8ksEkRiEy7xAom2maobYeuHhSWc3wHYF+0hGGZ4dKZlOXg4oo2EoB9GOm 8EZeg6MeTwuK9iJO2OBUg2XibCgPKI4wq/SkMC/cAakbPG1paU5m2LNGmQfVUL4i DFO6dupfKYJYttL+WePnsZMEb3YLE4WFpKkaZugHXsPus/5CaTUdmdW5tCq++Sxx vg3txBZmN6Orck2Wgf+gVhbMRu2qyBYydwA4n5Px9eWFEgiwEe8lAYxUE2SKTdJj k9OZCImsux70ER9xUfldW4a66GkP0ZbMDjRyyrT2YA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddutddgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurheptgfkffggfgfuvfhfhfgjsehmtderredtvdejnecu hfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvh eqnecuggftrfgrthhtvghrnhepkefhieejheehjefhhefhuddvteettedvgeelteeigeel ueegheffueffleduvdffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopedv pdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehssggruhhghhesjhgrnhgvshhtrh gvvghtrdgtohhmpdhrtghpthhtohepieelgeeivdesuggvsggsuhhgshdrghhnuhdrohhr gh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Sep 2024 19:01:32 -0400 (EDT) Content-Type: multipart/mixed; boundary="------------T47hf062BrB6f0bvViJkwIAh" Message-ID: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Date: Sat, 28 Sep 2024 02:01:30 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: Content-Language: en-US From: Dmitry Gutov In-Reply-To: X-Spam-Score: -0.7 (/) 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: -1.7 (-) This is a multi-part message in MIME format. --------------T47hf062BrB6f0bvViJkwIAh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi! On 28/02/2024 19:31, Spencer Baugh wrote: > > In emacs-lisp-mode in an Emacs git checkout, M-? (xref-find-references) > nicely searches the load path for references to a symbol. > > It would be neat if this feature could be accessed from > describe-function and describe-variable as well, perhaps by just hitting > M-? in the help buffer. > > The feature may need to be redesigned somewhat, since it's currently > dependent on being run from a project; to use it from a > describe-function help buffer, we'd want to only search the load-path. Reusing the Elisp backend seems the easiest approach. Caveats: * You need to press RET after M-? like anywhere else (unless xref-prompt-for-identifier is customized). * A bit hackish change in 'xref-backend-definitions'. Pros: * Both M-? and M-. work on anything that looks like symbol in the help buffer, quoted or not - though there will be false positives like usual. * Can be similarly added to cl-describe-type. --------------T47hf062BrB6f0bvViJkwIAh Content-Type: text/x-patch; charset=UTF-8; name="help-fns--setup-xref-backend.diff" Content-Disposition: attachment; filename="help-fns--setup-xref-backend.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3AvaGVscC1mbnMuZWwgYi9saXNwL2hlbHAtZm5zLmVsCmluZGV4 IGUxZGFhODk3N2YwLi5hYzQyNGE5ZDAyOCAxMDA2NDQKLS0tIGEvbGlzcC9oZWxwLWZucy5l bAorKysgYi9saXNwL2hlbHAtZm5zLmVsCkBAIC0yNjIsNiArMjYyLDExIEBAIGhlbHAtZm5z LS1kZXNjcmliZS1mdW5jdGlvbi1vci1jb21tYW5kLXByb21wdAogICAgICAgICAgICAgICAg ICAgZm4pKQogICAgIChsaXN0IGZuKSkpCiAKKyhkZWZ1biBoZWxwLWZucy0tc2V0dXAteHJl Zi1iYWNrZW5kICgpCisgIChhZGQtaG9vayAneHJlZi1iYWNrZW5kLWZ1bmN0aW9ucyAjJ2Vs aXNwLS14cmVmLWJhY2tlbmQgbmlsIHQpCisgIChzZXRxLWxvY2FsIHByb2plY3QtdmMtZXh0 ZXJuYWwtcm9vdHMtZnVuY3Rpb24gIydlbGlzcC1sb2FkLXBhdGgtcm9vdHMpCisgIChzZXRx LWxvY2FsIHNlbWFudGljLXN5bXJlZi1maWxlcGF0dGVybi1hbGlzdCAnKChoZWxwLW1vZGUg IiouZWwiKSkpKQorCiA7OzsjIyNhdXRvbG9hZAogKGRlZnVuIGRlc2NyaWJlLWZ1bmN0aW9u IChmdW5jdGlvbikKICAgIkRpc3BsYXkgdGhlIGZ1bGwgZG9jdW1lbnRhdGlvbiBvZiBGVU5D VElPTiAoYSBzeW1ib2wpLgpAQCAtMjg3LDYgKzI5Miw3IEBAIGRlc2NyaWJlLWZ1bmN0aW9u CiAKICAgICAoc2F2ZS1leGN1cnNpb24KICAgICAgICh3aXRoLWhlbHAtd2luZG93IChoZWxw LWJ1ZmZlcikKKyAgICAgICAgKGhlbHAtZm5zLS1zZXR1cC14cmVmLWJhY2tlbmQpCiAgICAg ICAgIChpZiAoZ2V0IGZ1bmN0aW9uICdyZWFkZXItY29uc3RydWN0KQogICAgICAgICAgICAg KHByaW5jIGZ1bmN0aW9uKQogICAgICAgICAgIChwcmluMSBmdW5jdGlvbikpCkBAIC0xMzQ4 LDYgKzEzNTQsOCBAQCBkZXNjcmliZS12YXJpYWJsZQogCSAgICAgIChwcmluMSB2YXJpYWJs ZSkKIAkgICAgICAoc2V0cSBmaWxlLW5hbWUgKGZpbmQtbGlzcC1vYmplY3QtZmlsZS1uYW1l IHZhcmlhYmxlICdkZWZ2YXIpKQogCisgICAgICAgICAgICAgIChoZWxwLWZucy0tc2V0dXAt eHJlZi1iYWNrZW5kKQorCiAJICAgICAgKHByaW5jIChpZiBmaWxlLW5hbWUKIAkJICAgICAg ICAgKHByb2duCiAJCSAgICAgICAgICAgKHByaW5jIChmb3JtYXQtbWVzc2FnZQpkaWZmIC0t Z2l0IGEvbGlzcC9wcm9nbW9kZXMvZWxpc3AtbW9kZS5lbCBiL2xpc3AvcHJvZ21vZGVzL2Vs aXNwLW1vZGUuZWwKaW5kZXggNjNiZDY4NWFmOTEuLjJmOTMxZGFlZGM3IDEwMDY0NAotLS0g YS9saXNwL3Byb2dtb2Rlcy9lbGlzcC1tb2RlLmVsCisrKyBiL2xpc3AvcHJvZ21vZGVzL2Vs aXNwLW1vZGUuZWwKQEAgLTEwNDksNyArMTA0OSw5IEBAIHhyZWYtYmFja2VuZC1kZWZpbml0 aW9ucwogICAobGV0ICgoc3ltIChpbnRlcm4tc29mdCBpZGVudGlmaWVyKSkpCiAgICAgKHdo ZW4gc3ltCiAgICAgICAobGV0KiAoKHBvcyAoZ2V0LXRleHQtcHJvcGVydHkgMCAncG9zIGlk ZW50aWZpZXIpKQotICAgICAgICAgICAgIChuYW1lc3BhY2UgKGlmIHBvcworICAgICAgICAg ICAgIChuYW1lc3BhY2UgKGlmIChhbmQgcG9zCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICA7OyBSZXVzaW5nIGl0IGluIEhlbHAgTW9kZS4KKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChkZXJpdmVkLW1vZGUtcCAnZW1hY3MtbGlzcC1tb2RlKSkKICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAoZWxpc3AtLXhyZWYtaW5mZXItbmFtZXNwYWNl IHBvcykKICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2FueSkpCiAgICAgICAgICAgICAg KGRlZnMgKGVsaXNwLS14cmVmLWZpbmQtZGVmaW5pdGlvbnMgc3ltKSkpCg== --------------T47hf062BrB6f0bvViJkwIAh-- From unknown Sat Aug 09 13:21:30 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: Spencer Baugh Subject: bug#69462: closed (Re: bug#69462: 29.2.50; describe-function should support finding references) Message-ID: References: X-Gnu-PR-Message: they-closed 69462 X-Gnu-PR-Package: emacs Reply-To: 69462@debbugs.gnu.org Date: Thu, 03 Oct 2024 00:08:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1727914082-9479-1" This is a multi-part message in MIME format... ------------=_1727914082-9479-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #69462: 29.2.50; describe-function should support finding references 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 69462@debbugs.gnu.org. --=20 69462: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69462 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1727914082-9479-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 69462-done) by debbugs.gnu.org; 3 Oct 2024 00:07:17 +0000 Received: from localhost ([127.0.0.1]:59505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sw9NE-0002Rq-HC for submit@debbugs.gnu.org; Wed, 02 Oct 2024 20:07:16 -0400 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:55945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sw9NB-0002Rb-H2 for 69462-done@debbugs.gnu.org; Wed, 02 Oct 2024 20:07:14 -0400 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id D4D351380250; Wed, 2 Oct 2024 20:07:06 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 02 Oct 2024 20:07:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1727914026; x=1728000426; bh=PQ6q9Q9xiconUyoOQyKNT2xgkQhSSLam25VkwLlgdtk=; b= SaOwS/a3M34qKG4PEdi8QqSAef2bPYbxiEnHWtlubPKjKrSzqqZ5x27izmfsZanw 2/0sW8osktp4pxmk1kHC4VhDKLhzeKW6oEIghEH6Iub9JKXrOVxPnP1FA8tIzQBx X7TiYv0YLW68VGNaKnqI5bbkYLon/bl0rbjEPHiniD2u08APi3sjxHbheZl96cAu FQvyUN3rk2JNupFrn1ttjHvASU3tJqWUjEq7kxr9lhwxNgXHMAOIQxFMOGo0oROD 0bBNP4Zd1meyuDCLnQs5Gw5vGV40nK8KpAbPgtDGvA9kj2rSXYrxI/sWPmiT3EO3 cuBdX7zAgnqFsGmxFG3omQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727914026; x= 1728000426; bh=PQ6q9Q9xiconUyoOQyKNT2xgkQhSSLam25VkwLlgdtk=; b=N Al2Ot3Yn2TLWqznTuVjNSDMKyUz0oex6GKfo5rgnyXUajs0JCiQEXaWlYN16oV9H 7YmpmPmlhe3AkgVqFt9zGFHUMSREYn3gxV2vPF65oPEO1e+1gqgp1EE8KQgvZHZ+ PGryDBO0jmTx6MGYNwTPI7JVNmmRCjQcD0DuQvSKXnT7Y/ZMv43etZ6pX7xaR64Z DAfzKX5pcbTVxrke3a1aoc6Tw+T+NUY0YlVIlmz4z0+reW+Wuak4nv4LbJLWO+wS FSLJCsav/X7XDi/JJPCrm5kPLGZnswlyU2qwxeVM5lIv1xxVKencWzRr6Kogds+J 6h6HjL/9vHplBGeTuoIsg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvtddgfedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffhvfhfjggtgfesthejredttddvjeen ucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvg hvqeenucggtffrrghtthgvrhhnpefgieetieduhfefgeegveekfeevfeevjedtleejgeei vdevudefvedtkeegiedvleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthhtohep vddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshgsrghughhhsehjrghnvghsth hrvggvthdrtghomhdprhgtphhtthhopeeileegiedvqdguohhnvgesuggvsggsuhhgshdr ghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Oct 2024 20:07:05 -0400 (EDT) Message-ID: Date: Thu, 3 Oct 2024 03:07:03 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#69462: 29.2.50; describe-function should support finding references From: Dmitry Gutov To: Spencer Baugh , 69462-done@debbugs.gnu.org References: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Content-Language: en-US In-Reply-To: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69462-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: -1.7 (-) Pushed to master in revision c8ecd7fa0da. Closing, but feedback welcome. On 28/09/2024 02:01, Dmitry Gutov wrote: > Hi! > > On 28/02/2024 19:31, Spencer Baugh wrote: >> >> In emacs-lisp-mode in an Emacs git checkout, M-? (xref-find-references) >> nicely searches the load path for references to a symbol. >> >> It would be neat if this feature could be accessed from >> describe-function and describe-variable as well, perhaps by just hitting >> M-? in the help buffer. >> >> The feature may need to be redesigned somewhat, since it's currently >> dependent on being run from a project; to use it from a >> describe-function help buffer, we'd want to only search the load-path. > > Reusing the Elisp backend seems the easiest approach. > > Caveats: > > * You need to press RET after M-? like anywhere else (unless xref- > prompt-for-identifier is customized). > * A bit hackish change in 'xref-backend-definitions'. > > Pros: > > * Both M-? and M-. work on anything that looks like symbol in the help > buffer, quoted or not - though there will be false positives like usual. > * Can be similarly added to cl-describe-type. ------------=_1727914082-9479-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Feb 2024 17:40:30 +0000 Received: from localhost ([127.0.0.1]:56941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfNuv-0007c1-23 for submit@debbugs.gnu.org; Wed, 28 Feb 2024 12:40:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:35658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfNmf-00079g-Q5 for submit@debbugs.gnu.org; Wed, 28 Feb 2024 12:31:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfNmC-00052l-48 for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2024 12:31:29 -0500 Received: from mxout5.mail.janestreet.com ([64.215.233.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfNm6-0001es-CF for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2024 12:31:26 -0500 From: Spencer Baugh To: bug-gnu-emacs@gnu.org Subject: 29.2.50; describe-function should support finding references Date: Wed, 28 Feb 2024 12:31:13 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1709141474; bh=5XVl9lcumEK6SiDm7pxsvDAAINwQJ77ZazmTSPvDupM=; h=From:To:Subject:Date; b=C8D79UrJ3GA8rC5grA7/cNse/Rhn+h2vPmFv781WUpuqDh9oA/3WnXNvQx9b+wL4X z2xzqW7rvrqjn3AUIc7nQs8+zeUijHnJqrG2GnqLtNGR35Ow7WKcTeKbUt1L1LI1lt 9+J7rnB1Q0Yng8LNArtadNmOPM1gEeqKSV+EPtSU56yUfF9MnhioXi97JsF/QvjKSx EMCKOrGp4wcy3Bc5/d42FpaLehdOFyGWxhZLW8aOfvsJHC4QCsu0sPN1SA7gS1z3Sb /3io/PWlkIuuDEnfcddmaEaqad6HmKx/evALKIZHs0OfpDmBhYVMy/gjsQgfWNHGiP hnWIp9rxmeZQQ== Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@janestreet.com; helo=mxout5.mail.janestreet.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) In emacs-lisp-mode in an Emacs git checkout, M-? (xref-find-references) nicely searches the load path for references to a symbol. It would be neat if this feature could be accessed from describe-function and describe-variable as well, perhaps by just hitting M-? in the help buffer. The feature may need to be redesigned somewhat, since it's currently dependent on being run from a project; to use it from a describe-function help buffer, we'd want to only search the load-path. In GNU Emacs 29.2.50 (build 4, x86_64-pc-linux-gnu, X toolkit, cairo version 1.15.12, Xaw scroll bars) of 2024-02-28 built on igm-qws-u22796a Repository revision: 46e23709d37943a20faa735c97af520196a443e9 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Rocky Linux 8.9 (Green Obsidian) Configured using: 'configure 'CFLAGS=-O0 -g3' --with-gif=ifavailable --with-x-toolkit=lucid' Configured features: CAIRO DBUS FREETYPE GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 66391 8487) (symbols 48 9599 1) (strings 32 23263 2684) (string-bytes 1 688577) (vectors 16 10405) (vector-slots 8 158153 18632) (floats 8 44 18) (intervals 56 259 0) (buffers 976 11)) ------------=_1727914082-9479-1-- From unknown Sat Aug 09 13:21:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69462: 29.2.50; describe-function should support finding references Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2024 07:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69462@debbugs.gnu.org Cc: dmitry@gutov.dev, sbaugh@janestreet.com Received: via spool by 69462-submit@debbugs.gnu.org id=B69462.17279397115107 (code B ref 69462); Thu, 03 Oct 2024 07:16:01 +0000 Received: (at 69462) by debbugs.gnu.org; 3 Oct 2024 07:15:11 +0000 Received: from localhost ([127.0.0.1]:59841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swG3K-0001JA-OH for submit@debbugs.gnu.org; Thu, 03 Oct 2024 03:15:11 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:40880 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swG3I-0001IW-PG for 69462@debbugs.gnu.org; Thu, 03 Oct 2024 03:15:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1727939699; bh=pUxv6aouyrov1MtotoAe8mgkIB6POI8Z9Nr8ah06vTk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=F/DsJV6wX7/39kngFlb5IJfAP8bRJGjkCWtnS898/iFZdRqmx1qBnTGoMGDU01qnn 2bVnjZDiirU9rSV54zlIZeQYkFUsB9N/BcmLF13884uwbGjO+QsdfUls9Xgwxf2vkP KVmVUoBSkryxgy44oq93PLcEPQBWlzz2mVuVb8WngBsiR+OGOW0N/FzfbYJo2RrZk3 Ukyw59CDXA8Rv4z05edMB8CHuVMJ+XA2wuhzgxZZ9KSInm3LlQLqzg109uWA1firgK VgR3vLf116aEo1NoYC67ucYyrO/SXOWQ8yfpNu3MZqRLzt0Z/hr5jDJ5jEPLwICi03 s7GkmMV2KGmYw== From: Eshel Yaron In-Reply-To: (Dmitry Gutov's message of "Thu, 3 Oct 2024 03:07:03 +0300") References: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Date: Thu, 03 Oct 2024 09:14:57 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) 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: -1.0 (-) Hi, Dmitry Gutov writes: > Pushed to master in revision c8ecd7fa0da. Closing, but feedback welcome. Looks nice! What's somewhat nonideal is that the ELisp-specific Xref setup lingers in the Help buffer even if it is reused for other purposes (like dictionary words when dictionary-display-definition-function is set to dictionary-display-definition-in-help-buffer). Perhaps help-setup-xref should kill the local variables that help-fns--setup-xref-backend now sets? Cheers, Eshel From unknown Sat Aug 09 13:21:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69462: 29.2.50; describe-function should support finding references Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2024 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron , 69462@debbugs.gnu.org Cc: sbaugh@janestreet.com Received: via spool by 69462-submit@debbugs.gnu.org id=B69462.172798324824954 (code B ref 69462); Thu, 03 Oct 2024 19:21:02 +0000 Received: (at 69462) by debbugs.gnu.org; 3 Oct 2024 19:20:48 +0000 Received: from localhost ([127.0.0.1]:33892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swRNX-0006UO-Od for submit@debbugs.gnu.org; Thu, 03 Oct 2024 15:20:47 -0400 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]:49111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swRNU-0006U9-Ki for 69462@debbugs.gnu.org; Thu, 03 Oct 2024 15:20:46 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id DE45F114024D; Thu, 3 Oct 2024 15:20:36 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 03 Oct 2024 15:20:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1727983236; x=1728069636; bh=QGP5aLl0d8br8zMJuuJNRV3D80bKN1L47vZATmTq3m8=; b= GZPohJ7zrxDMKuP0CJRJGuh+KFtWpXCxA2Jg7fJ7u3B14ihHZ2CTGbWc63ijcRMC njVFZFrhTMQCp7fwVWpAFSHqBQzF8qQx5WZbz76xKl8y8D3GtE9CVFgCTvtxMiYk ZP6Jd6v8Pk0Ww1cFBJi7RJpfR9TAuRTEp0HCRZzoBeR5xswqxEdGEtKf/wd+icnV D7xJusSeyiH5e8qhTxulLxpgRtvnQRhb3jQhx4ZgEj4s+HojkHJSVDcTMbZ0YqSE DiKNruNuvo5bFaXdnlkVBwEELV8s5OBaDFALlDpTBVrgaviryRVuhT1j60XE+Lgw twie/dEpdySH4ppCwEJiuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727983236; x= 1728069636; bh=QGP5aLl0d8br8zMJuuJNRV3D80bKN1L47vZATmTq3m8=; b=X cwgA7bmWx9v98b9BiY1psWv5ezLcIXx1x2h2+t4vTR3kjXFtwqDQplQOqhOKWIem wlefuoaYrJXNvQtxFYa3MSCpXLCmB+Y7zmsBSIP3UTeuuY1IZlIznekLUi1DW/1f Qhu9suLFbMotdEtV+Bia/TF1ZNjipgTbdEZ+pIzp3WusqzZ+G0mJroVWmeRPPTnP G34gmkKKyAfW0xqFw4wJTZoHHZ3G7nhNwMPrz5OuB2rE4CruhYEPaCkRkNruKZir or2BJyEFKbNzSfJppnvycYUqri/DFwx4Hci+SiPB84B+WU00xfpbaX0blS/jdufm r4JoNcxBFAIXYDlZuLtEA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvuddgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgg gfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthho vhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvghrnheptedule ejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedujeehnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguh htohhvrdguvghvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgt phhtthhopehmvgesvghshhgvlhihrghrohhnrdgtohhmpdhrtghpthhtohepieelgeeivd esuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehssggruhhghhesjhgrnhgv shhtrhgvvghtrdgtohhm X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 3 Oct 2024 15:20:34 -0400 (EDT) Message-ID: Date: Thu, 3 Oct 2024 22:20:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Content-Language: en-US From: Dmitry Gutov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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: -1.7 (-) On 03/10/2024 10:14, Eshel Yaron wrote: > Looks nice! What's somewhat nonideal is that the ELisp-specific Xref > setup lingers in the Help buffer even if it is reused for other purposes > (like dictionary words when dictionary-display-definition-function is > set to dictionary-display-definition-in-help-buffer). > > Perhaps help-setup-xref should kill the local variables that > help-fns--setup-xref-backend now sets? Thanks, good idea, pushed as bde00266db4. From unknown Sat Aug 09 13:21:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69462: 29.2.50; describe-function should support finding references Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2024 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Spencer Baugh , 69462-done@debbugs.gnu.org Received: via spool by 69462-done@debbugs.gnu.org id=D69462.172798358426074 (code D ref 69462); Thu, 03 Oct 2024 19:27:01 +0000 Received: (at 69462-done) by debbugs.gnu.org; 3 Oct 2024 19:26:24 +0000 Received: from localhost ([127.0.0.1]:33903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swRSy-0006mT-48 for submit@debbugs.gnu.org; Thu, 03 Oct 2024 15:26:24 -0400 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]:59413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swRSw-0006mG-BM for 69462-done@debbugs.gnu.org; Thu, 03 Oct 2024 15:26:22 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id A897F11401C1; Thu, 3 Oct 2024 15:17:44 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 03 Oct 2024 15:17:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1727983064; x=1728069464; bh=gsQ5WMgjg7v3lbzUbjdeUQ65e1k7NChlWmysIBkoFTg=; b= FEiG/VgLuV+yuMQQymIGfVufaMPoIS7ynOwI2TpI7fFpEzqD+93rj8WNfbWSidsW 5D4MX5k+/SpGJynm+jwOVljODu2UJCOkI1xHkExJU/hiRt+uz6FHDVaXqfhZrJuD MDuum5ce7lcTNaxEp/OpxbqvVfmf6Uagk0tFET8f79l++ppnxV1crpoZs1A9d9QF V9kPIs2cTTpivoovIbv8htjDWjNhstypAhKhRaeqOnemGx2cn7C0i1sin2tKiDz2 HAoM5nP9Bbn9WC+ictXlh2YDWCSgleJYpc2UwLCpT+DOJp4/ZRq/t7eiudH3sn9B UUBEv/DE6jY1DcTiOhHm8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727983064; x= 1728069464; bh=gsQ5WMgjg7v3lbzUbjdeUQ65e1k7NChlWmysIBkoFTg=; b=T E0NlKyDYJSC0431amNUHTB7T3a8eL2ipPw3LtlcBRgAR99bjMJCcNxX7dL7qiO5E lAJGRv1iqfyvcLC1xt8Hu0aiwhk6QgjVBEDsCVQNCnKKUppwQ4G9l63WnHs6C2d/ 0xsOwFrYC9bdN2bqN/BsKQoy5ViT8FT4U2pxqmKgtEi8MQKh0Pr2tmd9kr+npFna ryQ9FCPorJG7bKhWceROYgG0wVadOOHqSMn0RJVosLMtFsEuttiF8I2B0VZjsa5K Vobmag14wLLrHcIEfS3P/V9RYECGE2HqGKvBeHiYn42HyIO3sMa2WyGdSbW6lhXK f0DF6tluiGOA5euiHKvIg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvuddgudefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuhffvfhgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepgfeiteeiudfhfeeggeevkeefveefveejtdeljeeg iedvvedufeevtdekgeeivdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho pedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehssggruhhghhesjhgrnhgvsh htrhgvvghtrdgtohhmpdhrtghpthhtohepieelgeeivddqughonhgvseguvggssghughhs rdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 3 Oct 2024 15:17:42 -0400 (EDT) Message-ID: <9cf3759d-d29b-45ea-9f9d-5231e00d9b56@gutov.dev> Date: Thu, 3 Oct 2024 22:17:39 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Dmitry Gutov References: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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: -1.7 (-) On 03/10/2024 03:07, Dmitry Gutov wrote: > Pushed to master in revision c8ecd7fa0da. Closing, but feedback welcome. And a follow-u commit ad529831018, to really make it never ask for project. From unknown Sat Aug 09 13:21:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69462: 29.2.50; describe-function should support finding references Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2024 07:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: sbaugh@janestreet.com, 69462@debbugs.gnu.org Received: via spool by 69462-submit@debbugs.gnu.org id=B69462.172811282214815 (code B ref 69462); Sat, 05 Oct 2024 07:21:01 +0000 Received: (at 69462) by debbugs.gnu.org; 5 Oct 2024 07:20:22 +0000 Received: from localhost ([127.0.0.1]:37168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swz5R-0003qt-J5 for submit@debbugs.gnu.org; Sat, 05 Oct 2024 03:20:21 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:48892 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swz5P-0003qk-AF for 69462@debbugs.gnu.org; Sat, 05 Oct 2024 03:20:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1728112814; bh=HjGGRH374JEZsMLyybDnE4awKkWCED9foxgMYOpSks4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UNu1yyzNjpZsAcb/eu4yubHLBuf6v5Y76iWGyV0G3zif2MerGGD0LHbtKQjXMA6Mj 65yEtx+ei2qhakcrmR4b04X+0xv0wgACmYf9T/WBeOnmHul0fHgvwxXVorZRFdPe22 TLFRxq0akvWdlidf7OtFcB4xPaH4V+oqTmdYuHTO2nxQ2Nh3ljQiwUYGgrVeQOY/em SdfRT42J+SVDuqkzKV0P5bVniGXDIkV9b3AxYSTE0nOAyniuXJvN3iLAoI/P92O2U7 tUUlNb5JOOX75HXemWn6OB1XMV5jvVUSM1k5r5dPQC0/WcwtJcRE4W6esGXsrEXNKZ 0bgdz1pBc/H3Q== From: Eshel Yaron In-Reply-To: (Dmitry Gutov's message of "Thu, 3 Oct 2024 22:20:32 +0300") References: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Date: Sat, 05 Oct 2024 09:20:11 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) 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: -1.0 (-) Dmitry Gutov writes: > On 03/10/2024 10:14, Eshel Yaron wrote: >> Looks nice! What's somewhat nonideal is that the ELisp-specific Xref >> setup lingers in the Help buffer even if it is reused for other purposes >> (like dictionary words when dictionary-display-definition-function is >> set to dictionary-display-definition-in-help-buffer). >> Perhaps help-setup-xref should kill the local variables that >> help-fns--setup-xref-backend now sets? > > Thanks, good idea, pushed as bde00266db4. Great, I pushed a small fix for this change in 9f54f24e94d, and I submitted a patch in bug#73637 that generalizes this kind of clean up. Best, Eshel From unknown Sat Aug 09 13:21:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69462: 29.2.50; describe-function should support finding references Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2024 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron Cc: sbaugh@janestreet.com, 69462@debbugs.gnu.org Received: via spool by 69462-submit@debbugs.gnu.org id=B69462.172812959610223 (code B ref 69462); Sat, 05 Oct 2024 12:00:02 +0000 Received: (at 69462) by debbugs.gnu.org; 5 Oct 2024 11:59:56 +0000 Received: from localhost ([127.0.0.1]:37406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx3Rz-0002eo-Rh for submit@debbugs.gnu.org; Sat, 05 Oct 2024 07:59:56 -0400 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]:35157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx3Rx-0002eZ-Pb for 69462@debbugs.gnu.org; Sat, 05 Oct 2024 07:59:54 -0400 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id C9F27138077A; Sat, 5 Oct 2024 07:59:43 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Sat, 05 Oct 2024 07:59:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1728129583; x=1728215983; bh=RLshRYqDZOrCKvS69xDunEcRuVI9omBb89O3XiAVK2Q=; b= hZ9fO4qZ/rAO2Qgbmbtpu4Fg90Sp0wYHpk+C4DHHoo9n62kcwndgNYwaEAQfbYQ0 T/itz+PUNedEDOHpvsnCNpcitFCS2rlgXjZ1tjZpEt7Re7jerDRneVAsedieYHu/ m6n4NX+OvRbOlhNSArm7g4sov2boRzZWAc34d0qS16EBz5bjQhUA7wC4pxLVtwZ+ cCmIiRBg8AArDMn+eucO3oVsGWLGuWPPrIcdHYJR+FdcIS4ZvjALbEHinQJ7Txxd 8aQyNM/8SxsjqB6J7tMP87Ki/G3xoEnV1gmmqM7gyIVHtyHy3Pr9IO7A9RjGii3u 8RaRSoniGxfNyTwh6q5s9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1728129583; x= 1728215983; bh=RLshRYqDZOrCKvS69xDunEcRuVI9omBb89O3XiAVK2Q=; b=M UE3ZqISx0+W2EafPsTMqMMis5OuJyMW+OBhbgKZV1MPn7l57C0eQ77eIxcGGf/9T py6kXcceR67DNjeD/VbUO2ihUHBeBNbuxwovkTKSZKSxMl61V8OYxM7sZ1/NFqhD Gv/1puN7Hv+QCxLUvzwhXyhcag1C/ibg4RF+yA50jgLyuBi6+GOVUQlmQpB+y985 67Bxsas1qSBROVtPsZSsi+QbYSN1Ljh1DjnfiAaAQjbuaRSAOffC3vKZl3iXezau t4Zlx09ZPN5lpheGzb3EXp1StjCC1yD1eF84GOlStiN4jamfMQdOD3YYB+US/PTz tOG5D4+VSX36hu+adAVkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvhedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhv uceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpeetudelje egheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveegudejheenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuth hovhdruggvvhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepmhgvsegvshhhvghlhigrrhhonhdrtghomhdprhgtphhtthhopeeileegiedvse guvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepshgsrghughhhsehjrghnvghs thhrvggvthdrtghomh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Oct 2024 07:59:42 -0400 (EDT) Message-ID: <7215a50a-af61-4ad6-94b1-841f9e161757@gutov.dev> Date: Sat, 5 Oct 2024 14:59:39 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <2db7a569-d887-4336-a13d-6cdc9eb036a8@gutov.dev> Content-Language: en-US From: Dmitry Gutov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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: -1.7 (-) On 05/10/2024 10:20, Eshel Yaron wrote: > Great, I pushed a small fix for this change in 9f54f24e94d, and I > submitted a patch in bug#73637 that generalizes this kind of clean up. Thanks!