all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Invalid function error in cl.el
Date: Thu, 23 Feb 2006 17:35:53 -0700	[thread overview]
Message-ID: <dtlkde$8r7$1@sea.gmane.org> (raw)
In-Reply-To: <87u0arcd4t.fsf@cisco.com>

John Russell wrote:
> I am using emacs 21.4.1 on Gentoo with buffer-stack.el.  Briefly its a
> fairly common extension that allows you to switch quickly between
> active buffers.  I have used it for years with no problems.  Great,
> you say, but why do I care?
> 
> Recently whenever I try to call buffer-stack-up or buffer-stack-down (
> the main entry points for buffer-stack ) I get the following error
> 
> buffer-stack-move: Invalid function: (macro lambda (place &optional x)
> "Increment PLACE by X (1 by default). 
> PLACE may be a symbol, or any generalized variable allowed by `setf'.
> The return value is the incremented value of PLACE." (if (symbolp
> place) (list (quote setq) place (if x (list (quote +) place x) (list
> (quote 1+) place))) (list (quote callf) (quote +) place (or x 1))))
> 
> I have tried reinstalling emacs, removing other things from my config,
> byte compiled, not byte compiled, on an empty stomach, nothing helps.
> The thing that kills me is that this has worked for so long and now
> it doesn't.  It has to be something I did, but I can't for the life of
> me figure it out.  Any ideas?  Thanks a lot.

It's because the author buffer-stack.el was not careful to make sure
it would work on Emacs: (require 'cl) or
(eval-when-compile (require 'cl))

-- 
Kevin Rodgers

      parent reply	other threads:[~2006-02-24  0:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22 21:11 Invalid function error in cl.el John Russell
2006-02-22 21:36 ` Pascal Bourguignon
2006-02-22 21:53   ` John Russell
2006-02-23 15:57     ` Stefan Monnier
2006-02-24  0:35 ` Kevin Rodgers [this message]

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='dtlkde$8r7$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.