Hi Nicolas, hi all The help provided from this thread about the function outline-level and "Match Data" http://thread.gmane.org/gmane.emacs.orgmode/42611 allowed me to make the attached patch. It resolves two or so buglets, the one I found first was introduced by http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=ddc24673877da5f7d82375fb10b8cc238e2ff6a7 according to git bisect. Michael