[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: policy, recommendations regarding `cl-*'
From: |
Stefan Monnier |
Subject: |
Re: policy, recommendations regarding `cl-*' |
Date: |
Wed, 26 Sep 2012 13:54:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
>>> On a related note, am I understanding right that functions
>>> and macros from cl-macs.el will *not* trigger warnings?
>> Depends what kind of warning and in which circumstance.
> I have a test.el file with just this:
> (eval-when-compile (require 'cl))
> (cl-position '1 '(0 1 2 3))
> (cl-defsubst test () (message "blah"))
There's a bug: at run time, CL will not be loaded, so cl-position
won't exist.
For cl-defsubst, that's not a problem, because it gets macroexpanded
away during compilation, so it's not needed at run-time.
IOW if you use CL functions, you need (require 'cl-lib) without wrapping
it in eval-when-compile.
Stefan
- policy, recommendations regarding `cl-*', Drew Adams, 2012/09/25
- Re: policy, recommendations regarding `cl-*', Eli Zaretskii, 2012/09/25
- RE: policy, recommendations regarding `cl-*', Drew Adams, 2012/09/25
- Re: policy, recommendations regarding `cl-*', Stefan Monnier, 2012/09/25
- RE: policy, recommendations regarding `cl-*', Drew Adams, 2012/09/25
- Re: policy, recommendations regarding `cl-*', Stefan Monnier, 2012/09/25
- Re: policy, recommendations regarding `cl-*', Bastien, 2012/09/26
- Re: policy, recommendations regarding `cl-*', Stefan Monnier, 2012/09/26
- Re: policy, recommendations regarding `cl-*', Bastien, 2012/09/26
- Re: policy, recommendations regarding `cl-*',
Stefan Monnier <=
- Re: policy, recommendations regarding `cl-*', Bastien, 2012/09/26
- Re: policy, recommendations regarding `cl-*', Michael Welsh Duggan, 2012/09/27
- Re: policy, recommendations regarding `cl-*', Stefan Monnier, 2012/09/27
- Re: policy, recommendations regarding `cl-*', Michael Welsh Duggan, 2012/09/29
- RE: policy, recommendations regarding `cl-*', Drew Adams, 2012/09/26
- Re: policy, recommendations regarding `cl-*', Stefan Monnier, 2012/09/26
- RE: policy, recommendations regarding `cl-*', Drew Adams, 2012/09/26
- Re: policy, recommendations regarding `cl-*', Eli Zaretskii, 2012/09/26
- Re: policy, recommendations regarding `cl-*', Stefan Monnier, 2012/09/26
- RE: policy, recommendations regarding `cl-*', Drew Adams, 2012/09/26