From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Matzi Kratzi" Newsgroups: gmane.emacs.bugs Subject: bug#331: Bug in kmacro.el? Date: Wed, 28 May 2008 09:36:14 +0200 Message-ID: <7f9b11c90805280036u7daaf64bvc9c535b3788c379f@mail.gmail.com> Reply-To: Matzi Kratzi , 331@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1211989429 21020 80.91.229.12 (28 May 2008 15:43:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 15:43:49 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 28 17:44:30 2008 Return-path: Envelope-to: geb-bug-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 1K1Np5-0005op-Vb for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2008 17:44:20 +0200 Original-Received: from localhost ([127.0.0.1]:45017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1NoK-0000kE-LT for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2008 11:43:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1GRr-0000dv-CQ for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:51:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1GRp-0000cj-Ai for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:51:50 -0400 Original-Received: from [199.232.76.173] (port=54767 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1GRo-0000cO-IG for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:51:48 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36079) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1GRm-0005QU-JC for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:51:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4S7pic2014952; Wed, 28 May 2008 00:51:44 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4S7j4PI012767; Wed, 28 May 2008 00:45:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Matzi Kratzi" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 28 May 2008 07:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 331 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121196019511449 (code B ref -1); Wed, 28 May 2008 07:45:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 28 May 2008 07:36:35 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4S7aW7t011443 for ; Wed, 28 May 2008 00:36:33 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1GD1-0001Xa-Cd for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1GCy-0001Uo-D2 for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:28 -0400 Original-Received: from [199.232.76.173] (port=56641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1GCy-0001UW-4b for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:28 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.155]:29597) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1GCx-00028K-I5 for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:27 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so1563976ywk.66 for ; Wed, 28 May 2008 00:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=6kdNk9Yz+3F9opL1oHaQq3mftGX98TWA7vBQQ0goQU8=; b=djGm2Rx1oUIRRfGT0f3DHjsaKyfLYPSHbOezcXbo2pnbCuYUsD8A8BcjS2RacN+scYdLqptaLeMzbjXmj+hDwQtX+jrJW8rxRMQYy7t5SMMtrcl87sb6C9eGrojRg/Aw5ebKHqJ6JjOa+ITVGN908zUNVjP9yOSS6i2IMucDfMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eqX4bgHuZ03733U4JUC2DgmHzTyZ56XaMGcJ4253h9Pjsqm9KKHSD3sTH6EbYedPfg7uFIAfS7wxo6R33LlrQgHyg8dHnGgZDSm2FJSEOADfVbW7Qk5PeElcAgtggru2CVRj24EZwUn2kuIw0c0yPXtqne87eP06jsScToKhqsk= Original-Received: by 10.151.141.16 with SMTP id t16mr3831692ybn.50.1211960174499; Wed, 28 May 2008 00:36:14 -0700 (PDT) Original-Received: by 10.150.151.21 with HTTP; Wed, 28 May 2008 00:36:14 -0700 (PDT) Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 28 May 2008 03:51:50 -0400 X-Mailman-Approved-At: Wed, 28 May 2008 11:43:20 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18156 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I have saved a macro in one instance of emacs in the file c:\temp\fwf.el and then started a new instance of emacs, loaded the file and evaluated the resulting lisp. The lisp looks like this: (fset 'findwordfile (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("=13file" 0 "%d")) arg))) When trying to use the macro, I get this in my minibuffer: findwordfile: Symbol's function definition is void: kmacro-exec-ring-item If I put (require 'kmacro) at the beginning of my file containing macros it works. Is there a missing autoload before this line? (defun kmacro-exec-ring-item (item arg) Thanks for your work. /Mats If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file c:/ProgramFiles/emacs-22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (i386-mingw-nt5.0.2195) of 2008-03-26 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.0.2195 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: SVE locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: encoded-kbd-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x C-f C-a C-k c : / t e m p / f w f . e l M-> C-x C-e M-< M-x f i n d w M-x e m r e p o r t SPC e m a Recent messages: Loading encoded-kb...done For information about GNU Emacs and the GNU system, type C-h C-a. fwf.el has auto save data; consider M-x recover-this-file Mark set (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("=13file" 0 "%d")) arg)) Mark set findwordfile: Symbol's function definition is void: kmacro-exec-ring-item Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done