original journal code as found at http://www.emacswiki.org/emacs/Journal; probably from email cc 1999