emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] lisp/org-element.el: Add repeater-deadline support to org-el


From: Morgan Smith
Subject: Re: [PATCH] lisp/org-element.el: Add repeater-deadline support to org-element
Date: Wed, 10 Apr 2024 17:46:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Apologies for the delay.  I had lots of social events surrounding the
solar eclipse.  The eclipse was really cool, I do recommend.

See two patches attached again.  All tests pass on my computer.

I decided to add an extra `let' statement to my changes to
`org-element-timestamp-parser'.  I think it adds a touch of clarity and
maybe performance.

Ihor Radchenko <yantar92@posteo.net> writes:

>> My change in org-syntax.org now implies that a repeater
>> must come before a delay.  I don't know what syntax to use that doesn't
>> make that implication.  Although I don't see the harm in telling people
>> to put the repeater first.
>
> We can simply leave the previous REPEATER-OR-DELAY, but expand on it
> that REPEATER-OR-DELAY is an instance of REPEATER or an instance of
> DELAY. Does it make sense?

Done.

>> Done.  It's my first time using rx though.  I don't know if I should be
>> compiling it or something for performance?
>
> `rx' is a macro. It will be expanded during compilation.

Thank you for the piece of mind.  I'll have to use `rx' more often :).


Thanks for the reviews!  I'll start switching org-habit over to the
element API soon.  I've already played with that a bit

Attachment: 0001-lisp-org-element.el-Add-repeater-deadline-support-to.patch
Description: Text Data

Attachment: 0001-Document-repeater-deadline-syntax-and-element-api.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]