[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Incorrect folding of source blocks [8.2.7c (8.2.7c-51-g896f
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Incorrect folding of source blocks [8.2.7c (8.2.7c-51-g896fa6-elpa @ /Users/sean/Dropbox/.emacs.d/elpa/org-20140825/)] |
Date: |
Sat, 06 Sep 2014 10:39:19 +0200 |
Hello,
Sean Allred <address@hidden> writes:
> Consider the following:
>
> #+begin_src snippet :tangle ".emacs.d/snippets/org-mode/emacs-lisp"
> # -*- mode: snippet; require-final-newline: nil -*-
> # name: emacs-lisp
> # key: el
> # binding: direct-keybinding
> # --
> ,#+begin_src emacs-lisp
> $0
> ,#+end_src
> test
> #+end_src
>
> Now, fold the section. You will see
>
> #+begin_src snippet :tangle ".emacs.d/snippets/org-mode/emacs-lisp"...
> test
> #+end_src
>
> My guess is the folding function is going up to the first end_src it
> sees and stopping there, not checking to see whether it is actually an
> active line.
This bug should already be fixed in Org 8.3. However, the fix cannot be
backported to Org 8.2.
Regards,
--
Nicolas Goaziou