emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-orgmode@gnu.org
Subject: Bug: org-clock-display should mention how to remove times [6.33x]
Date: Sat, 26 Feb 2011 11:41:55 +0100	[thread overview]
Message-ID: <87sjvbw00c.fsf@marauder.physik.uni-ulm.de> (raw)

Hi,

| <menu-bar> <Org> <Logging work> <Display times> runs the command
| org-clock-display, which is an interactive compiled Lisp function in
| `org-clock.el'.
|
| It is bound to C-c C-x C-d, <menu-bar> <Org> <Logging work> <Display times>.
|
| (org-clock-display &optional TOTAL-ONLY)
|
| Show subtree times in the entire buffer.
| If TOTAL-ONLY is non-nil, only show the total time for the entire file
| in the echo area.

The doc string of `org-clock-display' should mention how to get rid of
the subtree times.

From the code, I guess it is `org-clock-remove-overlays'...

--8<---------------cut here---------------start------------->8---
2011-02-25  Reiner Steib  <reiner.steib@gmx.de>

	* org-clock.el (org-clock-display): Document how to remove subtree
	times.
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
--- lisp/org/org-clock.el	Fri Feb 25 14:27:00 2011
+++ lisp/org/org-clock.el~	Sat Jan 08 12:45:14 2011
@@ -1282,9 +1282,7 @@
 (defun org-clock-display (&optional total-only)
   "Show subtree times in the entire buffer.
 If TOTAL-ONLY is non-nil, only show the total time for the entire file
-in the echo area.
-
-Use \\[org-clock-remove-overlays] to remove the subtree times."
+in the echo area."
   (interactive)
   (org-clock-remove-overlays)
   (let (time h m p)
--8<---------------cut here---------------end--------------->8---

Emacs  : GNU Emacs 23.2.93.1 (i386-mingw-nt6.0.6002)
 of 2011-02-01 on 3249CTO
Package: Org-mode version 6.33x

current state:
==============
(setq
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-cycle-hook '(org-cycle-hide-archived-subtrees  org-cycle-hide-drawers
org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil "..." [org-add-hook change-major-mode-hook
org-show-block-all append local] 5]
		 org-indent-mode show-all ruv-org-mode-hook)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-indent-indentation-per-level 1
 org-occur-hook '(org-first-headline-recenter)
 )

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

             reply	other threads:[~2011-02-26 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 10:41 Reiner Steib [this message]
2011-02-26 15:32 ` Bug: org-clock-display should mention how to remove times [6.33x] Bastien

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=87sjvbw00c.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --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).