From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stefan Thomas" Newsgroups: gmane.emacs.help Subject: Re: cannot run a special macro Date: Sun, 5 Oct 2008 20:15:04 +0200 Message-ID: <8c1eed9b0810051115q5b7014f1of1e83f5c6815fb1a@mail.gmail.com> References: <8c1eed9b0810050906y2ca27edcm6bdc449807e0480@mail.gmail.com> <010701c9270b$83da86f0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_55112_28420287.1223230504946" X-Trace: ger.gmane.org 1223230541 16457 80.91.229.12 (5 Oct 2008 18:15:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 18:15:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 20:16:38 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KmY9l-0008Ha-4k for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 20:16:37 +0200 Original-Received: from localhost ([127.0.0.1]:59022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmY8f-0000bA-KW for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 14:15:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmY8J-0000Yz-B8 for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 14:15:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmY8I-0000Yj-Nv for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 14:15:07 -0400 Original-Received: from [199.232.76.173] (port=59021 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmY8I-0000Yg-HX for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 14:15:06 -0400 Original-Received: from mail-gx0-f10.google.com ([209.85.217.10]:35281) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmY8I-0000G5-21 for help-gnu-emacs@gnu.org; Sun, 05 Oct 2008 14:15:06 -0400 Original-Received: by gxk3 with SMTP id 3so4449246gxk.18 for ; Sun, 05 Oct 2008 11:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=N8ZQr71JYw0Y+a9T9gHoNHUDiuYDlilYWoTjpRi5xVw=; b=i/yf6LqDwJqjuKeimptzmZMVJkjRCCFULqdkpB6+rwJ0lvHUy5eiSyFROUtzRTURkb fjC5UdmrSsOHjJ3tYi2PGTQGkuGbFcQ6E/wZguc8i5CF+NWY/VY8+Uv5ECG9FcH+8PcF QLPiRnrKEq4VYiMdzDlJLYTt3sa5/pB4gfZxc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=B9qM6TDlfPk8roJ/sxIL/J7UT4+wGP65Fysu7/HuMOWuqU2VNAM6WzLVya1J8pI8Wo DW6hHGY2mJXVTwUl5Ho1Hy4c7J6xHDDCcIolRU7XYaHmB5p7m29cnW0ceNqTAYCpQ1hV SB1CTjNHwLdlcWyv47MjfolS/uUXyr9xUArPw= Original-Received: by 10.151.12.4 with SMTP id p4mr6013295ybi.183.1223230504922; Sun, 05 Oct 2008 11:15:04 -0700 (PDT) Original-Received: by 10.150.181.12 with HTTP; Sun, 5 Oct 2008 11:15:04 -0700 (PDT) In-Reply-To: <010701c9270b$83da86f0$0200a8c0@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58392 Archived-At: ------=_Part_55112_28420287.1223230504946 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > 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. > > ------=_Part_55112_28420287.1223230504946 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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.


------=_Part_55112_28420287.1223230504946--