From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74995: 30.0.93; shortdoc-function-examples not autoloaded Date: Fri, 20 Dec 2024 17:56:30 +0200 Message-ID: <86h66y9wlt.fsf@gnu.org> References: <875xnes6jq.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19325"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74995@debbugs.gnu.org To: Fran Burstall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 20 16:57:14 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOfNJ-0004lZ-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Dec 2024 16:57:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOfNA-0001bn-BD; Fri, 20 Dec 2024 10:57:04 -0500 Original-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 1tOfN8-0001bY-FY for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 10:57:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOfN8-0007mS-3q for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 10:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=YH9dgQmuE4FeTVHaNn87opva1PV6bWPxY3kA8s1vcq0=; b=qQuRsPmczfaqXN+uAt7culmvZEj8/59aZ3WWdJwjfbcNFcyljw5lyk0f8fhmmAvhHtWGkOynP/9ROg4fOvwMTbHfH48QfcAUlyrylBjZbV3IZq00G1Qxie+jV6634/ENZpwiq5Rm7fYvXU7c/ClsyO1BHVNEFv/EWNp6DZjCcH0c55Fwvk7DgDxJteJ2j7aB4SLmm3lPciZ8b6HIaeYLAYGgVP/Yi3fKIZk8+uqdtDKEtOl4m7oG/W9/guf9k2hldbv1gGmOG6+/nyBSUR/KDJ3M4aRnSFMrv3br3Yu6wMk4ZuaPKh2l3odjw1K/t0oPy/gifXu8V9CdPnW3YyIe2w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOfN7-0008Fl-Sj for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 10:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Dec 2024 15:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74995 X-GNU-PR-Package: emacs Original-Received: via spool by 74995-submit@debbugs.gnu.org id=B74995.173471019931690 (code B ref 74995); Fri, 20 Dec 2024 15:57:01 +0000 Original-Received: (at 74995) by debbugs.gnu.org; 20 Dec 2024 15:56:39 +0000 Original-Received: from localhost ([127.0.0.1]:43727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOfMl-0008F4-Ig for submit@debbugs.gnu.org; Fri, 20 Dec 2024 10:56:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOfMk-0008Es-Cw for 74995@debbugs.gnu.org; Fri, 20 Dec 2024 10:56:39 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOfMe-0007kp-W3; Fri, 20 Dec 2024 10:56:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YH9dgQmuE4FeTVHaNn87opva1PV6bWPxY3kA8s1vcq0=; b=qVFoUXSRSCGV rtWbDhoDG8TGdRTpkxKduFa5w718YFw1gnnDwkC0f50kmTgSZbzK6qDFpClxoZVePGU5nVgyF94r3 JX6achOc1sd+BiCHMB4AWzIsIqU8qc0Sqo3/khGwX6A6kysJtfiEKqcLJGzIpfBK+h1hviLIyLuaU JBg72AtP83SM6awnUZZXqolydVTQU5jTPYl2eqE0z8iPzUjhuDnRZ9bNI5BFB+RWmQsEktDUVKxWj ncoLCSwoSlsp3bGY9KcWSmaOMucHg3tJkAanP6KPIzkqrn92AjtXQgQc24avl/joxSkeH9fl65PUm PtcwHAbhHDdRQEae5nv8Fg==; In-Reply-To: <875xnes6jq.fsf@gmail.com> (message from Fran Burstall on Fri, 20 Dec 2024 15:44:25 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297455 Archived-At: > From: Fran Burstall > Date: Fri, 20 Dec 2024 15:44:25 +0000 > > > According to the NEWS, there are new functions > > shortdoc-function-examples > shortdoc-help-fns-examples-function > > and a suggestion to > > (add-hook 'help-fns-describe-function-functions > #'shortdoc-help-fns-examples-function) > > However, neither function is available until the shortdoc > package is loaded. > > Perhaps a couple of autoload cookies are needed here? I started "emacs -Q", inserted (add-hook 'help-fns-describe-function-functions #'shortdoc-help-fns-examples-function) into *scratch*, evaluated it, then typed "C-h f string-replace RET" and got a *Help* buffer with an example of using string-replace. So I'm not sure why you say we need autoload cookies, since the advice in NEWS seems to work OOTB. What did I miss? Thanks.