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: Nick Dokos
Subject: Re: [O] org-mode fontification error [6 times]
Date: Tue, 03 Apr 2012 17:23:20 -0400

Henning Redestig <address@hidden> wrote:

> +1 on this, I get 'org-mode fontification error' all the time after
> having typed just
> 
> #+
> 
> in an org buffer. with org 7.8.08 and emacs 23.1.50.1 and running with emacs 
> -Q
> 
> 2011/8/18 Leo <address@hidden>:
> > On 2011-08-18 15:22 +0800, Bastien wrote:
> >>> Just a heads-up. I saw this in my *message* buffer. I don't know how
> >>> it happened.
> >>
> >> Is this with emacs -Q?
> >>
> >> I am unable to reproduce this with emacs-23.3.1 and emacs-24.0.50.1.
> >
> > It is in my normal running emacs session. I haven't found a reproduction
> > recipe. But I have been using the same org-mode setup for years.
> >
> > Leo
> >

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).

Nick




reply via email to

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