unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Preloading seq.el
@ 2019-08-29 12:21 Stefan Kangas
  2019-08-29 12:30 ` Lars Ingebrigtsen
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Stefan Kangas @ 2019-08-29 12:21 UTC (permalink / raw)
  To: emacs-devel

Hi,

I'm working on some things in help.el, and it would be very nice to be
able to use a function in seq.el to simplify my code.  Alas, seq.el is
not preloaded.

Could we preload seq.el?

Previous discussion here:
https://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00852.html

In the previous discussion someone said that we would be punishing
users that do not use it if we preloaded it.  It's not clear to me how
this would punish users.  On the contrary, if it was preloaded, more
powerful abstractions would make it easier to maintain Emacs and free
time for developers by not forcing us to reinvent wheels.  This would
improve Emacs and help all users.

Another argument was that seq.el is not used that much.  This is not
surprising, since it's not preloaded.  It's therefore hard to use in
some places of Emacs.  If it was preloaded, it would presumably see
more use.

Stefan Monnier also pointed out that seq.el depends on cl-lib, and
that to preload seq, we would need to preload cl-lib.  This seems to
be due to a single use of the  cl-subseq function in cl-extra.el.  If
this is a show stopper, perhaps we could see if we can get rid of that
single use.

Best regards,
Stefan Kangas



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

end of thread, other threads:[~2019-09-06 11:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-29 12:21 Preloading seq.el Stefan Kangas
2019-08-29 12:30 ` Lars Ingebrigtsen
2019-08-29 12:47   ` Eli Zaretskii
2019-08-29 12:50     ` Lars Ingebrigtsen
2019-08-29 14:59       ` Eli Zaretskii
2019-08-29 15:15         ` Lars Ingebrigtsen
2019-08-29 15:20           ` Eli Zaretskii
2019-08-29 15:35             ` Lars Ingebrigtsen
2019-08-29 18:41               ` Eli Zaretskii
2019-08-29 18:43                 ` Lars Ingebrigtsen
2019-08-29 21:44                   ` Stefan Monnier
2019-08-29 15:20   ` Stefan Monnier
2019-08-29 12:44 ` Eli Zaretskii
2019-08-31 12:33 ` Zhu Zihao
2019-08-31 12:38   ` Eli Zaretskii
2019-09-06  0:49     ` Juanma Barranquero
2019-09-06  7:12       ` Eli Zaretskii
2019-09-06  7:46         ` Robert Pluim
2019-09-06  8:23           ` Eli Zaretskii
2019-09-06 11:27         ` Juanma Barranquero

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).