Comments (9)
The macro cl-left
is auto-loaded, so this might actually be a Flymake issue?
from buffer-env.
Beside some typo fixes, I see no major changes in recent Flymake commits though.
from buffer-env.
The information for Emacs Lisp's Flymake backend comes from the byte compiler, so it might be that the byte-compiler was recently made more strict. Either way, your suggestion to require cl-lib at compile-time if a cl-lib macro is being used is correct. Augusto has to decide if it is worth complicating the README for this sake...
from buffer-env.
Well, this is confusing. If the macro is autoloaded (as emacs -Q tells me it is), then we shouldn't need the require, right? If this changed recently, it's bound to break other things as well...
from buffer-env.
Well, this is confusing. If the macro is autoloaded (as emacs -Q tells me it is), then we shouldn't need the require, right? If this changed recently, it's bound to break other things as well...
Do you want me to file a bug on the Emacs tracker referencing this ticket?
from buffer-env.
Do you want me to file a bug on the Emacs tracker referencing this ticket?
Probably. I did some tests locally. If I evaluate say
(cl-letf (((default-value 'process-environment) nil)))
on a fresh emacs -Q, then I get an error the first time, and then in a second attempt it works — probably because cl-lib got loaded in the process of displaying the error message. So maybe the reason why you started to get this error is because you removed something from your config that used to load cl-lib as a side-effect?
from buffer-env.
So maybe the reason why you started to get this error is because you removed something from your config that used to load cl-lib as a side-effect?
It could very well be, but I have to track down what I removed. Also, the question remains: should it be autoloaded? If so, do we need to report this as a bug?
from buffer-env.
This may turn out to have some reasonable explanation and not to be a bug, but to me the fact that cl-letf
is an autoloaded macro should mean you can pretend it's always available to use. So if you want to report a bug I think it would be nice!
from buffer-env.
Here we go: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59714 :)
from buffer-env.
Related Issues (12)
- Alternative to Customize? HOT 6
- `format-prompt` not defined in Emacs 27 HOT 4
- Support pyproject.toml HOT 1
- Temporarily disable hack-local-variables-hook? And misc org-babel issues. HOT 4
- Support specifying a command directly HOT 4
- Setting buffer-env-command locally HOT 3
- buffer-env-active mention in README does not exist
- Fails to activate virtualenv interactively HOT 13
- How to inherit environment from manifest.scm to external applications HOT 2
- Saving buffer-env-safe-files: wrong-type-argument listp t HOT 15
- Adding buffer-env-update to hack-local-variables-hook does not affect buffers without files HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buffer-env.