lib for handling licences in emacs