emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Ufimtsev <lufimtse@redhat.com>
To: Rainer Stengele <rainer.stengele@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: lots of CLOCK lines displayed when opening a TODO
Date: Thu, 5 Mar 2015 10:11:02 -0500 (EST)	[thread overview]
Message-ID: <1101087058.16663516.1425568262844.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <md79c1$g5s$1@ger.gmane.org>

My Log book drawers are hidden when entries expand. 

But I mapped my C-S-<TAB> to expand logbook drawers so I can peak into them. (see snippet below).

I log everything into the logbook. Clocktimes, state changes, dated notes when I put an item on hold.
I found it too tedious to move things around. 

Since the logbook is hidden by default, it doesn't get into the way of the rest of the task.

(defun my/expand-logbook-drawer ()
 "Expand the closest logbook drawer"
 (interactive)
 (search-forward ":LOGBOOK:")
 (org-cycle)
)

(global-set-key (kbd "<C-iso-lefttab>") 'my/expand-logbook-drawer)


---------- Other drawer related configs:
(local-set-key (kbd "C-:") 'org-insert-drawer)
(org-clock-into-drawer "LOGBOOK")
(org-log-into-drawer t)

(org-drawers
   (quote
    ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" "SOURCE" "TROUBLESHOOTING")))

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

----- Original Message -----
From: "Rainer Stengele" <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org
Sent: Wednesday, March 4, 2015 10:46:08 AM
Subject: [O] lots of CLOCK lines displayed when opening a TODO

Hi!

I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting.
After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines.
I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. Seems to work fine with clocking etc.
My requirement would be to only open the first LOGBOOK block when opening the headline (TODO).
That way I could hide older entries from using screen space and instead see the text below immediately.

Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work?
Any chance to get this regarded as an enhancement idea?

Thank you.
Regards, Rainer


* TODO [#A] Weekly Services - Action Items
:LOGBOOK:
CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
:END:
:LOGBOOK:
CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
:END:

- text I would like to see without having to scroll over all the CLOCK lines

  parent reply	other threads:[~2015-03-05 15:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 15:46 lots of CLOCK lines displayed when opening a TODO Rainer Stengele
2015-03-05  5:14 ` Richard Lawrence
2015-03-05  8:02 ` Loris Bennett
2015-03-11 14:58   ` Rainer Stengele
2015-03-12  8:03     ` Loris Bennett
2015-03-12 12:14       ` Nick Dokos
2015-03-12 14:17         ` Leo Ufimtsev
2015-03-12 12:59       ` Rainer Stengele
2015-03-12 13:39         ` Loris Bennett
2015-03-13 12:12           ` Rainer Stengele
2015-03-05 15:11 ` Leo Ufimtsev [this message]
2015-03-12  5:47   ` Xavier Maillard
2015-03-12 14:12     ` Leo Ufimtsev
2015-03-14  5:49       ` Xavier Maillard

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=1101087058.16663516.1425568262844.JavaMail.zimbra@redhat.com \
    --to=lufimtse@redhat.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@online.de \
    /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).