Giter VIP home page Giter VIP logo

Comments (9)

tarsius avatar tarsius commented on July 17, 2024

Ah crap, I have started using it again... will fix today. (And add a comment to prevent this from happening in the future.)

from with-editor.

npostavs avatar npostavs commented on July 17, 2024

Maybe enabling CI here could help us too?

from with-editor.

tarsius avatar tarsius commented on July 17, 2024

Maybe enabling CI here could help us too?

Sure I have just done that on the travis branch.

But that would not help us catch compile warnings. Do you know how to turn those into errors? (I would like if you would still see all warning before compiling is aborted and Emacs exits.)

But even then we would not have caught this. For some reason this does not even give a warning. https://travis-ci.org/magit/with-editor/jobs/280556868

from with-editor.

tarsius avatar tarsius commented on July 17, 2024

For some reason

Ah! This is not correct:

pcase-dolist is not available in emacs-24.5.

It's only not autoloaded.

Which means that we should not only require pcase at compile time. (1b7f6ef#commitcomment-24599013)

from with-editor.

npostavs avatar npostavs commented on July 17, 2024

But that would not help us catch compile warnings. Do you know how to turn those into errors?

Yes, I have done this for el-get's test scripts, I will put something up tonight.

It's only not autoloaded.
Which means that we should not only require pcase at compile time.

Sorry, I'm getting a bit confused with the not only/only not, could you elaborate please?

from with-editor.

tarsius avatar tarsius commented on July 17, 2024

We have to require it at load-time too.

from with-editor.

npostavs avatar npostavs commented on July 17, 2024

Hmm, I don't see why; it's a macro so it should only be needed while compiling, no?

from with-editor.

tarsius avatar tarsius commented on July 17, 2024

Ah you are right.

from with-editor.

npostavs avatar npostavs commented on July 17, 2024

But that would not help us catch compile warnings. Do you know how to turn those into errors?

Yes, I have done this for el-get's test scripts, I will put something up tonight.

In fact, it was even more trivial than I remembered. For el-get I had made something fancier to disable some warnings on different versions, here we just need to set byte-compile-error-on-warning. See #39.

from with-editor.

Related Issues (20)

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.