<commit_before><!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [Emacs - Elisp Programming and Customization](#emacs---elisp-programming-and-customization)
  - [Elisp](#elisp)
    - [Ielm - Elisp shell](#ielm---elisp-shell)
    - [Basic Syntax](#basic-syntax)
      - [Basic Operations](#basic-operations)
      - [Defining Variables](#defining-variables)
      - [Defining Functions](#defining-functions)
      - [List Operations](#list-operations)
      - [Association Lists](#association-lists)
      - [Strings](#strings)
      - [Eval](#eval)
      - [Control Structures](#control-structures)
    - [Functional Programming](#functional-programming)
    - [Structures](#structures)
    - [Bufffers](#bufffers)
    - [Files and Directories and OS Interface](#files-and-directories-and-os-interface)
      - [Directory and Path](#directory-and-path)
      - [Date and Time](#date-and-time)
      - [Call External Commands or Apps](#call-external-commands-or-apps)
      - [Environment Variables](#environment-variables)
      - [Read / Write file to a string](#read--write-file-to-a-string)
    - [Windows Functions](#windows-functions)
    - [Special Variables](#special-variables)
  - [Discoverability / Get Documentation](#discoverability--get-documentation)
    - [Describe](#describe)
  - [Bytecodes](#bytecodes)
  - [Documentation](#documentation)
    - [References](#references)
    - [Developement Environments for Emacs](#developement-environments-for-emacs)
    - [Selected Dot Emacs](#selected-dot-emacs)
    - [Space Emacs Default Config](#space-emacs-default-config)
    - [Selected Codes](#selected-codes)
    - [Screencasts](#screencasts)
  - [Customization](#customization)
    - [Hide / Show Emacs Widgets](#hide--show-emacs-widgets)
    - [Themes](#themes)
    - [Misc](#misc)
    - [Quiet Startup](#quiet-startup)
  - [Solutions](#solutions)
    - [Refresh/ Reload File](#refresh-reload-file)
    - [Extract Function Documentation](#extract-function-documentation)
    - [Edit File as Root](#edit-file-as-root)
    - [Open Current Buffer Directory](#open-current-buffer-directory)
    - [Open Current Buffer Directory in File Manager](#open-current-buffer-directory-in-file-manager)
    - [Open a terminal Emulator in the directory of Current Buffer](#open-a-terminal-emulator-in-the-directory-of-current-buffer)
    - [Eval String in Clipboard](#eval-string-in-clipboard)
    - [Save and Reload Current Session](#save-and-reload-current-session)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

# Emacs - Elisp Programming and Customization


Emacs is an scriptable text editor written in the lisp dialect: Elisp.

* http://homepage1.nifty.com/bmonkey/emacs/elisp/completing-help.el
* http://www.reallysoft.de/code/emacs/snippets.html#b4ac15 

**Configuration File**

``` 
~/.emacs.d/init.el
```

## Elisp

### Ielm - Elisp shell
<commit_msg>Added emacs command line description<commit_after><!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [Emacs - Elisp Programming and Customization](#emacs---elisp-programming-and-customization)
  - [Elisp](#elisp)
    - [Ielm - Elisp shell](#ielm---elisp-shell)
    - [Basic Syntax](#basic-syntax)
      - [Basic Operations](#basic-operations)
      - [Defining Variables](#defining-variables)
      - [Defining Functions](#defining-functions)
      - [List Operations](#list-operations)
      - [Association Lists](#association-lists)
      - [Strings](#strings)
      - [Eval](#eval)
      - [Control Structures](#control-structures)
    - [Functional Programming](#functional-programming)
    - [Structures](#structures)
    - [Bufffers](#bufffers)
    - [Files and Directories and OS Interface](#files-and-directories-and-os-interface)
      - [Directory and Path](#directory-and-path)
      - [Date and Time](#date-and-time)
      - [Call External Commands or Apps](#call-external-commands-or-apps)
      - [Environment Variables](#environment-variables)
      - [Read / Write file to a string](#read--write-file-to-a-string)
    - [Windows Functions](#windows-functions)
    - [Special Variables](#special-variables)
  - [Discoverability / Get Documentation](#discoverability--get-documentation)
    - [Describe](#describe)
  - [Bytecodes](#bytecodes)
  - [Documentation](#documentation)
    - [References](#references)
    - [Developement Environments for Emacs](#developement-environments-for-emacs)
    - [Selected Dot Emacs](#selected-dot-emacs)
    - [Space Emacs Default Config](#space-emacs-default-config)
    - [Selected Codes](#selected-codes)
    - [Screencasts](#screencasts)
  - [Customization](#customization)
    - [Hide / Show Emacs Widgets](#hide--show-emacs-widgets)
    - [Themes](#themes)
    - [Misc](#misc)
    - [Quiet Startup](#quiet-startup)
  - [Solutions](#solutions)
    - [Refresh/ Reload File](#refresh-reload-file)
    - [Extract Function Documentation](#extract-function-documentation)
    - [Edit File as Root](#edit-file-as-root)
    - [Open Current Buffer Directory](#open-current-buffer-directory)
    - [Open Current Buffer Directory in File Manager](#open-current-buffer-directory-in-file-manager)
    - [Open a terminal Emulator in the directory of Current Buffer](#open-a-terminal-emulator-in-the-directory-of-current-buffer)
    - [Eval String in Clipboard](#eval-string-in-clipboard)
    - [Save and Reload Current Session](#save-and-reload-current-session)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

# Emacs - Elisp Programming and Customization


Emacs is an scriptable text editor written in the lisp dialect: Elisp.

* http://homepage1.nifty.com/bmonkey/emacs/elisp/completing-help.el
* http://www.reallysoft.de/code/emacs/snippets.html#b4ac15 

**Configuration File**

``` 
~/.emacs.d/init.el
```


## Command Line Options

Start emacs ignoring the ~/.emacs.d/init.el or ~/.emacs configuration file.

```
$ emacs --no-init-file

or

$ emacs -q
```

Start Emacs with a custom configuration file:

```
$ emacs -q -l customstart.el 
```

Debug Emacs configuration file: ~/.emacs.d/init.el or ~/.emacs

```
$ emacs  --debug-init
```

Show Emacs version

```
$ emacs --version
```

## Elisp

### Ielm - Elisp shell

{'fraction_non_alphanumeric': 0.15266362252663623, 'fraction_numerical': 0.0012176560121765602, 'mean_word_length': 3.630725863284003, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4903518', 'n_tokens_mistral': 2190, 'n_tokens_neox': 1986, 'n_words': 436}