From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Guiffrida Subject: Bug: Properties do not show up in clock table [9.0.6 (9.0.6-elpa @ /home/nick/.emacs.d/elpa/org-20170502/)] Date: Sat, 6 May 2017 20:06:14 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113cbdfcd90a50054ee667c3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7CWZ-0002bz-Gc for emacs-orgmode@gnu.org; Sat, 06 May 2017 23:06:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7CWY-0004F0-2N for emacs-orgmode@gnu.org; Sat, 06 May 2017 23:06:19 -0400 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:34701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7CWX-0004Er-Qi for emacs-orgmode@gnu.org; Sat, 06 May 2017 23:06:17 -0400 Received: by mail-oi0-x22e.google.com with SMTP id b204so21465624oii.1 for ; Sat, 06 May 2017 20:06:16 -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 --001a113cbdfcd90a50054ee667c3 Content-Type: text/plain; charset=UTF-8 Hello, First of all thank you for org-mode. It's such an awesome tool. Below is content which that can be used to reproduce my problem: * Job1 > :PROPERTIES: > :job-number: 123457 > :END: > :LOGBOOK: > CLOCK: [2017-05-06 Sat 18:59]--[2017-05-06 Sat 19:30] => 0:31 > :END: > #+BEGIN: clocktable :maxlevel 2 :scope file :properties ("job-number") > #+CAPTION: Clock summary at [2017-05-06 Sat 19:54] > | job-number | Headline | Time | | > |------------+--------------+--------+-----| > | | *Total time* | *0:31* | 0.0 | > |------------+--------------+--------+-----| > | | Job1 | 0:31 | 0.0 | > #+TBLFM: $4='(org-clock-time% @2$2 $2..$3);%.1f > #+END: > You can see that the 'job-number' property is not in the clock table. I'm running Ubuntu 16.04 with an elpa install of org-mode. If I start emacs with the -q option, then the 'job-number' property shows up. However, if I clear my .emacs file and don't use the -q option to start emacs, the property does not show up. Thank you in advance for your help. Emacs : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-17 on lgw01-04, modified by Debian Package: Org mode version 9.0.6 (9.0.6-elpa @ /home/nick/.emacs.d/elpa/org-20170502/) current state: ============== (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '((closure (*this* org-babel-confirm-evaluate-answer-no t) nil (add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local))) #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5 "\n\n(fn)"] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5 "\n\n(fn)"] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("message" :follow (lambda (path) (browse-url (concat "message:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) --001a113cbdfcd90a50054ee667c3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

First of all thank yo= u for org-mode.=C2=A0 It's such an awesome tool.=C2=A0 Below is content= which that can be used to reproduce my problem:

* Job1
:PROPERTIES:
<= /font>:job-number: 123457
:END:
:LOGBOOK:
CLOCK: [2= 017-05-06 Sat 18:59]--[2017-05-06 Sat 19:30] =3D> =C2=A00:31
<= font face=3D"monospace, monospace">:END:
#+BEGIN: clocktable = :maxlevel 2 :scope file :properties ("job-number")
#+CAPTION: Clock summary at [2017-05-06 Sat= 19:54]
| job-number | Headli= ne =C2=A0 =C2=A0 | Time =C2=A0 | =C2=A0 =C2=A0 |
|------------+--------------+--------+-----|
= | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0| *Total time* | *0:31* | 0.0 |
|------------+--------------+--------+-----|
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Job1= =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 0:31 =C2=A0 | 0.0 |
#+TBLFM: $4=3D'(org-clock-time% @2$2 $2..$3);%.1f=
#+END:

You can see that the 'job-number' property is= not in the clock table.

I'm running Ubuntu 16= .04 with an elpa install of org-mode.=C2=A0 If I start emacs with the -q op= tion, then the 'job-number' property shows up.=C2=A0 However, if I = clear my .emacs file and don't use the -q option to start emacs, the pr= operty does not show up.

Thank you in advance for = your help.

