From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Samuel Loury <konubinix@gmail.com>
Cc: OrgMode ML <emacs-orgmode@gnu.org>
Subject: Re: org-expiry not compatible with the new drawer syntax
Date: Fri, 30 Jan 2015 19:46:20 +0100 [thread overview]
Message-ID: <87fvasp0n7.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87wq44h8aq.fsf@konixwork.incubateur.ens-lyon.fr> (Samuel Loury's message of "Fri, 30 Jan 2015 11:28:13 +0100")
Samuel Loury <konubinix@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 (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,
next prev parent reply other threads:[~2015-01-30 18:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-30 7:22 org-expiry not compatible with the new drawer syntax Samuel Loury
2015-01-30 9:30 ` Nicolas Goaziou
2015-01-30 10:28 ` Samuel Loury
2015-01-30 10:35 ` Samuel Loury
2015-01-30 18:46 ` Nicolas Goaziou [this message]
2015-02-02 7:31 ` Samuel Loury
2015-02-02 12:26 ` Nicolas Goaziou
2015-02-02 12:45 ` Samuel Loury
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fvasp0n7.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=konubinix@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).