<commit_before>* emacs config

Emacs Version tested: 24.3.1 (stable) & 172.16.58.3 (dev branch)

** Installation

Clone my repo
: git clone https://github.com/map7/emacs-config.git ~/.emacs.d

Run installation script
: cd ~/.emacs.d
: ./install

Start emacs
: emacs

List packages (Note: M-x is emacs way of saying Alt + x)
: M-x list-packages

Install use-package with 
: M-x package-install use-package

Then restart emacs and it should start building the packages, if it asks you to build pdf-tools say yes and in the compile buffer it will show the results. If this compile is needed then after the compile is finished you will need to restart emacs again for the final run of packages.

*** Manually
 Install my sub modules
 : git submodule init

 Based upon Cask & Pallet.

 Install cask
 : curl -fsSkL https://raw.github.com/cask/cask/master/go | python

 Add path to your ~/.zshenv or ~/.bashrc file
 : # Add Cask to the path
 : export PATH="$HOME/.cask/bin:$PATH"

 Run cask which will install the [[https://github.com/rdallasgray/pallet][pallet package management tool]]
 : cd ~/.emacs.d
 : cask install

 Optional - Initialise your cask file from within emacs
 : M-x pallet-init

** exwm - Emacs X Windows Manager notes
*** Setup the session

Copy the xinitrc.sample
: cp xinitrc.sample ~/.xinitrc

Link it to .xsession to work with a desktop manager like lightdm as the default session.
: ln -s ~/.xinitrc ~/.xsession<commit_msg>readme: add dark-lord theme & iconised modeline to readme<commit_after>* emacs config

Emacs Version tested: 24.3.1 (stable) & 172.16.58.3 (dev branch)

** Installation

Clone my repo
: git clone https://github.com/map7/emacs-config.git ~/.emacs.d

Run installation script
: cd ~/.emacs.d
: ./install

Start emacs
: emacs

List packages (Note: M-x is emacs way of saying Alt + x)
: M-x list-packages

Install use-package with 
: M-x package-install use-package

Then restart emacs and it should start building the packages, if it asks you to build pdf-tools say yes and in the compile buffer it will show the results. If this compile is needed then after the compile is finished you will need to restart emacs again for the final run of packages.

*** Dark-lord-theme
The dark lord theme is loaded by default. 

**** Iconised modeline 
      A nice iconised based modeline. Tries to save on modelin re
***** Setup
      The package all-the-icons is needed. This package has been added to the init.el file and should be automatically installed. 

      The next step must be done manually. 
      You will need to download and install the fonts and icons from the following link: 
      [[https://github.com/domtronn/all-the-icons.el/tree/master/fonts][all-the-icons.el/fonts]]

****** Linux
       copy fonts into (for all users)
       : usr/local/share/fonts` 
       or (for a specific user)
       : ~/.fonts
       manually rebuild the font cache 
       : fc-cache -fv

***** Use
To manually invoke the iconised modeline theme:
: M-x dark-lord-modeline

*** Manually
 Install my sub modules
 : git submodule init

 Based upon Cask & Pallet.

 Install cask
 : curl -fsSkL https://raw.github.com/cask/cask/master/go | python

 Add path to your ~/.zshenv or ~/.bashrc file
 : # Add Cask to the path
 : export PATH="$HOME/.cask/bin:$PATH"

 Run cask which will install the [[https://github.com/rdallasgray/pallet][pallet package management tool]]
 : cd ~/.emacs.d
 : cask install

 Optional - Initialise your cask file from within emacs
 : M-x pallet-init

** exwm - Emacs X Windows Manager notes
*** Setup the session

Copy the xinitrc.sample
: cp xinitrc.sample ~/.xinitrc

Link it to .xsession to work with a desktop manager like lightdm as the default session.
: ln -s ~/.xinitrc ~/.xsession
{'fraction_non_alphanumeric': 0.09416800428036383, 'fraction_numerical': 0.006955591225254147, 'mean_word_length': 3.2977011494252872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '39983', 'n_tokens_mistral': 1177, 'n_tokens_neox': 1129, 'n_words': 486}