Emacs =C2=A0: GNU Emacs 24.5.1 (x86_64-= pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-17 on lgw01-04, modified by D= ebian Package: Org mode version 9.0.6 (9.0.6-elpa @ /home/nick/.emacs.d/elp= a/org-20170502/)

current state:
=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-ta= b-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-= expand)
=C2=A0org-speed-command-hook '(org-speed-command-defa= ult-hook org-babel-speed-command-hook)
=C2=A0org-occur-hook '= (org-first-headline-recenter)
=C2=A0org-metaup-hook '(org-bab= el-load-in-session-maybe)
=C2=A0org-confirm-shell-link-function &= #39;yes-or-no-p
=C2=A0org-after-todo-state-change-hook '(org-= clock-out-if-current)
=C2=A0org-src-mode-hook '(org-src-babel= -configure-edit-buffer org-src-mode-configure-edit-buffer)
=C2=A0= org-agenda-before-write-hook '(org-agenda-add-entry-text)
=C2= =A0org-babel-pre-tangle-hook '(save-buffer)
=C2=A0org-mode-ho= ok '((closure (*this* org-babel-confirm-evaluate-answer-no t) nil
=
=C2=A0(add-hook (quote change-major-mode-hook) (quote org-babel-show-res= ult-all) (quote append) (quote local)))
#[0 "\300\301\302\303\= 304$\207" [add-hook change-major-mode-hook org-show-block-all append l= ocal] 5 "\n\n(fn)"]
#[0 "\300\301\302\303\304$\207&q= uot; [add-hook change-major-mode-hook org-babel-show-result-all append loca= l] 5 "\n\n(fn)"]
org-babel-result-hide-spec org-babel-hid= e-all-hashes)
=C2=A0org-archive-hook '(org-attach-archive-del= ete-maybe)
=C2=A0org-cycle-hook '(org-cycle-hide-archived-sub= trees org-cycle-hide-drawers org-cycle-show-empty-lines
=C2=A0org-o= ptimize-window-after-visibility-change)
=C2=A0org-confirm-elisp-l= ink-function 'yes-or-no-p
=C2=A0org-metadown-hook '(org-b= abel-pop-to-session-maybe)
=C2=A0org-link-parameters '(("= ;id" :follow org-id-open) ("rmail" :follow org-rmail-open :s= tore org-rmail-store-link)
=C2=A0 =C2=A0 =C2=A0 ("mhe" :f= ollow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-= irc-visit :store org-irc-store-link)
=C2=A0 =C2=A0 =C2=A0 ("in= fo" :follow org-info-open :export org-info-export :store org-info-stor= e-link)
=C2=A0 =C2=A0 =C2=A0 ("gnus" :follow org-gnus-ope= n :store org-gnus-store-link)
=C2=A0 =C2=A0 =C2=A0 ("docview&q= uot; :follow org-docview-open :export org-docview-export :store org-docview= -store-link)
=C2=A0 =C2=A0 =C2=A0 ("bibtex" :follow org-b= ibtex-open :store org-bibtex-store-link)
=C2=A0 =C2=A0 =C2=A0 (&quo= t;bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bb= db-complete-link :store org-bbdb-store-link)
=C2=A0 =C2=A0 =C2=A0 (= "w3m" :store org-w3m-store-link) ("file+sys") ("fi= le+emacs") ("doi" :follow org--open-doi-link)
=C2=A0= =C2=A0 =C2=A0 ("elisp" :follow org--open-elisp-link) ("file= " :complete org-file-complete-link)
=C2=A0 =C2=A0 =C2=A0 (&quo= t;ftp" :follow (lambda (path) (browse-url (concat "ftp:" pat= h)))) ("help" :follow org--open-help-link)
=C2=A0 =C2=A0= =C2=A0 ("http" :follow (lambda (path) (browse-url (concat "= http:" path))))
=C2=A0 =C2=A0 =C2=A0 ("https" :fol= low (lambda (path) (browse-url (concat "https:" path))))
= =C2=A0 =C2=A0 =C2=A0 ("mailto" :follow (lambda (path) (browse-url= (concat "mailto:" path))))
=C2=A0 =C2=A0 =C2=A0 ("m= essage" :follow (lambda (path) (browse-url (concat "message:"= ; path))))
=C2=A0 =C2=A0 =C2=A0 ("news" :follow (lambda (= path) (browse-url (concat "news:" path)))) ("shell" :fo= llow org--open-shell-link))
=C2=A0org-clock-out-hook '(org-cl= ock-remove-empty-clock-drawer)
=C2=A0)

--001a113cbdfcd90a50054ee667c3--