unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Naoya Yamashita <conao3@gmail.com>
To: stefankangas@gmail.com
Cc: johnw@gnu.org, emacs-devel@gnu.org
Subject: Re: Include leaf in Emacs distribution
Date: Mon, 12 Oct 2020 10:35:22 +0900 (JST)	[thread overview]
Message-ID: <20201012.103522.1802478978485184324.conao3@gmail.com> (raw)
In-Reply-To: <CADwFkmn0K4mDsU262+riWXT6+f0Hh0t7OVsfEJtbdZweFz60Vw@mail.gmail.com>


> Thanks for your work.  FWIW, here are my two cents.
>
> First, the copyright issues with use-package are being worked on, see:
> https://github.com/jwiegley/use-package/issues/282
>
> Once that is worked out, we could include both use-package and leaf in
> Emacs, only one of them, or both.  It is good that we have two packages
> here, since it gives us more options.

Yes I've known that.  You can submit topic after the issue is resolved.

> I have looked at the leaf package before, but I could never figure out
> why I would want to use it instead of use-package.  They are very
> similar, and the functionality seems to be mostly overlapping.  I think
> that we should perhaps consider why we even have two packages here.
> Could the functionality of one be absorbed by the other?  Are the
> differences really that important?  But maybe I'm just missing
> something.
>
> Personally, I'd rather not see two very similar packages in Emacs unless
> there are important differences and sufficiently strong reasons.

It is your choice, Nothing bad.

From my point of view the syntax of use-package is confusing.
For example, :when is naturally designed to evaluate a given
S-expression and is only enabled when non-nil is returned, but
:disabled is not.  That is, (use-package flymake :disabled t) and
(use-package flymake :disabled nil) will be converted to nil,
respectively.  This is unnatural.  Also, :when can be a free
S-expression, but not :disabled.

Other keyword, :mode and :hook specify a cons cell, but :custom
specifies a list.  This can be confusing for newcomers.

Both issue are solved in my leaf.

> One starting point here is that use-package seems to be more widely used
> and known.  If this is correct, I guess leaf unfortunately has a bit of
> an uphill battle to show some significant improvement over use-package.

As I wrote in another email, use-package was created in 2012 and
has been distributed by MELPA since 2013.  The number and
visibility of users is because of its history and because it's
the first package in this field.  And with that many users, it's
hard to solve these problems because the syntax needs to be
changed.



  reply	other threads:[~2020-10-12  1:35 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08  1:37 Include leaf in Emacs distribution Naoya Yamashita
2020-10-08  9:00 ` Ergus
2020-10-08  9:22   ` Naoya Yamashita
2020-10-10 10:11     ` Eli Zaretskii
2020-10-11  5:24       ` Richard Stallman
2020-10-11  8:39         ` Naoya Yamashita
2020-10-11  9:52           ` Thibaut Verron
2020-10-11 16:50             ` Naoya Yamashita
2020-10-11 17:12               ` Thibaut Verron
2020-10-12  2:10                 ` Naoya Yamashita
2020-10-12 20:23                   ` Ergus via Emacs development discussions.
2020-10-11 17:02           ` Stefan Kangas
2020-10-11 16:51   ` Stefan Kangas
2020-10-12 20:53     ` Mingde (Matthew) Zeng
2020-10-11 17:22 ` Stefan Kangas
2020-10-12  1:35   ` Naoya Yamashita [this message]
2020-10-12 22:13     ` Stefan Kangas
2020-10-12 22:19       ` Qiantan Hong
2020-10-12 22:39       ` Caio Henrique
2020-10-13 13:23         ` Stefan Monnier
2020-10-13 14:14           ` Thibaut Verron
2020-10-13 14:29             ` Stefan Monnier
2020-10-13 15:29               ` Thibaut Verron
2020-10-18  9:32                 ` Phil Sainty
2020-10-13 15:25           ` Caio Henrique
2020-10-23  2:37             ` Naoya Yamashita
2020-10-23  3:41               ` John Wiegley
2020-10-23 14:33                 ` Stefan Monnier
2020-10-23 15:53                   ` Naoya Yamashita
2020-10-23 16:46                     ` Warnings in init files (was: Include leaf in Emacs distribution) Stefan Monnier
2020-10-23 18:11                     ` Include leaf in Emacs distribution T.V Raman
2020-10-23 18:41               ` Stefan Kangas
2020-10-23 20:04                 ` John Wiegley
2020-11-16  5:29                   ` Naoya Yamashita
2020-11-17  0:39                     ` John Wiegley
2020-11-20 11:04                       ` Naoya Yamashita
2020-11-20 11:29                         ` Pankaj Jangid
2020-11-20 15:44                         ` T.V Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201012.103522.1802478978485184324.conao3@gmail.com \
    --to=conao3@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=johnw@gnu.org \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).