From unknown Wed Jun 18 00:29:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53540 <53540@debbugs.gnu.org> To: bug#53540 <53540@debbugs.gnu.org> Subject: Status: 29.0.50; Completion support for the NAME field of cl-defmethod Reply-To: bug#53540 <53540@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:29:42 +0000 retitle 53540 29.0.50; Completion support for the NAME field of cl-defmethod reassign 53540 emacs submitter 53540 Michael Heerdegen severity 53540 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 25 22:20:44 2022 Received: (at submit) by debbugs.gnu.org; 26 Jan 2022 03:20:44 +0000 Received: from localhost ([127.0.0.1]:50647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCYrT-0003fP-TJ for submit@debbugs.gnu.org; Tue, 25 Jan 2022 22:20:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:41696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCYrS-0003fI-Nj for submit@debbugs.gnu.org; Tue, 25 Jan 2022 22:20:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCYrS-0001GX-Hc for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 22:20:42 -0500 Received: from mout.web.de ([217.72.192.78]:51271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCYrQ-00084l-N7 for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 22:20:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1643167235; bh=EEmOqbRSFArMUJc/lJTCbaNYMkFQ1v2zVOwBJThg5dg=; h=X-UI-Sender-Class:From:To:Subject:Date; b=ho/sd0tlpu3kWlu8K44q6C8khTZ75Kt+V5sCMURUaR4PKyxqMVjLNtO9KHcekP7zk gSuYDbP+sAQywZ78u4qIbxXJ5i6jyXBbczZGWQnNT3cSi5CocHBet4GDqB2KRW3q1p z1LCJEDKR8CXk2/uLzrUPrw8x1IZmGNnspmr6pV8= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([88.66.201.186]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MEUW8-1n239V2BTO-00G0VV for ; Wed, 26 Jan 2022 04:20:35 +0100 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Completion support for the NAME field of cl-defmethod Date: Wed, 26 Jan 2022 04:20:35 +0100 Message-ID: <878rv3ji7w.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:pbQObo0d8/f6bGu2cd9vNyk8IymY1xdon/c8jo5wqRJ1D+VxmT6 DTxfoxjL7fqImn3QChEGyUbXVwU20LXFVDIzHsb1QiqUQiwNAuRot2QMAAAVoDAG0RLDtkQ ckfiDF/PGtrhecHMZl6Vqh1hXp08W88/4xhsddjhD4qWjJwoiEmyMuUNc9goMu0d2IovrbR P6PKtoVSMQeFC3kywFqoQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rwD1KBaPvdA=:AaQif4PbGfKeXgCKRGlvOw MuCjbCoVndt/IXI0EIyPHOAVAG33pXwJIVAyzHMExBPAnINURF8/a09TFJ93MF1fQTio8zHAf q2gTODqDn4lDA2eO2I/tNXMOpsyJ3dA1R1DGdthLAGbPnB1CRvhfCwyomR5Z5w7z3z/mc8/rZ VWOTjhDpI5aX/zlP1Ai2zGJcJvzG0+jedq/bXL4WJjjEnhXaSyNs69FTAsddCqvOgaOjNC+uu xaOKRMfD6bKu5WFlnvjFBlb+eejMh3sVCLFMDTlbScCGGhQ5A1+hjGxgyTx1pez9Fnv0tK/+/ huqL8eJOBmb2Ll9GFFr+uRr8TlMuFPrO4jBlWINaGoc96QYFi2Evgr765I+vuEsWAe58u+l4w 5++HHf+cWSQqyCfMqKwv3uzX9am+FNuGjeDwNKB9yhZdekj4Pjzd2wIX0cpfmJVa/AnewUJzZ NGdOlIyvbOrXHkd89ZVvUvbK/4144feJAS/2RBepMwePYqr0QK0mkPGF0qXQ0i+rs3W4t4Pnr ddtLsRst97Tfduv/bgTIokXXVBQHKc1LsfXadbdHgHB28qjGpPtMoHe73sJF0YhrOzaPTm5EX fQgOsnT/nUeA5Q6+T8A+EvQKtQ2ZfID477t6B7s9pUt2pfWUaPTHRxWgT7ECNrE6Cfr0sQjhE /TaKS4mnO1D0Ue57PxLfhepYvAEMJbN+NkptHaAvNq4ZSUBQbePpZSL4ZXT2vXjsbYzqbSpSR umKQt8YcwRt7oEjiOw7xhNdVZHUeg4btzh2uFTg3jQIbfQx9ieCNrqFCZ5mGmzhpZjP96FWXw tXxd3T4K9gCc3zCcjfModvZ/TQrfNoOY/hsIX5K4Omjg4jf5hhSHqdoXIeEEY/HQrruOpgOfQ u3gNH7lOAnhjKhcF+/+T3+q0zr44ygYKuXqwiKmHOH2rVHP6mZS3p1vVpB8hHFep0njItapPv mXp78rsPpCPcMkzkiIIHs8bbafnE5hO5qmwuRokgqjCO/jsbg3eWPsI2ak6idu5fQeNKI1XCo n69rnu2GkTEPcxl2h+AHeU2tAAb8JEFZsHLCmDZb9iRqm4z/OHOZb9FKiI1jy492Ksou6fdxK YNmc9hLb08s5Gg= Received-SPF: pass client-ip=217.72.192.78; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) 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 (--) Hello, to illustrate: eval (cl-defgeneric foobar (x)) and then, e.g. in *scratch*, insert (cl-defmethod foo| and try completion at point (M-TAB) at the position indicated with the "|" meta marker. No completion is performed. Only completion of variable names is tried, not the names of generic functions. Would be nice to support that. Regards, Michael. In GNU Emacs 29.0.50 (build 46, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-01-26 built on drachen Repository revision: e82062656f3cb77319457b0dc977949f3e4ca776 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --with-native-compilation --with-xwidgets' From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 10:27:48 2022 Received: (at control) by debbugs.gnu.org; 26 Jan 2022 15:27:48 +0000 Received: from localhost ([127.0.0.1]:53222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCkD6-0004nL-5r for submit@debbugs.gnu.org; Wed, 26 Jan 2022 10:27:48 -0500 Received: from quimby.gnus.org ([95.216.78.240]:48826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCkD3-0004n5-RU for control@debbugs.gnu.org; Wed, 26 Jan 2022 10:27:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MLi3hOjUR6VU0wAgjhaveL4fzLri4memyFl3pxw3k8Q=; b=mEHMxa6ZKGB4pYqjBMI8BNoqFJ iREeOvECm/5OSbjKigx16OUfPQBbejdKG2TEkzHSF1vmZvdKtUt2c8ZcAYTFk/VOTJ9Cm52aIAO3w 61HJGsXqWoOdsA6umxnr/tLTLXwMZy9xGD80HMQU2FEgAxq2b9VpJMVQTQyL7C4lqppE=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCkCw-0003BS-2M for control@debbugs.gnu.org; Wed, 26 Jan 2022 16:27:40 +0100 Date: Wed, 26 Jan 2022 16:27:36 +0100 Message-Id: <87h79qqzyv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53540 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: severity 53540 wishlist quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) severity 53540 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 28 19:17:40 2022 Received: (at 53540) by debbugs.gnu.org; 29 Jan 2022 00:17:40 +0000 Received: from localhost ([127.0.0.1]:60743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDbQy-0008D9-H1 for submit@debbugs.gnu.org; Fri, 28 Jan 2022 19:17:40 -0500 Received: from mout.web.de ([212.227.15.3]:52493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDbQx-0008Cx-AZ for 53540@debbugs.gnu.org; Fri, 28 Jan 2022 19:17:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1643415453; bh=qL8gtlKefmrAaipPObSCAntSB/0iwQhEqTFLVnbllxs=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=mYyWcoWg7d1UYYXSvjvHonmdLlIx1OxykXbnqsnuESCV15en/lBZ0D7IMTmbAT25n hks5INYblIrSSftbKX9jVc2XoGm5NgiacrByGYuLydu6OXGJjBy4WSuZFoYK+UuwOW OcSIeuPrrUuU8+R9Gl5/fj8kYOnXnKLyejk6E2ao= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([88.66.201.186]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MWQyl-1mlxIs0g7X-00XbSD for <53540@debbugs.gnu.org>; Sat, 29 Jan 2022 01:17:33 +0100 From: Michael Heerdegen To: 53540@debbugs.gnu.org Subject: Re: bug#53540: 29.0.50; Completion support for the NAME field of cl-defmethod References: <878rv3ji7w.fsf@web.de> Date: Sat, 29 Jan 2022 01:17:32 +0100 In-Reply-To: <878rv3ji7w.fsf@web.de> (Michael Heerdegen's message of "Wed, 26 Jan 2022 04:20:35 +0100") Message-ID: <87leyzz97n.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:MWEhcNtgmZPAWnS3IVaI9iJXMVl4v82c3kDoZPfMTiLeUsCx7Gq LacxHO5EoSgDC1tA/5qzOiNbPbCwhrMp4uFhHKwXMrlDQmLhvDandNR8AOMI/85sAVO6Y+E VOkwdsvvlq0cAGD+bRmWUtnJAuxp1MbjuTcRByDYONGadqUab6DkDQkt/Dg+p3l7X+ckNwl kt3bmVn4ui9urrroYfnZw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:1BhcGqEgKt8=:4s5WpdLxfwYMFPGIml60Y5 cD8znxr7Bi+B9ixzUCzhlzaWL0nodqofgEt69HBnt+4rbJXWbvIowzDfLqh/ilf/HkLm/U+U5 VcXo0//Za026f6B8zfGyodhJXqD7MnBJUDI4kJa5cGSVbIox/KkLDDYygGYtt9alZloNSBg6J sHbO+X8rgqANdNxbHENzLOATUrGDEFBvnI38BlyFuT9SIcrWTkcBDNK1uHNVEVRfyt7qzqP7n Vx1pisaYWNT9AX1UkSAyCX5zEbWSElD9NORZ/oe7vRC7PYgpF7kIu6K913YaN593Y1NNRJIO2 zzmgA9zjqwovpobl9Qhf+R2QtwXvrN2TX+L999v+tq1jGhHYpbmpUe5KhZ6h5NcHljjLwIM6z DvNDUsNKyRyrU5jvLxWQRaEO3AdvcQpPW3ey1Rov0O8tRQ0jJP86B7TjaRWIE8R7E/a+aca/y Vmolgxli0fKVPNXHfFK4sxXZRMkUwcsBGt4APMuZqOTl3EYf6pkLqpjN/eHAR8O2sdigOGvOF ylbs3JykbqS2Zid+2RbdaDKNWUOiJeCNEG40HhtlY+hH7cdimL6upZ5EU3g2iFmhXBTwVHhG/ MJVgFYxCTI7lXC01gV3SIFhU5lfQucS6FmWos8GSjnWt0gRUaalrZFC/Y7qXSZLO9Mmu/8Jdt SjnjSqB4V3tm47avMl7H6pBM6GV5+TtD94Vo/DMJHPohFF/rT+qVSzj4Kdl7IWZXC/l7T4c1n bEgqmkXAri1CMOA6+5FtynkDiSyIEATOGE7t4wJ1y+HXlw/7Iu3NYeeJgo9Jm13CmYkltdjzd VNXWLfbjnjGsXb590H29eJUZugL3UXp8/aGRhRUiGtl2SDyxzY5RiKEOi8m3AXCgvbKGCv8Hg YK6uxKpHxN+pZtTvgQ8jFdllFMHTtX14QpyVXvjDnRBMEsTqrhvqER8OX3HkadjQ6G0F6TEbE qA8ugLECVVZdbYAvL20dyVoPL8Mx+koRuyg+0GOdsqjoC2HZtjDZt/4OI+2i4PZbDqcTlAZU2 +YbzLwekC9hxMroPLrh9krsG2sLF/onRjTehxRB4D6AQws+vK0+Ty5hsA6HeNuviSjWOjb+/N yaeZ9XfbLpWJAM= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53540 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 (-) --=-=-= Content-Type: text/plain Michael Heerdegen writes: > (cl-defmethod foo| > > and try completion at point (M-TAB) at the position indicated with the > "|" meta marker. Is this ok? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Elisp-mode-Fix-completion-of-cl-defmethod-NAME-arg.patch Content-Transfer-Encoding: quoted-printable =46rom 826cf267ba8d65110ef6d338e30033f6cb79d66f Mon Sep 17 00:00:00 2001 From: Michael Heerdegen Date: Thu, 27 Jan 2022 02:56:17 +0100 Subject: [PATCH] Elisp-mode: Fix completion of cl-defmethod NAME arg Fixes Bug#53540. * lisp/progmodes/elisp-mode.el (elisp--expect-function-p): Add "defmethod" to recognized parent expression types. =2D-- lisp/progmodes/elisp-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 0dfff32f20..914e4e3836 100644 =2D-- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -449,7 +449,7 @@ elisp--expect-function-p (regexp-opt '("declare-function" "function" "defadvice" "callf" "callf2" - "defsetf")) + "defsetf" "defmethod")) "[ \t\r\n]+")) (eq (match-end 0) pos))))))) =2D- 2.30.2 --=-=-= Content-Type: text/plain Michael. --=-=-=--