unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stefan Thomas" <kontrapunktstefan@googlemail.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: cannot run a special macro
Date: Sun, 5 Oct 2008 20:15:04 +0200	[thread overview]
Message-ID: <8c1eed9b0810051115q5b7014f1of1e83f5c6815fb1a@mail.gmail.com> (raw)
In-Reply-To: <010701c9270b$83da86f0$0200a8c0@us.oracle.com>

[-- Attachment #1: Type: text/plain, Size: 1637 bytes --]

Dear Drew,
If I press C-h f , my machine doesn't know
kmacro-exec-ring-item.
It knows
kmacro-call-macro           kmacro-end-and-call-macro
kmacro-end-call-mouse           kmacro-end-macro
kmacro-end-or-call-macro       kmacro-keymap
kmacro-start-macro           kmacro-start-macro-or-insert-counter
but nothing else.
2008/10/5 Drew Adams <drew.adams@oracle.com>

>        I have recorded a macro and saved it in my .emacs-file.
>        But, unfortunately, if I run this macro, I get:
>        "Symbol's function definition is void: kmacro-exec-ring-item"
>        What is the meaning of this?
>
> [Please use plain-text messages for this mailing list.]
>
> What happens when you do `C-h f kmacro-exec-ring-item RET'?
>
> It should display something like this:
>
> ,----
> | kmacro-exec-ring-item is an autoloaded Lisp function in `kmacro'.
> | (kmacro-exec-ring-item item arg)
> |
> | Execute item item from the macro ring.
> `----
>
> This function was added in Emacs 22, I believe. If you defined your macro
> with
> Emacs 22 or 23, and then tried to execute it with Emacs 20 or 21, that
> might be
> the problem. Dunno.
>
> If not, then try, before executing the macro, `M-x load-library kmacro'.
> Does
> that help?
>
> `kmacro-exec-ring-item' seems not to have been autoloaded by executing your
> macro. It should be loaded automatically - it works for me. Which Emacs
> release
> are you using, how did you define your macro, and so on? Do you get the
> same
> result when you start with `emacs -q' (or `emacs -Q', if you have a recent
> Emacs
> release)? If not, something in your init file (.emacs) is causing a
> problem.
>
>

[-- Attachment #2: Type: text/html, Size: 2291 bytes --]

  reply	other threads:[~2008-10-05 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05 16:06 cannot run a special macro Stefan Thomas
2008-10-05 16:57 ` Drew Adams
2008-10-05 18:15   ` Stefan Thomas [this message]
2008-10-05 19:43     ` Drew Adams

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=8c1eed9b0810051115q5b7014f1of1e83f5c6815fb1a@mail.gmail.com \
    --to=kontrapunktstefan@googlemail.com \
    --cc=drew.adams@oracle.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.
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).