From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-elements: list in drawer Date: Tue, 07 Aug 2012 09:40:26 +0200 Message-ID: <87d333b15h.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyeSS-0007sN-7j for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 03:44:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyeSR-0003ox-9A for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 03:44:04 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:48531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyeSR-0003oq-2i for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 03:44:03 -0400 Received: by wgbez12 with SMTP id ez12so2541068wgb.30 for ; Tue, 07 Aug 2012 00:44:01 -0700 (PDT) In-Reply-To: (Michael Brand's message of "Mon, 6 Aug 2012 15:36:25 +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: Michael Brand Cc: Org Mode Hello, Michael Brand writes: > M-q on the list item in this example does not try to fill: > > #+BEGIN_SRC org > ,#+DRAWERS: MYDRAWER > ,:MYDRAWER: > ,- a paragraph longer than one line, a paragraph longer than one > line, a paragraph longer than one line > ,:END: > #+END_SRC What do you want to fill here? Theres a an item on a single line, then a paragraph outside the list below. > org-fill-paragraph recognizes a plain list but I think it should be a > paragraph, like when without the drawer. org-element-parse-buffer > looks to me as I would expect, org-element-at-point on the list item > looks wrong to me. I don't understand. What should be a paragraph? Why does `org-element-at-point' look wrong? Also, remember, - text text text text outside item is not the same as - text text text text inside item Regards, -- Nicolas Goaziou