all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yves Baumes <ybaumes@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Debugging 'message-send , an unexpected void function error occured.
Date: Mon, 5 Nov 2012 20:19:39 +0100	[thread overview]
Message-ID: <5098114b$0$1854$426a74cc@news.free.fr> (raw)

Hi everyone,

I've put a breakpoint on the 'message-send function in message.el file.
When the execution flow hit the breakpoint at the start of the function,
then I hit 'c' in order to continue execution.
Then the execution stops in what is unexpected for me:
"Symbol's function definition is void: caddr".

Indeed, the 'caddr function is used in the body of the 'message-send function.
And indeed (describe-function 'caddr) results in an error for me.

In "normal" execution (i.e. no debuger involved) the interruption on 
'caddr does not occur.
Why is that ? If I manually define my own 'caddr function (in *scratch* 
for instance),
the "instrumented" execution does not complain, of course. But I do not 
want to have to
provide a primitive function definition.

Does the same error occurs for you? What did I miss? Do I need to 
import an extra module somewhere before running the "instrumented" 
mode? Some initilisation that I miss?

Sorry if the question feels stupid. I'm quite new and experimenting 
stuff, to learn.

Regards
Yves



             reply	other threads:[~2012-11-05 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-05 19:19 Yves Baumes [this message]
2012-11-07 11:01 ` Debugging 'message-send , an unexpected void function error occured Michael Heerdegen

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='5098114b$0$1854$426a74cc@news.free.fr' \
    --to=ybaumes@gmail.com \
    --cc=help-gnu-emacs@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.