* gensym - a schizofrenic case?
@ 2008-12-28 5:32 Lennart Borgman
2008-12-28 7:12 ` Miles Bader
2008-12-30 19:57 ` Stefan Monnier
0 siblings, 2 replies; 3+ messages in thread
From: Lennart Borgman @ 2008-12-28 5:32 UTC (permalink / raw)
To: Emacs Devel
From byte-compiling I get
ert2.el:133:21:Warning: Function `gensym' from cl package called at runtime
In cl.el I see that the function is autoloaded. Is it supposed to be
used? When? How?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gensym - a schizofrenic case?
2008-12-28 5:32 gensym - a schizofrenic case? Lennart Borgman
@ 2008-12-28 7:12 ` Miles Bader
2008-12-30 19:57 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Miles Bader @ 2008-12-28 7:12 UTC (permalink / raw)
To: Lennart Borgman; +Cc: Emacs Devel
"Lennart Borgman" <lennart.borgman@gmail.com> writes:
> ert2.el:133:21:Warning: Function `gensym' from cl package called at runtime
>
> In cl.el I see that the function is autoloaded. Is it supposed to be
> used? When? How?
I think in general, most packages just don't use gensym. You can use
make-symbol or #:foo instead.
-Miles
--
Genealogy, n. An account of one's descent from an ancestor who did not
particularly care to trace his own.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gensym - a schizofrenic case?
2008-12-28 5:32 gensym - a schizofrenic case? Lennart Borgman
2008-12-28 7:12 ` Miles Bader
@ 2008-12-30 19:57 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-12-30 19:57 UTC (permalink / raw)
To: Lennart Borgman; +Cc: Emacs Devel
>> From byte-compiling I get
> ert2.el:133:21:Warning: Function `gensym' from cl package called at runtime
> In cl.el I see that the function is autoloaded. Is it supposed to be
> used? When? How?
My guess is that it's present in the macro-expanded code. It's not
quite autoloaded (the autoload cookie only means that it'll be
autoloaded if you've done (require 'cl) before).
Try to figure out which macro-call causes the above problem, we may want
to fix the macro so as to use make-symbol instead.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-30 19:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-28 5:32 gensym - a schizofrenic case? Lennart Borgman
2008-12-28 7:12 ` Miles Bader
2008-12-30 19:57 ` Stefan Monnier
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.