Hi Bastien On Thu, Jan 9, 2014 at 11:03 AM, Bastien <b...@gnu.org> wrote: > This is now fixed, thanks.
The release_8.2.5c-8-ga2619b7 this refers to solves only a part of the bugs introduced with the greedy (re-search-forward "^\\S-*$\\|\\'" nil t). It does not work before the first headline, does not cover #+TBLFM in list items etc. without end. I suggest to solve this completely differently by replacing the greedy (re-search-forward "^\\S-*$\\|\\'" nil t) and not using s-end any more. I would change the "while" to (while (let ((case-fold-search t)) (looking-at "[ \t]*#\\+tblfm:")) [...] (forward-line)) which is simple and water-proof. Michael