<commit_before># Initial configuration for the develpment environment

## Install basic programs (for linux)
- Update apt-get list
    + $`sudo apt-get update`
- Install GNU Make
    + $`sudo apt-get install make`
- Install libncurses
    + $`sudo apt-get install libncurses-dev`
- Install tree
    + $`sudo apt-get install tree`

## Install emacs
### Install binary
- Downloa emacs (25.3) from http://gnu.askapache.com/emacs/
- Install emacs
    + $`./configure`
        - For errors (e.g. AppKit), refer to [Link](https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-09/msg00603.html)
        - Do disable gnutls, `./configure --with-gnutls=no`
    + $`make`
        - For `'libxml/tree.h' file not found` error (macOS), see [https://emacs.stackexchange.com/questions/34238/installing-emacs-from-source-make-fatal-error-libxml-tree-h-file-not-found](https://emacs.stackexchange.com/questions/34238/installing-emacs-from-source-make-fatal-error-libxml-tree-h-file-not-found).
    + $`src/emacs -Q`
    + $`make install` (or `sudo make install` if a root permission is required)
    + $`make clean`
    + $`make distclean`

### Using brew cask
- Follow steps described in [https://wikemacs.org/wiki/Installing_Emacs_on_OS_X](https://wikemacs.org/wiki/Installing_Emacs_on_OS_X).<commit_msg>Update initial_config.md<commit_after># Initial configuration for the develpment environment

## Install basic programs (for linux)
- Update apt-get list
    + $`sudo apt-get update`
- Install GNU Make
    + $`sudo apt-get install make`
- Install libncurses
    + $`sudo apt-get install libncurses-dev`
- Install tree
    + $`sudo apt-get install tree`

## Install emacs
### Install binary
- Downloa emacs (25.3) from http://gnu.askapache.com/emacs/
- Install emacs
    + $`./configure`
        - For errors (e.g. AppKit), refer to [Link](https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-09/msg00603.html)
        - Do disable gnutls, `./configure --with-gnutls=no`
    + $`make`
        - For `'libxml/tree.h' file not found` error (macOS), see [https://emacs.stackexchange.com/questions/34238/installing-emacs-from-source-make-fatal-error-libxml-tree-h-file-not-found](https://emacs.stackexchange.com/questions/34238/installing-emacs-from-source-make-fatal-error-libxml-tree-h-file-not-found).
    + $`src/emacs -Q`
    + $`make install` (or `sudo make install` if a root permission is required)
    + $`make clean`
    + $`make distclean`

### Using brew cask
- Follow steps described in [https://wikemacs.org/wiki/Installing_Emacs_on_OS_X](https://wikemacs.org/wiki/Installing_Emacs_on_OS_X).
- After installation, add `alias emacs="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"` to .bashrc
{'fraction_non_alphanumeric': 0.149275900482733, 'fraction_numerical': 0.017823988117341254, 'mean_word_length': 3.5430016863406406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4611840', 'n_tokens_mistral': 995, 'n_tokens_neox': 943, 'n_words': 202}