From unknown Tue Aug 19 14:23:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28958: 26.0.90; Edebug can't step into methods defined with cl-defgeneric Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Oct 2017 19:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28958@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150878551520525 (code B ref -1); Mon, 23 Oct 2017 19:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2017 19:05:15 +0000 Received: from localhost ([127.0.0.1]:57997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6i2E-0005Ky-SY for submit@debbugs.gnu.org; Mon, 23 Oct 2017 15:05:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6i2D-0005Kl-9J for submit@debbugs.gnu.org; Mon, 23 Oct 2017 15:05:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6i27-0003zG-3L for submit@debbugs.gnu.org; Mon, 23 Oct 2017 15:05:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e6i27-0003zB-0H for submit@debbugs.gnu.org; Mon, 23 Oct 2017 15:05:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6i22-0007FV-V1 for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 15:05:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6i1y-0003vD-0p for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 15:05:02 -0400 Received: from aibo.runbox.com ([91.220.196.211]:49230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e6i1x-0003uF-LO for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 15:04:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Date:Subject:To:From; bh=tQtCOB8zXHycbRGsSPPzfRHPjxVb5Yeeee4BsnMyis4=; b=ZXHTxi/K7fRQcMHp2JYLVfefAB 2lDhYGJddSsg1opsaXMcz1ovJWzbOJjgHyVBxY0Rtfc9C5i7SA8H7syYM7lZrPJ2SxuUfAcJKt3mT +oJkGgV3Br2pfjo0J8RtucHloqNpotqIp0B5Z2vG/p9lep4RwseyLvC6sViov37U/qxyUBTBsAEAe 4Utrt9679MTHwPrSNj/dtQsvIbTy/kmCUIupFcPZe0Fh4s4qi0wF5zPhLrqRal11FvNZyrRnU69Gc FnfszkPowNNg1xMb2W9+zAQDYcYQyWUlaES59wKmG0MM7Z+VxOfE/KZKu6H9EuzrBTsuawqCQY7kN C/KuAqCQ==; Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e6i1u-000682-Pw for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 21:04:54 +0200 Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=chinook) by mailfront12.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e6i1P-0000aV-2L for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 21:04:23 +0200 From: Gemini Lasswell Date: Mon, 23 Oct 2017 12:04:21 -0700 Message-ID: <87k1zlsn2i.fsf@runbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) Edebug can't find generic methods to step into when they are defined with cl-defgeneric instead of cl-defmethod. To reproduce, put the following code into *scratch* and eval-buffer it: (cl-defgeneric my-func (x) (:method ((x integer)) (message "%s is an integer" x)) (:method ((x string)) (message "%s is a string" x)) (message "%s is something else" x)) (defun use-my-func () (my-func "hello") (my-func 3) (my-func 'foo)) Then navigate to the definition of use-my-func and: C-u C-M-x M-: (use-my-func) RET i Result: "Don=E2=80=99t know where =E2=80=98(my-func nil t)=E2=80=99 is defi= ned" From unknown Tue Aug 19 14:23:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28958: 26.0.90; Edebug can't step into methods defined with cl-defgeneric Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jul 2019 21:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gemini Lasswell Cc: 28958@debbugs.gnu.org Received: via spool by 28958-submit@debbugs.gnu.org id=B28958.15631397401008 (code B ref 28958); Sun, 14 Jul 2019 21:29:01 +0000 Received: (at 28958) by debbugs.gnu.org; 14 Jul 2019 21:29:00 +0000 Received: from localhost ([127.0.0.1]:46118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmm3I-0000GC-EH for submit@debbugs.gnu.org; Sun, 14 Jul 2019 17:29:00 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmm3G-0000G4-K1 for 28958@debbugs.gnu.org; Sun, 14 Jul 2019 17:28:59 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmm3D-0006Gq-7W; Sun, 14 Jul 2019 23:28:57 +0200 From: Lars Ingebrigtsen References: <87k1zlsn2i.fsf@runbox.com> Date: Sun, 14 Jul 2019 23:28:54 +0200 In-Reply-To: <87k1zlsn2i.fsf@runbox.com> (Gemini Lasswell's message of "Mon, 23 Oct 2017 12:04:21 -0700") Message-ID: <874l3owbjd.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Gemini Lasswell writes: > To reproduce, put the following code into *scratch* and eval-buffer > it: > > (cl-defgeneric my-func (x) > (:method ((x integer)) (message "%s is an integer" x)) > (:method ((x string)) (message "%s [...] 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: 0.0 (/) 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.0 (-) Gemini Lasswell writes: > To reproduce, put the following code into *scratch* and eval-buffer > it: > > (cl-defgeneric my-func (x) > (:method ((x integer)) (message "%s is an integer" x)) > (:method ((x string)) (message "%s is a string" x)) > (message "%s is something else" x)) > > (defun use-my-func () > (my-func "hello") > (my-func 3) > (my-func 'foo)) > > Then navigate to the definition of use-my-func and: > > C-u C-M-x > M-: (use-my-func) RET > i I'm unable to reproduce this on the Emacs trunk, and I see that the debug definition has changed substantially since 26.0, so I'm closing this bug report. If this still is a problem, please reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 14 17:29:07 2019 Received: (at control) by debbugs.gnu.org; 14 Jul 2019 21:29:08 +0000 Received: from localhost ([127.0.0.1]:46122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmm3P-0000Gx-NK for submit@debbugs.gnu.org; Sun, 14 Jul 2019 17:29:07 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmm3O-0000Go-12 for control@debbugs.gnu.org; Sun, 14 Jul 2019 17:29:06 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmm3L-0006H0-GA for control@debbugs.gnu.org; Sun, 14 Jul 2019 23:29:05 +0200 Date: Sun, 14 Jul 2019 23:29:03 +0200 Message-Id: <8736j8wbj4.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28958 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: close 28958 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: 0.0 (/) 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: -1.0 (-) close 28958 quit