[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-expiry not compatible with the new drawer syntax
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org-expiry not compatible with the new drawer syntax |
Date: |
Fri, 30 Jan 2015 19:46:20 +0100 |
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?
Thanks,