GNU bug report logs - #28958
26.0.90; Edebug can't step into methods defined with cl-defgeneric

Previous Next

Package: emacs;

Reported by: Gemini Lasswell <gazally <at> runbox.com>

Date: Mon, 23 Oct 2017 19:06:01 UTC

Severity: normal

Found in version 26.0.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28958 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Gemini Lasswell <gazally <at> runbox.com>
Cc: 28958 <at> debbugs.gnu.org
Subject: Re: bug#28958: 26.0.90; Edebug can't step into methods defined with
 cl-defgeneric
Date: Sun, 14 Jul 2019 23:28:54 +0200
Gemini Lasswell <gazally <at> runbox.com> 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




This bug report was last modified 6 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.