Giter Site home page Giter Site logo

nxhtml recipe doesn't work about el-get HOT 6 CLOSED

dimitri avatar dimitri commented on August 18, 2024
nxhtml recipe doesn't work

from el-get.

Comments (6)

dimitri avatar dimitri commented on August 18, 2024

What did you try?

from el-get.

marktran avatar marktran commented on August 18, 2024

Sorry, I should have been more specific.

I tried to el-get-install nxhtml on Emacs 23.2. It started to byte compile the files and then tossed me in the debugger. I'll dig a little deeper this evening to see if I can fix it.

from el-get.

dimitri avatar dimitri commented on August 18, 2024

Well it seems like emacs is confused and seeing (require 'nxhtml) it tries to load the recipe file, which is not valid Emacs Lisp code, but just Elisp data. It could mean it's time for the recipes to stop being *.el files.

from el-get.

dimitri avatar dimitri commented on August 18, 2024

Now that I think some more about it, why the hell your recipe path is into your load-path?

from el-get.

marktran avatar marktran commented on August 18, 2024

Aha, that was it.

I've been doing so much reorganizing of my Emacs configuration around el-get that I didn't realize I had this:

(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
    (let* ((lisp-dir (expand-file-name "~/.emacs.d/"))
           (default-directory lisp-dir))
      (setq load-path (cons lisp-dir load-path))
      (normal-top-level-add-subdirs-to-load-path)))

which, of course, was adding all of the subdirectories to my load-path. I removed it and now nxhtml installs properly. Thanks for your insight!

from el-get.

dimitri avatar dimitri commented on August 18, 2024

Hehe, I'm glad it was that "easy" after all --- no patch nor bugfix for me to do :)

from el-get.

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.