bug#1394: `kbd' is wasteful

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#1394: `kbd' is wasteful

Lars Ingebrigtsen
Richard Stallman <[hidden email]> writes:

> Severity: minor
>
> [ resent from
>   http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg03001.html ]
>
> `kbd' is preloaded, but using it causes loading of `edmacro.el'.
> If `kbd' is going to be common, everything it needs should
> be in subr.el.

I've extracted the bits from edmacro.el into subr.el, just to see how
much would have to be copied over.  I think it's about 140 lines,
leaving edmacro.el with 580 lines.  (And the admacro functions would
have to be rewritten from cl-macs code to pure Emacs Lisp, since subr.el
probably can't require cl.el compile-time.)

So I'm not sure it's worth it...

--
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



Reply | Threaded
Open this post in threaded view
|

bug#1394: `kbd' is wasteful

Lars Ingebrigtsen
Lars Magne Ingebrigtsen <[hidden email]> writes:

> Richard Stallman <[hidden email]> writes:
>
>> Severity: minor
>>
>> [ resent from
>>   http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg03001.html ]
>>
>> `kbd' is preloaded, but using it causes loading of `edmacro.el'.
>> If `kbd' is going to be common, everything it needs should
>> be in subr.el.
>
> I've extracted the bits from edmacro.el into subr.el, just to see how
> much would have to be copied over.  I think it's about 140 lines,
> leaving edmacro.el with 580 lines.  (And the admacro functions would
> have to be rewritten from cl-macs code to pure Emacs Lisp, since subr.el
> probably can't require cl.el compile-time.)
>
> So I'm not sure it's worth it...

So I'm closing this bug report as WONTFIX.

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no