-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tons of warnings when using certain PG features #686
Comments
Looks like compilation messages. Probably the first time some file is loaded triggers it's compilation. @hendriktews any idea? |
@erikmd ? |
Looks like compilation messages. Probably the first time some file is loaded
triggers it's compilation. @hendriktews any idea?
Indeed, it's probably the native compilation: In Emacs≥28, if your Emacs
is built with support for native compilation, `.elc` files get (re)compiled
lazily (i.e. in response to their first use) to `.eln` files.
Stefan
|
I am seeing warnings like this not just from PG but also other emacs plugins. It is quite annoying... but I found the 'native-comp-async-report-warnings-errors' option which will hopefully disable this behavior. |
So far it seems to have worked. Hard to tell though since this is non-reproducible -- it only happens the first time a feature is used (the first time a file is loaded, I guess). |
So far it seems to have worked. Hard to tell though since this is
non-reproducible -- it only happens the first time a feature is used (the
first time a file is loaded, I guess).
You should be able to reproduce it at will if you remove the
corresponding `.eln` file(s) which should be somewhere underneath
~/.emacs.d/eln-cache/
|
I deleted the cache and got no warnings. So, looking good! |
@monnier is there something else we can do except fix each and every warning in the code?
Not really, no. Often most warnings are linked to problems of
"missing `require`" so the warnings can be fixed more than one at
a time, but it may necessitate significant reorganization.
|
OK let us have this on our todo list then. I suspect in 6 months everybody will have switched to emacs 28 so we should at least reduce the warnings to a few ones before that... |
I just encountered this. FYI, the last release of Fedora to ship an |
Should we close this? The problem exists, but we won't fix it soon. |
For a few weeks now, the first time I am using certain PG features often leads to tons of warnings. When I do the same thing again, the warnings do not repeat. Feels a bit like some warning deduplication mechanism?
Here's what I just got when clicking "Proof General - Quick Options - Processing - Omit Proofs" (which was enabled, so this click disabled it):
The text was updated successfully, but these errors were encountered: