unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1394: `kbd' is wasteful
       [not found] <hemyfui1u3.fsf@fencepost.gnu.org>
@ 2011-07-07 21:35 ` Lars Magne Ingebrigtsen
  2018-04-15 22:16   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-07 21:35 UTC (permalink / raw)
  To: rms; +Cc: 1394

Richard Stallman <rms@gnu.org> 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/





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1394: `kbd' is wasteful
  2011-07-07 21:35 ` bug#1394: `kbd' is wasteful Lars Magne Ingebrigtsen
@ 2018-04-15 22:16   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-15 22:16 UTC (permalink / raw)
  To: rms; +Cc: 1394

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Richard Stallman <rms@gnu.org> 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-15 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <hemyfui1u3.fsf@fencepost.gnu.org>
2011-07-07 21:35 ` bug#1394: `kbd' is wasteful Lars Magne Ingebrigtsen
2018-04-15 22:16   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).