From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yichao Woo Subject: Bug: clock table report hang when using :tags [8.2.10 (release_8.2.10 @ c:/Program Files/emacs/share/emacs/24.5/lisp/org/)] Date: Mon, 1 Aug 2016 12:04:45 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113e240064ef3c0538fab3a8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU4TB-0006c5-UH for emacs-orgmode@gnu.org; Mon, 01 Aug 2016 00:04:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU4T9-00063S-Gt for emacs-orgmode@gnu.org; Mon, 01 Aug 2016 00:04:48 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:33307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU4T9-00063D-8V for emacs-orgmode@gnu.org; Mon, 01 Aug 2016 00:04:47 -0400 Received: by mail-oi0-x234.google.com with SMTP id j185so176722719oih.0 for ; Sun, 31 Jul 2016 21:04:46 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a113e240064ef3c0538fab3a8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Using command org-dblock-update in the following piece of org-mode text result in emacs hanging (but can exit using C-g key combo). The primary reason I found for the issue is the use of =E2=80=98:tags =E2=80=9Chello=E2= =80=9D. If I remove it, the report will be generated. here is the text resulting the hanging of command org-dblock-update ** hh #+BEGIN: clocktable :maxlevel 5 :scope subtree :tags "hello" #+END: *** gogogo :hell= o: :LOGBOOK: CLOCK: [2016-07-26 Tue 12:45]--[2016-07-26 Tue 13:45] =3D> 1:00 :END: Emacs : GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Package: Org-mode version 8.2.10 (release_8.2.10 @ c:/Program Files/emacs/share/emacs/24.5/lisp/org/) current state: (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-clock-in-resume t org-edit-timestamp-down-means-later t org-clock-persist t org-agenda-window-setup 'current-window org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-refile-targets '((nil :maxlevel . 5) (org-agenda-files :maxlevel . 5)) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-log-done 'time org-clock-out-remove-zero-time-clocks t org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-fast-tag-selection-single-key 'expert org-agenda-span 14 org-clock-in-hook '(sanityinc/show-org-clock-in-header-line) org-clock-cancel-hook '(sanityinc/hide-org-clock-from-header-line) org-refile-use-outline-path 'file org-clock-out-hook '(org-clock-remove-empty-clock-drawer sanityinc/hide-org-clock-from-header-line) org-completion-use-ido t org-agenda-include-diary t org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-clock-into-drawer t org-agenda-start-on-weekday nil org-tags-column 80 org-clock-in-switch-to-state "STARTED" org-metadown-hook '(org-babel-pop-to-session-maybe) org-todo-keywords '((sequence "TODO(t)" "STARTED(s)" "|" "DONE(d!/!)") (sequence "WAITING(w@/!)" "SOMEDAY(S)" "|" "CANCELLED(c@/!)")) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-confirm-shell-link-function 'yes-or-no-p ) =E2=80=8B =E2=80=8B --001a113e240064ef3c0538fab3a8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Using command org-dblock-update in the foll= owing piece of org-mode text
result in emacs hanging (but can exit using= C-g key combo). The primary
reason I found for the issue is the use of = =E2=80=98:tags =E2=80=9Chello=E2=80=9D. If I remove
it, the report will = be generated.

here is the text resulting the hang= ing of command org-dblock-update

** hh
#+BEGIN: clocktable :maxlevel 5 :scope subtree :tags "hello"

#+END:
*** gogogo                                                            :hell=
o:
    :LOGBOOK:
    CLOCK: [2016-07-26 Tue 12:45]--[2016-07-26 Tue 13:45] =3D>  1:00
    :END:

Emacs : GNU Emacs 24.= 5.1 (i686-pc-mingw32)
of 2015-04-11 on LEG570
Package: Org-mode vers= ion 8.2.10 (release_8.2.10 @ c:/Program Files/emacs/share/emacs/24.5/lisp/o= rg/)

current state:

(setq
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-saf=
ely-maybe)
 org-clock-in-resume t
 org-edit-timestamp-down-means-later t
 org-clock-persist t
 org-agenda-window-setup 'current-window
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-co=
mmand-maybe
                      org-babel-hide-result-toggle-maybe org-babel-header-a=
rg-expand)
 org-refile-targets '((nil :maxlevel . 5) (org-agenda-files :maxlevel .=
 5))
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawe=
rs org-cycle-hide-inline-tasks
                  org-cycle-show-empty-lines org-optimize-window-after-visi=
bility-change)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-spee=
d-command-hook)
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-log-done 'time
 org-clock-out-remove-zero-time-clocks t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-fast-tag-selection-single-key 'expert
 org-agenda-span 14
 org-clock-in-hook '(sanityinc/show-org-clock-in-header-line)
 org-clock-cancel-hook '(sanityinc/hide-org-clock-from-header-line)
 org-refile-use-outline-path 'file
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer sanityinc/hid=
e-org-clock-from-header-line)
 org-completion-use-ido t
 org-agenda-include-diary t
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all =
append local] 5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-babel-show-resu=
lt-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-clock-into-drawer t
 org-agenda-start-on-weekday nil
 org-tags-column 80
 org-clock-in-switch-to-state "STARTED"
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-todo-keywords '((sequence "TODO(t)" "STARTED(s)&quo=
t; "|" "DONE(d!/!)")
                     (sequence "WAITING(w@/!)" "SOMEDAY(S)&q=
uot; "|" "CANCELLED(c@/!)"))
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-c=
onfigure-edit-buffer)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-confirm-shell-link-function 'yes-or-no-p
 )
=E2=80=8B
=E2=80=8B
--001a113e240064ef3c0538fab3a8--