[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: `thunk-let'?
From:
Stefan Monnier
Subject:
Re: `thunk-let'?
Date:
2017年11月24日 08:33:14 -0500
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
>> >> A second question is: Do we really want to have the library have no
>> >> autoloads?
>> > I see no reason not to autoload these.
>> Well, it's pretty easy for those few Elisp file which use it to
>> (require 'thunk), so I'm not sure it's worth the hassle of autoloading.
> What's the "hassle"?
With libraries of functions like thunk.el, the hassles have to do with
the fact that almost all functions need to be autoloaded, that
compilation can generate invalid code if the autoloads were not yet in
place (so macros failed to be macro-expanded), the cost of the autoloads
themselves, ...
These are minor, so if/when thunk.el is used by a large portion of Elisp
packages, these issues aren't significant, but given that it's currently
used by ... only 2 packages so far AFAICT (el-search and stream),
I really don't see any justification for autoloading its functions: the
cost is low but the benefit is even lower.
Stefan
- Re: `thunk-let'?, (continued)
- Re: `thunk-let'? , Michael Heerdegen, 2017年11月22日
- Re: `thunk-let'? , Michael Heerdegen, 2017年11月22日
- Re: `thunk-let'? , Pip Cet, 2017年11月23日
- Re: `thunk-let'? , Michael Heerdegen, 2017年11月23日
- Re: `thunk-let'? , Eli Zaretskii, 2017年11月24日
- Re: `thunk-let'? , Stefan Monnier, 2017年11月24日
- Re: `thunk-let'? , Eli Zaretskii, 2017年11月24日
- Re: `thunk-let'?,
Stefan Monnier <=
- Re: `thunk-let'? , Michael Heerdegen, 2017年11月27日
- Re: `thunk-let'? , Stefan Monnier, 2017年11月27日
- Re: `thunk-let'? , Eli Zaretskii, 2017年11月27日
- Re: `thunk-let'? , Michael Heerdegen, 2017年11月30日
- Re: `thunk-let'? , Eli Zaretskii, 2017年11月24日
- Re: `thunk-let'? , Michael Heerdegen, 2017年11月30日
- Re: `thunk-let'? , Eli Zaretskii, 2017年11月30日
- Re: `thunk-let'? , Eli Zaretskii, 2017年11月23日
- Re: `thunk-let'? , Gemini Lasswell, 2017年11月22日
- Re: `thunk-let'? , Noam Postavsky, 2017年11月22日