(from cl-org-mode) factor DEFINE-SIMPLE-CONDITION, add DEFINE-SIMPLE-WARNING