From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to get list item depth within the exporter framework? Date: Mon, 27 Jul 2015 10:46:07 +0200 Message-ID: <87d1ze2dkg.fsf@mbork.pl> References: <87h9oq2evj.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJe3L-0005uD-3L for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 04:46:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJe3G-0002nx-2F for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 04:46:31 -0400 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:33335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJe3F-0002nb-QH for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 04:46:26 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id C7F176F2004 for ; Mon, 27 Jul 2015 10:46:24 +0200 (CEST) Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FQzN2qLWa+sd for ; Mon, 27 Jul 2015 10:46:13 +0200 (CEST) Received: from localhost (unknown [109.232.24.146]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 9390A6F2003 for ; Mon, 27 Jul 2015 10:46:13 +0200 (CEST) In-reply-to: <87h9oq2evj.fsf@mbork.pl> 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 mailing list On 2015-07-27, at 10:17, Marcin Borkowski wrote: > Hi all, > > as I mentioned, I'm writing a simple exporter. However, I stumbled on > something apparently simple. How to get the current list level within > org-whatever-item transcoder? By inspecting values of org-whatever-item's arguments, I found out one way: by checking the amount of indentation in :bullet. Is it reliable? > TIA, Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University