configuration documentation

The configuration command was slightly modified to use an Exception
and documented. The `edit` command was modified since the emacs
commands misbehaves. The previous state was meant to work with gedit.