From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74727: [PATCH] ; * lisp/apropos.el (apropos-library): Fix typo. Date: Sat, 07 Dec 2024 14:31:53 +0100 Message-ID: Reply-To: Eshel Yaron Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20653"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov To: 74727@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 14:32:22 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 1tJuuz-0005Dq-OY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 14:32:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJuuj-0001Ut-5G; Sat, 07 Dec 2024 08:32:05 -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 1tJuuh-0001UQ-1N for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 08:32:04 -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 1tJuug-0003dc-IQ for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 08:32:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=sOOq9KVqX7XIYpnf/DC/QANeiGyIOz+TAf+wMxQPR9U=; b=ZCrPOQw7+9CCvSlFt9U8CVoCD3jzAjEQIhOuABpSTEcoH+rmQvQyM3mUdLfrv0c37KD/ZcnclQXyrUnM4Gdi2fokf1i4UfPiRo4Wf0XzEadcg8iupTgPd97Bzy284Gzj6FWz7YFKgNRYWsjMJSyNeV1/N03gMOp8vDpyWNMBBMsxipmpoK/eAzuBMeD72fF+ss280HgIuqwouiJYB5FcdCQ8z/1LKIbO/yD4QZyacJrQx5xlHSsQfZgdlz5M5oeIiqsMjiXbWzcHpnv3EQyUA9rGvXWB066APvFdmSkrW94GE5WhuqUu/TF8MXbV27m8omRHbh1LH1XVL8JHzr1odg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJuug-0005R4-Cl; Sat, 07 Dec 2024 08:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: dmitry@gutov.dev, bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2024 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Dmitry Gutov Original-Received: via spool by submit@debbugs.gnu.org id=B.173357832120885 (code B ref -1); Sat, 07 Dec 2024 13:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Dec 2024 13:32:01 +0000 Original-Received: from localhost ([127.0.0.1]:45982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJuue-0005Qn-Qa for submit@debbugs.gnu.org; Sat, 07 Dec 2024 08:32:01 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJuuc-0005Qa-Tt for submit@debbugs.gnu.org; Sat, 07 Dec 2024 08:31:59 -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 1tJuuc-0001SZ-MH for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 08:31:58 -0500 Original-Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJuub-0003cv-7v for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 08:31:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1733578315; bh=wmOjPsgfgHkMGIroppsAVOU+L8PAZUsgIVI9JL3D6F4=; h=From:To:Subject:Date:From; b=seMuBdflGZus8QGwp8mxa0aDnXQjyObWTXLkc3UM0/u5HinROd+qbm07hI4oKqNHv z1Z0ABGmcUVq6hLTmZRKYOuzZGBb5i6E3YgAmBRMhzmKMNGGqjo+Wyeszhg33R1dC5 WenGorgy0SHXv8jdV8n3S+EWSyDEnTBBajpSW9NrL+rPVg7HERgZMVfoX2FORDGaqa 1PtpzDoWpBlbm42xCaSo815e6XbzWE2mrN/X/EtmpXSEW9KBRoY1NF8EuLVGtXKSuB QEEAD5S2N4cCO/6mfpCqdCnTEa4OaIYffK0OWUvrLUFaIdz1alfvtIGPpjbRlPkjP3 3CTM/gJS2liog== Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:296568 Archived-At: --=-=-= Content-Type: text/plain Tags: patch This patch fixes the issue described below, which IIUC originates in a mere typo in commit 671862f6b3089c3a503c1b6936a821ad54429359 1. emacs -Q 2. M-x apropos-library elisp-mode RET 3. The *Apropos* buffer incorrectly lists methods that elisp-mode.el defines as if they were _features_ provided by the library. Accordingly, clicking on one of those references yields an error such as "Unknown library `xref-backend-definitions'" --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-lisp-apropos.el-apropos-library-Fix-typo.patch >From 40af45daf1ff41ddb1ba624a99a249b36f724bd0 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 7 Dec 2024 14:13:12 +0100 Subject: [PATCH] ; * lisp/apropos.el (apropos-library): Fix typo. --- lisp/apropos.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/apropos.el b/lisp/apropos.el index 0655fecd0e8..eb2c36f673e 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -733,7 +733,7 @@ apropos-library ('t nil) ; Skip "was an autoload" entries. ;; FIXME: Print information about each individual method: both ;; its docstring and specializers (bug#21422). - ('cl-defmethod (push (cadr x) provides)) + ('cl-defmethod (push (cadr x) symbols)) ;; FIXME: Add extension point (bug#72616). (_ (let ((sym (or (cdr-safe x) x))) (and sym (symbolp sym) -- 2.46.2 --=-=-=--