Skip to content

Commit a8b3224

Browse files
rpluimyantar92
authored andcommitted
doc/org-manual.org: Reference org-cyclic and org-block
* doc/org-manual.org (Footnotes): Add `org-cyclic' and `org-block' to note about org diary functions. Add function indices for `org-date', `org-anniversary', `org-cyclic', and `org-block'.
1 parent 3825ca6 commit a8b3224

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

doc/org-manual.org

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22046,17 +22046,22 @@ format]]. The day name is optional when you type the date yourself.
2204622046
However, any date inserted or modified by Org adds that day name, for
2204722047
reading convenience.
2204822048

22049+
#+findex: org-date
22050+
#+findex: org-anniversary
22051+
#+findex: org-cyclic
22052+
#+findex: org-block
2204922053
[fn:60] When working with the standard diary expression functions, you
2205022054
need to be very careful with the order of the arguments. That order
2205122055
depends evilly on the variable ~calendar-date-style~. For example, to
2205222056
specify a date December 12, 2005, the call might look like
2205322057
=(diary-date 12 1 2005)= or =(diary-date 1 12 2005)= or =(diary-date
2205422058
2005 12 1)=, depending on the settings. This has been the source of
2205522059
much confusion. Org mode users can resort to special versions of
22056-
these functions like ~org-date~ or ~org-anniversary~. These work just
22057-
like the corresponding ~diary-~ functions, but with stable ISO order
22058-
of arguments (year, month, day) wherever applicable, independent of
22059-
the value of ~calendar-date-style~.
22060+
these functions, namely ~org-date~, ~org-anniversary~, ~org-cyclic, and
22061+
~org-block~. These work just like the corresponding ~diary-~
22062+
functions, but with stable ISO order of arguments (year, month, day)
22063+
wherever applicable, independent of the value of
22064+
~calendar-date-style~.
2206022065

2206122066
[fn:61] See the variable ~org-read-date-prefer-future~. You may set
2206222067
that variable to the symbol ~time~ to even make a time before now

0 commit comments

Comments
 (0)