From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mirko Vukovic Subject: Re: suggestion for the manual: mention the "#+BEGIN_SRC org" trick when describing drawers and plainlists Date: Sat, 10 Mar 2012 15:01:36 +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 ([208.118.235.92]:44360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6Nr1-0007zU-BW for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 10:05:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6Nqz-0000kV-Jd for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 10:05:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:45229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6Nqz-0000j8-DA for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 10:05:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S6Nqx-0005vW-Bp for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 16:05:03 +0100 Received: from cpe-74-76-172-207.nycap.res.rr.com ([74.76.172.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2012 16:05:03 +0100 Received: from mirko.vukovic by cpe-74-76-172-207.nycap.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2012 16:05:03 +0100 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 Ilya Shlyakhter alum.mit.edu> writes: > > In Org, entry text can't have substructure (other than drawers and plain lists): you can't have an entry thathas some text, then a subtree, then more text.I just (re-)discovered that you can get around that by using "#+BEGIN_SRC org" to include arbitrary org > subtrees in the middle of entry text.   That's useful not just when writing in Org about Org, but anytime you wantto insert an extended sidenote in the middle of an entry.  As with all source blocks, you edit it in its native (Org) > mode and it exports correctly.  You can copy links from the main Org and past them into the nested Org.Just wish I'd learned this sooner :)  So, maybe mention this in the manual in the sections on drawers and plainlists.ilya Thank you for the pointer. I am sometimes also frustrated by that feature. But using BEGIN/END_SRC is really a hack. I wonder if instead of using SRC blocks, we could define (with some amount of coding) a more suitable kind of blocks. In my case I would like to have a BEGIN/END_TODO block. This would permit a layout such as * header 1 text, more text, much more text under header #+begin_todo ** TODO task ** TODO another task #+end_todo still more text under header 1 Maybe the TODO block is to specific. Maybe a SUBTREE block would be sufficient. Though, I am not sure if this would conflict with some major undrlying structure of orgmode. Mirko