From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: emacs-29 acd462b0306: ; Improve the use-package manual Date: Sat, 10 Dec 2022 12:34:20 -0800 Message-ID: References: <167059642832.4265.15913417645926264658@vcs2.savannah.gnu.org> <20221209143348.961DEC0E4CA@vcs2.savannah.gnu.org> <83k02zwd0z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35376"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, johnw@newartisans.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 10 21:34:40 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p46YS-0008vs-3a for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Dec 2022 21:34:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p46YE-0003Ac-G9; Sat, 10 Dec 2022 15:34:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p46YC-00036Y-Ov for emacs-devel@gnu.org; Sat, 10 Dec 2022 15:34:24 -0500 Original-Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p46YA-0002tL-0l; Sat, 10 Dec 2022 15:34:24 -0500 Original-Received: by mail-ot1-x332.google.com with SMTP id m7-20020a9d6447000000b0066da0504b5eso4949864otl.13; Sat, 10 Dec 2022 12:34:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=A3ad0ItU7AK49EbvQoFp2qftmZ8J6EO7igb+PuJRb7s=; b=LUupGols/0OnvMOPpLm6OJeR36LBF8SMRjuctcP5J0aGr458DgxLyknfv6jOnMFPc+ vPqamoTznRjCQWjgrtkmjnXBrU6g7lzxreNCNK9V424zXcnIXYV2CPYfq8pPwcR1rNLz 8HpPedcFx/YHx+fU/1ploGkILdPIDhistY4EpwWmVsBdrOaxWvgdRgilu5+CZmhMv0n0 1jwiVuWd7id++jzdzRis1ZGBCT68BBIehAaymrQrlSH+dW2xFO6f4o4ayLdIz9fuo/nf a7eAIw90eLmcHVdasJ+mhprHcpQM4ou6y/bn7h4O/wDwXENs8cEy1ijk49upy2KPqini u2qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A3ad0ItU7AK49EbvQoFp2qftmZ8J6EO7igb+PuJRb7s=; b=gf04JiLYEmnUI0Y2LlHVoV3TQykm00yzVYUdJA5xMCZcfvEv0H4WbDAIV57pMuEOM7 fFskq4htxboWGMw38tttxfVheQMXLOJES5D+ZmGRONUI4QS/k+fTFz0EyvOWvF5GjxSw jVYW+15Mfl+vFpy7c0arxOifnENU/1Qm+ikQkrxHpDnf/iFja9Nx4bpZCwCnLQTJiUi2 cgDOicGtlITcxzCwEQTErvHRkAWbbCN8ny2jpwFCyNA1zM4C+CxzQyvpHAeTNCgrSRwP pxsjrSV261oIU7Te1DQPs2/f9Wx87SQai131l9U/Q7NGft64pVVMcxtbWKEvju2SYOQY FsEw== X-Gm-Message-State: ANoB5pkEuXoxfFRQnlY0TawwQbDRG3MqPyioaNCrNug9tVmGmJCZFgE2 BDERV6rjp4WqsgBfb99/dOZMqBkQkgBjOUUpGLG2UKt0 X-Google-Smtp-Source: AA0mqf6dRzH8PDpkvP5oVbUlY8aLc8QZ5YvPpMQmfACqTr8vLs6dxUfbhhoq4R7SSMOXhpavc1pcwyFOhkK7bCvQ9tk= X-Received: by 2002:a9d:6203:0:b0:66e:f6cb:cb4e with SMTP id g3-20020a9d6203000000b0066ef6cbcb4emr7953242otj.105.1670704460799; Sat, 10 Dec 2022 12:34:20 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 10 Dec 2022 12:34:20 -0800 In-Reply-To: <83k02zwd0z.fsf@gnu.org> X-Hashcash: 1:20:221210:eliz@gnu.org::BbER/rXi6PhvHgKA:26+g Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=stefankangas@gmail.com; helo=mail-ot1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301132 Archived-At: Eli Zaretskii 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?