Quickstart with gimp-mode:
(let ((home "~/.emacs.d/site-lisp/gimpmode"))
(condition-case entered--Lisp
(load-file (format "%s/gimp-init.el" home))
(error
(when (file-directory-p home)
(shell-command (format "rm -rf %s"
home)))
(shell-command (format "git clone %s %s"
"https://github.com/pft/gimpmode"
home))
(load-file (format "%s/gimp-install.el" home))
(message "You must close GIMP manually to use gimp-mode."))))