Hi Eric, I do not think this is the right fix. You are only allowing lines like :
--- # a line of text --- to be treated as comments, when they are not! The first regex is the one matching comments definition (# on column 0 and '#+ ' everywhere). Handling of lines like #+ATTR_LaTeX should be processed outside of comments handling functions to not add confusion. Moreover, I mailed a fix earlier (see thread with Sebastian Rose: unwanted #+attr_backend and #+backend stuff) which already solves that problem, among others. Regards, -- Nicolas _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode