Emacs Lisp Find Replace String-Pairs Commands

By Xah Lee. Date: . Last updated: .

This page shows examples of multi-pair find replace in emacs lisp.

CSS Compressor

Escape/UnEscape Backslash

These are very useful when you do text processing in emacs lisp. For example, if you need to process HTML, just copy raw HTML text, paste in emacs, then press a button to escape quote characters, and now you are ready to put them inside elisp string.

TeX Math Symbols to Unicode

Curly Quote Fixes

The following is useful when you want to normalize the style of punctuation in essay or novel.

Emacs Lisp: Convert Unicode Chars to ASCII

Change {Round, Square, Curly} Brackets

Convert Punctuation Between English/Chinese Forms

Convert Latin Alphabet to Unicode Gothic-style Characters

Make HTML Table

Another different use, but essentially same technique of find replace, is to convert a plain text table into a HTML table. See:

Emacs ๐Ÿงก