emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-29 acd462b0306: ; Improve the use-package manual


From: Stefan Kangas
Subject: Re: emacs-29 acd462b0306: ; Improve the use-package manual
Date: Sat, 10 Dec 2022 12:34:20 -0800

Eli Zaretskii <eliz@gnu.org> writes:

> I'm saying that we should perhaps use "library" more and "package"
> less, because "package" is basically a misnomer here.

Right, then I understand what you're saying.  The problem here is that
"use-package" basically tries to hide away (or abstract, if you prefer)
the fact that packages and libraries are not the same thing.  Which
happens to work well 99 % of the time, but is also not a massive hurdle
for the final 1 %.  It is somewhat confusing, however, perhaps even more
so if you know the full story.

That said, I very much agree that we should try to be more precise when
possible.  Perhaps changing out "package" for "library" in several
places would be a good way to make things more clear.

>> I think we can drop either the window-system example or the system-type
>> example.  But I don't know which one is more useful.
>
> The one where there are two values, not one, I guess?

The examples we have are:

    :if (eq system-type 'gnu/linux)

and

    :if (memq window-system '(ns x))

Do you mean that the `window-system' one is the more useful one?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]