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#72616: 30.0.60; M-x apropos-library eglot fails Date: Wed, 14 Aug 2024 12:09:56 +0300 Message-ID: <86y14z8o7v.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72616@debbugs.gnu.org To: Gerard Vermeulen , Stefan Monnier , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 14 11:10:47 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 1seA1m-0002d5-Ar for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Aug 2024 11:10:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seA1W-0003YF-2R; Wed, 14 Aug 2024 05:10:30 -0400 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 1seA1T-0003Xk-Ti for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 05:10:28 -0400 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 1seA1T-0001Zw-Kp for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 05:10:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=hDqNZzRffFXwbF4VDJMPhxs2DaUw1SCme8ya+xydq1w=; b=VakmNfFWzzwl+SxjwNcp6+av3C2XEJm9XiiRUkJ66dJuqiWiGEOKvzQPaz0JNsCxgOnA4v0/ZGl9VlW2NINGSW/EAaUEaYQ5KSaChkeC4upGkainq0y//gzNd+Mcnp6u7J/EDxHPeWoHkp3WlJwElmQna4tKeQCJsjHn+fWzqqITbv+pXYap9HbjIMBxIlY/9mtK6L6SXBG5LiPOWWvf318Y/kMj1xiO79osVmmKxetSlXzAMWmWY1n0Ow1JWxCFd58E/KyoeG356rC1OzWnTabZuhiq9iKNvmNYlgi7GDb73DrTxO7QrPDSlC3WDUOx8rNYNGdObTnM6fEGAoDwnA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1seA22-0005dz-5c for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 05:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Aug 2024 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72616 X-GNU-PR-Package: emacs Original-Received: via spool by 72616-submit@debbugs.gnu.org id=B72616.172362664221669 (code B ref 72616); Wed, 14 Aug 2024 09:11:02 +0000 Original-Received: (at 72616) by debbugs.gnu.org; 14 Aug 2024 09:10:42 +0000 Original-Received: from localhost ([127.0.0.1]:46110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seA1i-0005dR-Bf for submit@debbugs.gnu.org; Wed, 14 Aug 2024 05:10:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seA1g-0005dB-QP for 72616@debbugs.gnu.org; Wed, 14 Aug 2024 05:10:41 -0400 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 1seA12-0001JT-7E; Wed, 14 Aug 2024 05:10:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hDqNZzRffFXwbF4VDJMPhxs2DaUw1SCme8ya+xydq1w=; b=aWl2PZR+QfjfO1+vgJ+3 UdNrYdQjk7Qk7ruEOuTsJHFrLrIeZxJEOJeyl5lTU8fK7a3WNq06VBK2GYDLPpLF6piHSUo1hsdMH 6aua9HKiDpDntICMLxjWULuwxDhT6c1HJ2RlErmIHEH99pCHNtI+TsoQyPz/f+ifHABTWgZSitcnW BGR5Xs734zITvid+W4/ArRgS09dq/xAxGuZMxDYOX0tca2X6KTF9HPj+ykUuZUfX7vygRpYg+4JMU Iu6nk0nTvDFoiDXllFxjW6nxjbvIAbBoC/Zh+i4LEe6uGaDc3Rs4qowuZJEw7eEWfWA2lCus16I9A Tm2owpKFuz7iLw==; In-Reply-To: (message from Gerard Vermeulen on Wed, 14 Aug 2024 08:04:31 +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:290127 Archived-At: > Date: Wed, 14 Aug 2024 08:04:31 +0000 > From: Gerard Vermeulen > > I get the message: > "apropos-library: Wrong type argument: symbolp, ((cl-deftype-satisfies > eglot-lsp-server))" > when I try "M-x apropos-library eglot" You forgot to tell that one needs first to load Eglot, otherwise the above command cannot be invoked at all. Stefan and Joćo, is the below the right solution? diff --git a/lisp/apropos.el b/lisp/apropos.el index 6c6cd0b..3fb7581 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -731,6 +731,7 @@ apropos-library ('require (push (cdr x) requires)) ('provide (push (cdr x) provides)) ('t nil) ; Skip "was an autoload" entries. + ('define-symbol-props nil) ;; FIXME: Print information about each individual method: both ;; its docstring and specializers (bug#21422). ('cl-defmethod (push (cadr x) provides))