emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Document level property drawer position
@ 2020-05-04 19:01 Marco Wahl
  2020-05-04 20:44 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Wahl @ 2020-05-04 19:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

With file

#v+
:PROPERTIES:
:CATEGORY: Org
:END:
#+TITLE: Stuff related to Org

* TODO a task
#v-

the category is "Org" as expected. (This can be seen in the agenda.)

Moving the property drawer below the title line breaks this behavior.
Concretely see this with file

#v+
#+TITLE: Stuff related to Org
:PROPERTIES:
:CATEGORY: Org
:END:

* TODO a task
#v-

(The filename is chosen as category.)

Is this a bug?


Best regards,
-- Marco



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Document level property drawer position
  2020-05-04 19:01 Document level property drawer position Marco Wahl
@ 2020-05-04 20:44 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-05-04 20:44 UTC (permalink / raw)
  To: Marco Wahl; +Cc: emacs-orgmode

Hello,

Marco Wahl <marcowahlsoft@gmail.com> writes:

> With file
>
> #v+
> :PROPERTIES:
> :CATEGORY: Org
> :END:
> #+TITLE: Stuff related to Org
>
> * TODO a task
> #v-
>
>
> the category is "Org" as expected. (This can be seen in the agenda.)
>
> Moving the property drawer below the title line breaks this behavior.
> Concretely see this with file
>
> #v+
> #+TITLE: Stuff related to Org
> :PROPERTIES:
> :CATEGORY: Org
> :END:
>
> * TODO a task
> #v-
>
> (The filename is chosen as category.)
>
> Is this a bug?

No. The global property drawer must be located at the top of the
document. A comment is tolerated before it, tho.

Regards,

-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-04 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 19:01 Document level property drawer position Marco Wahl
2020-05-04 20:44 ` Nicolas Goaziou

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).