Difference between revisions of "User's Initialization File"

From WikEmacs
Jump to navigation Jump to search
(6 intermediate revisions by 5 users not shown)
Line 6: Line 6:
 
== Configuration Example ==
 
== Configuration Example ==
  
Your a good example of an init file check out some of the starter kits, like [[Prelude]].
+
For a good example of an init file check out some of the starter kits, like [[Prelude]].
  
 
== Debugging the Init file ==
 
== Debugging the Init file ==
Line 18: Line 18:
 
== See Also ==
 
== See Also ==
  
* [[Prelude]]
+
* [[Prelude]], a much more powerful and productive set of initial configuration than the one you get out of the box.
 
* [[Emacs Starter Kit]]
 
* [[Emacs Starter Kit]]
 +
* [[package.el]], the built-in package manager in Emacs 24.
  
 
== External links ==
 
== External links ==
  
 +
* {{Manual|emacs|Init-File|The Init File}}
 
* [http://ola-bini.blogspot.com/2008/05/how-large-is-your-emacs.html How Large is Your .emacs?]
 
* [http://ola-bini.blogspot.com/2008/05/how-large-is-your-emacs.html How Large is Your .emacs?]
  

Revision as of 13:44, 29 August 2014

User's Initialization File or dotemacs or init file is a file to store your configurations/customizations for Emacs written in Emacs Lisp, located at either ${HOME}/.emacs.d/init.el or (archaically) at ${HOME}/.emacs or at %HOME%\_emacs on MS Windows.

The most reliable way to find our the place of the initialization file on your system is to check the value of the user-init-file variable.

Configuration Example

For a good example of an init file check out some of the starter kits, like Prelude.

Debugging the Init file

$ emacs --debug-init

Running the above command will enable the Emacs Lisp debugger for errors in the init file.

See Also

  • Prelude, a much more powerful and productive set of initial configuration than the one you get out of the box.
  • Emacs Starter Kit
  • package.el, the built-in package manager in Emacs 24.

External links