Emacs Lisp Exercise: insert-random-uuid

This week's exercise is to write a function “insert-random-uuid”. When called, it should insert a UUID. Here's some examples of UUID:


basically, it's a random string of symbols 0 to 9 and a to f, arranged in 8-4-4-4-12 blocks. There are many ways to implement this. I'll post a solution in a couple of days.

If you really don't know elisp, this weekend is a good time to learn as any. This article might get you started: Emacs Lisp Basics.

2011-11-08 solution at http://xahlee.org/emacs/elisp_generate_uuid.html

Popular posts from this blog

11 Years of Writing About Emacs

does md5 creates more randomness?

Google Code shutting down, future of ErgoEmacs