Re: [O] org-expiry not compatible with the new drawer syntax

2015-02-02 Thread Samuel Loury
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Samuel Loury konubi...@gmail.com writes: Please find attached the merged patch, as asked for. Applied, thank you. Therefore, the hooks associated to the insertion of a heading will be triggered. Since those hooks may cause the creation of

Re: [O] org-expiry not compatible with the new drawer syntax

2015-02-02 Thread Nicolas Goaziou
Samuel Loury konubi...@gmail.com writes: Please find attached the merged patch, as asked for. Applied, thank you. Therefore, the hooks associated to the insertion of a heading will be triggered. Since those hooks may cause the creation of some metadata. `org-end-of-meta-data' is used

Re: [O] org-expiry not compatible with the new drawer syntax

2015-02-01 Thread Samuel Loury
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Samuel Loury konubi...@gmail.com writes: I suggest to provide a helper that would move point after the meta-data part to avoid code duplication. Something like (no surprise :-)): (defun org-goto-after-metadata-part () (when

Re: [O] org-expiry not compatible with the new drawer syntax

2015-01-30 Thread Nicolas Goaziou
Samuel Loury konubi...@gmail.com writes: I suggest to provide a helper that would move point after the meta-data part to avoid code duplication. Something like (no surprise :-)): (defun org-goto-after-metadata-part () (when (org-looking-at-p org-planning-line-re) (forward-line)) (when

Re: [O] org-expiry not compatible with the new drawer syntax

2015-01-30 Thread Samuel Loury
Thank you for taking into account this problem. Nicolas Goaziou m...@nicolasgoaziou.fr writes: Samuel Loury konubi...@gmail.com writes: I just realized that when creating a new entry in my org-diary (`org-agenda-add-entry-to-org-agenda-diary-file'), the entry looks like: ** test

Re: [O] org-expiry not compatible with the new drawer syntax

2015-01-30 Thread Nicolas Goaziou
Hello, Samuel Loury konubi...@gmail.com writes: I just realized that when creating a new entry in my org-diary (`org-agenda-add-entry-to-org-agenda-diary-file'), the entry looks like: ** test 2015-01-30 Fri :PROPERTIES: :CREATED: [2015-01-30 Fri 08:00] :END: The property is

Re: [O] org-expiry not compatible with the new drawer syntax

2015-01-30 Thread Samuel Loury
Samuel Loury konubi...@gmail.com writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Samuel Loury konubi...@gmail.com writes: I just realized that when creating a new entry in my org-diary (`org-agenda-add-entry-to-org-agenda-diary-file'), the entry looks like: ** test 2015-01-30