Somtimes I just need some filler text. And it’s silly typing it out myself when I’m using a thermonuclear text editor.

Via EmacsWiki, I discover lorem-ipsum.el. I toss it into my elisp folder and set up some autoloads so that it will be loaded when needed.

(add-to-list 'load-path abg-elisp-dir)

; ...

(autoload 'Lorem-ipsum-insert-paragraphs "lorem-ipsum" "" t)
(autoload 'Lorem-ipsum-insert-sentences "lorem-ipsum" "" t)
(autoload 'Lorem-ipsum-insert-list "lorem-ipsum" "" t)

Now whenever I need some fill text, I just do M-x Lorem-ipsum-insert-paragraphs (or -sentences, or -list). I can even provide a prefix argument to tell it how much text to generate!

[boilerplate bypath=”emacs-reboot”]

Published by Avdi Grimm

2 Comments

  1. I wonder if we could use http://slipsum.com/ instead 🙂

    Reply

Leave a Reply to Avdi Grimm Cancel reply

Your email address will not be published. Required fields are marked *