Emacs: be more verbose in severe error scenarios
Merge pull request #846 from rneatherway/issue824

Emacs: be more verbose in severe error scenarios
Fix for indirect emacs buffers and null check