emacs-devel
[Top][All Lists]
Advanced

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

Re: Adding use-package to ELPA


From: Stefan Monnier
Subject: Re: Adding use-package to ELPA
Date: Mon, 07 Mar 2022 18:40:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> True, so this is certainly worth investigating.  Yet this is only part
> of the problem, as function have a similar pattern, but they cannot
> reliably be detected in this way.  E.g.
>
>   (setup foo (:hook bar))
>
> wouldn't be able to infer that bar is a function that exists, just
> because it is being added to foo-bar-mode.

There should be some reason to believe that `bar` will exist.
Without more info about where `bar` will come from, I can't begin this
think about how we can arrange to silence this warning.

> I'm glad to see that there are always some details about macros one
> doesn't know about.

This one is new in Emacs-29, thanks to Alan's "symbol with pos" feature.
See, even once you get to know it all, we introduce new details to keep
you entertained.

>>> I just tried something like this, but it doesn't seem to work.
>> I'm glad to see that I'm still able to write incorrect code.
> Eh, my bad, I had used (macroexp-compiling-p) that apparently didn't do
> the right job.

Hmm... it *should* work.
Feel free to send me further info personally so we can fix the problem.


        Stefan




reply via email to

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