[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-expiry not compatible with the new drawer syntax
From: |
Samuel Loury |
Subject: |
Re: [O] org-expiry not compatible with the new drawer syntax |
Date: |
Mon, 02 Feb 2015 08:31:56 +0100 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) |
Hi,
Nicolas Goaziou <address@hidden> writes:
> Samuel Loury <address@hidden> 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 (looking-at org-property-drawer-re)
>> (goto-char (match-end 0))
>> (forward-line)))
>
> Indeed.
>
>> I would have gladly provided a patch myself but I couldn't find neither
>> a good name for the function nor a correct location to store it. Should
>> it be in org.el? It is already 24850 lines long...
>
> I changed `org-end-of-meta-data-and-drawers' into
> `org-end-of-meta-data'.
>
> Could you merge your other patch and the use of this function?
Please find attached the merged patch, as asked for.
0001-Make-use-of-org-insert-heading-instead-of-inserting-.patch
Description: Text Data
Thank you for you support.
--
Konubinix
GPG Key : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A
signature.asc
Description: PGP signature
- Re: [O] org-expiry not compatible with the new drawer syntax,
Samuel Loury <=