emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-id-get-create creating property drawers after SCHEDULE and DEADLINE keywords [9.6 (release_9.6-3-ga4d38e @ /nix/store/zr2g5z2hbqxa93ndfkx6n0v489al6lfq-emacs-git-20221206.0/share/emacs/30.0.50/lisp/org/)]
@ 2023-02-18 13:53 Alejandro Gallo
  2023-02-18 14:15 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Alejandro Gallo @ 2023-02-18 13:53 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

When you have a headline with a schedule, i.e.

* Hello
SCHEDULED: <2023-02-18 Sat>

and you run (org-id-get-create) then the PROPERTIES drawer gets added
AFTER the SCHEDULED keyword. This renders other third-party packages
such as https://github.com/dengste/org-caldav/issues/212 partially useless.


Emacs  : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.34, cairo version 1.16.0)
Package: Org mode version 9.6 (release_9.6-3-ga4d38e @
/nix/store/zr2g5z2hbqxa93ndfkx6n0v489al6lfq-emacs-git-20221206.0/share/emacs/30.0.50/lisp/org/)

[-- Attachment #2: Type: text/html, Size: 688 bytes --]

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

* Re: [BUG] org-id-get-create creating property drawers after SCHEDULE and DEADLINE keywords [9.6 (release_9.6-3-ga4d38e @ /nix/store/zr2g5z2hbqxa93ndfkx6n0v489al6lfq-emacs-git-20221206.0/share/emacs/30.0.50/lisp/org/)]
  2023-02-18 13:53 [BUG] org-id-get-create creating property drawers after SCHEDULE and DEADLINE keywords [9.6 (release_9.6-3-ga4d38e @ /nix/store/zr2g5z2hbqxa93ndfkx6n0v489al6lfq-emacs-git-20221206.0/share/emacs/30.0.50/lisp/org/)] Alejandro Gallo
@ 2023-02-18 14:15 ` Ihor Radchenko
  2023-02-20  2:28   ` Jack Kamm
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2023-02-18 14:15 UTC (permalink / raw)
  To: Alejandro Gallo; +Cc: emacs-orgmode

Alejandro Gallo <aamsgallo@gmail.com> writes:

> When you have a headline with a schedule, i.e.
>
> * Hello
> SCHEDULED: <2023-02-18 Sat>
>
> and you run (org-id-get-create) then the PROPERTIES drawer gets added
> AFTER the SCHEDULED keyword.

Sure. Just as it supposed to. See 7.1 Property Syntax section of the manual.

> This renders other third-party packages
> such as https://github.com/dengste/org-caldav/issues/212 partially useless.

Which is org-caldav's problem not recognizing Org syntax.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: [BUG] org-id-get-create creating property drawers after SCHEDULE and DEADLINE keywords [9.6 (release_9.6-3-ga4d38e @ /nix/store/zr2g5z2hbqxa93ndfkx6n0v489al6lfq-emacs-git-20221206.0/share/emacs/30.0.50/lisp/org/)]
  2023-02-18 14:15 ` Ihor Radchenko
@ 2023-02-20  2:28   ` Jack Kamm
  0 siblings, 0 replies; 3+ messages in thread
From: Jack Kamm @ 2023-02-20  2:28 UTC (permalink / raw)
  To: Ihor Radchenko, Alejandro Gallo; +Cc: emacs-orgmode

Ihor Radchenko <yantar92@posteo.net> writes:

> Which is org-caldav's problem not recognizing Org syntax.

I don't think this is a bug in org-mode or org-caldav, nor has to do
with property drawers.

org-caldav just uses ox-icalendar.el to export to ICS, and by default
SCHEDULED timestamp is not exported to calendar VEVENTs. However, the
user can set org-icalendar-use-scheduled if they want to change this
behavior.


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

end of thread, other threads:[~2023-02-20  2:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-18 13:53 [BUG] org-id-get-create creating property drawers after SCHEDULE and DEADLINE keywords [9.6 (release_9.6-3-ga4d38e @ /nix/store/zr2g5z2hbqxa93ndfkx6n0v489al6lfq-emacs-git-20221206.0/share/emacs/30.0.50/lisp/org/)] Alejandro Gallo
2023-02-18 14:15 ` Ihor Radchenko
2023-02-20  2:28   ` Jack Kamm

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