* Bug: Updating clocktable hides other content [9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)]
@ 2017-03-25 22:37 Christof Musik
2017-03-28 1:36 ` Yasushi SHOJI
2017-03-29 14:35 ` Nicolas Goaziou
0 siblings, 2 replies; 3+ messages in thread
From: Christof Musik @ 2017-03-25 22:37 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
Hi
I have noticed some problems on updating a clocktable in a dynamic block.
If you update this table with org-dblock-update, then all content besides that table
is hidden. I have not found a way to show it again without opening the file again.
Example:
----
* bar
* baz
* foo
#+BEGIN: clocktable :maxlevel 2 :scope subtree
#+CAPTION: Clock summary at [2017-03-25 Sa 23:19]
| Headline | Time | |
|--------------+--------+------|
| *Total time* | *2:00* | |
|--------------+--------+------|
| foo | 2:00 | |
| \_ TODO a | | 1:00 |
| \_ TODO b | | 1:00 |
#+END:
** TODO a
CLOCK: [2017-03-25 Sa 21:32]--[2017-03-25 Sa 22:32] => 1:00
** TODO b
CLOCK: [2017-03-24 Fr 21:32]--[2017-03-24 Fr 22:32] => 1:00
----
Steps to reproduce:
Go to the line with "BEGIN" and press C-c C-C (org-dblock-update).
Now only the header foo is shown and bar, baz are hidden. Saving the file does
not kill them, but without opening the file again they won't come back.
I have also bisected this and found that the commit 33f8f8adaaa2a2458f7489f0ec714a230e981823
is the culprit for this behavior. Hope this helps as my Lisp knowledge is very limited.
------------------------------------------------------------------------
Emacs : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.7)
of 2017-02-07
Package: Org mode version 9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)
Kind regards
Christof Musik
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: Updating clocktable hides other content [9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)]
2017-03-25 22:37 Bug: Updating clocktable hides other content [9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)] Christof Musik
@ 2017-03-28 1:36 ` Yasushi SHOJI
2017-03-29 14:35 ` Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: Yasushi SHOJI @ 2017-03-28 1:36 UTC (permalink / raw)
To: Christof Musik; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
Hi Christof,
On Sun, Mar 26, 2017 at 7:37 AM, Christof Musik <ml-orgmode@litephone.org>
wrote:
>
> I have noticed some problems on updating a clocktable in a dynamic block.
> If you update this table with org-dblock-update, then all content besides
that table
> is hidden. I have not found a way to show it again without opening the
file again.
It's a bug with :scope subtree. I had noticed this before but haven't come
to fix it.
You can just widen the buffer with C-x n w, or M-x widen.
--
yashi
[-- Attachment #2: Type: text/html, Size: 714 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: Updating clocktable hides other content [9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)]
2017-03-25 22:37 Bug: Updating clocktable hides other content [9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)] Christof Musik
2017-03-28 1:36 ` Yasushi SHOJI
@ 2017-03-29 14:35 ` Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2017-03-29 14:35 UTC (permalink / raw)
To: Christof Musik; +Cc: emacs-orgmode@gnu.org
Hello,
Christof Musik <ml-orgmode@litephone.org> writes:
> I have noticed some problems on updating a clocktable in a dynamic block.
> If you update this table with org-dblock-update, then all content besides that table
> is hidden. I have not found a way to show it again without opening the file again.
>
> Example:
>
> ----
> * bar
> * baz
> * foo
>
> #+BEGIN: clocktable :maxlevel 2 :scope subtree
> #+CAPTION: Clock summary at [2017-03-25 Sa 23:19]
>
> | Headline | Time | |
> |--------------+--------+------|
> | *Total time* | *2:00* | |
> |--------------+--------+------|
> | foo | 2:00 | |
> | \_ TODO a | | 1:00 |
> | \_ TODO b | | 1:00 |
> #+END:
>
>
> ** TODO a
> CLOCK: [2017-03-25 Sa 21:32]--[2017-03-25 Sa 22:32] => 1:00
> ** TODO b
> CLOCK: [2017-03-24 Fr 21:32]--[2017-03-24 Fr 22:32] => 1:00
> ----
>
> Steps to reproduce:
> Go to the line with "BEGIN" and press C-c C-C (org-dblock-update).
> Now only the header foo is shown and bar, baz are hidden. Saving the file does
> not kill them, but without opening the file again they won't come
> back.
Thank you.
I think I fixed this. Could you update Org and confirm it?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-29 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-25 22:37 Bug: Updating clocktable hides other content [9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)] Christof Musik
2017-03-28 1:36 ` Yasushi SHOJI
2017-03-29 14:35 ` Nicolas Goaziou
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).