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: Sun, 11 Dec 2022 17:35:11 -0800 Message-ID: References: <167059642832.4265.15913417645926264658@vcs2.savannah.gnu.org> <20221209143348.961DEC0E4CA@vcs2.savannah.gnu.org> <83k02zwd0z.fsf@gnu.org> <83tu22v4rx.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="39356"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, johnw@newartisans.com To: John Yates Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 12 02:35:57 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 1p4XjY-0009ua-D2 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Dec 2022 02:35:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4Xiu-00085s-2i; Sun, 11 Dec 2022 20:35:16 -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 1p4Xis-00085V-PX for emacs-devel@gnu.org; Sun, 11 Dec 2022 20:35:14 -0500 Original-Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4Xir-0002pw-7y for emacs-devel@gnu.org; Sun, 11 Dec 2022 20:35:14 -0500 Original-Received: by mail-ot1-x32d.google.com with SMTP id v15-20020a9d69cf000000b006709b5a534aso42664oto.11 for ; Sun, 11 Dec 2022 17:35:12 -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=xXYjdQ7qivrYNdhmjk7AgcdDJ8zByjM7yqh5BtmGZls=; b=WufqXrf17SrbOXy0fSdpLXs05AAsEDtv0afnRDqOXXXSOm+CFZqOvsBH7hK6QoysHG DZbvppTdd5Wgekugn5BwWbyb98cUyrBg1iTw7J6L2BdI9h1ejaIdPs2tLSn58pSQRt+7 unTfcu1v/GOlSQp6lPTUWNcE4TOTrDSZA4uoktNWGsH1Qiru349gw24DBdOxKEhioyXD 6YRYAeScJ3OAPmyJ0VkhXG0HEIAErXjLe2lF/1DKfZopW7WptH3gQIn6ngPwNi37hC42 wG7fuHa6mxMRhAMm6DkK1UD7Yhm9PA6Bds8thnOrZJ0NHGyI7Mww/BlIcOgIJ4TJ7HYw t6mA== 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=xXYjdQ7qivrYNdhmjk7AgcdDJ8zByjM7yqh5BtmGZls=; b=DLVQOAsQE2OsBI9MQ6fPp6h6KpVTDOsoTG2pwWzD+dPZjGuwX8agWNIaPQq6Rzeccs x2ge7BZ7nbukSfFArBMvmXjCvKJ0PTyHDpNLbf2MNVs7aEgU/ZW+j445g4o9/lGz74Tp YgHABChItsBgkMATCwNZtayROl0QcwQeI9pj3xoK6ON+9lrbt2wDEimz2CP2nsyW09A8 A03GrWOnOH49V6UFSGSB160gmRQ9L2dGp+iFLFErJw58v5/ehh1Hl5pgtBcHz+7LUIDN XahpqLv6tqa9uaHiNtAWqHSvhlJUkB70gWPlvAFbqipyHgQmGfBUmD5/Tqxu6VCKreYP yPOQ== X-Gm-Message-State: ANoB5pmz5SsGfxR1NsiKZcmj3SGIhFSph+/FAMHQ2eQ69Jsdc2nnsfHA SY5xMfAaaIIinwKLyX+BgpwNfjo0h/5RRhd/+uE= X-Google-Smtp-Source: AA0mqf4eontnGCHNnsDxaiYh/IviyQIRNmbYNXD+cbj9iAf75mQZ6Ia1S9qXyKzlGwhJUvBtw74B5+hdu6FBAU4MbSo= X-Received: by 2002:a05:6830:11cd:b0:66e:7741:ed1d with SMTP id v13-20020a05683011cd00b0066e7741ed1dmr11275027otq.224.1670808911826; Sun, 11 Dec 2022 17:35:11 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 11 Dec 2022 17:35:11 -0800 In-Reply-To: X-Hashcash: 1:20:221212:john@yates-sheets.org::W+5+p1a9Jwh+m7Px:5z2P Received-SPF: pass client-ip=2607:f8b0:4864:20::32d; envelope-from=stefankangas@gmail.com; helo=mail-ot1-x32d.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:301181 Archived-At: John Yates writes: > I have employed a use-package since my most recent emacs > bankruptcy five or so years back. Early on I struggled > to come up with an appropriate ordering of keywords. > Clearly many are purely declarative. But some result > in declarations and/or executable code. > > Hence this use-package comment in my .init file: > > ;; Order insensitive metadata (neither introduces nor references any > symbols, nor executes any code): [...] > ;; Order sensitive (may introduce, reference or modify symbols, and/or > may execute code): What do you mean by "ordering of keywords"? AFAIU, keywords are processed in the order they appear in `use-package-keywords'. I'm not sure why `use-package-keywords' is a defcustom though. It should only ever be changed by people implementing new keywords, and not by users, IIUC.