From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Can `org-element-map' act on secondary-strings? Date: Sat, 06 Jul 2013 16:38:32 +0200 Message-ID: <87li5jrbx3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvTou-0005ex-Bg for emacs-orgmode@gnu.org; Sat, 06 Jul 2013 10:50:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvTot-0004ZQ-40 for emacs-orgmode@gnu.org; Sat, 06 Jul 2013 10:50:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:41639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvTdM-0008P1-Vx for emacs-orgmode@gnu.org; Sat, 06 Jul 2013 10:38:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UvTdL-0002tE-3Y for emacs-orgmode@gnu.org; Sat, 06 Jul 2013 16:38:43 +0200 Received: from e178061094.adsl.alicedsl.de ([85.178.61.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Jul 2013 16:38:43 +0200 Received: from tjolitz by e178061094.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Jul 2013 16:38:43 +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: emacs-orgmode@gnu.org Hi List, when parsing an Org file with org-element-parse-buffer, headline titles and section contents (e.g.) end up as secondary strings in the parse-tree that do have a ':parent' attribute. When I try to modify all :parent attributes inside a parse-tree with `org-element-map' (by mapping over all element and object types), the secondary strings in the parse-tree remain untouched. Is there a way to make `org-element-map' act on these secondary strings too? -- cheers, Thorsten