Skip to content

raom2004/dot-emacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Linux configuration files are known as dotfiles. In the Emacs editor the customization file is called init and can have different locations, like ~/.emacs, ~/.emacs.el, or ~/.emacs.d/init.el. Thus, everytime that Emacs is invoqued, it will verify these locations looking for an init file to load.

Emacs users constantly add new code to ~/.emacs.d/init.el, which can grow very fast becoming a unique init file, extremelly large, difficult to maintain, and slow to load. But, Emacs can be open using a specific init file. You just need to set the options -q and -l when you call emacs, like in this example:

emacs -q -l ~/.emacs.d/my-init-file.el

This confers to Emacs the flexibility to be open using a customization file designed for an specific purpose, like:

  • Text edition
  • Code programming
  • Or suited for an explicit project

This way, you can open an Emacs instance preloaded only with the tools required for an specific assignment, nothing more, nothing less.

This is exactly the purpose of this git repo, to store the init files that I will be creating to customize Emacs for programming, professional text edition, and many more.

The objective is to keep the Emacs customizations, clean, readabe and maintainable. This way the code is coherent and efficient to load. And I mention this because start an emacs instance that fulfills your requirements, in just 2 or 3 seconds, is a pleasure.

Emacs init files

The emacs init files are lisp code located in the root directory ./. But this files are originally writed as org files, located in ./src-org. Each lisp code block has been exported using the header argument :tangle.

init-essentials.el

definitive file: init-essentials.el org source file: init-essentials.org

This is an Emacs general customization for everyday day work, with the fundamentally important, and necessary tools.

cat $HOME/Projects/dot-emacs/init-essentials.el | grep -n '^;;;~'

Future init files

  • Basic org support for literate programming
  • Professional document edition using TeX, LaTeX and bibtex
  • Programming support, with control version (git), autocompletion and spell checking
  • Python programming with virtual environments support
  • R statistics programming (R) and ESS support
  • Extended enconding support

About

emacs customization, including support for scientific writting, literate programing, statistics, own theme and many more...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors