emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Fix examples of clock tables in the manual
@ 2022-04-26  8:05 Nick Dokos
  2022-04-26 13:46 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2022-04-26  8:05 UTC (permalink / raw)
  To: emacs-orgmode

The syntax is:

    #+BEGIN: clocktable ...
    #+END:

There is no `clocktable' after `#+END:'.
---
  doc/org-manual.org | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index af54dc4e87f9..6768ca98dd7f 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -6665,7 +6665,7 @@ into the buffer by ~org-clock-report~:
  #+cindex: @samp{BEGIN clocktable}
  #+begin_example
  ,#+BEGIN: clocktable :maxlevel 2 :emphasize nil :scope file
-,#+END: clocktable
+,#+END:
  #+end_example

  #+vindex: org-clocktable-defaults
@@ -6849,7 +6849,7 @@ day, you could write:

  #+begin_example
  ,#+BEGIN: clocktable :maxlevel 2 :block today :scope tree1 :link t
-,#+END: clocktable
+,#+END:
  #+end_example

  #+texinfo: @noindent
@@ -6858,7 +6858,7 @@ To use a specific time range you could write[fn:80]
  #+begin_example
  ,#+BEGIN: clocktable :tstart "<2006-08-10 Thu 10:00>"
                      :tend "<2006-08-10 Thu 12:00>"
-,#+END: clocktable
+,#+END:
  #+end_example

  #+texinfo: @noindent
@@ -6866,7 +6866,7 @@ A range starting a week ago and ending right now 
could be written as

  #+begin_example
  ,#+BEGIN: clocktable :tstart "<-1w>" :tend "<now>"
-,#+END: clocktable
+,#+END:
  #+end_example

  #+texinfo: @noindent
@@ -6874,7 +6874,7 @@ A summary of the current subtree with % times would be

  #+begin_example
  ,#+BEGIN: clocktable :scope subtree :link t :formula %
-,#+END: clocktable
+,#+END:
  #+end_example

  #+texinfo: @noindent
@@ -6883,7 +6883,7 @@ last week would be

  #+begin_example
  ,#+BEGIN: clocktable :scope agenda :block lastweek :compact t
-,#+END: clocktable
+,#+END:
  #+end_example

  *** Resolving idle time and continuous clocking
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-27  9:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26  8:05 [PATCH] Fix examples of clock tables in the manual Nick Dokos
2022-04-26 13:46 ` Ihor Radchenko
2022-04-26 20:52   ` Nick Dokos
2022-04-27  8:55     ` Ihor Radchenko

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).