From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iJ97NH/Y8GNlmQAAbAwnHQ (envelope-from ) for ; Sat, 18 Feb 2023 14:54:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SGKANH/Y8GMMTwAA9RJhRA (envelope-from ) for ; Sat, 18 Feb 2023 14:54:07 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5DABB2E1DD for ; Sat, 18 Feb 2023 14:54:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTNea-0000h2-Tx; Sat, 18 Feb 2023 08:53:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTNeZ-0000gA-HC for emacs-orgmode@gnu.org; Sat, 18 Feb 2023 08:53:27 -0500 Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTNeX-0007v7-JW for emacs-orgmode@gnu.org; Sat, 18 Feb 2023 08:53:27 -0500 Received: by mail-vs1-xe2d.google.com with SMTP id i8so478090vso.7 for ; Sat, 18 Feb 2023 05:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1676728404; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=3+e77FOWSl/ycVGDgLhf+qYZBizu3gKpMvX0ykjaKYw=; b=gx93/pVuy9qMkvGvnbVnJZsOJ7/jRu2IiN1ITGjHljFh8tiirY34j7fJLDdZmdgIUj 5bH7gBxGGycln/yZGuneigcHFb2PlnScITeEwoqxG5AxMfJJKnTWCi8CtbiVEopLGlFA AhgiqXpfIiWeBvzYKi3ga8Xe27kXhq7q+mfngCXXXcJ/qQU4lGAAG/tsUTl9Ws9X4dLg SjxZxU7C3I0qgRymwXxkC0Recoe3bTHC9pnKIX3SMxyrvKrShxppJfkjRpHTnMNpK4aE bnUZl5RC0bgkhO8zLc0QnyqeEZzkBDfvzaJj3pbRsDMDt+AilJMqUWwvBGYLOj1BcIfM VA3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1676728404; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3+e77FOWSl/ycVGDgLhf+qYZBizu3gKpMvX0ykjaKYw=; b=4WFinfh5vPWdHFu4ODgAk5CwRyOVABECi2+Kx0Prh0bsR7vcDXukCUk8rXq9rLeqL5 RtHm4LOKzb6WjkFIOycqb7FnF5GD0DL3IIWbnLRbIxs8Vpk+/H/RD1gPFw3QmpJmjTeS m8JAuqlmBOuryBTydbVkbOFbReoNIy6eivABe5tQWa+ahPm9625KL2QXmko5w6Pe8Gwb Rbe8PdVAYUDJhOoYvucyEtCWiqeCRBNSISTrXueBlKo1e741Oa3MqUHTxQ+JDM0hX+3o 5OQrEryFoEt/wB1AysBKZrlYoAhgrAFnnrv3yQdOWYXPzLngH9UdgXqOYe/UqA8rcoHT aHBA== X-Gm-Message-State: AO0yUKU4CvSoixLkziMoYeTi/rrPkKghn/FEpMmtC4oFsgs89tvTH+EU DwhS/qkD+nagpwIvKcTo5aSGdDSGwz3CHqQXNsqSBct+yXxyUw== X-Google-Smtp-Source: AK7set+CGLpF9opIDNKz0qr/jNC0HJGq90rvpJ6vWwTZizHhBVY3cc5smQGu0gwLchVjCHCW5DpnTY7dWok2IZAWYGM= X-Received: by 2002:a05:6102:3ec8:b0:412:216e:5948 with SMTP id n8-20020a0561023ec800b00412216e5948mr268453vsv.31.1676728404105; Sat, 18 Feb 2023 05:53:24 -0800 (PST) MIME-Version: 1.0 From: Alejandro Gallo Date: Sat, 18 Feb 2023 14:53:13 +0100 Message-ID: Subject: [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/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000e95f9605f4f9c024" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2d; envelope-from=aamsgallo@gmail.com; helo=mail-vs1-xe2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676728447; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3+e77FOWSl/ycVGDgLhf+qYZBizu3gKpMvX0ykjaKYw=; b=dIBWFeX0WKFv3IBq4wRatY9fl8R/N5umJHDnK19yultkT3WKqKoevM1IKe+qCuNKQsO66V pXVqEAlhQdj14KQH+VbjC/EkltImRg/Tgsyhh7FNMhW3b2VV/D+8d3N/TWELXTjXXdGaay jGqHJclVOKkr1speP0JrO1Xtx7VbZZd+NpC82sLoOaAdMjDXoI7IFchddingOBEJ7wP617 n8e9I8ncNVG2Tw7KLqc/K5lBlrEicnjYMbCU959QLwyG9jlx6+JsvL9kJKKjazX4dECl3s 9uqpk8UYiSP3sIR2kMwXxxAeJH/q+XL/2/QmDY7VTEU0O2t8cW6JRRnxrU2XRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="gx93/pVu"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676728447; a=rsa-sha256; cv=none; b=twK3EAue1OF3DqGFBPdRMYRfnE85blOMIfdGjqSXEjMdGLUM2S1cL0Sz1xAmSVinNSGD3O kiVtLyNH9Xb5987fJHbs/HcF2W1m0BJTKazW4Xd5qfaJGcxJuC6oV+ly1gVc0pbXpzn9TT 6n32qZZ2TOqi5BPso87ipIsr4/IAr0J6w927rniMjNd+L5xbt2Q5bcbnXKkPU4pUERutcM Dt1BIaPu49kVc4HSFQ7o0vy/JFLqt1VyyMbcuXOt3AMG0bw30FCO5t31SjtUcThsXZX6fu QAHs1JPqDkQtUcaJKbRyOKcnxzYgdMD2mLEh0us3huQP3s63TDDGEtTMzgE/jg== X-Spam-Score: -5.49 X-Migadu-Queue-Id: 5DABB2E1DD X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="gx93/pVu"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.49 X-TUID: ClEqPOjuqd71 --000000000000e95f9605f4f9c024 Content-Type: text/plain; charset="UTF-8" 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/) --000000000000e95f9605f4f9c024 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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 keywo= rd. This renders other third-party packages
such as https://github.com/dengste/org-cal= dav/issues/212 partially useless.


Emacs =C2=A0: 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/l= isp/org/)
--000000000000e95f9605f4f9c024--