Emacs Reboot #10: Lorem Ipsum

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”]

2 comments

Leave a Reply

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