emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-mode fontification error [6 times]


From: Bastien
Subject: Re: [O] org-mode fontification error [6 times]
Date: Wed, 04 Apr 2012 08:30:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Hi Nick,

Nick Dokos <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]