From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: A question on org-element-headline-interperter Date: Fri, 03 Oct 2014 01:16:51 +0200 Message-ID: <87ppeaxdss.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZpcW-00059h-68 for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 19:17:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZpcQ-000624-HQ for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 19:17:12 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:53737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZpcQ-00060h-AW for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 19:17:06 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 96A694CC9D for ; Fri, 3 Oct 2014 01:17:03 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z6nYIsZwBwSq for ; Fri, 3 Oct 2014 01:17:03 +0200 (CEST) Received: from localhost (111-128.echostar.pl [213.156.111.128]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 5D0794AD7B for ; Fri, 3 Oct 2014 01:17:03 +0200 (CEST) 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: Org Mode List Hi, I guess I don't understand something. I have a headline in a `headline' variable (say that I did something like (org-element-parse-buffer) and took one of the headlines from there). I thought that (insert (org-element-headline-interpreter headline (org-element-property :contents headline))) would put it into the current buffer; however, it only puts the first line (without the actual contents). What is my misconception here? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University