GNU bug report logs - #3844
23.1.50; Sample of code in manual does not compile

Previous Next

Package: emacs;

Reported by: Paweł Sołtysiak <soltys <at> uznam.org>

Date: Tue, 14 Jul 2009 13:30:03 UTC

Severity: normal

Tags: moreinfo

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 3844 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Paweł Sołtysiak <soltys <at> uznam.org>
Cc: 3844 <at> debbugs.gnu.org
Subject: Re: 23.1.50; Sample of code in manual does not compile
Date: Tue, 14 Jul 2009 10:49:02 -0400
> On the page http://www.gnu.org/software/emacs/manual/html_node/elisp/Simple-Macro.html#Simple-Macro
> is example usage of macro but macro called 'inc' does not compile in
> *scratch* by using C-x C-e.

I can't reproduce this problem.  Please provide the exact recipe for
seeing this bug.  What I tried is

1. emacs -Q
2. Insert this in the *scratch* buffer:
(defmacro inc (var)
  (list 'setq var (list '1+ var)))
3. C-x C-e

The word "inc" appears in the echo area.



This bug report was last modified 14 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.