* reftex broken: "symbol's function definition is void: decf"
@ 2007-02-05 16:39 almarex
2007-02-06 7:39 ` Kevin Rodgers
2007-02-06 18:31 ` Robert Thorpe
0 siblings, 2 replies; 3+ messages in thread
From: almarex @ 2007-02-05 16:39 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I'm using emacs (21.4.1) and auctex (all from ubuntu edgy) as tex
editor, but somehow, for some tex files reftex is mysteriously broken.
Any reftex action (label, cite, table of contents) gives: "symbol's
function definition is void: decf" in the minibuffer. strange thing is
that it doesn't seem to have anything to do with the tex file, I've
copy pasted the exact same content of the file into a new file and
then it works and then when I change the name of that file to yet
something else it stops working again. Anyone have any idea what may
be going on here?
Thanks,
Em
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: reftex broken: "symbol's function definition is void: decf"
2007-02-05 16:39 reftex broken: "symbol's function definition is void: decf" almarex
@ 2007-02-06 7:39 ` Kevin Rodgers
2007-02-06 18:31 ` Robert Thorpe
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2007-02-06 7:39 UTC (permalink / raw)
To: help-gnu-emacs
almarex@gmail.com wrote:
> I'm using emacs (21.4.1) and auctex (all from ubuntu edgy) as tex
> editor, but somehow, for some tex files reftex is mysteriously broken.
> Any reftex action (label, cite, table of contents) gives: "symbol's
> function definition is void: decf" in the minibuffer. strange thing is
> that it doesn't seem to have anything to do with the tex file, I've
> copy pasted the exact same content of the file into a new file and
> then it works and then when I change the name of that file to yet
> something else it stops working again. Anyone have any idea what may
> be going on here?
decf is a Common Lisp special form, which is available in Emacs Lisp
only via the CL emulation package. reftex is probably missing the
needed (require 'cl) form, optionally enclosed in (eval-when-compile ...)
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: reftex broken: "symbol's function definition is void: decf"
2007-02-05 16:39 reftex broken: "symbol's function definition is void: decf" almarex
2007-02-06 7:39 ` Kevin Rodgers
@ 2007-02-06 18:31 ` Robert Thorpe
1 sibling, 0 replies; 3+ messages in thread
From: Robert Thorpe @ 2007-02-06 18:31 UTC (permalink / raw)
To: help-gnu-emacs
On Feb 5, 4:39 pm, alma...@gmail.com wrote:
> Hi,
> I'm using emacs (21.4.1) and auctex (all from ubuntu edgy) as tex
> editor, but somehow, for some tex files reftex is mysteriously broken.
> Any reftex action (label, cite, table of contents) gives: "symbol's
> function definition is void: decf" in the minibuffer. strange thing is
> that it doesn't seem to have anything to do with the tex file, I've
> copy pasted the exact same content of the file into a new file and
> then it works and then when I change the name of that file to yet
> something else it stops working again. Anyone have any idea what may
> be going on here?
To expand on Kevin's reply.
It is common in Elisp to include the CL package only for it's macros,
this is done by putting:-
(eval-when-compile (require 'cl))
in the file. This means though that CL will only be required at
compile time.
So to make this file work you must byte-compile it.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-06 18:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 16:39 reftex broken: "symbol's function definition is void: decf" almarex
2007-02-06 7:39 ` Kevin Rodgers
2007-02-06 18:31 ` Robert Thorpe
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.