From: Dmitry Gutov <dmitry@gutov.dev>
To: Eshel Yaron <me@eshelyaron.com>, 74727@debbugs.gnu.org
Subject: bug#74727: [PATCH] ; * lisp/apropos.el (apropos-library): Fix typo.
Date: Sun, 8 Dec 2024 03:54:19 +0200 [thread overview]
Message-ID: <c865b8e8-841d-41e0-acb2-77dbd691a42c@gutov.dev> (raw)
In-Reply-To: <m1cyi3fwl2.fsf@macbookpro.home>
Hi Eshel,
On 07/12/2024 15:31, Eshel Yaron wrote:
> 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'"
Thanks! That's a good suggestion.
If you've started testing this area, though, do you know of a case when
dropping this case - like:
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 0655fecd0e8..9af8a7269ae 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) provides))
;; FIXME: Add extension point (bug#72616).
(_ (let ((sym (or (cdr-safe x) x)))
(and sym (symbolp sym)
...does not work just as well?
From what I see now, any 'cl-defmethod' entry in load-history is
accompanied by a 'defun' entry anyway. And the original report
(https://debbugs.gnu.org/21422) was about an error being raised, but I
can't reproduce it now after commenting this line out.
next prev parent reply other threads:[~2024-12-08 1:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-07 13:31 bug#74727: [PATCH] ; * lisp/apropos.el (apropos-library): Fix typo Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-08 1:54 ` Dmitry Gutov [this message]
2024-12-08 16:37 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-10 1:41 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c865b8e8-841d-41e0-acb2-77dbd691a42c@gutov.dev \
--to=dmitry@gutov.dev \
--cc=74727@debbugs.gnu.org \
--cc=me@eshelyaron.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).