Ever had an emacs command mysteriously failing? That happened to me yesterday on a
org-publish-project command that was failing with a cryptic message. It was on 5-6 org files with some more than 6000 lines… No way to go through these manually to spot the error.
The lifesaver was:
M-x set-variable debug-on-error t