Emacs. All. Index
major entries
Emacs Main. Table of Contents
Quick Start
- Download
- Show Version
- Launch
- Exit
- Graphical Menu
- Basic Key Shortcuts
- How-To
- Fun Features
- Microsoft Windows Tips
Font
Split Window
File
- Open, Save, Save As, Close, Quit
- File Manager, dired
- Batch Rename Files
- Bookmark
- Open Recently Opened File
Buffer
Copy Paste
Search Text
Find Replace
Unicode
Whitespace
Sort
Rectangle Edit
Shell
View Special File
Org Mode
Name Completion
- Icomplete, Minibuffer Name Completion
- fido-mode (Minibuffer Name Completion)
- fido-mode vs icomplete-mode
Emacs Efficiency
- Key Macro
- Jump to Previous Position
- Repeat Last Command
- Fullscreen vs Multiple Windows
- Narrow to Region
- Master Tips
Misc
- Terminal vs Graphical User Interface
- Command to Open Menu
- Emergency vim Tutorial
- Chinese Input
- Spell Check
- Edit Tables
- Version Control Commands (git)
Emacs Principles
Emacs Init Setup. Table of Contents
Init Basics
Font
Keys
Text Editing
- Type Overwrite Selection
- Tab, Indent
- Auto Insert Closing Bracket (electric-pair-mode)
- isearch Whitespace Regex
- Move Cursor by camelCase, snake_case (subword-mode)
Completion
File
Restore Things
Backup, Auto Save
- Emacs: Real Automatic Save File
- Emacs: #auto-save# (hashtag filename)
- Emacs: Auto Backup~ (tilde postfix)
Line Editing
- Show Line Numbers
- Emacs: Hard-Wrap Lines (fill-region)
- Emacs: Visual Line Mode
- Arrow Key for Screen Line or Logical Line
Line Appearance
- Highlight Current Line
- Show Cursor Column Position
- Ruler Mode
- Emacs: Toggle Word Wrap
- Emacs: Line Wrap
- Line Height
Appearance
Misc
- Emacs: Bookmark Init
- Emacs: Misc Init Tips
- Emacs: Command Name Alias
- Stop Cursor Going into Minibuffer Prompt
Advanced Init Tips
- Emacs: Major Mode
- Emacs: Minor Mode
- Emacs: Show Variable Value and Doc
- M-x customize
- Organize Init File
- Emacs: Byte Compile Elisp Files
- Hook
- Environment Variables
- Get Version, Host Name, User Name, Init Dir
packages
Emacs Keys ⌨. Table of Contents
Overview
How-To
- Define Key
- Keybinding Functions, Emacs 29 Change
- Syntax
- Change Major Mode Keys
- Change Minor Mode Keys
- Change Minibuffer Keys
- Minor Modes Key Priority
- Key Sequence
- Major-Mode Dependent Key
- Meta Key
- Super Hyper
- Menu Key
- Repeat Command by Key, Transient Map
- Set Key to Insert Unicode Emoji
- Remap Key, translation-keymaps
- emacs init: Mouse Button Syntax
Key Tips
- emacs init: Standard Copy Cut Paste Keys
- Add Custom Keys to Enhance Productivity
- emacs init: isearch by Arrow Keys
- Emacs: Bind Number Pad Keys
- Emacs: 1 Key for M-x
Emacs Pinky
- Best Keyboards for Emacs
- Why Emacs Keys are Painful
- How to Avoid Emacs Pinky
- Emacs: Command Frequency Statistics
- Emacs: Why You Should Not Swap CapsLock and Control
- Famous Programers with Repetitive Strain Injury
- Xah Lee, Typing Experience and Repetitive Strain Injury
Misc
Elisp: Lisp Basics. Table of Contents
Quick Start
Working with Elisp
- Emacs: Evaluate Elisp Code
- Emacs: Show Function Documentation
- Emacs: Search Function by Name
- Emacs: How to Edit Lisp Code
String
- String
- Unicode Escape Sequence
- String Functions
- Replace String or Regex in String
- Join Strings, Codepoints to String
- String Comparison, Equality, Order
- Format String
- Convert Number, String
- Character Type
Number
Boolean
Variable
- Variable
- Destructure Binding (seq-setq, seq-let)
- Place Expression, Generalized Variable
- Buffer Local Variable
- emacs init: Environment Variables
- Emacs: Show Variable Value and Doc
- Emacs: Search Variable by Name
Conditionals
Loop
Lisp Data Structure
List
- List
- Create List
- List, Get Elements
- Modify List
- List Iteration
- Check Element Exist in List
- Remove Elements in List
- Backquote Reader Macro for List
Special Lists
List Structure
Vector
Sequence
- Sequence Type
- Sequence Functions
- Sequence. Take, Drop, Slice
- Sequence. Iteration Guide
- Sequence. Map
- Sequence. Foreach
- Sequence. some, every (conditional exit)
- Sequence. Filter
- Sequence. Insert or Remove
- Sequence. Find
- Sequence. Sort, Reverse
- Sequence. Join, Convert
- Sequence. Union, Intersection, Difference
- Sequence. Partition, Group
- Sequence. Min, Max, Random
Hash Table
JSON Read Write
Function
- Define Function
- Define a Command
- Function Parameters (optional, rest)
- Function Keyword Parameters (Named Parameters)
- Docstring Markup
- Lambda Function
- Exit Loop or Function (throw, catch)
- Apply Function, funcall, identity
- Types of Functions
Symbol
Regular Expression
- Regular Expression
- Regex Functions
- Emacs: Regular Expression Syntax
- Regex Backslash in Lisp Code
- Case Sensitivity (case-fold-search)
- Find Replace Text in Buffer
- Match Data (Regex Result)
- Convert Regex to Lisp Regex String
- How to Test Regex
- Regex in Readable Syntax, Package Rx
- Regex Named Character Class and Syntax Table
- Emacs Regex vs Regex in Python, JavaScript, Java
Lisp Misc
Practical Emacs Lisp. Table of Contents
Writing Command
Text Processing
- Cursor Position Functions
- Move Cursor
- Search Text Functions
- Text Editing Functions
- Mark, Region, Active Region
- Cut Copy Paste, kill-ring
- Get Buffer String
- Functions on Line
- Get Text at Cursor (thing-at-point)
- Get Text Block 📜
- Save narrow-to-region
- Find Replace Text in Buffer
Get User Input
File, Buffer
- Buffer Functions
- Read File
- Read File Content as String or Lines
- Open File, Read, Possibly Write
- Write File
- File and Directory Functions
- Get File Info
- File Path Functions
- Walk Directory, List Files
- Walk Directory by Depth 📜
- Get Dired Marked Files
Call Shell Command
- Call Shell Command
- Call Shell Command on Region
- Start External Process
- emacs init: Environment Variables
- exec-path, External Program Search Paths
Package
Writing Script
- Run Elisp Script in Terminal
- Get Command Line Arguments
- Get Script Name at Run Time, Call by Relative Path
Benchmark and Testing
Elisp: Create Major Mode. Table of Contents
Basics
- Write a Major Mode for Syntax Coloring
- Font Lock Mode
- Syntax Color Comments
- Write Comment/Uncomment Command
- Keyword Completion
- Create Keymap (keybinding)
- Create Function Templates
- Emacs: Command to Lookup Doc on Web 📜
- Create a Hook
- Text Properties
- Overlay Highlighting
Major Mode Naming
Syntax Table
- Character Type
- Syntax Table
- Create Syntax Table
- Syntax Class
- Show Syntax Table
- Show Char's Syntax
- Syntax Descriptor
- Modify Syntax Table Temporarily
- Determine Cursor is Inside String or Comment
- Find Matching Bracket Character