Giter Site home page Giter Site logo

Comments (9)

purcell avatar purcell commented on August 15, 2024

You're on the same Emacs and OS as me, so I know this can work.

Under ~/.emacs.d/elpa/ you should have a subdir called rainbow-delimiters-20111125 -- is that missing, or differently-named?

(By the way, in your init-local.el, you'll also need a (provide 'init-local) at the end.)

from emacs.d.

priyadarshan avatar priyadarshan commented on August 15, 2024

I have rainbow-delimiters-20120424.

You are right of course, (provide 'init-local) was missing.

For the theme, I have color-theme-sanityinc-solarized-2.12

from emacs.d.

priyadarshan avatar priyadarshan commented on August 15, 2024

I tried this, with a test init-local.el

(setq mac-option-modifier 'super) ;; just for testing
(message "message")
(provide 'init-local)

Still, at startup it is not loading. If i do M-x load file with ~/.emacs.d/init-local.el, then it gets loaded.

from emacs.d.

purcell avatar purcell commented on August 15, 2024

Looks like rainbow-delimiters.el got removed from the emacswiki upstream, so the package you have is broken. I've fixed the Melpa recipe now, so uninstall the rainbow-delimiters package, and then reinstall it (or restart Emacs) once the Melpa page has been updated to show "github" in the "source" column next to "rainbow-delimiters".

Regarding the init-local, once the provide line has executed, any further invocation of (require 'init-local) will do nothing. You would need to restart Emacs, or use eval-buffer or load-file for changes to take effect.

-Steve

from emacs.d.

priyadarshan avatar priyadarshan commented on August 15, 2024

Ok, I will do and let you know. Thanks!

from emacs.d.

priyadarshan avatar priyadarshan commented on August 15, 2024

Now that error message is gone, and the theme loads fine. Thank you!

It is not clear to me how to load automatically 'init-local' .You said:

Regarding the init-local, once the provide line has executed, any further invocation of (require 'init-local) will do nothing. You would need to restart Emacs, or use eval-buffer or load-file for changes to take effect.

Isn't that file first loaded by the (require 'init-local) in init.el? The (provide 'init-local) comes after that, like in all the other init-...el files. I am a little confused.

from emacs.d.

purcell avatar purcell commented on August 15, 2024

Yes - without modifying any of the pre-existing files, if you add an ~/.emacs.d/init-local.el file containing code like this:

your config here
(provide 'init-local)

then it should get loaded automatically at startup. That's what I tested locally, and it works for me.

-Steve

from emacs.d.

priyadarshan avatar priyadarshan commented on August 15, 2024

Thank you so much Steve. I restarted Emacs again, and now everything works as it should.

Thank you so much for your time and patience.

from emacs.d.

purcell avatar purcell commented on August 15, 2024

No problem - happy hacking.

from emacs.d.

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.