From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: How to show the complete syntax tree Date: Mon, 14 Jul 2014 16:56:22 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6jYW-0000ND-7k for emacs-orgmode@gnu.org; Mon, 14 Jul 2014 12:56:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6jYN-00029t-Ci for emacs-orgmode@gnu.org; Mon, 14 Jul 2014 12:56:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:41316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6jYN-000290-5b for emacs-orgmode@gnu.org; Mon, 14 Jul 2014 12:56:39 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X6jYJ-0001GL-5s for emacs-orgmode@gnu.org; Mon, 14 Jul 2014 18:56:35 +0200 Received: from 137.110.37.167 ([137.110.37.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jul 2014 18:56:35 +0200 Received: from ccberry by 137.110.37.167 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jul 2014 18:56:35 +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 Shiyuan gmail.com> writes: > > Hi,     The command I can find in the manual to show the syntax tree is (org-element-parse-buffer). However, when the structure is output to the buffer, by using the commands C-u M-: (org-element-parse-buffer), it seems that only the part up to a certain depth is printed.  Yes, as Nick explained there are variables that control this. My eyes sometimes like this approach to viewing lisp objects: #+BEGIN_SRC emacs-lisp (pp-to-string (org-element-parse-buffer)) #+END_SRC HTH, Chuck