From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Sean Allred <code@seanallred.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <87iol1nnwo.fsf@selenimh.mobile.lan> (raw)
In-Reply-To: <m2lhpxx2p2.fsf@seanallred.com> (Sean Allred's message of "Fri, 05 Sep 2014 15:55:05 -0400")
Hello,
Sean Allred <code@seanallred.com> 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
prev parent reply other threads:[~2014-09-06 8:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 19:55 Bug: Incorrect folding of source blocks [8.2.7c (8.2.7c-51-g896fa6-elpa @ /Users/sean/Dropbox/.emacs.d/elpa/org-20140825/)] Sean Allred
2014-09-06 8:39 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iol1nnwo.fsf@selenimh.mobile.lan \
--to=mail@nicolasgoaziou.fr \
--cc=code@seanallred.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).