all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: 14646@debbugs.gnu.org
Subject: bug#14646: 24.3.50; edebug-defun causes an error for eval-when-compile
Date: Wed, 20 Nov 2013 16:15:22 +0900	[thread overview]
Message-ID: <b4mwqk3tugl.fsf@jpl.org> (raw)
In-Reply-To: <b4m1u80l1s8.fsf@jpl.org>

Does anyone have a solution for this?

-------------------- Start of forwarded message --------------------
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: bug#14646: 24.3.50; edebug-defun causes an error for eval-when-compile
Date: Tue, 18 Jun 2013 09:07:19 +0900
Message-ID: <b4m1u80l1s8.fsf@jpl.org>
To: 14646@debbugs.gnu.org

Hi,

I'm unable to debug a function that uses eval-when-compile.
Could you try edebug-defun on this form?

(defun foo ()
  (eval-when-compile
    (concat "foo" "+" "bar")))

Debugger entered--Lisp error: (wrong-type-argument consp nil)
  edebug-before(1)
  (edebug-after (edebug-before 1) 2 (concat "foo" "+" "bar"))
  (progn (edebug-after (edebug-before 1) 2 (concat "foo" "+" "bar")))
  eval((progn (edebug-after (edebug-before 1) 2 (concat "foo" "+" "bar"))) nil)
[...]
  edebug-defun()
  call-interactively(edebug-defun nil nil)
  command-execute(edebug-defun)

Thanks.
-------------------- End of forwarded message --------------------





  reply	other threads:[~2013-11-20  7:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18  0:07 bug#14646: 24.3.50; edebug-defun causes an error for eval-when-compile Katsumi Yamaoka
2013-11-20  7:15 ` Katsumi Yamaoka [this message]
2013-11-21  2:46   ` Stefan Monnier
2013-11-21 23:21     ` Katsumi Yamaoka

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mwqk3tugl.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=14646@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.