Giter VIP home page Giter VIP logo

Comments (9)

phikal avatar phikal commented on August 16, 2024

The macro cl-left is auto-loaded, so this might actually be a Flymake issue?

from buffer-env.

manuel-uberti avatar manuel-uberti commented on August 16, 2024

Beside some typo fixes, I see no major changes in recent Flymake commits though.

from buffer-env.

phikal avatar phikal commented on August 16, 2024

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.

astoff avatar astoff commented on August 16, 2024

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.

manuel-uberti avatar manuel-uberti commented on August 16, 2024

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.

astoff avatar astoff commented on August 16, 2024

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.

manuel-uberti avatar manuel-uberti commented on August 16, 2024

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.

astoff avatar astoff commented on August 16, 2024

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.

manuel-uberti avatar manuel-uberti commented on August 16, 2024

Here we go: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59714 :)

from buffer-env.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.