Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the best way to try some confirgures with Emacs(for instatce Prelude and emacs-live)

  1. To have such structure ~/.emacs-prelude, ~/.emacs.d-prelude and ~/.emacs-live, ~/.emacs.d-live. And remove appropriate suffix, every tive when I whant to try some config. I can make script for fast renaming, depending on passed options.
  2. To have only "init" files separated(~/.emacs-prelude and ~/.emacs-live) and ~/.emacs.d - in common, so I can start emacs -q -l ~/.emacs-prelude.el . But I have to merge my .emacs.d dirs from both before. Not sure about conflicts in this case...

So, my goal is to achieve something like this: emacs-start --live(--prelude) ....

P.S. Should I deal with site-file? What if I want to save bookmarks and use them with both configurations?...

share|improve this question

migrated from stackoverflow.com Mar 21 '13 at 19:08

This question came from our site for professional and enthusiast programmers.

1 Answer 1

The best way to change emacs configurations is to use symbolic links for .emacs and .emacs.d/. Just point them to the configuration you are currently interested in.

Using links, you can also share things like bookmarks between configurations.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.