all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: John Yates <john@yates-sheets.org>
Cc: emacs-devel@gnu.org, johnw@newartisans.com
Subject: Re: emacs-29 acd462b0306: ; Improve the use-package manual
Date: Sun, 11 Dec 2022 17:35:11 -0800	[thread overview]
Message-ID: <CADwFkm=zT7eGQsOf0jaN1s0+jXpJ=F4FPnt1vYKbVnqA7Y7J9w@mail.gmail.com> (raw)
In-Reply-To: <CAJnXXogePXAWm1zHqe9iTfq9Jpfpv5=m1mHCbNj+zqrMYRGLDQ@mail.gmail.com>

John Yates <john@yates-sheets.org> 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.



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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <167059642832.4265.15913417645926264658@vcs2.savannah.gnu.org>
     [not found] ` <20221209143348.961DEC0E4CA@vcs2.savannah.gnu.org>
2022-12-10 11:57   ` emacs-29 acd462b0306: ; Improve the use-package manual Stefan Kangas
2022-12-10 14:26     ` Eli Zaretskii
2022-12-10 20:34       ` Stefan Kangas
2022-12-11  6:22         ` Eli Zaretskii
2022-12-11 14:24           ` Stefan Monnier
2022-12-11 20:04             ` John Yates
2022-12-12  1:35               ` Stefan Kangas [this message]
2022-12-12  1:34             ` Stefan Kangas
2022-12-10 16:20     ` Stefan Monnier
2022-12-10 16:30       ` Philip Kaludercic
2022-12-10 16:40         ` Stefan Monnier
2022-12-12 19:37           ` John Wiegley
2022-12-12 20:06             ` Philip Kaludercic
2022-12-10 20:33       ` Stefan Kangas
2022-12-10 22:01         ` Stefan Monnier
2022-12-11  7:09           ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to='CADwFkm=zT7eGQsOf0jaN1s0+jXpJ=F4FPnt1vYKbVnqA7Y7J9w@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=john@yates-sheets.org \
    --cc=johnw@newartisans.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.