Elisp: Writing Elisp Script

By Xah Lee. Date: . Last updated: .

This page shows common programing solutions of emacs lisp for batch text processing. Typically the type of tasks one would do in unix shell tools or Python, Ruby . For example, find replace on a list of given files or dir, process (small sized) log files, compile a bunch of files, generating a report.

( Thanks to Rubén Berenguel for a correction.) ( thx to Phil Hudson for a tip.)

2018-09-10 All content have been moved to one of the following articles.

Elisp, Writing Scritpts

  1. Run Elisp Script in Shell
  2. Get Command Line Args
  3. Read File
  4. Read File Content as List
  5. Write File
  6. Print, Output
  7. Format String
  8. Walk Dir
  9. Call Shell Command
  10. Get Script Name at Run Time

If you have a question, put $5 at patreon and message me.
Or Buy Xah Emacs Tutorial
Or buy a nice keyboard: Best Keyboards for Emacs

Emacs

Emacs Lisp

Misc