* Bug in creating LOGBOOK drawers and maybe in visibility cycling of drawer contens.
@ 2011-02-25 16:15 Rainer Stengele
2011-02-25 17:54 ` Nicolas
0 siblings, 1 reply; 4+ messages in thread
From: Rainer Stengele @ 2011-02-25 16:15 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I think I found 1 or 2 bugs:
1. Having a text block like this:
** Headline
SCHEDULED: <2011-02-25 Fr>
CLOCK: [2011-02-25 Fr 17:04]--[2011-02-25 Fr 17:04] => 0:00
CLOCK: [2011-02-25 Fr 17:03]--[2011-02-25 Fr 17:04] => 0:01
CLOCK: [2011-02-25 Fr 14:30]--[2011-02-25 Fr 16:45] => 2:15
CLOCK: [2011-02-24 Do 16:30]--[2011-02-24 Do 17:00] => 0:30
CLOCK: [2011-02-24 Do 14:30]--[2011-02-24 Do 16:00] => 1:30
CLOCK: [2011-02-23 Mi 13:15]--[2011-02-23 Mi 15:45] => 2:30
CLOCK: [2011-02-22 Di 09:00]--[2011-02-22 Di 12:30] => 3:30
CLOCK: [2011-02-21 Mo 13:00]--[2011-02-21 Mo 17:00] => 4:00
CLOCK: [2011-02-21 Mo 11:15]--[2011-02-21 Mo 12:00] => 0:45
CLOCK: [2011-02-21 Mo 09:00]--[2011-02-21 Mo 10:00] => 1:00
- item1
* [2011-02-21 Mo] more text
- item2
...
then clocking in results in
** Headline
SCHEDULED: <2011-02-25 Fr>
:LOGBOOK:
CLOCK: [2011-02-25 Fr 17:04]--[2011-02-25 Fr 17:04] => 0:00
CLOCK: [2011-02-25 Fr 17:03]--[2011-02-25 Fr 17:04] => 0:01
CLOCK: [2011-02-25 Fr 14:30]--[2011-02-25 Fr 16:45] => 2:15
CLOCK: [2011-02-24 Do 16:30]--[2011-02-24 Do 17:00] => 0:30
CLOCK: [2011-02-24 Do 14:30]--[2011-02-24 Do 16:00] => 1:30
CLOCK: [2011-02-23 Mi 13:15]--[2011-02-23 Mi 15:45] => 2:30
CLOCK: [2011-02-22 Di 09:00]--[2011-02-22 Di 12:30] => 3:30
CLOCK: [2011-02-21 Mo 13:00]--[2011-02-21 Mo 17:00] => 4:00
CLOCK: [2011-02-21 Mo 11:15]--[2011-02-21 Mo 12:00] => 0:45
CLOCK: [2011-02-21 Mo 09:00]--[2011-02-21 Mo 10:00] => 1:00
- item1
* [2011-02-21 Mo] more text
:END:
- item2
I assume the date is confusing the regexp to find the end of the drawer section.
Due to the bug I now have a lot of "wrong" LOGBOOK blocks in my org files...
2. In the Org manual I find:
,----
| Visibility cycling (see Visibility cycling) on the headline will
| hide and show the entry, but keep the drawer collapsed to a single line.
| In order to look inside the drawer, you need to move the cursor to the
| drawer line and press <TAB> there.
`----
which does not work for me. I cannot collapse the drawer by pressing TAB.
- Rainer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug in creating LOGBOOK drawers and maybe in visibility cycling of drawer contens.
2011-02-25 16:15 Bug in creating LOGBOOK drawers and maybe in visibility cycling of drawer contens Rainer Stengele
@ 2011-02-25 17:54 ` Nicolas
2011-02-25 20:16 ` Rainer Stengele
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas @ 2011-02-25 17:54 UTC (permalink / raw)
To: Rainer Stengele; +Cc: emacs-orgmode
Hello,
Rainer Stengele <rainer.stengele@diplan.de> writes:
> 1. Having a text block like this:
>
> ** Headline
> SCHEDULED: <2011-02-25 Fr>
> CLOCK: [2011-02-25 Fr 17:04]--[2011-02-25 Fr 17:04] => 0:00
> CLOCK: [2011-02-25 Fr 17:03]--[2011-02-25 Fr 17:04] => 0:01
> CLOCK: [2011-02-25 Fr 14:30]--[2011-02-25 Fr 16:45] => 2:15
> CLOCK: [2011-02-24 Do 16:30]--[2011-02-24 Do 17:00] => 0:30
> CLOCK: [2011-02-24 Do 14:30]--[2011-02-24 Do 16:00] => 1:30
> CLOCK: [2011-02-23 Mi 13:15]--[2011-02-23 Mi 15:45] => 2:30
> CLOCK: [2011-02-22 Di 09:00]--[2011-02-22 Di 12:30] => 3:30
> CLOCK: [2011-02-21 Mo 13:00]--[2011-02-21 Mo 17:00] => 4:00
> CLOCK: [2011-02-21 Mo 11:15]--[2011-02-21 Mo 12:00] => 0:45
> CLOCK: [2011-02-21 Mo 09:00]--[2011-02-21 Mo 10:00] => 1:00
> - item1
> * [2011-02-21 Mo] more text
> - item2
This should be fixed in master now: the whole list will be swallowed by
the drawer (I think it is the intent of the original author of the
function).
> 2. In the Org manual I find:
>
> ,----
> | Visibility cycling (see Visibility cycling) on the headline will
> | hide and show the entry, but keep the drawer collapsed to a single line.
> | In order to look inside the drawer, you need to move the cursor to the
> | drawer line and press <TAB> there.
> `----
>
> which does not work for me. I cannot collapse the drawer by pressing TAB.
May you be more explicit here ? I have no problems collapsing and
expanding drawers here. Is the drawer you want to collapse in
`org-drawers', or after #+DRAWERS: in the buffer ?
Regards,
--
Nicolas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug in creating LOGBOOK drawers and maybe in visibility cycling of drawer contens.
2011-02-25 17:54 ` Nicolas
@ 2011-02-25 20:16 ` Rainer Stengele
2011-02-25 22:28 ` Nicolas
0 siblings, 1 reply; 4+ messages in thread
From: Rainer Stengele @ 2011-02-25 20:16 UTC (permalink / raw)
To: emacs-orgmode
Am 25.02.2011 18:54, schrieb Nicolas:
> Hello,
>
> Rainer Stengele <rainer.stengele@diplan.de> writes:
>
>> 1. Having a text block like this:
>>
>> ** Headline
>> SCHEDULED: <2011-02-25 Fr>
>> CLOCK: [2011-02-25 Fr 17:04]--[2011-02-25 Fr 17:04] => 0:00
>> CLOCK: [2011-02-25 Fr 17:03]--[2011-02-25 Fr 17:04] => 0:01
>> CLOCK: [2011-02-25 Fr 14:30]--[2011-02-25 Fr 16:45] => 2:15
>> CLOCK: [2011-02-24 Do 16:30]--[2011-02-24 Do 17:00] => 0:30
>> CLOCK: [2011-02-24 Do 14:30]--[2011-02-24 Do 16:00] => 1:30
>> CLOCK: [2011-02-23 Mi 13:15]--[2011-02-23 Mi 15:45] => 2:30
>> CLOCK: [2011-02-22 Di 09:00]--[2011-02-22 Di 12:30] => 3:30
>> CLOCK: [2011-02-21 Mo 13:00]--[2011-02-21 Mo 17:00] => 4:00
>> CLOCK: [2011-02-21 Mo 11:15]--[2011-02-21 Mo 12:00] => 0:45
>> CLOCK: [2011-02-21 Mo 09:00]--[2011-02-21 Mo 10:00] => 1:00
>> - item1
>> * [2011-02-21 Mo] more text
>> - item2
> This should be fixed in master now: the whole list will be swallowed by
> the drawer (I think it is the intent of the original author of the
> function).
>
>> 2. In the Org manual I find:
>>
>> ,----
>> | Visibility cycling (see Visibility cycling) on the headline will
>> | hide and show the entry, but keep the drawer collapsed to a single line.
>> | In order to look inside the drawer, you need to move the cursor to the
>> | drawer line and press <TAB> there.
>> `----
>>
>> which does not work for me. I cannot collapse the drawer by pressing TAB.
> May you be more explicit here ? I have no problems collapsing and
> expanding drawers here. Is the drawer you want to collapse in
> `org-drawers', or after #+DRAWERS: in the buffer ?
>
> Regards,
>
Hi Nicolas,
thank you! Unfortunately now the :END: encloses even more lines further
down the block!
Please recheck your patch, it does not close the CLOCK: lines!
Best regards,
Rainer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug in creating LOGBOOK drawers and maybe in visibility cycling of drawer contens.
2011-02-25 20:16 ` Rainer Stengele
@ 2011-02-25 22:28 ` Nicolas
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas @ 2011-02-25 22:28 UTC (permalink / raw)
To: Rainer Stengele; +Cc: emacs-orgmode
Rainer Stengele <rainer.stengele@diplan.de> writes:
> thank you! Unfortunately now the :END: encloses even more lines further
> down the block!
Indeed, the drawer is wrapped around the list. I think this is required
as the list may well be some notes or TODO states to put into the
logbook.
If you don't want to have the list into the drawer, you can skip a line
before it.
Regards,
-- Nicolas
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-25 22:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 16:15 Bug in creating LOGBOOK drawers and maybe in visibility cycling of drawer contens Rainer Stengele
2011-02-25 17:54 ` Nicolas
2011-02-25 20:16 ` Rainer Stengele
2011-02-25 22:28 ` Nicolas
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.