On Wed, Aug 4, 2010 at 9:45 PM, Inquisitive Scientist <inquisitive.scientist@gmail.com> wrote:
Dear Experts,

There seems to be a bug in the tags feature for clock tables. When I try to generate a dynamic block for a clock-table in the following example file it goes into an infinite loop.

*** 2010-08-04 Wednesday

This illustrates a bug in org-clock.el. When you Do C-c C-x C-r using
org-mode version 7.01g on Windows of GNU Emacs 23.1.1
(i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON.

#+BEGIN: clocktable :maxlevel 8 :scope subtree :tags "{DAILY}"

#+END:

**** TODO PLAN <2010-08-04 Wed>                                                                     :PLAN:DAILY:
         SCHEDULED: <2010-08-04 Wed 09:20-09:40>
         CLOCK: [2010-08-04 Wed 09:20]--[2010-08-04 Wed 09:31] =>  0:11

**** foo
         SCHEDULED: <2010-08-04 Wed 08:30-09:20>
         CLOCK: [2010-08-04 Wed 08:30]--[2010-08-04 Wed 09:30] =>  1:00




This works fine on a debian lenny with


GNU Emacs 23.2.2 (i686-pc-linux-gnu)
 of 2010-06-08 on sajida

release_7.01g-53-g82218
Org-mode version 7.01trans (release_7.01g.53.g82218.dirty)



*** 2010-08-04 Wednesday

This illustrates a bug in org-clock.el. When you Do C-c C-x C-r using
org-mode version 7.01g on Windows of GNU Emacs 23.1.1
(i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON.

#+BEGIN: clocktable :maxlevel 8 :scope subtree :tags "{DAILY}"

#+END:

**** TODO PLAN <2010-08-04 Wed>                                                                     :PLAN:DAILY:
         SCHEDULED: <2010-08-04 Wed 09:20-09:40>
         CLOCK: [2010-08-04 Wed 09:20]--[2010-08-04 Wed 09:31] =>  0:11

**** foo
         SCHEDULED: <2010-08-04 Wed 08:30-09:20>
         CLOCK: [2010-08-04 Wed 08:30]--[2010-08-04 Wed 09:30] =>  1:00

#+BEGIN: clocktable :maxlevel 2 :scope file
Clock summary at [2010-08-07 Sat 09:40]

| L | Headline     | Time   |
|---+--------------+--------|
|   | *Total time* | *1:11* |
|---+--------------+--------|
#+END:


Thanks and Regards
Noorul