Updating emacs and some study notes from the emacs docs