unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* subr-x on Elpa
@ 2015-05-20 12:32 Artur Malabarba
  2015-05-20 14:07 ` Stefan Monnier
  0 siblings, 1 reply; 10+ messages in thread
From: Artur Malabarba @ 2015-05-20 12:32 UTC (permalink / raw)
  To: emacs-devel

subr-x has a ton of useful macros and functions, and it would be nice
if it were available to packages that support emacs versions down to
24.1. So I'd like to make it into a proper package and put it on GNU
Elpa, if possible.

AFAICT, the only place where subr-x won't work with 24.1 is in the
`when-let' macro, which uses `macroexp-progn'. But `macroexp-progn' is
a very simple function, so inlining its definition is trivial.
If I do that, all of the tests in subr-x-tests.el pass with Emacs 24.1
(except for one, which explicitly uses cl-reduce, but that has nothing
to do with the function being tested, and even that one passes if I
load cl-lib too).

If I do that, would it be viable to offer subr-x on GNU Elpa as well?
(of course it would not be removed from lisp/emacs-lisp dir)



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

end of thread, other threads:[~2015-05-21 10:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-20 12:32 subr-x on Elpa Artur Malabarba
2015-05-20 14:07 ` Stefan Monnier
2015-05-20 14:33   ` Artur Malabarba
2015-05-20 15:35     ` Bozhidar Batsov
2015-05-20 19:04       ` Artur Malabarba
2015-05-20 18:51     ` Stefan Monnier
2015-05-20 19:02       ` joakim
2015-05-20 19:13         ` Eli Zaretskii
2015-05-20 20:46           ` Stefan Monnier
2015-05-21 10:28       ` Dmitry Gutov

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