From: "Robert Thorpe" <rthorpe@realworldtech.com>
Subject: Re: yasq: unable to edebug-defun
Date: 15 Dec 2006 05:16:57 -0800 [thread overview]
Message-ID: <1166188617.839990.291590@j72g2000cwa.googlegroups.com> (raw)
In-Reply-To: <1166128326.307683.186800@n67g2000cwd.googlegroups.com>
Mirko wrote:
> hello,
>
> This could be due to my incompetence, senility or just lack of emacs
> knowledge: I cannot compile my defun's. If I try to do either M-C-x or
> C-u M-C-x, emacs tries to evaluate the defun in which my cursor
> resides, instead of compiling it.
That's the normal behaviour M-C-x evals a defun, which means it stores
the code for the function inside emacs.
C-u M-C-x evaluates it also instrumenting it for edebug.
> I tried also M-x edebug-defun, but then the debugger immediately tries
> to step through the function instead of instrumenting it.
The debugger should not be triggered immediately.
Maybe you have the wrong number of parenthesis in the buffer you're
using, try turning on show-paren-mode to check.
You have to have point at the end of some function Like
(defun foo () (print "bar"))POINT then hit M-C-x.
Bytecode compilation is only used through byte-compile-file normally.
next prev parent reply other threads:[~2006-12-15 13:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-14 20:32 yasq: unable to edebug-defun Mirko
2006-12-15 13:16 ` Robert Thorpe [this message]
2006-12-15 15:55 ` Mirko
2006-12-15 16:47 ` Robert Thorpe
2006-12-15 19:01 ` Mirko
2006-12-18 10:30 ` Robert Thorpe
2006-12-16 15:34 ` Johan Bockgård
2006-12-18 22:20 ` Kevin Rodgers
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=1166188617.839990.291590@j72g2000cwa.googlegroups.com \
--to=rthorpe@realworldtech.com \
/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.
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).