From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Re: org-element-at-point fails in programming-modes Date: Fri, 22 Aug 2014 15:53:40 +0200 Message-ID: <8761hk7hqz.fsf@geodiff-mac3.ulb.ac.be> References: <87zjez9xqc.fsf@gmail.com> <87vbpn9x6u.fsf@gmail.com> <87ppfvxslz.fsf@pierrot.dokosmarshall.org> <86ppfvjpwk.fsf@somewhere.org> <87tx57me13.fsf@alphaville.bos.redhat.com> <87d2btxjbn.fsf@pierrot.dokosmarshall.org> <87ha147r8z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKpFm-000439-ES for emacs-orgmode@gnu.org; Fri, 22 Aug 2014 09:51:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKpFe-0003Ia-68 for emacs-orgmode@gnu.org; Fri, 22 Aug 2014 09:51:42 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:17357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKpFe-0003IH-0S for emacs-orgmode@gnu.org; Fri, 22 Aug 2014 09:51:34 -0400 In-Reply-To: <87ha147r8z.fsf@gmail.com> (Thorsten Jolitz's message of "Fri, 22 Aug 2014 12:28:28 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Thorsten Jolitz writes: > Maybe they switched to the new parser between versions, that parses a > src-block with :post-blank's, but does not take them into account when > interpreting? I tried an experiment : (defun org-mode (&rest _) t) and refresh. The newlines didn't come back (but fontification obviously disappeared). So I guess it isn't org-mode's fault. I would like to blame (mm-uu-dissect) but I didn't look into it. I'll take the opportunity to test if it'll also eat multiple blank lines (I think it will) : #+BEGIN_QUOTE hallo world #+END_QUOTE #+BEGIN_COMMENT hallo world #+END_COMMENT #+BEGIN_EXAMPLE hallo world #+END_EXAMPLE #+BEGIN_SRC emacs-lisp hallo world #+END_SRC (There should be 1, then 2, then 3 blanks lines between the successives blocks above.) -- Nico.