What is EMacro? Emacro is a .emacs configuration system for Emacs. It is:
bin | Contains shell scripts or batch files |
contrib | Optional code in testing |
doc | HTML help files |
emacro | Main elisp code libraries |
i18n | International Language code |
packages | Where to install new elisp libraries |
preferences | System generated & customized files. You may edit or delete all files in this directory |
programmer | Macro libraries for developers |
For individual file details, see manifest.html
Emacs first loads ~/.emacs or XEmacs loads ~/.xemacs/init.el.
The EMacro tar.gz file calls this file ~/init.el,
to avoid overwriting this file, if you have already created one. If you use a
package, then it is the responsibility of your system to preven file
collisions.
This init file loads ~/emacs/emacro/e-macro.el, which then loads
emacs/e-path.el. You may need to edit ~/emacs/e-path.el, to find the path to
every Emacs macro library file you expect to use.
Next, ~/emacs/preferences/e-preload.el is loaded. You can customize this file,
for any user code, before the bulk of EMacro is
executed.
Then comes ~/emacs/emacro/e-configure.el, which generates
preferences/preferences.el as necessary, checking your PATH environment
variable, and elisp libraries in the load-path.
The remaining files are loaded in no particular order. If tiny-tools are in the
load-path, then they may not load, until the idle timer detects no keyboard
activity for several seconds.
Lastly, files loaded are from the preferences directory, including the
defcustom files, where preferences from the M-x customize
or
associated pulldown menu are saved. The final file loaded is
~/emacs/preferences/e-postload.el, which contains user code.
Note that e-preload.el and e-postload.el serve a similar purpose, and are
loaded before or after the bulk of EMacro,
respectively.