emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org-elements: list in drawer
Date: Tue, 07 Aug 2012 09:40:26 +0200	[thread overview]
Message-ID: <87d333b15h.fsf@gmail.com> (raw)
In-Reply-To: <CALn3zojfFAUpUyRonWnOVppvuuh0TcMGwZcEhAOQ3PByTkYJUg@mail.gmail.com> (Michael Brand's message of "Mon, 6 Aug 2012 15:36:25 +0200")

Hello,

Michael Brand <michael.ch.brand@gmail.com> 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

  reply	other threads:[~2012-08-07  7:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 13:36 org-elements: list in drawer Michael Brand
2012-08-07  7:40 ` Nicolas Goaziou [this message]
2012-08-07 19:01   ` Michael Brand
2012-08-08  8:02     ` Nicolas Goaziou
2012-08-08 19:45       ` Michael Brand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d333b15h.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael.ch.brand@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).