emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Fix some #+ blocks fontification when there is no lang


From: Julien Barnier
Subject: Re: [O] [PATCH] Fix some #+ blocks fontification when there is no lang attribute
Date: Sat, 2 Jul 2011 00:03:22 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi Bastien,

Bastien <bzg <at> altern.org> writes:

> > * lisp/org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src blocks
> > lang attribute
> >
> > When there is no lang attribute to a block (for quote, verse or others), the
> > lang variable is not nil, but an empty string.
> 
> Applied, thanks!

Maybe I'm mistaken, but I think there is a problem with the patch : in the patch
file I sent the new line was the following :

((and lang (not (string= lang "")) org-src-fontify-natively)

But it seems that the applied patch in the git repository is the following :

((and lang (not (string= lang "") org-src-fontify-natively))

http://repo.or.cz/w/org-mode.git/commitdiff/549a5212566e300023e038ec945cb9e8efe37e19

As you can see, the parenthesis is not at the right place, and this seems to
break completely src code blocks fontification...

Thanks in advance,

Julien




reply via email to

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