help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: use-package :after ??


From: Eli Zaretskii
Subject: Re: use-package :after ??
Date: Tue, 16 May 2023 19:19:21 +0300

> From: David Masterson <dsmasterson@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Mon, 15 May 2023 15:27:53 -0700
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: David Masterson <dsmasterson@gmail.com>
> >> Cc: help-gnu-emacs@gnu.org
> >> Date: Sun, 14 May 2023 23:16:52 -0700
> >> 
> >> If a, b, and c were all ':defer t' and a had ':bind ("C-." . b-mode)'
> >> and I later hit that key, that would load c, then b, then a -- right?
> >
> > No, based on my reading of the docs I think it will cause an error
> > (because b cannot be loaded without c being loaded).
> 
> D**n typo -- it should've been 'a-mode'.

I don't think it matters.  AFAIU, :bind doesn't load the package
except via explicit autoloads (i.e. not via use-package machinery).

> My question was that the :bind key would force the load of the
> bottom of the tree and the :afters would then force loading of the
> parent packages.

:after cannot force loading the parents, AFAIU.  I don't understand
why you think it should (or could).



reply via email to

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