From mboxrd@z Thu Jan 1 00:00:00 1970 From: rey-coyrehourcq Subject: Strange interaction between ID block property, org-schedule and ical/ics export backend Date: Sat, 31 Aug 2019 20:42:33 +0200 Message-ID: <81f926855095843232277fbe3cfcb4c11e008c8a.camel@univ-rouen.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-r649xTHeXHx5bWMmqJ9n" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49068) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i48Ke-0006xY-D4 for emacs-orgmode@gnu.org; Sat, 31 Aug 2019 14:42:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i48Kd-00039x-20 for emacs-orgmode@gnu.org; Sat, 31 Aug 2019 14:42:40 -0400 Received: from smtp-out-2.univ-rouen.fr ([193.52.152.97]:1374 helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i48Kc-000344-PV for emacs-orgmode@gnu.org; Sat, 31 Aug 2019 14:42:39 -0400 Received: from ired-15-19c0.home (unknown [90.23.128.236]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id AC1CD186B for ; Sat, 31 Aug 2019 20:42:34 +0200 (CEST) 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" To: emacs-orgmode@gnu.org --=-r649xTHeXHx5bWMmqJ9n Content-Type: multipart/alternative; boundary="=-mIO2tqbGdH5UMHPEjZGT" --=-mIO2tqbGdH5UMHPEjZGT Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Hi, I'm starting using org-mode to replace asana, clickup, and other tools to m= anage my work. I'm trying to create a day-to-day workflow with org-mode, org-agenda Schedu= le and iCalendat-export backend. 1) What exactly did you do=20 After creating a new entry, i run (org-id-get-create) to get a permanent ID properties : * Heading 1 :PROPERTIES: :ID: xxxxxxxxxxx :END: foo 2) what did you expect to happen I run org-schedule (c-c c-s), choosing a date, and Schedule date is added A= FTER block of property. * Heading 1 :PROPERTIES: :ID: xxxxxxxxxxx :END: foo SCHEDULED <...-....-...> 3) What happened instead=20 Scheduled block is added between the HEADING and the property block... * Heading 1 SCHEDULED <...-....-...> :PROPERTIES: :ID: xxxxxxxxxxx :END: foo 4) Problem with icalendar export ? Normally org-caldav-generate-ics export command reuse the ID from property = block to generate the *.ics,=20 but it only works if the SCHEDULED block is after the property block. So in this case, icalendar export generate a new UID, and don't consider th= e ID which already exist. --=20 S=E9bastien Rey-Coyrehourcq Research Engineer UMR IDEES 02.35.14.69.30 {Stronger security for your email, follow EFF tutorial : https://ssd.eff.or= g/} --=-mIO2tqbGdH5UMHPEjZGT Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm starting using org-mode to replac= e asana, clickup, and other tools to manage my work.

I'm trying to create a day-to-day workflow with org-mode, org-agenda Sch= edule and iCalendat-export backend.

1) What exactl= y did you do

After creating a new entry, i run (o= rg-id-get-create) to get a permanent ID properties :

* Heading 1
:PROPERTIES:
:ID: xxxxxxxxxxx
:END:
foo

2) what did you expect to= happen

I run org-schedule (c-c c-s), choosing a d= ate, and Schedule date is added AFTER block of property.

* Heading 1
:PROPERTIES:
:ID: xxxxxxxxxxx=
:END:
foo
SCHEDULED <...-....-...><= /div>

3) What happened instead

Scheduled block is added between the HEADING and the property block.= ..

* Heading 1
SCHEDULED= <...-....-...>
:PROPERTIES:
:ID: xxxxxxx= xxxx
:END:
foo

4) Problem wi= th icalendar export ?

Normally org-caldav-generate= -ics export command reuse the ID from property block to generate the *.ics,=  
but it only works if the SCHEDULED block is after the prop= erty block.

So in this case, icalendar export gene= rate a new UID, and don't consider the ID which already exist.


-- 


<= b>S=C3=A9bastien Rey-Coyrehourcq
Research Engineer UMR IDEES<= /div>
02.35.14.69.30

{Stronger security for yo= ur email, follow EFF tutorial : https://ss= d.eff.org/}

--=-mIO2tqbGdH5UMHPEjZGT-- --=-r649xTHeXHx5bWMmqJ9n Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgl6ew4CVLUwtNXaynZBtnBRvx4MFAl1qv5kACgkQnZBtnBRv x4NyvBAAw+Bxu0k6/kqAeA6oPRT5EJ83dstT43rZ0XchAHNghM1FTe93k8ajVNYw GFPzujTK2V6M7mXkBeW/c9tOXcfTDHYxQegwRm4af23B0+/VR7MFBhJzD54Cn+fM BIHmnmELb+0IIjsxjvr+xJPq5X/nmsqFfV96T0wEHGvml8uVgfhXFl+WV+GYmrm9 gU0xV0jlfhgH/liyggPrMGUGBGk8dpyZB6ronLhPj2sYQFf9YLxzqm+I7+qbr4dM 6n+J1ZKe/b5Ha7uMFaK6L/n5EMrREfECCZTX3wrTOIsvA/K4X2Qvv8n1yD362u3n YI2NTG1ZoEoWD2pyr1tNCffDF2Z7dScYREz8h7QuG/KxgQ6p+s2nq4tCgByBwaQE Vyz6jIG6klpw2posDBX/8AIFzUvtMZkI6GnvymKyiu3mgkM9xubs/nzwDRJ26BJK DjLXng5kZhHoXApTVpVeMNh2McEZltXQ+hy5d2JBzGIAexwNnVM424lPZ0c9B9rb rvzA9Oat3r1omF/YpIhUzIhg16fUf5LQaBIf9OAkqKT06Kdq1uZ1xG8suZLglSZC Hf5qzDf0Qu6uII4lGUVeoms7ryzkIP7gnfRqLU/4ZueJfyoe28o9gKmjAm7YbjGw oLpDLFOZln6pdnlxjeeZa4F5YhL/10xdcyRLmknK6q5n0KatONg= =aGDA -----END PGP SIGNATURE----- --=-r649xTHeXHx5bWMmqJ9n--