emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Fix examples of clock tables in the manual
Date: Tue, 26 Apr 2022 04:05:01 -0400	[thread overview]
Message-ID: <1a103d52-9d98-a439-e9b9-3b12d511e1a8@gmail.com> (raw)

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



             reply	other threads:[~2022-04-26  8:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26  8:05 Nick Dokos [this message]
2022-04-26 13:46 ` [PATCH] Fix examples of clock tables in the manual Ihor Radchenko
2022-04-26 20:52   ` Nick Dokos
2022-04-27  8:55     ` Ihor Radchenko

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=1a103d52-9d98-a439-e9b9-3b12d511e1a8@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).