From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: (org-element-property :title ...) not returning a string Date: Wed, 04 Mar 2015 19:18:01 +0800 Message-ID: <87pp8phuza.wl-jamshark70@qq.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT7K8-0006jR-Rz for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 06:18:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YT7K4-0004Qj-LS for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 06:18:44 -0500 Received: from smtpbgau1.qq.com ([54.206.16.166]:52230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT7K3-0004Ox-Mc for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 06:18:40 -0500 Received: from hjh-e431.qq.com (unknown [113.109.20.206]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Wed, 04 Mar 2015 19:18:04 +0800 (CST) 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: orgmode I've got: (defun org-scdoc-headline (headline contents info) "Transcode a HEADLINE element from Org to ASCII. CONTENTS holds the contents of the headline. INFO is a plist holding contextual information." ;; Don't export footnote section, which will be handled at the end ;; of the template. (unless (org-element-property :footnote-section-p headline) (let* ((title (org-element-property :title headline)) (allcaps (upcase title)) ... blah blah It's choking on (upcase...) because 'title' ends up being an element object, and *not* the value of the :title property. Why? http://orgmode.org/worg/dev/org-export-reference.html is not helpful in answering this question. hjh