emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Make updated clock table visible
Date: Fri, 8 Feb 2008 09:12:49 +0100	[thread overview]
Message-ID: <507C9CAB-3879-4BFC-A7F0-50C9566B42F8@science.uva.nl> (raw)
In-Reply-To: <87abmcczxv.fsf@gollum.intra.norang.ca>


[-- Attachment #1.1: Type: text/plain, Size: 1582 bytes --]

Hi Bernt,

good idea, I'll put this in.

- Carsten

On Feb 7, 2008, at 8:46 PM, Bernt Hansen wrote:

> C-u C-c C-x C-r updates the first clock table in the org file.
> If this task is folded the cursor moves to the task but you can't  
> see the
> result of the update.  The updated clock table is now immediately  
> visible.
> ---
>
> I use C-u C-c C-x C-r all the time to update my clock table and 99% of
> the time it's folded so I can't see the result.  This patch works  
> for me
> but my * Timelog task does not have anything else but the clock  
> table in
> it.
>
> I would prefer to display the task like org-cycle does and leave an
> :PROPERTIES: drawers folded but I don't know how to do that...
>
> This works for me. :)
>
> -Bernt
>
> org.el |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/org.el b/org.el
> index c73218b..2db8863 100644
> --- a/org.el
> +++ b/org.el
> @@ -18797,7 +18797,8 @@ When called with a prefix argument, move to  
> the first clock table in the
> buffer and update it."
>   (interactive "P")
>   (org-remove-clock-overlays)
> -  (when arg (org-find-dblock "clocktable"))
> +  (when arg (org-find-dblock "clocktable")
> +	  (org-show-entry))
>   (if (org-in-clocktable-p)
>       (goto-char (org-in-clocktable-p))
>     (org-create-dblock (list :name "clocktable"
> -- 
> 1.5.4.34.g053d9
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 2196 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-02-08  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07 19:46 [PATCH] Make updated clock table visible Bernt Hansen
2008-02-08  8:12 ` Carsten Dominik [this message]

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=507C9CAB-3879-4BFC-A7F0-50C9566B42F8@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bernt@norang.ca \
    --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).