Hi Nick,

Nick Dokos <nicholas.do...@hp.com> writes:

> Confirmed. It only happens when you start typing into an empty buffer.
> Looks like an off-by-one error in org.el:org-fontify-meta-lines-and-blocks-1,
> aroung line 5487:
>
> ,----
> |         ;; just any other in-buffer setting, but not indented
> |         (add-text-properties
> |          beg (1+ (match-end 0))
> |          '(font-lock-fontified t face org-meta-line))
> `----
>
> The second arg should probably be just (match-end 0).

That's correct.  I first thought (min (point-max) (1+ (match-end 0)))
would have been safer, but I really don't see why the 1+.  

Please confirm this is fixed.

Thanks,

-- 
 Bastien

Reply via email to