Code Monkey home page Code Monkey logo

Comments (4)

freetonik avatar freetonik commented on September 3, 2024

Hi,

Since we have init.el + private.el, I guess we should have early-init.el + early-init-private.el. What do you think?

from castlemacs.

takaxp avatar takaxp commented on September 3, 2024

In my case, I use .emacs that is a traditional way.
For example, I put some settings and loading init.el explicitly in my .emacs.

;; pur your setting for benchmarking settings before loading init.el
(defconst my-profiler-p nil
  "If non-nil, use built-in profiler.el.")
(when my-profiler-p
  (profiler-start 'cpu+mem))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))

;; load init.el
(load "~/Dropbox/emacs.d/config/init.el" nil t)

;; report profile result if my-profiler-p is non-nil
(when my-profiler-p
    (profiler-report))

from castlemacs.

Pilgrim1379 avatar Pilgrim1379 commented on September 3, 2024

Hi,

Since we have init.el + private.el, I guess we should have early-init.el + early-init-private.el. What do you think?

Yeah I like the semantics of early-init-private.el.

It probably should come with a caveat in the README that no package specific settings can be included in that file since use-package would probably not have been bootstraped yet when it is processed?

from castlemacs.

freetonik avatar freetonik commented on September 3, 2024

Yes, you're right. It's time to include a whole section on both private config files. I'll work on this later this week.

from castlemacs.

Related Issues (19)

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.