Hacker News new | ask | show | jobs
by newsisan 5671 days ago
Thanks for that, I used org-mode previously so went with this one. Can you briefly explain the literate org-mode addon and your init.org? Thanks
1 comments

Sure. Your init files are actually .org files so you can arrange your customisations in logical order by sections. The actual code is encapsulated between #+begin_src and #+end_src tags and the init file will generated the proper .el files for you. here's an extract:

  Personal customisations

  * Settings
  ** Paths

  #+begin_src emacs-lisp

  ;; PATH settings

  (setenv "PATH"
    (concat
     "/bin" ":"
   ;; and so on
    )
#+end_src emacs-lisp Colors Abbreviations Misc

So your .emacs becomes an org file with all the goodness, organisation and layout friendliness that implies. No need to split all your settings and elisp stuff across different files to keep it tidy - just stick them under another bullet!