[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Include leaf in Emacs distribution
From: |
Naoya Yamashita |
Subject: |
Re: Include leaf in Emacs distribution |
Date: |
Fri, 23 Oct 2020 11:37:23 +0900 (JST) |
> That was just a simple example from my init file to try to show that
> use-package or leaf could help to keep package configurations more
> consistent and that it could be used by the code generated by the "emacs
> wizard", thus we have reasons to include use-package or leaf on the
> Emacs core. So I was not suggesting to add undo-tree or diminish on the
> "emacs wizard".
> Imagine that we have a lot of recipes on the "emacs wizard" for several
> different packages with more complex declarations, in this case
> use-package or leaf can keep things more organized and consistent. (I
> know that this is subjective.)
Totally agree. I believe that using leaf allows for a more
consistent Emacs setup.
Of course, I understand that leaf is just a macro, simply
wrapping bare Elisp, but I think this has the effect of making
the user focus on the essential meaning. Emacs already has the
same type of Elisp built into it. It's derived and easy-mmode.
I know how to create major-mode and minor-mode without those
macros, but I think almost all users will use those macros.
That's because they know it's more declarative, easier to
maintain, and more robust to use. The leaf provides the same
thing for package settings. With a more parsimonious and
declarative syntax, the user writes the configuration and leaf
converts it into Elisp.
The usefulness of leaf and use-package is demonstrated by the
MELPA DL numbers. As leaf or use-package include into Emacs,
their bootstrapping code can be omitted and the user's init.el
will be more consistent.
###
There have been numerous points made in the thread so far.
- The first is the problem that the name leaf doesn't indicate its feature
- The second issue is that use-package has a licensing problem.
(This is an issue that will be resolved by the release of Emacs-28, I
believe.)
- Third, the issue of the benefits of leaf and use-package to Emacs users.
Are there any other points of discussion?
- Re: Include leaf in Emacs distribution, (continued)
- Re: Include leaf in Emacs distribution, Naoya Yamashita, 2020/10/11
- Re: Include leaf in Emacs distribution, Stefan Kangas, 2020/10/12
- Re: Include leaf in Emacs distribution, Qiantan Hong, 2020/10/12
- Re: Include leaf in Emacs distribution, Caio Henrique, 2020/10/12
- Re: Include leaf in Emacs distribution, Stefan Monnier, 2020/10/13
- Re: Include leaf in Emacs distribution, Thibaut Verron, 2020/10/13
- Re: Include leaf in Emacs distribution, Stefan Monnier, 2020/10/13
- Re: Include leaf in Emacs distribution, Thibaut Verron, 2020/10/13
- Re: Include leaf in Emacs distribution, Phil Sainty, 2020/10/18
- Re: Include leaf in Emacs distribution, Caio Henrique, 2020/10/13
- Re: Include leaf in Emacs distribution,
Naoya Yamashita <=
- Re: Include leaf in Emacs distribution, John Wiegley, 2020/10/22
- Re: Include leaf in Emacs distribution, Stefan Monnier, 2020/10/23
- Re: Include leaf in Emacs distribution, Naoya Yamashita, 2020/10/23
- Warnings in init files (was: Include leaf in Emacs distribution), Stefan Monnier, 2020/10/23
- Re: Include leaf in Emacs distribution, T.V Raman, 2020/10/23
- Re: Include leaf in Emacs distribution, Stefan Kangas, 2020/10/23
- Re: Include leaf in Emacs distribution, John Wiegley, 2020/10/23