[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/org-edna f27a89f 45/72: Use example instead of src to mak
From: |
Ian Dunn |
Subject: |
[elpa] scratch/org-edna f27a89f 45/72: Use example instead of src to make HTML export prettier |
Date: |
Sun, 21 May 2017 21:11:26 -0400 (EDT) |
branch: scratch/org-edna
commit f27a89f77e9fe4e9e5cefd8f26133b0e29722f34
Author: Ian D <address@hidden>
Commit: Ian D <address@hidden>
Use example instead of src to make HTML export prettier
* org-edna.org: Replaced BEGIN_SRC org with BEGIN_EXAMPLE
---
org-edna.org | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/org-edna.org b/org-edna.org
index f94fa2b..d225adb 100644
--- a/org-edna.org
+++ b/org-edna.org
@@ -52,7 +52,7 @@ little late. Now Org will remind you too early.
Edna can handle this for you like so:
-#+BEGIN_SRC org
+#+BEGIN_EXAMPLE
,* TODO Put clothes in washer
SCHEDULED: <2017-04-08 Sat 09:00>
:PROPERTIES:
@@ -73,7 +73,7 @@ Edna can handle this for you like so:
:TRIGGER: next-sibling scheduled(++1h)
:BLOCKER: previous-sibling
:END:
-#+END_SRC
+#+END_EXAMPLE
After you've put your clothes in the washer and mark the task DONE, Edna will
schedule the following task for one hour after you set the first headline as
@@ -82,22 +82,22 @@ done.
Another example might be a checklist that you've done so many times that you do
part of it on autopilot:
-#+BEGIN_SRC org
+#+BEGIN_EXAMPLE
,* TODO Address all TODOs in code
,* TODO Commit Code to Repository
-#+END_SRC
+#+END_EXAMPLE
The last thing anyone wants is to find out that some part of the code on which
they've been working for days has a surprise waiting for them. Once again,
Edna
can help:
-#+BEGIN_SRC org
+#+BEGIN_EXAMPLE
,* TODO Address all TODOs in code
:PROPERTIES:
:BLOCKER: file(main.cpp) file(code.cpp) re-search(TODO)
:END:
,* TODO Commit Code to Repository
-#+END_SRC
+#+END_EXAMPLE
** Blockers
:PROPERTIES:
:CUSTOM_ID: blockers
@@ -152,7 +152,7 @@ The ~ancestors~ finder returns a list of the current
headline's ancestors.
For example:
-#+BEGIN_SRC org
+#+BEGIN_EXAMPLE
,* TODO Heading 1
,** TODO Heading 2
,** TODO Heading 3
@@ -161,7 +161,7 @@ For example:
:PROPERTIES:
:BLOCKER: ancestors
:END:
-#+END_SRC
+#+END_EXAMPLE
In the above example, "Heading 5" will be blocked until "Heading 1", "Heading
3", and "Heading 4" are marked "DONE", while "Heading 2" is ignored.
@@ -199,12 +199,12 @@ point in the file.
Note that with the default condition, ~file~ won't work. See
[[#conditions][conditions]] for how
to set a different condition. For example:
-#+BEGIN_SRC org
+#+BEGIN_EXAMPLE
,* TODO Test
:PROPERTIES:
:BLOCKER: file("~/myfile.org") headings
:END:
-#+END_SRC
+#+END_EXAMPLE
Here, "Test" will block until myfile.org is clear of headlines.
@@ -228,12 +228,12 @@ The ~first-child~ finder returns the first child of a
headline, if any.
The ~ids~ finder will search for headlines with given IDs, using ~org-id~. Any
number of UUIDs may be specified. For example:
-#+BEGIN_SRC org
+#+BEGIN_EXAMPLE
,* TODO Test
:PROPERTIES:
:BLOCKER:
ids(62209a9a-c63b-45ef-b8a8-12e47a9ceed9,6dbd7921-a25c-4e20-b035-365677e00f30)
:END:
-#+END_SRC
+#+END_EXAMPLE
Here, "Test" will block until the headline with ID
62209a9a-c63b-45ef-b8a8-12e47a9ceed9 and the headline with ID
@@ -248,12 +248,12 @@ Here, "Test" will block until the headline with ID
The ~match~ keyword will take any arguments that ~org-map-entries~ usually
takes.
In fact, the arguments to ~match~ are passed straight into ~org-map-entries~.
-#+BEGIN_SRC org
+#+BEGIN_EXAMPLE
,* TODO Test
:PROPERTIES:
:BLOCKER: match(test&mine,agenda)
:END:
-#+END_SRC
+#+END_EXAMPLE
"Test" will block until all entries tagged "test" and "mine" in the agenda
files
are marked DONE.
@@ -293,10 +293,10 @@ argument.
Once Edna has collected its targets for a trigger, it will perform actions on
them.
*** Scheduled/Deadline
-PLANNING(WKDY[ TIME]) -> Set PLANNING to following weekday WKDY at TIME
-PLANNING(rm|remove) -> Remove PLANNING info
-PLANNING([copy|cp]) -> Copy timestamp verbatim
-PLANNING([+|-][+|-]NTHING) -> Increment(+) or decrement(-) source (double) or
current (single) PLANNING by N THINGs
+- PLANNING(WKDY[ TIME]) -> Set PLANNING to following weekday WKDY at TIME
+- PLANNING(rm|remove) -> Remove PLANNING info
+- PLANNING([copy|cp]) -> Copy timestamp verbatim
+- PLANNING([+|-][+|-]NTHING) -> Increment(+) or decrement(-) source (double)
or current (single) PLANNING by N THINGs
PLANNING is either scheduled or deadline
- [elpa] scratch/org-edna 24a2837 38/72: Added tests for considerations, (continued)
- [elpa] scratch/org-edna 24a2837 38/72: Added tests for considerations, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 4b91a43 25/72: Added file for tests, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna bb284dc 27/72: Fixed parsing bug, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna d248565 21/72: Fix uses of substring, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 7978874 24/72: Added tests for ids and match finders, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 6448307 30/72: Added test for empty argument list, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 9e4d833 32/72: Fixed error in re-search, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna d022d2f 40/72: Added copyright and licensing information to all files, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 991782f 31/72: Added documentation for each condition, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna d527569 48/72: Handle all errors in Edna forms, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna f27a89f 45/72: Use example instead of src to make HTML export prettier,
Ian Dunn <=
- [elpa] scratch/org-edna cc3cd47 22/72: Added configuration option to use inheritance, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 3cc0913 34/72: Added some more test headings, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 65d3049 37/72: Fix considerations, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 1b492e1 42/72: Fixed copyright notices, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 5a9a42a 43/72: Added copyright date to source files, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 1f76403 15/72: Renamed to Org-Edna., Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna e03fa9c 60/72: Fixed up chain test, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna ad7bdc9 62/72: Fixed actions and documentation, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 96ca42c 65/72: Compile targets before running tests, Ian Dunn, 2017/05/21
- [elpa] scratch/org-edna 24b323d 52/72: Finished rough draft of documentation, Ian Dunn, 2017/05/21