unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gemini Lasswell <gazally@runbox.com>
To: 27747@debbugs.gnu.org
Subject: bug#27747: 26.0.50; cl-defgeneric does not have an Edebug spec
Date: Mon, 17 Jul 2017 22:06:40 -0700	[thread overview]
Message-ID: <87iniqjpun.fsf@chinook> (raw)

There is no Edebug spec for cl-defgeneric, which means that default
method implementations and methods defined using its :method keyword
can't be Edebugged.

To reproduce the problem, start with this bit of code in a buffer:

(cl-defgeneric my-say (obj)
  "Say something about OBJ."
  (message "See the %s!" obj))

(cl-defmethod my-say ((obj number))
  (message "See the number %s!" obj))

Then:

M-x edebug-all-defs RET
M-x eval-buffer RET
M-: (my-say "cat") RET

Result: the command completes without Edebug starting.
This works correctly:

M-: (my-say 3) RET





             reply	other threads:[~2017-07-18  5:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18  5:06 Gemini Lasswell [this message]
2017-10-06 18:39 ` bug#27747: 26.0.50; cl-defgeneric does not have an Edebug spec Gemini Lasswell
2017-10-23 17:52 ` Gemini Lasswell

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=87iniqjpun.fsf@chinook \
    --to=gazally@runbox.com \
    --cc=27747@debbugs.gnu.org \
    /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).