From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: exporter bug [8.3.1 (8.3.1-elpaplus /home/dfeich/.emacs.d/elpa/org-plus-contrib-20150805/)] Date: Thu, 17 Dec 2015 18:05:09 +0100 Message-ID: <87lh8tqa4a.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9bxX-0008Bm-VE for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 12:03:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9bxX-0002uc-5o for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 12:03:19 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:42920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9bxW-0002uW-Vq for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 12:03:19 -0500 In-Reply-To: (Ilya Yanok's message of "Thu, 17 Dec 2015 15:43:14 +0000 (UTC)") 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: Ilya Yanok Cc: emacs-orgmode@gnu.org Hello, Ilya Yanok writes: > I've found that in ox.el org-export--get-inbuffer-options function calls > org-element-map ... 'plain-text with a function that tries to use > org-element-set-element. But according to org-element.el, plaint-text > elements don't have a content and couldn't be set! So I believe this code is > buggy anyway. It's possible that this bug is not triggered in some (most) > configurations, because the code is not executed, but this doesn't make this > code correct anyway. Since cd439bc5138fc22a4f2532f90c87629c1deec3e3 (committed 2 years ago), `org-element-set-element' can handle strings fine. Also, I cannot reproduce your problem in current stable release of Org. You may want to update it. Regards, -- Nicolas Goaziou