Hacker News new | past | comments | ask | show | jobs | submit login

Why not simply post a .el file that people can load or copy paste into their existing config?



The issue is that depending on your OS and installation method, the paths you need to use for your configuration file can vary greatly. This automates finding those paths and writing them to the configuration file.


which is why my .config/emacs/init.el has this in it:

    (cond ((eq system-type 'darwin)
           (macos-config))
          ((eq system-type 'gnu/linux)
           (linux-config))
          ((eq system-type 'windows-nt)
           (windows-config)))


That solves the OS differences but not the differences in installation methods, ie compiled from source, system package manager, Windows installer, KERL, Homebrew, etc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: