Re: [O] Demoting in plain list displays asterisk as space
Am 26.06.2018 um 15:45 schrieb Rainer Stengele: Am 25.06.2018 um 13:58 schrieb Nicolas Goaziou: Hello, Rainer Stengele writes: Having this item list: - 1 - 2 with cursor in the "-2" row demoteing the item with org-shiftmetaright results in - 1 2 where the expected " * 2" is displayed as " 2". describe-char with cursor at the expected asterisk position reveals that "*" is displayed as space: I cannot reproduce it. Please check your configuration. Regards, Thanks, Nicolas, for doing a test. I know already that it works with a minimal config. My problem really is I have no clue where to start searching and would have hoped for an experienced user to give me a hint which (probably) org variable could let that asterisk disappear. I find it quite difficult to find out the one culprit leading to such an effect. I know about bisecting the .emacs init file but what about the configuartion variables? Ho would you "bisect" that one? Thank you. Regards, Rainer Hi again, I just included the (custom-set-variables ..) and ((custom-set-faces ..) forms from my custom.el file into my mini-init.el and did not find the reason there so will need to bisect my init files. Thank you. Regards, Rainer
Re: [O] Demoting in plain list displays asterisk as space
Am 25.06.2018 um 13:58 schrieb Nicolas Goaziou: Hello, Rainer Stengele writes: Having this item list: - 1 - 2 with cursor in the "-2" row demoteing the item with org-shiftmetaright results in - 1 2 where the expected " * 2" is displayed as "2". describe-char with cursor at the expected asterisk position reveals that "*" is displayed as space: I cannot reproduce it. Please check your configuration. Regards, Thanks, Nicolas, for doing a test. I know already that it works with a minimal config. My problem really is I have no clue where to start searching and would have hoped for an experienced user to give me a hint which (probably) org variable could let that asterisk disappear. I find it quite difficult to find out the one culprit leading to such an effect. I know about bisecting the .emacs init file but what about the configuartion variables? Ho would you "bisect" that one? Thank you. Regards, Rainer
[O] Demoting in plain list displays asterisk as space
Hi all, Having this item list: - 1 - 2 with cursor in the "-2" row demoteing the item with org-shiftmetaright results in - 1 2 where the expected " * 2" is displayed as "2". describe-char with cursor at the expected asterisk position reveals that "*" is displayed as space: - position: 7 of 10 (60%), column: 2 character: * (displayed as *) (codepoint 42, #o52, #x2a) preferred charset: ascii (ASCII (ISO646 IRV)) code point in charset: 0x2A script: latin syntax: _which means: symbol category: .:Base, a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET 2a" or "C-x 8 RET ASTERISK" buffer code: #x2A file code: #x2A (encoded by coding system utf-8-dos) display: composed to form "*" (see below) Composed by the rule: (? ) The component character(s) are displayed by these fonts (glyph codes): : uniscribe:-outline-DejaVu Sans Mono-normal-normal-normal-mono-12-*-*-*-c-*-iso8859-1 (#x03) See the variable ‘reference-point-alist’ for the meaning of the rule. Character code properties: customize what to show name: ASTERISK general-category: Po (Punctuation, Other) decomposition: (42) ('*') There are text properties here: composition [Show] fontifiedt keymap [Show] line-prefix "" mouse-face highlight wrap-prefix [Show] - Demoting once more results in: - 1 + I cannot seem to find the reason why the "*" is displayed as empty char (space). I already found out that there are no overlays at that point. Does anybody have a hint? Thank you. Regards, Rainer
Re: [O] BUG: unwanted ":" in org agenda tags-todo result lines
Am 26.05.2018 um 12:32 schrieb Nicolas Goaziou: Hello, Rainer Stengele writes: Emacs : GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-17 Package: Org mode version 9.1.13 (release_9.1.13-763-g2621db @ c:/Users/rstengele/AppData/Roaming/.emacs.d/org/lisp/) I configured a minimal Emacs startup file as here (add-to-list 'load-path "~/.emacs.d/org/lisp/") (require 'org) (global-set-key "\C-ca" 'org-agenda) ;; test specific settings ;; (setq org-complete-tags-always-offer-all-agenda-tags t) (setq org-agenda-files '("~/org/bug-agenda.org")) (setq org-agenda-custom-commands '(("H" "tags-todo" ;; standard Aegis view ((tags-todo "ACTIVE") The file "~/org/bug-agenda.org" contains the following: * TODO todo 1 :ACTIVE: SCHEDULED: <2018-05-25 Fr> * TODO todo 2 :ACTIVE: SCHEDULED: <2018-05-25 Fr> Starting with "emacs.exe -Q -l ~\mini-init.el" the resulting agenda is this: Headlines with TAGS match: ACTIVE bug-agenda: TODO todo 1 : :ACTIVE: bug-agenda: TODO todo 2 : :ACTIVE: Please look at the ":" after the 2 todo lines. I do not know where these are coming from and consider them unwanted. Can someone please recreate and try to fix this please? Fixed. Thank you. Regards, Thanks, Nicolas. works as expected now. Regards, Rainer
[O] BUG: unwanted ":" in org agenda tags-todo result lines
Hi, Emacs : GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-17 Package: Org mode version 9.1.13 (release_9.1.13-763-g2621db @ c:/Users/rstengele/AppData/Roaming/.emacs.d/org/lisp/) I configured a minimal Emacs startup file as here --8<---cut here---start->8--- (add-to-list 'load-path "~/.emacs.d/org/lisp/") (require 'org) (global-set-key "\C-ca" 'org-agenda) ;; test specific settings ;; (setq org-complete-tags-always-offer-all-agenda-tags t) (setq org-agenda-files '("~/org/bug-agenda.org")) (setq org-agenda-custom-commands '(("H" "tags-todo" ;; standard Aegis view ((tags-todo "ACTIVE") --8<---cut here---end--->8--- The file "~/org/bug-agenda.org" contains the following: --8<---cut here---start->8--- * TODO todo 1 :ACTIVE: SCHEDULED: <2018-05-25 Fr> * TODO todo 2 :ACTIVE: SCHEDULED: <2018-05-25 Fr> --8<---cut here---end--->8--- Starting with "emacs.exe -Q -l ~\mini-init.el" the resulting agenda is this: --8<---cut here---start->8--- Headlines with TAGS match: ACTIVE bug-agenda: TODO todo 1 : :ACTIVE: bug-agenda: TODO todo 2 : :ACTIVE: --8<---cut here---end--->8--- Please look at the ":" after the 2 todo lines. I do not know where these are coming from and consider them unwanted. Can someone please recreate and try to fix this please? Thank you. Regards, Rainer
Re: [O] error while creating agenda clocktable
Am 27.04.2018 um 15:47 schrieb Bastien: Hi Rainer, Rainer Stengele <rainer.steng...@online.de> writes: I will copy the new function and modify it to fit my needs. Thanks for this - please share your experience so that we can better guide people in updating their code. The only backward-incompatible change is that :tags is now :match and :tags can now be nil or t to allow to insert tags. You might also want to test the new feature. Thanks, Hi Bastien, thanks for the request, I am glad to do do. What I really want is a very simple clocktable in my agenda view: Only 2 columns, CATEGORY, the total clocked time and the sum of clocked time for each CATEGORY in the agenda view. Using the standard org-clocktable-write-default I see this: |---+---+---+--| | | GESAMT| *Gesamtdauer* | *2:45* | |---+---+---+--| | Projectmanagement.org | *Dateizeit* | * | * | | | project 1 | *project 1: Projektmanagement* | 0:15 | | | project 2 | *project 2: Projektmanagement* | 1:15 | .. .. my goal is to end up with column 2 and 4: |---+--| | CATEGORY | *2:45* | |---+--| | *Dateizeit* |* | | project 1 | 0:15 | | project 2 | 1:15 | as I only use 1 project org file and only 1 headline under which I clock my project time. I would of course be more than happy to have new clocktable options to inhibit the filename column and also the headline lock column, not sure how that is named in the code. In the past I just copied the org-clocktable-write-default and modified it brutally in order to just output my 2 needed columns. That of course makes it sensitive to code changes.. Thank you. Regards, Rainer
Re: [O] error while creating agenda clocktable
Hi Bastien, I see that org-clocktable-write-default has been modified quite a bit. I will copy the new function and modify it to fit my needs. So please consider this case closed. Thank you. Regards, Rainer Am 27.04.2018 um 14:05 schrieb Rainer Stengele: Hi Bastien, I am addressing you because I read that something changed with the agenda clocktables. Maybe related to that E-Mail: Subject: Re: agenda clockreport -- include tags? Date: Fri, 27 Apr 2018 01:34:50 +0200 After updating today I cannot get the agenda clocktable anymore. I use my own formatter function rst/org-clocktable-write-default, which worked fine before. Can you please look into this? Error message see here: Debugger entered--Lisp error: (wrong-type-argument listp 15) assoc("CATEGORY" 15) (cdr (assoc p (nth 4 entry))) (or (cdr (assoc p (nth 4 entry))) "") (closure ((tcol) (narrow-cut-p) (content) (recalc) (headline . #("*Helbako-RO-BMW: Projektmanagement*" 0 1 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 34 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 34 35 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-at-mouse)) mouse-face highlight invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t))) (entry 1 #("*Helbako-RO-BMW: Projektmanagement*" 0 1 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 34 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 34 35 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-at-mouse)) mouse-face highlight invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t)) nil nil 15 (("CATEGORY" . "Helbako-RO-BMW"))) (entries (1 #("*Waltron: Projektmanagement*" 0 1 (:org-clock-minutes 75 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Waltron" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 27 (:org-clock-minutes 75 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Waltron" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 27 28 (:org-clock-minutes 75 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Waltron" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-at-mouse)) mouse-face highlight invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t)) nil nil 75 (("CATEGORY" . "Waltron"))) (1 #("*00 - Project Managament - general*" 0 1 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - daily" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 34 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - daily" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 34 35 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - daily" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (
[O] error while creating agenda clocktable
Hi Bastien, I am addressing you because I read that something changed with the agenda clocktables. Maybe related to that E-Mail: Subject: Re: agenda clockreport -- include tags? Date: Fri, 27 Apr 2018 01:34:50 +0200 After updating today I cannot get the agenda clocktable anymore. I use my own formatter function rst/org-clocktable-write-default, which worked fine before. Can you please look into this? Error message see here: Debugger entered--Lisp error: (wrong-type-argument listp 15) assoc("CATEGORY" 15) (cdr (assoc p (nth 4 entry))) (or (cdr (assoc p (nth 4 entry))) "") (closure ((tcol) (narrow-cut-p) (content) (recalc) (headline . #("*Helbako-RO-BMW: Projektmanagement*" 0 1 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 34 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 34 35 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-at-mouse)) mouse-face highlight invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t))) (entry 1 #("*Helbako-RO-BMW: Projektmanagement*" 0 1 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 34 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 34 35 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Helbako-RO-BMW" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-at-mouse)) mouse-face highlight invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t)) nil nil 15 (("CATEGORY" . "Helbako-RO-BMW"))) (entries (1 #("*Waltron: Projektmanagement*" 0 1 (:org-clock-minutes 75 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Waltron" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 27 (:org-clock-minutes 75 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Waltron" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 27 28 (:org-clock-minutes 75 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "Waltron" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-at-mouse)) mouse-face highlight invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t)) nil nil 75 (("CATEGORY" . "Waltron"))) (1 #("*00 - Project Managament - general*" 0 1 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - daily" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 34 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - daily" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 34 35 (:org-clock-minutes 15 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - daily" keymap (keymap (down-mouse-3 . org-mouse-move-tree-start) (drag-mouse-3 . org-mouse-move-tree) (C-down-mouse-1 . org-mouse-move-tree-start) (C-drag-mouse-1 . org-mouse-move-tree) (follow-link . mouse-face) (mouse-3) (mouse-2 . org-open-at-mouse)) mouse-face highlight invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t)) nil nil 15 (("CATEGORY" . "PM - daily"))) (1 #("*00 - PM Special*" 0 1 (:org-clock-minutes 60 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - special" invisible org-link org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 1 16 (:org-clock-minutes 60 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - special" org-emphasis t font-lock-multiline t face (bold org-level-1) fontified t) 16 17 (:org-clock-minutes 60 wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category "PM - special" keymap
Re: [O] Bug: org-agenda no more aligns tags to the set column
Am 25.04.2018 um 00:02 schrieb Nicolas Goaziou: Hello, Rainer Stengele <rainer.steng...@online.de> writes: running latest Org mode version 9.1.11 (release_9.1.11-620-ga548e4 my agenda views do no more align tags at the set column org-agenda-tags-column. Tags are added directly after the agenda item subject. I think this has recently changed. Did I miss a changed setting or is this a bug? It would be a bug, but I cannot reproduce it. Do you have an ECM? Regards, Ok, thanks for checking. Please change org-agenda-tags-column to something other than the default, for example -160. Does the standard agenda ("C-c a a") respect the variable in your case? It doesn't seem to in my setting. Thanks and regards, Rainer
[O] Bug: org-agenda no more aligns tags to the set column
Hi, running latest Org mode version 9.1.11 (release_9.1.11-620-ga548e4 my agenda views do no more align tags at the set column org-agenda-tags-column. Tags are added directly after the agenda item subject. I think this has recently changed. Did I miss a changed setting or is this a bug? Regards, Rainer
[O] [Bug] org agenda does not display clock entries after jumping with "j" to another day
Am 11.04.2018 um 11:50 schrieb Rainer Stengele: All, I have a simple Org file with this content: * TODO Test agenda clockings CLOCK: [2018-04-11 Mi 11:30]--[2018-04-11 Mi 11:45] => 0:15 CLOCK: [2018-04-10 Di 11:30]--[2018-04-10 Di 11:45] => 0:15 CLOCK: [2018-04-09 Mo 11:30]--[2018-04-09 Mo 11:45] => 0:15 CLOCK: [2018-04-08 So 11:30]--[2018-04-08 So 11:45] => 0:15 Starting the agenda with "C-c a a" the clock entry from today is displayed correctly: Day-agenda (W15): Mittwoch 11 April 2018 9:00.. test: 11:30-11:45 Clocked: (0:15) TODO Test agenda clockings Scrolling through the days with "b" and "f" displays the entries correctly for the 4 days. Now jumping to April 10th with "j" and selecting one of the 4 days displays an empty agenda: Day-agenda (W15): Now also scrolling through days with "f" and "b" does no more display the clock entries. The same is true for weeks view. After jumping with "j" the clocked entries disappear. I believe this is a bug. Thank you. Regards, Rainer Hi all, I use Org mode version 9.1.9 (release_9.1.9-586-g361704 under Windows. Do I need to provide anything else in order for this to be looked into? Thank you. Regards, Rainer
[O] Bug? org agenda does not display clock entries after jumping with "j" to another day
All, I have a simple Org file with this content: * TODO Test agenda clockings CLOCK: [2018-04-11 Mi 11:30]--[2018-04-11 Mi 11:45] => 0:15 CLOCK: [2018-04-10 Di 11:30]--[2018-04-10 Di 11:45] => 0:15 CLOCK: [2018-04-09 Mo 11:30]--[2018-04-09 Mo 11:45] => 0:15 CLOCK: [2018-04-08 So 11:30]--[2018-04-08 So 11:45] => 0:15 Starting the agenda with "C-c a a" the clock entry from today is displayed correctly: Day-agenda (W15): Mittwoch 11 April 2018 9:00.. test:11:30-11:45Clocked: (0:15) TODOTest agenda clockings Scrolling through the days with "b" and "f" displays the entries correctly for the 4 days. Now jumping to April 10th with "j" and selecting one of the 4 days displays an empty agenda: Day-agenda (W15): Now also scrolling through days with "f" and "b" does no more display the clock entries. The same is true for weeks view. After jumping with "j" the clocked entries disappear. I believe this is a bug. Thank you. Regards, Rainer
Re: [O] executing org-table TBLFM form changes (resets) language settings
Am 31.01.2018 um 12:08 schrieb Nicolas Goaziou: Hello, Rainer Stengele <rainer.steng...@online.de> writes: I set the variables in my .emacs: (defvar math-short-weekday-names '( "So" "Mo" "Di" "Mi" "Do" "Fr" "Sa" )) Shouldn't it be (setq math-short-weekday-names '("So" ...)) Very strange, no clue why that happens. No clue either. Calc is pretty foreign to me. You may want to ask Emacs devel ML. Regards, Hi, as nobody answered my calc question neither here nor in the emacs user group I am now using a work around. I rearranged my timestamp table from | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+--+--+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] |19.00 | 3.00 | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f to | IM Startzeit -- IM Endezeit | Stunden - Min String | Delta | Anm. | |--+--++--| | [2018-01-22 Mo 19:30]--[2018-01-23 Di 14:30] |19.00 | 3.00 | | #+TBLFM: $2='(rst/org-evaluate-time-range)::$3=$2-16.0; %.2f I copied org-evaluate-time-range to rst/org-evaluate-time-range and modified the output slightly to give me a %2.2f hours based time range delta. Brutal, but works. Thank you. Regards, Rainer (defun rst/org-evaluate-time-range ( to-buffer) "Evaluate a time range by computing the difference between start and end. Normally the result is just printed in the echo area, but with prefix arg TO-BUFFER, the result is inserted just after the date stamp into the buffer. If the time range is actually in a table, the result is inserted into the next column. For time difference computation, a year is assumed to be exactly 365 days in order to avoid rounding problems." (interactive "P") (or (org-clock-update-time-maybe) (save-excursion (unless (org-at-date-range-p t) (goto-char (point-at-bol)) (re-search-forward org-tr-regexp-both (point-at-eol) t)) (unless (org-at-date-range-p t) (user-error "Not at a time-stamp range, and none found in current line"))) (let* ((ts1 (match-string 1)) (ts2 (match-string 2)) (havetime (or (> (length ts1) 15) (> (length ts2) 15))) (match-end (match-end 0)) (time1 (org-time-string-to-time ts1)) (time2 (org-time-string-to-time ts2)) (t1 (float-time time1)) (t2 (float-time time2)) (diff (abs (- t2 t1))) (negative (< (- t2 t1) 0)) ;; (ys (floor (* 365 24 60 60))) (ds (* 24 60 60)) (hs (* 60 60)) (fy "%dy %dd %02d:%02d") (fy1 "%dy %dd") (fd "%dd %02d:%02d") (fd1 "%dd") (fh "%02d:%02d") y d h m align) (if havetime (setq ; y (floor (/ diff ys)) diff (mod diff ys) y 0 d (floor (/ diff ds)) diff (mod diff ds) h (floor (/ diff hs)) diff (mod diff hs) m (floor (/ diff 60))) (setq ; y (floor (/ diff ys)) diff (mod diff ys) y 0 d (floor (+ (/ diff ds) 0.5)) h 0 m 0)) (if (not to-buffer) ;; RST changes here: ;; (message "%s" (org-make-tdiff-string y d h m)) (message "%2.2f" (+ (* 24 d) h (/ m 60.0))) (if (org-at-table-p) (progn (goto-char match-end) (setq align t) (and (looking-at " *|") (goto-char (match-end 0 (goto-char match-end)) (when (looking-at "\\( *-? *[0-9]+y\\)?\\( *[0-9]+d\\)? *[0-9][0-9]:[0-9][0-9]") (replace-match "")) (when negative (insert " -")) (if (> y 0) (insert " " (format (if havetime fy fy1) y d h m)) (if (> d 0) (insert " " (format (if havetime fd fd1) d h m)) (insert " " (format fh h m (when align (org-table-align)) (message "Time difference inserted")
Re: [O] executing org-table TBLFM form changes (resets) language settings
Am 30.01.2018 um 22:07 schrieb Nicolas Goaziou: Hello, Rainer Stengele <rainer.steng...@online.de> writes: has anybody an idea? Each time I calculate a time diff in an Org table I trigger the wrong creation of any org timestamp as the date language has changed. Full restart of Emacs needed right now :(. Would setting `math-short-weekday-names' help? Regards, Hello, I set the variables in my .emacs: (defvar math-short-weekday-names '( "So" "Mo" "Di" "Mi" "Do" "Fr" "Sa" )) Now the TBLFMT line creates #ERROR entries! Very strange, no clue why that happens. Regards, Rainer
Re: [O] executing org-table TBLFM form changes (resets) language settings
Am 29.01.2018 um 08:49 schrieb Rainer Stengele: Am 26.01.2018 um 10:46 schrieb Rainer Stengele: Am 25.01.2018 um 20:27 schrieb Nick Dokos: Rainer Stengele <rainer.steng...@online.de> writes: All, My current-language-environment is "German". Having an Org table with a TBLFM attached: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 | 3.00 | | | | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f entering a new timestamp correctly inserts German dayname abbrevs: ("Do", German for "Thu", English): | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 | 3.00 | | | [2018-01-25 Do 14:19] | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Executing the TBLFM line with C-c C-c changes (resets) the language environment to English. Now inserting a timestamp inserts "Thu" instead of "Do", that is it uses the English day name abbrevs: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+--+--+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 | 3.00 | | | [2018-01-25 Thu 14:21]| | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Believe me it took me some time to find out what action in Emacs changes the whole lang environment. Is that a bug or is there a language setting in the TBLFM form? Thanks for any hint. Regards, Rainer I can reproduce this if I start emacs like this: emacs -q -l ~/src/minimal/min.org.el /tmp/dates.org & set the language environment inside emacs and then do C-c C-c on the TBLFM line and try to add another date. I cannot reproduce it when invoking emacs like this: LANG=de_DE.UTF-8 emacs -q -l ~/src/minimal/min.org.el /tmp/dates.org so it seems you are right that in the first case, something changes the language environment. Hi Nick, thanks for confirming. I am running under Windows and cannot apply your environment setting like this. Does anyboday have a chance to correct the misbehaviour in the TBLFM table code that changes the language settings? I will not be able to do it on my own. Thank you. Regards, Rainer Hi again, I found out that it is the "date" function that changes the language settings. TBLFM lines without date calc don't change the behaviour. May I please ask a calc expert to look into that function and investigate the unwanted behaviour. I am also not sure how to easily reset the language setting manually to the correct one. Can someone give me a hint please. Thank you. Regards, Rainer Hi again, has anybody an idea? Each time I calculate a time diff in an Org table I trigger the wrong creation of any org timestamp as the date language has changed. Full restart of Emacs needed right now :(. Regards, Rainer
Re: [O] executing org-table TBLFM form changes (resets) language settings
Am 26.01.2018 um 10:46 schrieb Rainer Stengele: Am 25.01.2018 um 20:27 schrieb Nick Dokos: Rainer Stengele <rainer.steng...@online.de> writes: All, My current-language-environment is "German". Having an Org table with a TBLFM attached: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 | 3.00 | | | | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f entering a new timestamp correctly inserts German dayname abbrevs: ("Do", German for "Thu", English): | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 | 3.00 | | | [2018-01-25 Do 14:19] | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Executing the TBLFM line with C-c C-c changes (resets) the language environment to English. Now inserting a timestamp inserts "Thu" instead of "Do", that is it uses the English day name abbrevs: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+--+--+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 | 3.00 | | | [2018-01-25 Thu 14:21]| | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Believe me it took me some time to find out what action in Emacs changes the whole lang environment. Is that a bug or is there a language setting in the TBLFM form? Thanks for any hint. Regards, Rainer I can reproduce this if I start emacs like this: emacs -q -l ~/src/minimal/min.org.el /tmp/dates.org & set the language environment inside emacs and then do C-c C-c on the TBLFM line and try to add another date. I cannot reproduce it when invoking emacs like this: LANG=de_DE.UTF-8 emacs -q -l ~/src/minimal/min.org.el /tmp/dates.org so it seems you are right that in the first case, something changes the language environment. Hi Nick, thanks for confirming. I am running under Windows and cannot apply your environment setting like this. Does anyboday have a chance to correct the misbehaviour in the TBLFM table code that changes the language settings? I will not be able to do it on my own. Thank you. Regards, Rainer Hi again, I found out that it is the "date" function that changes the language settings. TBLFM lines without date calc don't change the behaviour. May I please ask a calc expert to look into that function and investigate the unwanted behaviour. I am also not sure how to easily reset the language setting manually to the correct one. Can someone give me a hint please. Thank you. Regards, Rainer
Re: [O] executing org-table TBLFM form changes (resets) language settings
Am 25.01.2018 um 20:27 schrieb Nick Dokos: Rainer Stengele <rainer.steng...@online.de> writes: All, My current-language-environment is "German". Having an Org table with a TBLFM attached: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 |3.00 | | | | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f entering a new timestamp correctly inserts German dayname abbrevs: ("Do", German for "Thu", English): | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 |3.00 | | | [2018-01-25 Do 14:19] | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Executing the TBLFM line with C-c C-c changes (resets) the language environment to English. Now inserting a timestamp inserts "Thu" instead of "Do", that is it uses the English day name abbrevs: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+--+--+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] |19.00 | 3.00 | | | [2018-01-25 Thu 14:21]| | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Believe me it took me some time to find out what action in Emacs changes the whole lang environment. Is that a bug or is there a language setting in the TBLFM form? Thanks for any hint. Regards, Rainer I can reproduce this if I start emacs like this: emacs -q -l ~/src/minimal/min.org.el /tmp/dates.org & set the language environment inside emacs and then do C-c C-c on the TBLFM line and try to add another date. I cannot reproduce it when invoking emacs like this: LANG=de_DE.UTF-8 emacs -q -l ~/src/minimal/min.org.el /tmp/dates.org so it seems you are right that in the first case, something changes the language environment. Hi Nick, thanks for confirming. I am running under Windows and cannot apply your environment setting like this. Does anyboday have a chance to correct the misbehaviour in the TBLFM table code that changes the language settings? I will not be able to do it on my own. Thank you. Regards, Rainer
[O] executing org-table TBLFM form changes (resets) language settings
All, My current-language-environment is "German". Having an Org table with a TBLFM attached: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 |3.00 | | | | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f entering a new timestamp correctly inserts German dayname abbrevs: ("Do", German for "Thu", English): | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+-+-+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] | 19.00 |3.00 | | | [2018-01-25 Do 14:19] | | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Executing the TBLFM line with C-c C-c changes (resets) the language environment to English. Now inserting a timestamp inserts "Thu" instead of "Do", that is it uses the English day name abbrevs: | IM Startzeit | IM Endezeit | Stunden | delta(x,16) | Anm. | |---+---+--+--+--| | [2018-01-22 Mo 19:30] | [2018-01-23 Di 14:30] |19.00 | 3.00 | | | [2018-01-25 Thu 14:21]| | | | | #+TBLFM: $3=24*(date(<$2>)-date(<$1>)); %.2f::$4=$3-16.0; %.2f Believe me it took me some time to find out what action in Emacs changes the whole lang environment. Is that a bug or is there a language setting in the TBLFM form? Thanks for any hint. Regards, Rainer
Re: [O] specify different agenda item colors for different custom agenda views
Am 19.12.2017 um 14:32 schrieb Rainer Stengele: Hi all, I cannot seem to find a way how to customise colors in custom org agenda blocks. I have 2 agenda views, both drawing from different set of org files. I would like to have different org-agenda-done faces for the 2 views. Can anyone give me a hint please. Thank you. Regards, Rainer These posts which stay unanswered - either they are too stupid or too complicated?! Anybody an idea, a hint? Thank you. Regards, Rainer
[O] specify different agenda item colors for different custom agenda views
Hi all, I cannot seem to find a way how to customise colors in custom org agenda blocks. I have 2 agenda views, both drawing from different set of org files. I would like to have different org-agenda-done faces for the 2 views. Can anyone give me a hint please. Thank you. Regards, Rainer
[O] http://orgmode.org/org.html "Short Contents" links seem to be broken
Hi, opening http://orgmode.org/org.html and clicking on one of the "Short Contents" links does not jump to the target. I use Chrome under Windows. Can anybody confirm please this as bug in the html manual or tell me it's my local problem. BTW, the dynamic right sided pop up toc does include working links. Thank you. Regards, Rainer
Re: [O] DEADLINE ignored?
Am 14.12.2017 um 16:39 schrieb Nicolas Goaziou: Rainer Stengele <rainer.steng...@online.de> writes: I am concerned hearing you say "sheer luck" because I am relying on such double entries, which seem to have worked well in the past: * TODO [#A] Change tyres spring/autumn DEADLINE: <2018-05-01 Di> SCHEDULED: <2018-04-21 Sa +1y> DEADLINE: <2018-11-10 Sa> SCHEDULED: <2018-11-03 Sa +1y> So is that working only by sheer luck? Definitely. Planning info is a single line, right below the heading. Most related code relies on that assumption. Regards, Thanks for clarifying, I will adjust and use multiple tasks. Regards Rainer
Re: [O] DEADLINE ignored?
Am 14.12.2017 um 14:41 schrieb Nicolas Goaziou: Hello, Rainer Stengele <rainer.steng...@online.de> writes: it looks like * TODO task DEADLINE: <2017-12-14 Do> SCHEDULED: <2017-12-14 Do> will find the DEADLINE and SCHEDULE timestamp and display correctly in the agenda while Sheer luck, I would say. * TODO task SCHEDULED: <2017-12-14 Do> DEADLINE: <2017-12-14 Do> will still find the SCHEDULED tinestamp but no more the DEADLINE. I had this sequence in my org templates in the past and had no issues as far as I remember. Has this behaviour changed? I cannot remember Org supporting this syntax, actually. I don't think anything changed. Freshly creating a new SCHEDULED and DEADLINED timestamp results in the structure below. Do all tasks now need to have both items in the same line like here: * TODO task SCHEDULED: <2017-12-14 Do> DEADLINE: <2017-12-14 Do> They do, but it's not new. Regards, Thanks, Nicolas. I am concerned hearing you say "sheer luck" because I am relying on such double entries, which seem to have worked well in the past: * TODO [#A] Change tyres spring/autumn DEADLINE: <2018-05-01 Di> SCHEDULED: <2018-04-21 Sa +1y> DEADLINE: <2018-11-10 Sa> SCHEDULED: <2018-11-03 Sa +1y> So is that working only by sheer luck? Thank you. Regards, Rainer
Re: [O] DEADLINE ignored?
Am 04.09.2017 um 12:21 schrieb Eric S Fraga: On Monday, 4 Sep 2017 at 12:08, Pdj wrote: Hello, I am observing this (funky?) behavior: in the agenda, the deadline seems to be identified only if it immediately follows the headline, and it is ignored otherwise. Am I missing something? Thank you, Paolo. You are not missing something. As the manual says: A timestamp may be preceded by special keywords to facilitate planning. Both the timestamp and the keyword have to be positioned immediately after the task they refer to. I guess immediately means not even a blank line. Hi, it looks like * TODO task DEADLINE: <2017-12-14 Do> SCHEDULED: <2017-12-14 Do> will find the DEADLINE and SCHEDULE timestamp and display correctly in the agenda while * TODO task SCHEDULED: <2017-12-14 Do> DEADLINE: <2017-12-14 Do> will still find the SCHEDULED tinestamp but no more the DEADLINE. I had this sequence in my org templates in the past and had no issues as far as I remember. Has this behaviour changed? Freshly creating a new SCHEDULED and DEADLINED timestamp results in the structure below. Do all tasks now need to have both items in the same line like here: * TODO task SCHEDULED: <2017-12-14 Do> DEADLINE: <2017-12-14 Do> Thank you. Regards, Rainer Org mode version 9.1.4 (release_9.1.4-206-g4b80c6.dirty ..
Re: [O] erroneously extracting a timestamps from a TODO subject - SOLVED
Am 13.11.2017 um 15:07 schrieb Eric S Fraga: On Monday, 13 Nov 2017 at 13:12, Rainer Stengele wrote: Hi, I have this TODO in my Org file: *** TODO Chapter 7:21-23 - text :@HOME: SCHEDULED: <2017-11-13 Mo> my related agenda shows this: Montag 13 November 2017 W46 Privat: 7:21..Scheduled: TODO Chapter -23 - text It seems that the agenda in a strange way extracts the timestamp "7:21" from "7:21-23 -text" but leaves "-23 -test" as the TODO subject. Could this be a bug? If you don't want org to search for times in the headline, check out org-agenda-search-headline-for-time. It is probably very difficult to define a pattern that excludes examples like yours from being parsed for a time when it shouldn't... Hi Eric, thanks, that solved it. I was searching all variable names including "org" and "agenda" and "timestamp" (thanks to helm-apropos) so missed that one. Regards, Rainer
[O] erroneously extracting a timestamps from a TODO subject
Hi, I have this TODO in my Org file: *** TODO Chapter 7:21-23 - text :@HOME: SCHEDULED: <2017-11-13 Mo> my related agenda shows this: Montag 13 November 2017 W46 Privat: 7:21..Scheduled: TODO Chapter -23 - text It seems that the agenda in a strange way extracts the timestamp "7:21" from "7:21-23 - text" but leaves "-23 - test" as the TODO subject. Could this be a bug? The agenda I use is this one as an excerpt from my org-agenda-custom-commands: .. ("p1" "PRIVATE agenda - 7 days - prio A,B todos - sorted prio up" ;; ( (agenda "prio ABC agenda" ( (org-agenda-start-with-log-mode t) (org-agenda-skip-scheduled-if-done nil) (org-agenda-skip-deadline-if-done nil) (org-agenda-overriding-header "Today's Agenda + Prio A+B todos "))) (alltodo "todos Prio A" ((org-agenda-skip-function (lambda nil (or (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]") (org-agenda-skip-entry-if 'scheduled 'deadline (org-agenda-overriding-header "!!! TODOs Prio A: !!!"))) (alltodo "rest of todos" ((org-agenda-skip-function (lambda nil (or (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#A\\]") (org-agenda-skip-entry-if 'scheduled 'deadline (org-agenda-overriding-header "TODOs ohne Prio A: ") ))) ((org-agenda-files privat-org-agenda-files) (org-agenda-include-inactive-timestamps nil) (org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-sorting-strategy '(time-up priority-down todo-state-up .. Thank you. Regards, Rainer
Re: [O] Bug in the sorting of clocktables with ":sort (4 . ?T)" for clock sums over "100:00" hours
Am 25.08.2017 um 00:07 schrieb Nicolas Goaziou: Hello, Rainer Stengele <rainer.steng...@online.de> writes: I may have found a bug in the sorting of clocktables. I am summing up clocked time over time periods. [...] As soon as the sum grows higher than 100:00 sorting is corrupted: #+BEGIN: clocktable :maxlevel 1 :properties ("CATEGORY") :fileskip0 t :scope agenda-with-archives :tstart "<2017-01-01 So 00:00>" :tend "<2017-01-23 Mo 00:00>" :sort (4 . ?T) #+CAPTION: Clock summary at [2017-08-24 Do 16:14] | File | CATEGORY| Headline | Time | |---+-+--+--| | | ALL | *Total time* | *104:45* | |---+-+--+--| | | annonymised | annonymised |28:00 | | | annonymised | annonymised |18:45 | | | annonymised | annonymised |10:45 | | | annonymised | annonymised | 8:00 | | | annonymised | annonymised | 8:00 | | | annonymised | annonymised | 7:15 | | Projectmanagement.org | | *File time* | *104:00* | | | annonymised | annonymised | 4:00 | | | annonymised | annonymised | 3:45 | | | annonymised | annonymised | 2:00 | | | annonymised | annonymised | 2:00 | | | annonymised | annonymised | 1:45 | | | annonymised | annonymised | 1:45 | | | annonymised | annonymised | 1:15 | | | annonymised | annonymised | 0:45 | | | annonymised | annonymised | 0:45 | | | annonymised | annonymised | 0:30 | | | annonymised | annonymised | 0:30 | | | annonymised | annonymised | 0:30 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | |---+-+--+--| | FILE2.org | | *File time* | *0:45* | | | annonymised | annonymised | 0:45 | #+END: Fixed. Thank you. Regards, Works, thanks very much! Regards, Rainer
[O] Bug in the sorting of clocktables with ":sort (4 . ?T)" for clock sums over "100:00" hours
Hi, I may have found a bug in the sorting of clocktables. I am summing up clocked time over time periods. As long as the clocksum is under "100:00" (6 characters including ":") sorting seems to be ok: #+BEGIN: clocktable :maxlevel 1 :properties ("CATEGORY") :fileskip0 t :scope agenda-with-archives :tstart "<2017-01-01 So 00:00>" :tend "<2017-01-20 Fr 00:00>" :sort (4 . ?T) #+CAPTION: Clock summary at [2017-08-24 Do 15:04] | File | CATEGORY| Headline |Time | |---+-+--+-| | | ALL | *Total time* | *97:30* | |---+-+--+-| | Projectmanagement.org | | *File time* | *96:45* | | | annonymised | annonymised | 24:45 | | | annonymised | annonymised | 17:45 | | | annonymised | annonymised | 10:45 | | | annonymised | annonymised |8:00 | | | annonymised | annonymised |7:45 | | | annonymised | annonymised |5:00 | | | annonymised | annonymised |4:00 | | | annonymised | annonymised |3:45 | | | annonymised | annonymised |2:00 | | | annonymised | annonymised |2:00 | | | annonymised | annonymised |1:45 | | | annonymised | annonymised |1:45 | | | annonymised | annonymised |1:15 | | | annonymised | annonymised |0:45 | | | annonymised | annonymised |0:45 | | | annonymised | annonymised |0:30 | | | annonymised | annonymised |0:30 | | | annonymised | annonymised |0:30 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | | | annonymised | annonymised |0:15 | |---+-+--+-| | FILE2.org | | *File time* | *0:45* | | | annonymised | annonymised |0:45 | #+END: As soon as the sum grows higher than 100:00 sorting is corrupted: #+BEGIN: clocktable :maxlevel 1 :properties ("CATEGORY") :fileskip0 t :scope agenda-with-archives :tstart "<2017-01-01 So 00:00>" :tend "<2017-01-23 Mo 00:00>" :sort (4 . ?T) #+CAPTION: Clock summary at [2017-08-24 Do 16:14] | File | CATEGORY| Headline | Time | |---+-+--+--| | | ALL | *Total time* | *104:45* | |---+-+--+--| | | annonymised | annonymised |28:00 | | | annonymised | annonymised |18:45 | | | annonymised | annonymised |10:45 | | | annonymised | annonymised | 8:00 | | | annonymised | annonymised | 8:00 | | | annonymised | annonymised | 7:15 | | Projectmanagement.org | | *File time* | *104:00* | | | annonymised | annonymised | 4:00 | | | annonymised | annonymised | 3:45 | | | annonymised | annonymised | 2:00 | | | annonymised | annonymised | 2:00 | | | annonymised | annonymised | 1:45 | | | annonymised | annonymised | 1:45 | | | annonymised | annonymised | 1:15 | | | annonymised | annonymised | 0:45 | | | annonymised | annonymised | 0:45 | | | annonymised | annonymised | 0:30 | | | annonymised | annonymised | 0:30 | | | annonymised | annonymised | 0:30 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | | | annonymised | annonymised | 0:15 | |
Re: [O] 9.0.6 and clock tables -> solved
Am 15.05.2017 um 08:57 schrieb Rainer Stengele: Am 12.05.2017 um 17:23 schrieb Nicolas Goaziou: Hello, Rainer Stengele <rainer.steng...@online.de> writes: I have a wrong clock summary in my agenda and also in clock tables since 9.0.6. Also the clock sum format suddenly includes days instead of only hours as before. I have a function overriding the agenda clocktable report - see below. What has changed in terms of clock time sum? Could you show an ECM? Regards, Hi, I updated to the latest Org version this morning. I still get this result: (without line wraps) for the Time value: "1d 12:45". It was showing a total sum of hours before updating to 9.0.6 and the value is also wrong since the update (should be around 39 hours). #+BEGIN: clocktable :maxlevel 1 :properties ("CATEGORY") :fileskip0 t :scope agenda-with-archives :block 2017-W19 :sort (4 . ?T) #+CAPTION: Clock summary at [2017-05-15 Mo 08:51], for week 2017-W19. | File | CATEGORY | Headline| Time | |---++--+| | | ALL| *Total time*| *1d 12:45* | |---++--+| | Projectmanagement.org || *File time*| *1d 12:45* | #+END: So something has changed calculating and outputting the clock summary. Thank you. Regards, Rainer Hi again, found it. I missed the change to the new Org duration Format in that update. After adapting configurations all works as expected. Thanks and sorry for the noise. Regards, Rainer Stengele
Re: [O] 9.0.6 and clock tables
Am 12.05.2017 um 17:23 schrieb Nicolas Goaziou: Hello, Rainer Stengele <rainer.steng...@online.de> writes: I have a wrong clock summary in my agenda and also in clock tables since 9.0.6. Also the clock sum format suddenly includes days instead of only hours as before. I have a function overriding the agenda clocktable report - see below. What has changed in terms of clock time sum? Could you show an ECM? Regards, Hi, I updated to the latest Org version this morning. I still get this result: (without line wraps) for the Time value: "1d 12:45". It was showing a total sum of hours before updating to 9.0.6 and the value is also wrong since the update (should be around 39 hours). #+BEGIN: clocktable :maxlevel 1 :properties ("CATEGORY") :fileskip0 t :scope agenda-with-archives :block 2017-W19 :sort (4 . ?T) #+CAPTION: Clock summary at [2017-05-15 Mo 08:51], for week 2017-W19. | File | CATEGORY | Headline | Time | |---++--+| | | ALL| *Total time* | *1d 12:45* | |---++--+| | Projectmanagement.org || *File time* | *1d 12:45* | #+END: So something has changed calculating and outputting the clock summary. Thank you. Regards, Rainer
Re: [O] 9.0.6 and clock tables
Am 08.05.2017 um 12:31 schrieb Roland Everaert: I just see this. Since this morning my clocktable doesn't fill a column related to a property, any known issue and workaround/fix for this? Regards, On Mon, May 8, 2017 at 10:37 AM, Eric S Fraga> wrote: On Sunday, 7 May 2017 at 10:16, Nicolas Goaziou wrote: > Would you happen to have any news on it? Had no time but ... > BTW, you may need to remove any TBLFM: entry related to % since this is > no longer necessary when using :formula %. ... removing the existing TBLFM line fixes the problem! Many thanks! -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.6-407-gc28ec3 Hi, I have a wrong clock summary in my agenda and also in clock tables since 9.0.6. Also the clock sum format suddenly includes days instead of only hours as before. I have a function overriding the agenda clocktable report - see below. What has changed in terms of clock time sum? It seems this section is no more working as before: (format org-clock-total-time-cell-format (org-minutes-to-clocksum-string (or total-time 0))) org-minutes-to-clocksum-string simply contains "*%s*" Please advise. Thank you. Regards, Rainer (defun rst/org-clocktable-write-default (ipos tables params) "Write out a clock table at position IPOS in the current buffer. TABLES is a list of tables with clocking data as produced by `org-clock-get-table-data'. PARAMS is the parameter property list obtained from the dynamic block definition." ;; This function looks quite complicated, mainly because there are a ;; lot of options which can add or remove columns. I have massively ;; commented this function, the I hope it is understandable. If ;; someone wants to write their own special formatter, this maybe ;; much easier because there can be a fixed format with a ;; well-defined number of columns... (let* ((hlchars '((1 . "*") (2 . "/"))) (lwords (assoc (or (plist-get params :lang) (org-bound-and-true-p org-export-default-language) "en") org-clock-clocktable-language-setup)) (multifile (plist-get params :multifile)) (block (plist-get params :block)) (sort (plist-get params :sort)) (ts (plist-get params :tstart)) (te (plist-get params :tend)) (header (plist-get params :header)) (narrow (plist-get params :narrow)) (ws (or (plist-get params :wstart) 1)) (ms (or (plist-get params :mstart) 1)) (link (plist-get params :link)) (maxlevel (or (plist-get params :maxlevel) 3)) (emph (plist-get params :emphasize)) (level-p (plist-get params :level)) (org-time-clocksum-use-effort-durations (plist-get params :effort-durations)) (timestamp (plist-get params :timestamp)) (properties (plist-get params :properties)) (ntcol (max 1 (or (plist-get params :tcolumns) 100))) (rm-file-column (plist-get params :one-file-with-archives)) (indent (plist-get params :indent)) (case-fold-search t) range-text total-time tbl level hlc formula pcol file-time entries entry headline recalc content narrow-cut-p tcol) ;; Some consistency test for parameters (unless (integerp ntcol) (setq params (plist-put params :tcolumns (setq ntcol 100 (when block ;; Get the range text for the header (setq range-text (nth 2 (org-clock-special-range block nil t ws ms ;; Compute the total time (setq total-time (apply '+ (mapcar 'cadr tables))) ;; Now we need to output this tsuff (goto-char ipos) ;; Insert the text *before* the actual table (insert-before-markers (or header ;; Format the standard header (concat "#+CAPTION: " (nth 9 lwords) " [" (substring (format-time-string (cdr org-time-stamp-formats)) 1 -1) "]" (if block (concat ", for " range-text ".") "") "\n"))) ;; Insert the table header line (insert-before-markers "|" ; table line starter ;; (if multifile (concat (nth 1 lwords) "|") "") ; file column, maybe (if level-p (concat (nth 2 lwords) "|") "") ; level column, maybe (if timestamp (concat (nth 3 lwords) "|") "") ; timestamp column, maybe (if properties (concat (mapconcat 'identity properties "|") "|") "") ;properties columns, maybe ;; (concat (nth 4 lwords) "|" (concat (nth 5 lwords) "|\n")) ; headline and time columns ;; Insert the total time in the table (insert-before-markers ;; "|-\n"; a hline ;; "\n" ; a hline "|" ; table line starter
Re: [O] looking for a variable which allows formatting the agenda clock report
Am 25.05.2016 um 09:44 schrieb Rainer Stengele: Am 19.05.2016 um 22:15 schrieb Rainer Stengele: Am 13.05.2016 um 13:04 schrieb Rainer Stengele: Am 11.05.2016 um 21:45 schrieb Rainer Stengele: Am 11.05.2016 um 18:22 schrieb Marco Wahl: Hi Rainer, I could not find a variable which allows formatting the clock report that is created in the org agenda by "v R". Any quick pointer to such one or other ideas? org-agenda-clockreport-parameter-plist Thanks Marco, now my question is how can I extract the category of a clock entry and display it in the report? I tried a bit with properties but have no real clue. Can somebody help here? You can filter a certain category for the clock report afaics. E.g. org-agenda-clockreport-parameter-plist value (:link t :maxlevel 2 :tags "+CATEGORY=\"busi\"") only takes the clockings from items in category "busi" for the org-agenda-clockreport. HTH, Hi Marco, thanks for this, very useful. What I really meant was how can I change the output format of the clock report, so how do I change the first column from "File" to "Category" of the clock entry. Thanks, Rainer Hi, does anybody have an example for the :formatter item to format the clocktable output as needed? Thank you. Regards, Rainer Anybody? Hi all, I really try hard to find any example of how to use the :formatter to format the clocktable report in an agenda. All I really want to do is display the category property instead of the filename for clocked times. Does anybody have an example please? Thank you. Regards, Rainer I finally found an example here: https://blog.c11k.de/blog/2015/03/29/custom-clock-report-table-for-orgmode/ Thank you. Regards, Rainer
Re: [O] looking for a variable which allows formatting the agenda clock report
Am 19.05.2016 um 22:15 schrieb Rainer Stengele: Am 13.05.2016 um 13:04 schrieb Rainer Stengele: Am 11.05.2016 um 21:45 schrieb Rainer Stengele: Am 11.05.2016 um 18:22 schrieb Marco Wahl: Hi Rainer, I could not find a variable which allows formatting the clock report that is created in the org agenda by "v R". Any quick pointer to such one or other ideas? org-agenda-clockreport-parameter-plist Thanks Marco, now my question is how can I extract the category of a clock entry and display it in the report? I tried a bit with properties but have no real clue. Can somebody help here? You can filter a certain category for the clock report afaics. E.g. org-agenda-clockreport-parameter-plist value (:link t :maxlevel 2 :tags "+CATEGORY=\"busi\"") only takes the clockings from items in category "busi" for the org-agenda-clockreport. HTH, Hi Marco, thanks for this, very useful. What I really meant was how can I change the output format of the clock report, so how do I change the first column from "File" to "Category" of the clock entry. Thanks, Rainer Hi, does anybody have an example for the :formatter item to format the clocktable output as needed? Thank you. Regards, Rainer Anybody? Hi all, I really try hard to find any example of how to use the :formatter to format the clocktable report in an agenda. All I really want to do is display the category property instead of the filename for clocked times. Does anybody have an example please? Thank you. Regards, Rainer
Re: [O] looking for a variable which allows formatting the agenda clock report
Am 13.05.2016 um 13:04 schrieb Rainer Stengele: Am 11.05.2016 um 21:45 schrieb Rainer Stengele: Am 11.05.2016 um 18:22 schrieb Marco Wahl: Hi Rainer, I could not find a variable which allows formatting the clock report that is created in the org agenda by "v R". Any quick pointer to such one or other ideas? org-agenda-clockreport-parameter-plist Thanks Marco, now my question is how can I extract the category of a clock entry and display it in the report? I tried a bit with properties but have no real clue. Can somebody help here? You can filter a certain category for the clock report afaics. E.g. org-agenda-clockreport-parameter-plist value (:link t :maxlevel 2 :tags "+CATEGORY=\"busi\"") only takes the clockings from items in category "busi" for the org-agenda-clockreport. HTH, Hi Marco, thanks for this, very useful. What I really meant was how can I change the output format of the clock report, so how do I change the first column from "File" to "Category" of the clock entry. Thanks, Rainer Hi, does anybody have an example for the :formatter item to format the clocktable output as needed? Thank you. Regards, Rainer Anybody?
Re: [O] looking for a variable which allows formatting the agenda clock report
Am 11.05.2016 um 21:45 schrieb Rainer Stengele: Am 11.05.2016 um 18:22 schrieb Marco Wahl: Hi Rainer, I could not find a variable which allows formatting the clock report that is created in the org agenda by "v R". Any quick pointer to such one or other ideas? org-agenda-clockreport-parameter-plist Thanks Marco, now my question is how can I extract the category of a clock entry and display it in the report? I tried a bit with properties but have no real clue. Can somebody help here? You can filter a certain category for the clock report afaics. E.g. org-agenda-clockreport-parameter-plist value (:link t :maxlevel 2 :tags "+CATEGORY=\"busi\"") only takes the clockings from items in category "busi" for the org-agenda-clockreport. HTH, Hi Marco, thanks for this, very useful. What I really meant was how can I change the output format of the clock report, so how do I change the first column from "File" to "Category" of the clock entry. Thanks, Rainer Hi, does anybody have an example for the :formatter item to format the clocktable output as needed? Thank you. Regards, Rainer
Re: [O] looking for a variable which allows formatting the agenda clock report
Am 11.05.2016 um 18:22 schrieb Marco Wahl: > Hi Rainer, > I could not find a variable which allows formatting the clock report that is created in the org agenda by "v R". Any quick pointer to such one or other ideas? >>> >>> org-agenda-clockreport-parameter-plist > >> Thanks Marco, >> >> now my question is how can I extract the category of a clock entry and >> display it in the report? I tried a bit with properties but have no >> real clue. Can somebody help here? > > You can filter a certain category for the clock report afaics. > > E.g. > > org-agenda-clockreport-parameter-plist value > > (:link t :maxlevel 2 :tags "+CATEGORY=\"busi\"") > > only takes the clockings from items in category "busi" for the > org-agenda-clockreport. > > > HTH, > Hi Marco, thanks for this, very useful. What I really meant was how can I change the output format of the clock report, so how do I change the first column from "File" to "Category" of the clock entry. Thanks, Rainer
Re: [O] looking for a variable which allows formatting the agenda clock report
Am 11.05.2016 um 14:18 schrieb Marco Wahl: Hi! I could not find a variable which allows formatting the clock report that is created in the org agenda by "v R". Any quick pointer to such one or other ideas? org-agenda-clockreport-parameter-plist Quick, Thanks Marco, now my question is how can I extract the category of a clock entry and display it in the report? I tried a bit with properties but have no real clue. Can somebody help here? Thank you. Regards, Rainer
[O] looking for a variable which allows formatting the agenda clock report
Hi, I could not find a variable which allows formatting the clock report that is created in the org agenda by "v R". Any quick pointer to such one or other ideas? Kind regards, Rainer Stengele
Re: [O] lots of CLOCK lines displayed when opening a TODO
Am 12.03.2015 um 14:39 schrieb Loris Bennett: Rainer Stengele rainer.steng...@online.de writes: Am 12.03.2015 um 09:03 schrieb Loris Bennett: Rainer Stengele rainer.steng...@online.de writes: Am 05.03.2015 um 09:02 schrieb Loris Bennett: Rainer Stengele rainer.steng...@online.de writes: Hi! I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting. After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines. I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. Seems to work fine with clocking etc. My requirement would be to only open the first LOGBOOK block when opening the headline (TODO). That way I could hide older entries from using screen space and instead see the text below immediately. Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work? Any chance to get this regarded as an enhancement idea? Thank you. Regards, Rainer * TODO [#A] Weekly Services - Action Items :LOGBOOK: CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] = 1:15 CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] = 1:15 :END: :LOGBOOK: CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] = 1:00 CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] = 1:15 CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] = 0:15 CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] = 1:00 CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] = 0:15 CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] = 0:15 CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] = 0:15 CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] = 1:00 CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] = 0:15 CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] = 0:15 CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] = 1:45 CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] = 1:15 CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] = 0:30 CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] = 0:45 CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] = 1:00 CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] = 1:00 CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] = 1:00 CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] = 0:45 CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] = 1:00 CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] = 2:45 :END: - text I would like to see without having to scroll over all the CLOCK lines I use two drawers: #+DRAWERS: LOGBOOK OLDLOGS When the LOGBOOK get a bit long I manually move some the lines to OLDLOGS. Both draws only open when I TAB on them. I don't actually use the data in the logs directly, just as a backup for my other time-keeping. This is mainly because the one-minute resolution of the clocking is to fine for my needs. Have you changed the clocking resolution? If so, how? Or are you just an amazingly accurate clocker? Cheers, Loris Hi Loris, please check variable org-time-stamp-rounding-minutes in order to round time stamps. OK, thanks. I'll have a look at that. You are right, when I am in an org file the logbook drawers do not open by default when cycling. My use case: I am jumping to a headline directly from an agenda item. Tabbing on that item jumps to the headline and shows the complete contents, including drawers. Not sure why this is the case. I would like to have the same behavior as when tabbing in the Org file directly. Can you confirm this is the same in your setting? If I jump from the agenda entry 'Fun', I get something like the following: * Stuff ** Fun... ** Boring... If I press 'tab', I get * Stuff ** Fun :LOGBOOK:... :OLDLOGS:... ** Boring If I press 'tab' again, nothing happens. If I press 'tab' a third time, the heading fold back and I get * Stuff ** Fun... ** Boring... again. I'm not sure why the second press performs no action. In any case, I only see the contents of the LOGBOOK draw if I move onto it and then press 'tab' again. So quite different from the behaviour you get. Regards Loris Regards, Rainer Stengele Loris, you do not seem to have CLOCK entries directly under the headline Stuff, to which you are jumping to from agenda. Can you add a few CLOCK lines in drawer and simulate this and tell me if these stay closed or not directly after the jump. Regards, Rainer Stengele I was actually jumping to Fun rather that Stuff. And Fun does have a draw full of CLOCKs. What I don't have is a top-level heading in my agenda and I don't have any top-level heading which I clock into. I could test this, but I would have to tweak my setup a bit more than I can do easily at the moment. Do you think the level of the heading being jumped to makes a difference? Cheers, Loris I do not think the headline level makes a difference. So I do take this as with our settings
Re: [O] lots of CLOCK lines displayed when opening a TODO
Am 12.03.2015 um 09:03 schrieb Loris Bennett: Rainer Stengele rainer.steng...@online.de writes: Am 05.03.2015 um 09:02 schrieb Loris Bennett: Rainer Stengele rainer.steng...@online.de writes: Hi! I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting. After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines. I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. Seems to work fine with clocking etc. My requirement would be to only open the first LOGBOOK block when opening the headline (TODO). That way I could hide older entries from using screen space and instead see the text below immediately. Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work? Any chance to get this regarded as an enhancement idea? Thank you. Regards, Rainer * TODO [#A] Weekly Services - Action Items :LOGBOOK: CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] = 1:15 CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] = 1:15 :END: :LOGBOOK: CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] = 1:00 CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] = 1:15 CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] = 0:15 CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] = 1:00 CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] = 0:15 CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] = 0:15 CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] = 0:15 CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] = 1:00 CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] = 0:15 CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] = 0:15 CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] = 1:45 CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] = 1:15 CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] = 0:30 CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] = 0:45 CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] = 1:00 CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] = 1:00 CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] = 1:00 CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] = 0:45 CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] = 1:00 CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] = 2:45 :END: - text I would like to see without having to scroll over all the CLOCK lines I use two drawers: #+DRAWERS: LOGBOOK OLDLOGS When the LOGBOOK get a bit long I manually move some the lines to OLDLOGS. Both draws only open when I TAB on them. I don't actually use the data in the logs directly, just as a backup for my other time-keeping. This is mainly because the one-minute resolution of the clocking is to fine for my needs. Have you changed the clocking resolution? If so, how? Or are you just an amazingly accurate clocker? Cheers, Loris Hi Loris, please check variable org-time-stamp-rounding-minutes in order to round time stamps. OK, thanks. I'll have a look at that. You are right, when I am in an org file the logbook drawers do not open by default when cycling. My use case: I am jumping to a headline directly from an agenda item. Tabbing on that item jumps to the headline and shows the complete contents, including drawers. Not sure why this is the case. I would like to have the same behavior as when tabbing in the Org file directly. Can you confirm this is the same in your setting? If I jump from the agenda entry 'Fun', I get something like the following: * Stuff ** Fun... ** Boring... If I press 'tab', I get * Stuff ** Fun :LOGBOOK:... :OLDLOGS:... ** Boring If I press 'tab' again, nothing happens. If I press 'tab' a third time, the heading fold back and I get * Stuff ** Fun... ** Boring... again. I'm not sure why the second press performs no action. In any case, I only see the contents of the LOGBOOK draw if I move onto it and then press 'tab' again. So quite different from the behaviour you get. Regards Loris Regards, Rainer Stengele Loris, you do not seem to have CLOCK entries directly under the headline Stuff, to which you are jumping to from agenda. Can you add a few CLOCK lines in drawer and simulate this and tell me if these stay closed or not directly after the jump. Regards, Rainer Stengele
Re: [O] lots of CLOCK lines displayed when opening a TODO
Am 05.03.2015 um 09:02 schrieb Loris Bennett: Rainer Stengele rainer.steng...@online.de writes: Hi! I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting. After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines. I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. Seems to work fine with clocking etc. My requirement would be to only open the first LOGBOOK block when opening the headline (TODO). That way I could hide older entries from using screen space and instead see the text below immediately. Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work? Any chance to get this regarded as an enhancement idea? Thank you. Regards, Rainer * TODO [#A] Weekly Services - Action Items :LOGBOOK: CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] = 1:15 CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] = 1:15 :END: :LOGBOOK: CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] = 1:00 CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] = 1:15 CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] = 0:15 CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] = 1:00 CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] = 0:15 CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] = 0:15 CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] = 0:15 CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] = 1:00 CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] = 0:15 CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] = 0:15 CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] = 1:45 CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] = 1:15 CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] = 0:30 CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] = 0:45 CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] = 1:00 CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] = 1:00 CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] = 1:00 CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] = 0:45 CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] = 1:00 CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] = 2:45 :END: - text I would like to see without having to scroll over all the CLOCK lines I use two drawers: #+DRAWERS: LOGBOOK OLDLOGS When the LOGBOOK get a bit long I manually move some the lines to OLDLOGS. Both draws only open when I TAB on them. I don't actually use the data in the logs directly, just as a backup for my other time-keeping. This is mainly because the one-minute resolution of the clocking is to fine for my needs. Have you changed the clocking resolution? If so, how? Or are you just an amazingly accurate clocker? Cheers, Loris Hi Loris, please check variable org-time-stamp-rounding-minutes in order to round time stamps. You are right, when I am in an org file the logbook drawers do not open by default when cycling. My use case: I am jumping to a headline directly from an agenda item. Tabbing on that item jumps to the headline and shows the complete contents, including drawers. Not sure why this is the case. I would like to have the same behavior as when tabbing in the Org file directly. Can you confirm this is the same in your setting? Regards, Rainer Stengele
[O] lots of CLOCK lines displayed when opening a TODO
Hi! I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting. After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines. I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. Seems to work fine with clocking etc. My requirement would be to only open the first LOGBOOK block when opening the headline (TODO). That way I could hide older entries from using screen space and instead see the text below immediately. Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work? Any chance to get this regarded as an enhancement idea? Thank you. Regards, Rainer * TODO [#A] Weekly Services - Action Items :LOGBOOK: CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] = 1:15 CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] = 1:15 :END: :LOGBOOK: CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] = 1:00 CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] = 1:15 CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] = 0:15 CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] = 1:00 CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] = 0:15 CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] = 0:15 CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] = 0:15 CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] = 1:00 CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] = 0:15 CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] = 0:15 CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] = 1:45 CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] = 1:15 CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] = 0:30 CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] = 0:45 CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] = 1:00 CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] = 1:00 CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] = 1:00 CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] = 0:45 CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] = 1:00 CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] = 2:45 :END: - text I would like to see without having to scroll over all the CLOCK lines
[O] clocktables include \emsp - how to get rid of that?
Hi, I am getting \emsp in my clocktable reports. I use #+BEGIN: clocktable :maxlevel 4 :fileskip0 t :tcolumns 0 :level nil :scope agenda-with-archives :timestamp nil :block 2015-03 :step day :link t :stepskip0 t #+END: to create these clocktable Daily report: [2015-03-02 Mo] | File | Headline | Time | |---+--+| | | ALL *Total time* | *9:00* | |---+--+| | Projectmanagement.org | *File time* | *2:45* | | | \emsp [[..][Project Managament: Weekly meetings etc.]] | 2:45 | | | \emsp\emsp [[..][TODO *00 - Project Managament -...]] | 2:45 | Anybody has an idea where this comes from and how to get rid of it? Thank you. Regards, Rainer
Re: [O] org-clock-into-drawer not respecting setting?
Am 28.02.2015 00:46, schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: I have set this variable org-clock-into-drawer is a variable defined in `org-clock.el'. Its value is 6 Original value was t Clocking in with C-c C-x C-i always creates a logbook drawer. Can anybody confirm the setting is not regarded in the latest Org version? Worked in the past. This should be fixed in 18685d98527e0479b8108cac420b23d481fd5bfd. Thank you. Regards, Hi Nicolas, works again as expected. Thanks a lot! Regards, Rainer
[O] org-clock-into-drawer not respecting setting?
Hi, I have set this variable org-clock-into-drawer is a variable defined in `org-clock.el'. Its value is 6 Original value was t Clocking in with C-c C-x C-i always creates a logbook drawer. Can anybody confirm the setting is not regarded in the latest Org version? Worked in the past. Org-mode version 8.3beta (release_8.3beta-877-g1c5db2 Thank you. Regards, Rainer
Re: [O] Turn a plain list item into a headline bahevious differently for level (1, 2) and (3 and higher) levels
Am 03.02.2015 um 21:40 schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: Hi, having *** headline level 3 - item1 ^ and executing C-c * having put cursor as indicated results in *** headline level 3 *** item1 whereas I would expect *** headline level 3 item1 for lower level headline (2 and 1) it works as expected. This should be fixed. Thank you. Regards, Thanks a lot, Nicolas. Regards, Rainer Stengele
[O] Turn a plain list item into a headline bahevious differently for level (1, 2) and (3 and higher) levels
Hi, having *** headline level 3 - item1 ^ and executing C-c * having put cursor as indicated results in *** headline level 3 *** item1 whereas I would expect *** headline level 3 item1 for lower level headline (2 and 1) it works as expected. Is this a bug? If not why is the behaviour different for level 3 and higher? GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2013-03-14 on VBOX Org-mode version 8.3beta (release_8.3beta-727-ga1cdc6 Regards, Rainer Stengele
Re: [O] html export does seem to no more recognise EXPORT_ .. PROPERTIES
Am 09.12.2014 um 09:58 schrieb Nicolas Goaziou: Rainer Stengele rainer.steng...@online.de writes: The only thing that is different from the past is that any comment in the PROPERTIES section does seem to confuse the exporter. I removed :PROPERTIES: :EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-mmdd.html EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-another-title.html :EXPORT_TITLE: Stoll - IT (HW/SW) - Zugänge - Konfigurationen [Stand: mmdd] :END: As an example I removed the second line in the :PROPERTIES: block and the standard html export does respect the file name again. Org syntax is much less tolerant wrt property drawers now: they can only contain node properties. Regards, Good to know and reasonable. I am glad the simple (non publishing) functionality did not disappear. I found another strange thing: I do start my Org files with a headline. If the :PROPERTIES: block follows after a blank line the settings are not observed for the subtree. If I delete that empty line it works (filename path is observed). I wonder if this is intended? If yes it could confuse users of such a properties block, thinking it works for the related subtree no matter if empty lines are there or not. Thank you. Regards, Rainer
Re: [O] html export does seem to no more recognise EXPORT_ .. PROPERTIES
Am 01.12.2014 um 15:15 schrieb Rainer Stengele: Am 28.11.2014 um 23:19 schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: with latest Org version I find the html export does no more recognise these settings at the begin of the file: :PROPERTIES: :EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-mmdd.html :EXPORT_TITLE: Stoll - IT (HW/SW) - Zugänge - Konfigurationen [Stand: mmdd] :END: Export is simply done into the folder the org file lives. This is always the case. Exporting in another (possibly remote) directory is called publishing and requires additional set-up. Regards, Nicolas, this worked for I would say at least the last 1-2 years without publishing. The feature must have been deactivated somewhere in the last 3-6 weeks. Thank you. Regards, Rainer Stengele Nicolas, this works again as before. The only thing that is different from the past is that any comment in the PROPERTIES section does seem to confuse the exporter. I removed :PROPERTIES: :EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-mmdd.html EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-another-title.html :EXPORT_TITLE: Stoll - IT (HW/SW) - Zugänge - Konfigurationen [Stand: mmdd] :END: As an example I removed the second line in the :PROPERTIES: block and the standard html export does respect the file name again. Thank you. Regards, Rainer
Re: [O] How to trigger the clockcheck in an agenda view.
Am 06.12.2014 16:29, schrieb Bernt Hansen: Rainer Stengele rainer.steng...@online.de writes: Am 20.11.2014 um 13:51 schrieb Rainer Stengele: Am 27.09.2013 um 15:00 schrieb Carsten Dominik: Hello Carsten, thank you for that. clockcheck is working. But as soon as I get the clockcheck view the scheduled items to disappear in my agenda view. I only can get scheduled items or all items in clockchecked view, not both features. Any idea? Thanks! - Rainer Hi again! Any hint is much appreciated, even a does not work right now would be welcome although disappointing. Thank you. Regards, Rainer Hi Ranier, I think that is working as designed. In clock check mode you only get clock details and gap and overlap reporting. You can show clocks inline with C-u l but that will not give you clock check mode. Regards, Bernt Hi Bernt, thank you for your answer. I was hoping that this would be possible: seeing the clocked entries, the scheduled ones and at the same time display the warnings about clockcheck gaps or overlaps. That way I would not need to explicitly work through the clockcheck issues every day or at the end of the month by changing the view, having forgotten to do that regularly. Thanks again, Rainer
Re: [O] Org clocks into drawer for first clocking although configured otherwise = solved = no
Am 01.12.2014 um 16:58 schrieb Rainer Stengele: Am 27.11.2014 um 14:46 schrieb Rainer Stengele: Hi, I have set variable org-clock-into-drawer to: Its value is 6 Since some update or Org lately it looks like the creation of a drawer is happening already for the first clocking of any clocked todo. Can someone please check if he can reproduce this is a bug in one of the latest versions? I run Org-mode version 8.3beta (release_8.3beta-591-gbd3bd8 @ c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/) Thank you. Regards, Rainer All, sorry for that, I found I had this configured twice, second time it was set to true and that explains all. Closed. Thank you. Regards, Rainer Sorry again, after deleting that additional entry and trying again today I have set: org-clock-into-drawer is a variable defined in `org-clock.el'. Its value is 6 and still get drawers immediately with the first clock entry. Can someone please check if this is true in the latest Org version? Thank you. Regards, Rainer
Re: [O] Org clocks into drawer for first clocking although configured otherwise = solved = no = yes
Nicolas, this is confirmed to work again. Thanks a lot for that! Regards, Rainer Stengele Am 03.12.2014 um 15:31 schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: after deleting that additional entry and trying again today I have set: org-clock-into-drawer is a variable defined in `org-clock.el'. Its value is 6 and still get drawers immediately with the first clock entry. This should be fixed. Thank you for reporting it. Regards,
Re: [O] html export does seem to no more recognise EXPORT_ .. PROPERTIES
Am 28.11.2014 um 23:19 schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: with latest Org version I find the html export does no more recognise these settings at the begin of the file: :PROPERTIES: :EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-mmdd.html :EXPORT_TITLE: Stoll - IT (HW/SW) - Zugänge - Konfigurationen [Stand: mmdd] :END: Export is simply done into the folder the org file lives. This is always the case. Exporting in another (possibly remote) directory is called publishing and requires additional set-up. Regards, Nicolas, this worked for I would say at least the last 1-2 years without publishing. The feature must have been deactivated somewhere in the last 3-6 weeks. Thank you. Regards, Rainer Stengele
Re: [O] Org clocks into drawer for first clocking although configured otherwise = solved
Am 27.11.2014 um 14:46 schrieb Rainer Stengele: Hi, I have set variable org-clock-into-drawer to: Its value is 6 Since some update or Org lately it looks like the creation of a drawer is happening already for the first clocking of any clocked todo. Can someone please check if he can reproduce this is a bug in one of the latest versions? I run Org-mode version 8.3beta (release_8.3beta-591-gbd3bd8 @ c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/) Thank you. Regards, Rainer All, sorry for that, I found I had this configured twice, second time it was set to true and that explains all. Closed. Thank you. Regards, Rainer
[O] Org clocks into drawer for first clocking although configured otherwise
Hi, I have set variable org-clock-into-drawer to: Its value is 6 Since some update or Org lately it looks like the creation of a drawer is happening already for the first clocking of any clocked todo. Can someone please check if he can reproduce this is a bug in one of the latest versions? I run Org-mode version 8.3beta (release_8.3beta-591-gbd3bd8 @ c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/) Thank you. Regards, Rainer
[O] html export does seem to no more recognise EXPORT_ .. PROPERTIES
Hi, with latest Org version I find the html export does no more recognise these settings at the begin of the file: :PROPERTIES: :EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-mmdd.html :EXPORT_TITLE: Stoll - IT (HW/SW) - Zugänge - Konfigurationen [Stand: mmdd] :END: Export is simply done into the folder the org file lives. Org-mode version 8.3beta (release_8.3beta-591-gbd3bd8 @ c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/) GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2013-03-14 on VBOX Anybody can confirm this is a bug? Thank you. Regards, Rainer
Re: [O] Cannot start any agenda anymore
Am 25.11.2014 um 09:53 schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: since yesterday I cannot start any agenda anymore. I did reorganise a few things but cannot find the reason whats wrong. setting debug to true I get the message below after a standard C-a a t. Please help I am completely stuck. Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) outline-on-heading-p(t) org-at-heading-p() It means that `outline-regexp' is nil. Among your agenda files, do you have one that sets it so with local variables mechanism? Regards, Hello Nicolas, you were right, the outline-regexp was configured to be set to nil. I can't remember why I ever should have done something nonsensical. I don't believe I did it. So for now I removed that setting and the standard again works fine. Thank you very much! Regards, Rainer
Re: [O] Cannot start any agenda anymore
Am 25.11.2014 um 09:53 schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: since yesterday I cannot start any agenda anymore. I did reorganise a few things but cannot find the reason whats wrong. setting debug to true I get the message below after a standard C-a a t. Please help I am completely stuck. Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) outline-on-heading-p(t) org-at-heading-p() It means that `outline-regexp' is nil. Among your agenda files, do you have one that sets it so with local variables mechanism? Regards, No, no local settings related to that variable. Regards, Rainer Stengele
Re: [O] How to trigger the clockcheck in an agenda view.
Am 20.11.2014 um 13:51 schrieb Rainer Stengele: Am 27.09.2013 um 15:00 schrieb Carsten Dominik: On 10.9.2013, at 17:07, Nicolas Girard girard.nico...@gmail.com wrote: 2013/8/5 Sebastien Vauban sva-n...@mygooglest.com: Except the above, I definitely don't understand why it wouldn't work for you. Can you reproduce the problem with a minimal Emacs config file (adding the require of `org' and `org-agenda' before)? I think I understand why Rainer has a problem. According to the docstring from `org-agenda-custom-commands', there are two acceptable syntaxes for defining a command: - the simple one : (key desc type match settings files) - and the complex or composite one : (key desc (cmd1 cmd2 ...) general-settings-for-whole-set files). Now, the following code defines two commands, who are functionally identical, but syntactically different. The first one uses the simple syntax, and the second one, the complex syntax. If you evaluate the code and trigger the agenda, you'll see that the first command *doesn't* work as expected, while the second works. (I just borrowed your scissors to delimit my code, hope you don't mind ;-) ) --8---cut here---start-8--- (setq org-agenda-custom-commands nil) (setq org-agenda-custom-commands (append org-agenda-custom-commands '( (G Good: Clock Review ((agenda ((org-agenda-show-log 'clockcheck) (org-agenda-clockreport-mode t) (B Bad: Clock Review agenda ((org-agenda-show-log 'clockcheck) (org-agenda-clockreport-mode t)) --8---cut here---end---8--- There are a couple of subtle issues here. First of all, do not bind org-agenda-clockreport-mode or org-agenda-show-log in this way, these are internal variables and meant for a mode that is toggled interactively. Use org-agenda-start-with-clockreport-mode and org-agenda-start-with-log-mode instead. These are the values chosen when a new agenda buffer is created, and at that time its value is copied into internal variables. Second, because this happens when the agenda buffer is created, these need to be in the global list of variables, not the local ones for the agenda list, when you use a list of commands. So the example below will work in both cases: (setq org-agenda-custom-commands (append org-agenda-custom-commands '( (H Good: Clock Review ((agenda )) ((org-agenda-start-with-log-mode 'clockcheck) (org-agenda-start-with-clockreport-mode t))) (C Bad: Clock Review agenda ((org-agenda-start-with-log-mode 'clockcheck) (org-agenda-start-with-clockreport-mode t)) Hope this helps. - Carsten Hello Carsten, thank you for that. clockcheck is working. But as soon as I get the clockcheck view the scheduled items to disappear in my agenda view. I only can get scheduled items or all items in clockchecked view, not both features. Any idea? Thanks! - Rainer Hi again! Any hint is much appreciated, even a does not work right now would be welcome although disappointing. Thank you. Regards, Rainer
[O] Cannot start any agenda anymore
Hi all, since yesterday I cannot start any agenda anymore. I did reorganise a few things but cannot find the reason whats wrong. setting debug to true I get the message below after a standard C-a a t. Please help I am completely stuck. Thank you, Rainer Org-mode version 8.3beta (release_8.3beta-589-g9eff31 @ c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/) GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2013-03-14 on VBOX Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) outline-on-heading-p(t) org-at-heading-p() (cond ((eq mode (quote item)) (org-element-item-parser limit structure raw-secondary-p)) ((eq mode (quote table-row)) (org-element-table-row-parser limit)) ((eq mode (quote node-property)) (org-element-node-property-parser limit)) ((let* ((org-called-with-limited-levels t) (org-outline-regexp (org-get-limited-outline-regexp)) (outline-regexp org-outline-regexp) (org-outline-regexp-bol (concat ^ org-outline-regexp))) (org-at-heading-p)) (org-element-headline-parser limit raw-secondary-p)) ((eq mode (quote section)) (org-element-section-parser limit)) ((eq mode (quote first-section)) (org-element-section-parser (or (save-excursion (let* ((org-called-with-limited-levels t) (org-outline-regexp ...) (outline-regexp org-outline-regexp) (org-outline-regexp-bol ...)) (outline-next-heading))) limit))) ((and (eq mode (quote planning)) (looking-at org-planning-line-re)) (org-element-planning-parser limit)) ((and (memq mode (quote (planning property-drawer))) (looking-at org-property-drawer-re)) (org-element-property-drawer-parser limit)) ((not (bolp)) (org-element-paragraph-parser limit (list (point ((looking-at org-clock-line-re) (org-element-clock-parser limit)) ((org-at-heading-p) (org-element-inlinetask-parser limit raw-secondary-p)) (t (let ((affiliated (org-element--collect-affiliated-keywords limit))) (cond ((and (cdr affiliated) (= (point) limit)) (goto-char (car affiliated)) (org-element-keyword-parser limit nil)) ((looking-at org-element--latex-begin-environment) (org-element-latex-environment-parser limit affiliated)) ((looking-at org-drawer-regexp) (org-element-drawer-parser limit affiliated)) ((looking-at [ ]*:\\( \\|$\\)) (org-element-fixed-width-parser limit affiliated)) ((looking-at [ ]*#) (goto-char (match-end 0)) (cond ((looking-at \\(?: \\|$\\)) (beginning-of-line) (org-element-comment-parser limit affiliated)) ((looking-at \\+BEGIN_\\(\\S-+\\)) (beginning-of-line) (let ... ...)) ((looking-at \\+CALL:) (beginning-of-line) (org-element-babel-call-parser limit affiliated)) ((looking-at \\+BEGIN:? ) (beginning-of-line) (org-element-dynamic-block-parser limit affiliated)) ((looking-at \\+\\S-+:) (beginning-of-line) (org-element-keyword-parser limit affiliated)) (t (beginning-of-line) (org-element-paragraph-parser limit affiliated ((looking-at org-footnote-definition-re) (org-element-footnote-definition-parser limit affiliated)) ((looking-at [ ]*-\\{5,\\}[]*$) (org-element-horizontal-rule-parser limit affiliated)) ((looking-at %%() (org-element-diary-sexp-parser limit affiliated)) ((org-at-table-p t) (org-element-table-parser limit affiliated)) ((looking-at (org-item-re)) (org-element-plain-list-parser limit affiliated (or structure (org-element--list-struct limit (t (org-element-paragraph-parser limit affiliated)) (let ((case-fold-search t) (raw-secondary-p (and granularity (not (eq granularity (quote object)) (cond ((eq mode (quote item)) (org-element-item-parser limit structure raw-secondary-p)) ((eq mode (quote table-row)) (org-element-table-row-parser limit)) ((eq mode (quote node-property)) (org-element-node-property-parser limit)) ((let* ((org-called-with-limited-levels t) (org-outline-regexp (org-get-limited-outline-regexp)) (outline-regexp org-outline-regexp) (org-outline-regexp-bol (concat ^ org-outline-regexp))) (org-at-heading-p)) (org-element-headline-parser limit raw-secondary-p)) ((eq mode (quote section)) (org-element-section-parser limit)) ((eq mode (quote first-section)) (org-element-section-parser (or (save-excursion (let* (... ... ... ...) (outline-next-heading))) limit))) ((and (eq mode (quote planning)) (looking-at org-planning-line-re)) (org-element-planning-parser limit)) ((and (memq mode (quote (planning property-drawer))) (looking-at org-property-drawer-re)) (org-element-property-drawer-parser limit)) ((not (bolp)) (org-element-paragraph-parser limit (list (point ((looking-at org-clock-line-re) (org-element-clock-parser limit)) ((org-at-heading-p) (org-element-inlinetask-parser limit raw-secondary-p)) (t (let ((affiliated (org-element--collect-affiliated-keywords limit))) (cond ((and (cdr affiliated) (= ... limit)) (goto-char (car affiliated)) (org-element-keyword-parser limit nil)) ((looking-at org-element--latex-begin-environment) (org-element-latex-environment-parser limit affiliated)) ((looking-at org-drawer-regexp)
Re: [O] How to trigger the clockcheck in an agenda view.
Am 27.09.2013 um 15:00 schrieb Carsten Dominik: On 10.9.2013, at 17:07, Nicolas Girard girard.nico...@gmail.com wrote: 2013/8/5 Sebastien Vauban sva-n...@mygooglest.com: Except the above, I definitely don't understand why it wouldn't work for you. Can you reproduce the problem with a minimal Emacs config file (adding the require of `org' and `org-agenda' before)? I think I understand why Rainer has a problem. According to the docstring from `org-agenda-custom-commands', there are two acceptable syntaxes for defining a command: - the simple one : (key desc type match settings files) - and the complex or composite one : (key desc (cmd1 cmd2 ...) general-settings-for-whole-set files). Now, the following code defines two commands, who are functionally identical, but syntactically different. The first one uses the simple syntax, and the second one, the complex syntax. If you evaluate the code and trigger the agenda, you'll see that the first command *doesn't* work as expected, while the second works. (I just borrowed your scissors to delimit my code, hope you don't mind ;-) ) --8---cut here---start-8--- (setq org-agenda-custom-commands nil) (setq org-agenda-custom-commands (append org-agenda-custom-commands '( (G Good: Clock Review ((agenda ((org-agenda-show-log 'clockcheck) (org-agenda-clockreport-mode t) (B Bad: Clock Review agenda ((org-agenda-show-log 'clockcheck) (org-agenda-clockreport-mode t)) --8---cut here---end---8--- There are a couple of subtle issues here. First of all, do not bind org-agenda-clockreport-mode or org-agenda-show-log in this way, these are internal variables and meant for a mode that is toggled interactively. Use org-agenda-start-with-clockreport-mode and org-agenda-start-with-log-mode instead. These are the values chosen when a new agenda buffer is created, and at that time its value is copied into internal variables. Second, because this happens when the agenda buffer is created, these need to be in the global list of variables, not the local ones for the agenda list, when you use a list of commands. So the example below will work in both cases: (setq org-agenda-custom-commands (append org-agenda-custom-commands '( (H Good: Clock Review ((agenda )) ((org-agenda-start-with-log-mode 'clockcheck) (org-agenda-start-with-clockreport-mode t))) (C Bad: Clock Review agenda ((org-agenda-start-with-log-mode 'clockcheck) (org-agenda-start-with-clockreport-mode t)) Hope this helps. - Carsten Hello Carsten, thank you for that. clockcheck is working. But as soon as I get the clockcheck view the scheduled items to disappear in my agenda view. I only can get scheduled items or all items in clockchecked view, not both features. Any idea? Thanks! - Rainer
Re: [O] cannot get an agenda showing logged todos, scheduled todos and clockcheck items at the same time
Am 17.11.2014 10:03, schrieb Brady Trainor: Hello, Rainer Stengele rainer.steng...@online.de writes: (agenda todays agenda ( (org-agenda-span 'day) (org-agenda-log-mode 'clockcheck) (org-agenda-start-with-log-mode t) (org-agenda-overriding-header Today's Agenda))) I am not using this, so I won't be able to test it but... I did google clockcheck and check some of your variables. If I execute M-x apropos RET org agenda log mode RET, it appears this is a command not a variable, at least in my org-mode version 8.2.10. A few lines down (in the apropos findings) I see `org-agenda-log-mode-items', which I think it should be a list, so for example #+BEGIN_SRC emacs-lisp (org-agenda-log-mode-items '(closed clock state)) #+END_SRC Consider your thread http://thread.gmane.org/gmane.emacs.orgmode/74599 from July. There, Sebastien Vauban suggested the variable assignment #+BEGIN_SRC emacs-lisp (org-agenda-log-mode 'clockcheck) #+END_SRC Perhaps this is what you meant above. Or Mike McLean suggests, #+BEGIN_SRC emacs-lisp (org-agenda-show-log 'clockcheck) #+END_SRC Then, at the end of the thread, Carsten Dominick advises against using these, and suggest instead to use these in the global section of your custom command. #+BEGIN_SRC (org-agenda-start-with-log-mode 'clockcheck) (org-agenda-start-with-clockreport-mode t) #+END_SRC In summary, maybe you should have this: #+BEGIN_SRC emacs-lisp (setq org-agenda-custom-commands '((Z todays agenda ((agenda )) ((org-agenda-span 'day) (org-agenda-start-with-log-mode 'clockcheck) (org-agenda-start-with-clockreport-mode t) (org-agenda-log-mode-items '(closed clock state)) (org-agenda-overriding-header Today's Agenda) #+END_SRC Further, I shifted some of the terms around. Note the `agenda' block usually takes the empty string, but it seems you gave it the name of the command. HTH -- Brady Thank you. Regards, Rainer Thanks Brady, I tried what you suggested but same result: it only shows clockcheck entries without the scheduled todos. I cannot get both to display at the same time. Anybody have an idea? Thank you, Rainer
[O] cannot get an agenda showing logged todos, scheduled todos and clockcheck items at the same time
Dear all, I cannot get an agenda showing logged todos, all scheduled items and clockcheck view for gaps or overlappings clocking. I start with log mode on and my agenda shows all scheduled todos. As soon as I hit v c to see the clockchecks result the scheduled todos disappear. Is there any way for an agenda to always see all logged todos, all scheduled todos and always get the clockcheck view in order to see gaps or overlaps? My agenda is configured like: .. (agenda todays agenda ( (org-agenda-span 'day) (org-agenda-log-mode 'clockcheck) (org-agenda-start-with-log-mode t) (org-agenda-overriding-header Today's Agenda))) ... I never could get a configuration which also shows the clockcheck items. I therefore start as configured and as as said soon as I press v c my scheduled items disappear. Any idea? Thank you. Regards, Rainer
Re: [O] HTML export of - [ ] does not display box anymore
Am 05.08.2014 um 15:39 schrieb Rick Frankel: On 2014-08-05 08:25, Rainer Stengele wrote: Hi, doing an html export of * headline - [ ] checkbox - item I do not see the checkbox box anymore as I did in older versions. I tried to find an export setting, tried several settings related to todos but I cannot find a setting stopping the box to be exported. Any hint where I could search for? Checkbox export is handled by a constant and a custom variable: - `org-html-checkbox-types' :: A constant defining the output for unicode (entity), ascii, and html (form) versions of the checkboxes. - `org-html-checkbox-type' :: A customizable variable defining which version of the above to use. The default is ascii, which should result in backwards compatible output. Here's the output i get for your list above (using the default ascii option): ul class=org-ul li class=offcode[#xa0;]/code checkbox /li liitem /li /ul which seems correct to me. Hi, I have these set correctly. What I get is: (I run Org-mode version 8.3beta (release_8.3beta-167-g003edd) ?xml version=1.0 encoding=utf-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; lang=de xml:lang=de head titleheadline/title meta http-equiv=Content-Type content=text/html;charset=utf-8 / meta name=generator content=Org-mode / meta name=author content=Rainer Stengele / style type=text/css !--/*--![CDATA[/*!--*/ .title { text-align: center; } .todo { font-family: monospace; color: red; } .done { color: green; } .tag{ background-color: #eee; font-family: monospace; padding: 2px; font-size: 80%; font-weight: normal; } .timestamp { color: #bebebe; } .timestamp-kwd { color: #5f9ea0; } .right { margin-left: auto; margin-right: 0px; text-align: right; } .left { margin-left: 0px; margin-right: auto; text-align: left; } .center { margin-left: auto; margin-right: auto; text-align: center; } .underline { text-decoration: underline; } #postamble p, #preamble p { font-size: 90%; margin: .2em; } p.verse { margin-left: 3%; } pre { border: 1px solid #ccc; box-shadow: 3px 3px 3px #eee; padding: 8pt; font-family: monospace; overflow: auto; margin: 1.2em; } pre.src { position: relative; overflow: visible; padding-top: 1.2em; } pre.src:before { display: none; position: absolute; background-color: white; top: -10px; right: 10px; padding: 3px; border: 1px solid black; } pre.src:hover:before { display: inline;} pre.src-sh:before{ content: 'sh'; } pre.src-bash:before { content: 'sh'; } pre.src-emacs-lisp:before { content: 'Emacs Lisp'; } pre.src-R:before { content: 'R'; } pre.src-perl:before { content: 'Perl'; } pre.src-java:before { content: 'Java'; } pre.src-sql:before { content: 'SQL'; } table { border-collapse:collapse; } caption.t-above { caption-side: top; } caption.t-bottom { caption-side: bottom; } td, th { vertical-align:top; } th.right { text-align: center; } th.left { text-align: center; } th.center { text-align: center; } td.right { text-align: right; } td.left { text-align: left; } td.center { text-align: center; } dt { font-weight: bold; } .footpara:nth-child(2) { display: inline; } .footpara { display: block; } .footdef { margin-bottom: 1em; } .figure { padding: 1em; } .figure p { text-align: center; } .inlinetask { padding: 10px; border: 2px solid gray; margin: 10px; background: #cc; } #org-div-home-and-up { text-align: right; font-size: 70%; white-space: nowrap; } textarea { overflow-x: auto; } .linenr { font-size: smaller } .code-highlighted { background-color: #00; } .org-info-js_info-navigation { border-style: none; } #org-info-js_console-label { font-size: 10px; font-weight: bold; white-space: nowrap; } .org-info-js_search-highlight { background-color: #00; color: #00; font-weight: bold; } /*]]*/-- /style script type=text/javascript /* @licstart The following is the entire license notice for the JavaScript code in this tag. Copyright (C) 2012-2013 Free Software Foundation, Inc. The JavaScript code in this tag is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License (GNU GPL) as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The code is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. As additional permission under GNU GPL version 3 section 7, you may distribute non-source (e.g., minimized or compacted) forms of that code without the copy of the GNU GPL normally required by section 4, provided you include this license notice and a URL through which
Re: [O] HTML export of - [ ] does not display box anymore = solved
Am 06.08.2014 um 16:28 schrieb Rick Frankel: On Wed, Aug 06, 2014 at 10:05:25AM +0200, Rainer Stengele wrote: Am 05.08.2014 um 15:39 schrieb Rick Frankel: On 2014-08-05 08:25, Rainer Stengele wrote: doing an html export of * headline - [ ] checkbox - item I do not see the checkbox box anymore as I did in older versions. I tried to find an export setting, tried several settings related to todos but I cannot find a setting stopping the box to be exported. The fix was easier than i thought. Please pull master and retry. rick Perfect, that brings it back. Thanks a lot! Rainer
[O] HTML export of - [ ] does not display box anymore
Hi, doing an html export of * headline - [ ] checkbox - item I do not see the checkbox box anymore as I did in older versions. I tried to find an export setting, tried several settings related to todos but I cannot find a setting stopping the box to be exported. Any hint where I could search for? Regards, Rainer
[O] 2014-07-19 Sa .+2d date switching no more working after some time
Hi, I see a buggy behaviour since upgrading from 8.2 to Org-mode version 8.3beta (release_8.3beta-51-g02f2d5 I have this task: *** TODO [#A] 100 LS :@HOME: SCHEDULED: 2014-07-19 Sa .+2d progressing the status to DONE switches to: *** TODO [#A] 100 LS :@HOME: CLOSED: [2014-07-23 Mi 11:30] SCHEDULED: 2014-07-19 Sa .+2d which is wrong. Why is the task CLOSED and the SCHEDULED date not forwarded? Now, after freshly restarting emacs the wrong behavior is gone. I had the same problem yesterday. It seems that the current Org mode does crash somewhere in the daily work and then show the wrong behavior as described. I know this is not information to be able to debug. I will try to track this. Thank you. Regards, Rainer
[O] agenda htmlize-buffer exception
Hi. Trying to htmlize my org agenda buffer stops with exception below. I cannot understand the reason. I use zenburn color-theme. org-priority-faces is a variable defined in `org-faces.el'. Its value is ((67 . #7cb8bb) (66 . #bfebbf) (65 . cornflowerblue) (68 . grey) (69 . grey) (70 . grey)) Can please anybody help! Thank you, Rainer Debugger entered--Lisp error: (wrong-type-argument listp org-priority) mapcar(htmlize-decode-face-prop ((:inherit nil :foreground cornflowerblue) . org-priority)) (apply (function nconc) (mapcar (function htmlize-decode-face-prop) prop)) (cond ((null prop) nil) ((symbolp prop) (and (facep prop) (list prop))) ((stringp prop) (and (facep (intern-soft prop)) (list prop))) ((atom prop) nil) ((and (symbolp (car prop)) (eq 58 (aref (symbol-name (car prop)) 0))) (list prop)) ((or (eq (car prop) (quote foreground-color)) (eq (car prop) (quote background-color))) (list prop)) (t (apply (function nconc) (mapcar (function htmlize-decode-face-prop) prop htmlize-decode-face-prop(((:inherit nil :foreground cornflowerblue) . org-priority)) (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal)) (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal))) (let ((face-prop (overlay-get overlay (quote face (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal (while --dolist-tail-- (setq overlay (car --dolist-tail--)) (let ((face-prop (overlay-get overlay (quote face (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal (setq --dolist-tail-- (cdr --dolist-tail--))) (let ((--dolist-tail-- (overlays-in (point-min) (point-max))) overlay) (while --dolist-tail-- (setq overlay (car --dolist-tail--)) (let ((face-prop (overlay-get overlay (quote face (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal (setq --dolist-tail-- (cdr --dolist-tail-- (progn (let ((--dolist-tail-- (overlays-in (point-min) (point-max))) overlay) (while --dolist-tail-- (setq overlay (car --dolist-tail--)) (let ((face-prop (overlay-get overlay (quote face (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal (setq --dolist-tail-- (cdr --dolist-tail--) (if htmlize-running-xemacs (let (face-prop) (map-extents (function (lambda (extent ignored) (setq face-prop (extent-face extent) faces (if (listp face-prop) (union face-prop faces) (if ... faces ...))) nil)) nil (point-min) (point-max) nil nil (quote face))) (let ((pos (point-min)) face-prop next) (while ( pos (point-max)) (setq face-prop (get-text-property pos (quote face)) next (or (next-single-property-change pos (quote face)) (point-max))) (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal))) (setq pos next))) (progn (let ((--dolist-tail-- (overlays-in (point-min) (point-max))) overlay) (while --dolist-tail-- (setq overlay (car --dolist-tail--)) (let ((face-prop (overlay-get overlay ...))) (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal (setq --dolist-tail-- (cdr --dolist-tail--)) (let (faces) (if htmlize-running-xemacs (let (face-prop) (map-extents (function (lambda (extent ignored) (setq face-prop (extent-face extent) faces (if ... ... ...)) nil)) nil (point-min) (point-max) nil nil (quote face))) (let ((pos (point-min)) face-prop next) (while ( pos (point-max)) (setq face-prop (get-text-property pos (quote face)) next (or (next-single-property-change pos (quote face)) (point-max))) (setq faces (nunion (htmlize-decode-face-prop face-prop) faces :test (quote equal))) (setq pos next))) (progn (let ((--dolist-tail-- (overlays-in (point-min) (point-max))) overlay) (while --dolist-tail-- (setq overlay (car --dolist-tail--)) (let ((face-prop ...)) (setq faces (nunion ... faces :test ...))) (setq --dolist-tail-- (cdr --dolist-tail--)) faces) htmlize-faces-in-buffer() (let* ((buffer-faces (htmlize-faces-in-buffer)) (face-map (htmlize-make-face-map (if (memql (quote default) buffer-faces) buffer-faces (cons (quote default) buffer-faces (places (gensym)) (title (if (buffer-file-name) (file-name-nondirectory (buffer-file-name)) (buffer-name (if htmlize-generate-hyperlinks (progn (htmlize-create-auto-links))) (if htmlize-replace-form-feeds (progn (htmlize-shadow-form-feeds))) (save-current-buffer (set-buffer htmlbuf) (buffer-disable-undo) (insert (funcall (htmlize-method-function (quote doctype))) 10 (format !-- Created by htmlize-%s in %s mode. --\n htmlize-version htmlize-output-type) html\n ) (put places (quote head-start) (point-marker)) (insert head\n title (htmlize-protect-string title) /title\n (if htmlize-html-charset (format (concat meta http-equiv=\Content-Type\ content=\text/html; charset=%s\\n) htmlize-html-charset) ) htmlize-head-tags) (funcall (htmlize-method-function (quote insert-head)) buffer-faces
Re: [O] Fwd: Maintainer change on May 1st
+1 Am 11.04.2014 12:30, schrieb Stefan Vollmar: +1 Begin forwarded message: From: Igor Sosa Mayor joseleopoldo1...@gmail.com Subject: Re: [O] Maintainer change on May 1st Date: 10. April 2014 13:29:16 MESZ To: emacs-orgmode@gnu.org Reply-To: joseleopoldo1...@gmail.com Am Tue, Apr 08, 2014 at 09:29:46AM -0400, Jonathan Leech-Pepin schrieb: Another thank you to both of you for your hard work. And absolutely no objections to the change. +1
Re: [O] \344 in org agenda date string only
Am 06.03.2014 21:28, schrieb Rainer Stengele: All since a few days I see \344 instead of German ä, but only in the date string part of the agenda. The collected headlines from my org files show German Umlaute ä,ö,ü correctly. Also all Org files look good. I wonder if someone has an idea how this can be removec. I run org 8.2.5h and Emacs 24.3.1 on Windows and Linux Thank you, Rainer Hat irgendein deutscher User eine Idee? Has any German speaking user an idea? Thank you, Rainer
Re: [O] setq: Symbol's function definition is void: org-add-archive-files = SOLVED
Am 12.03.2014 16:17, schrieb Bastien: Rainer Stengele rainer.steng...@online.de writes: Org-mode version N/A-fixup (N/A-fixup !!check installation!! @ mixed ^^ Did you run ~$ make or ~$ make autoloads? I only did a make autoloads. After a make it works. Thank you, I updated my update script .. Rainer
[O] setq: Symbol's function definition is void: org-add-archive-files
All, I not more can calculate a clocktable with :scope agenda-with-archives I try to create this clocktable #+BEGIN: clocktable :maxlevel 0 :fileskip0 t :scope agenda-with-archives :block 2014-03 #+END: Error message is: setq: Symbol's function definition is void: org-add-archive-files I run Org-mode version N/A-fixup (N/A-fixup !!check installation!! @ mixed installation! c:/emacs-24.3/lisp/org/ and c:/Users/rainer/AppData/Roaming/.emacs.d/org/lisp/) GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2013-03-14 on VBOX I see the symbol here: $ grep -ri org-add-archive-files . ./lisp/org-agenda.el:(declare-function org-add-archive-files org-archive (files)) ./lisp/org-agenda.el: (setq files (org-add-archive-files files))) ./lisp/org-archive.el:(defun org-add-archive-files (files) ./lisp/org-clock.el:(setq scope (org-add-archive-files scope))) ./lisp/org-clock.el:(setq scope (org-add-archive-files (list (buffer-file-name))) ./lisp/org.el:(declare-function org-add-archive-files org-archive (files)) ./lisp/org.el:(setq scope (org-add-archive-files scope))) ./lisp/org.el:(setq scope (org-add-archive-files (list (buffer-file-name)) ./lisp/org.el: (setq files (org-add-archive-files files))) ./lisp/org.el: (setq files (org-add-archive-files files))) Can anybody please help finding the reason for that? Thank you. Rainer
[O] \344 in org agenda date string only
All since a few days I see \344 instead of German ä, but only in the date string part of the agenda. The collected headlines from my org files show German Umlaute ä,ö,ü correctly. Also all Org files look good. I wonder if someone has an idea how this can be removec. I run org 8.2.5h and Emacs 24.3.1 on Windows and Linux Thank you, Rainer
[O] question about performance when having multiple todo blocks from the same org files ..
Hi. I have a complex agenda function as can be seen below. Beside an agenda call I do want to show todos separated in blocks, grouped by priority or tags. I want to show my prio A todos as one block before showing the rest of the todos sorted by prio. I was wondering if Org does run through all the org files again and again in order to collect the data wanted or if there is something like a cache is being filled when running through all buffers, collects all todos and then groups, sorts and is availble for printing out whats wanted. Thank you for a reply from someone who knows the internals. Rainer Org-mode version 8.2.2 (release_8.2.2-193-gf10166) ... (01 agenda - prio A,B todos - sorted prio up - today ;; ( ;; show ONGOING todos first, but only if unscheduled, skip if scheduled (tags-todo ONGOING ((org-agenda-skip-function '(org-agenda-skip-entry-if 'scheduled)) (org-agenda-overriding-header ONGOING todos: ))) (agenda todays agenda ( ;; (org-agenda-skip-function ;; (lambda nil ;; (org-agenda-skip-entry-if 'regexp :ONGOING:))) ;; (org-agenda-skip-entry-if 'regexp :ONGOING:))) (org-agenda-span 'day) (org-agenda-start-with-log-mode t) (org-agenda-start-with-clockreport-mode t) (org-agenda-overriding-header Today's Agenda))) (alltodo !!! TODOs Prio A - skip ONGOING todos!!! ( (org-agenda-skip-function (lambda nil (or (org-agenda-skip-entry-if (quote notregexp) \\=.*\\[#A\\]) (org-agenda-skip-entry-if 'regexp :ONGOING:) (org-agenda-skip-entry-if 'scheduled 'deadline (org-agenda-overriding-header !!! TODOs prio A - skip ONGOING todos: !!!) )) (alltodo todos Prio B til D - skip ONGOING todos ( (org-agenda-skip-function (lambda nil (or (org-agenda-skip-entry-if (quote notregexp) \\=.*\\[#B\\|#C\\|#D\\]) (org-agenda-skip-entry-if 'regexp :ONGOING:) (org-agenda-skip-entry-if 'scheduled 'deadline (org-agenda-overriding-header All todos prio B til D - skip ONGOING todos: ) )) ) ((org-agenda-sorting-strategy '(time-up priority-down todo-state-up ...
Re: [O] org-indent-mode corrupted most of a big org file
Am 02.12.2013 12:21, schrieb Rainer Stengele: All, last week I played around with org-indent-mode in my biggest (37.000 lines) org file. 3 days later I detected that most of the file was corrupted. WHy so late? Using the agenda I only saw the todos and did not recognise the corrupted structures. Most * items had been placed at the beginning of the line and therefore now became headlines. I do not know how this happened. I am not sure if I myself was the reason somehow. Anyway I had to spend a fair amount of work to get the old file format from subversion and insert the changes since the corruption. This is just a warning to have backups at hand before changing to org-indent mode. Then immediately and check often the contents of the file until you are sure all is running well. Maybe someone has an idea. I will try to convert again later but then be much more careful. Rainer Hi, I believe I found the function that corrupted most of my buffer. Trying to convert the indented org contents to unindented I discovered that delete-whitespace-rectangle did a nice job. Imagine you see something like this, cursor at ^. *** headline0 CLOCK: [2013-10-11 Fr 16:45]--[2013-10-11 Fr 17:00] = 0:15 ^CLOCK: [2013-10-01 Di 14:30]--[2013-10-01 Di 23:00] = 8:30 CLOCK: [2013-10-01 Di 09:45]--[2013-10-01 Di 10:15] = 0:30 CLOCK: [2013-09-30 Mo 13:30]--[2013-09-30 Mo 17:00] = 3:30 headline1 headline2 calling delete-whitespace-rectangle results in: *** headline0 CLOCK: [2013-10-11 Fr 16:45]--[2013-10-11 Fr 17:00] = 0:15 CLOCK: [2013-10-01 Di 14:30]--[2013-10-01 Di 23:00] = 8:30 CLOCK: [2013-10-01 Di 09:45]--[2013-10-01 Di 10:15] = 0:30 CLOCK: [2013-09-30 Mo 13:30]--[2013-09-30 Mo 17:00] = 3:30 headline1 headline2 Looks good. Cycling headline2 shows, that all item lists which began with * are now at the beginning of the line and therefore became headlines level 1! That of course is only visible after cycling. The mistake is maybe using the wrong rectangle, but anyway it changes the invisible buffer contents. Rainer
Re: [O] Proposal: adjust CLOCK directly in agenda
Am 02.09.2012 10:46, schrieb Bastien: Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: I cannot find a property which shows the start and ending time of an entry, so changing the total time is useless for me as I do not see where the task started or ended. I still consider the ability to edit values in the normal agenda view as an advantage. The change I implemented allows you to adjust the last clock of an entry from the agenda column view. Just go to such a view, S-up in a CLOCKSUM field and this will add minutes to your clock. I didn't implement adjusting clocks in cascade yet, as this needs to be clearly presented to the user, but I had a look and will suggest something. Thanks, Bastien, I still do a lot of adjustments to clocks after some time through the day or even after checking the weeks or months past agenda. I live in the agenda and there I find I have to adjust clocks. For now I have to visit the org buffer, go to the clock entry, adjust the entry, go back to agenda and reload (I work with sticky agendas). I would very much like to stay in the agenda and simply S-up or S-down being on a clock entry. That operation would update the clocks in the org buffer. Any chance to get this as on a enhancement wish list? if not could you please direct me to a way how I could possibly begin to program such a feature. Thank you! Rainer
Re: [O] org-indent-mode corrupted most of a big org file
Am 04.12.2013 09:25, schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: last week I played around with org-indent-mode in my biggest (37.000 lines) org file. 3 days later I detected that most of the file was corrupted. WHy so late? Using the agenda I only saw the todos and did not recognise the corrupted structures. Most * items had been placed at the beginning of the line and therefore now became headlines. I do not know how this happened. I am not sure if I myself was the reason somehow. Anyway I had to spend a fair amount of work to get the old file format from subversion and insert the changes since the corruption. This is just a warning to have backups at hand before changing to org-indent mode. Then immediately and check often the contents of the file until you are sure all is running well. Maybe someone has an idea. I will try to convert again later but then be much more careful. For the sake of correctness, `org-indent-mode' cannot corrupt a file. It only modifies two text properties, `line-prefix' and `wrap-prefix', never the contents of the file. Something else corrupted that file. `org-indent-mode' possibly made it harder to notice, but you're looking after the wrong culprit. Regards, Good to know. But the indent-mode made it quite easy to mess up most of the file. I think I tried somehow to delete the now no more needed whitespace and messed things up without noticing it. I am afraid there is no easy way to convert a non org-indent-mode to a nice formatted org-indent-file. For smaller files I went through them page by page and left shifted lists and items manually. As far as I remember even Bernt Hansen did the work manually after switching. Maybe someone has a suggestion. Regards, Rainer
[O] Language format of clock/date entries
Hi, I have to switch languages in my wiodows 7 system from time to time. After switching my clock entries also switch format. How can I force emacs/orgmode to stick with the german clock/Date format like for example: [2013-12-02 Mo] [2013-12-03 Di] [2013-12-04 Mi] [2013-12-05 Do] [2013-12-06 Fr] .. Thanks, Rainer
[O] org-indent-mode corrupted most of a big org file
All, last week I played around with org-indent-mode in my biggest (37.000 lines) org file. 3 days later I detected that most of the file was corrupted. WHy so late? Using the agenda I only saw the todos and did not recognise the corrupted structures. Most * items had been placed at the beginning of the line and therefore now became headlines. I do not know how this happened. I am not sure if I myself was the reason somehow. Anyway I had to spend a fair amount of work to get the old file format from subversion and insert the changes since the corruption. This is just a warning to have backups at hand before changing to org-indent mode. Then immediately and check often the contents of the file until you are sure all is running well. Maybe someone has an idea. I will try to convert again later but then be much more careful. Rainer
Re: [O] Show TODO item in table of contents
Am 22.11.2013 23:48, schrieb Bernt Hansen: Nicolas Goaziou n.goaz...@gmail.com writes: Bernt Hansen be...@norang.ca writes: This patch 4c94c4d (ox-html: Add TODO keyword to TOC entries, 2013-11-06) changes the behaviour of HTML TOCs. I noticed that when I export my org-mode document (http://doc.norang.ca/org-mode.html) with this patch the TOC no longer has numbering on the items - and it is just displayed as a plain list. Was this intended? Not really. This is a good ole regression. Can this be fixed? I pushed a fix. Is it better now? Much better! Thanks for the quick fix! :) Regards, Bernt I just tried out. The TOC includes the todo items. I just can't remember if before the todo items were also colored in the TOC. Could it be that the patch removed that colorizing? I find it much more appealing to see the todos in the TOC in the same color as in the headlines. Thanks, Rainer
Re: [O] org-mouse
Hi, I also do see no functionality of any mouse button press after successfully requiring org-mouse. How can I track that problem? Rainer Am 14.11.2013 17:43, schrieb Nick Dokos: Kenneth Jacker k...@be.cs.appstate.edu writes: [ Xubuntu 12.04.3; Xfce 4.8; Wfwm 4.8.3; org-mode 8.2.1 ] As stated in the ELisp source file, I put this in my .emacs: (require 'org-mouse) I then evaled the above, and even restarted Emacs, but I can't seem to get any additional mouse behavior in Org. Do I need something else? No, evaling the require should be enough. Try clicking button-1 on an asterisk of a heading in an org file: does it fold the item? If so, it's working :-) org-mouse.el contains the following notes - that should give you an idea of what it does: ;; Org-mouse implements the following features: ;; * following links with the left mouse button (in Emacs 22) ;; * subtree expansion/collapse (org-cycle) with the left mouse button ;; * several context menus on the right mouse button: ;;+ general text ;;+ headlines ;;+ timestamps ;;+ priorities ;;+ links ;;+ tags ;; * promoting/demoting/moving subtrees with mouse-3 ;;+ if the drag starts and ends in the same line then promote/demote ;;+ otherwise move the subtree ;; It all seems to work fine for me. Nick
Re: [O] org-mouse: solved
I needed to configure variable org-mouse-features Works! Thanks, Rainer. Am 15.11.2013 14:08, schrieb Rainer Stengele: Hi, I also do see no functionality of any mouse button press after successfully requiring org-mouse. How can I track that problem? Rainer Am 14.11.2013 17:43, schrieb Nick Dokos: Kenneth Jacker k...@be.cs.appstate.edu writes: [ Xubuntu 12.04.3; Xfce 4.8; Wfwm 4.8.3; org-mode 8.2.1 ] As stated in the ELisp source file, I put this in my .emacs: (require 'org-mouse) I then evaled the above, and even restarted Emacs, but I can't seem to get any additional mouse behavior in Org. Do I need something else? No, evaling the require should be enough. Try clicking button-1 on an asterisk of a heading in an org file: does it fold the item? If so, it's working :-) org-mouse.el contains the following notes - that should give you an idea of what it does: ;; Org-mouse implements the following features: ;; * following links with the left mouse button (in Emacs 22) ;; * subtree expansion/collapse (org-cycle) with the left mouse button ;; * several context menus on the right mouse button: ;;+ general text ;;+ headlines ;;+ timestamps ;;+ priorities ;;+ links ;;+ tags ;; * promoting/demoting/moving subtrees with mouse-3 ;;+ if the drag starts and ends in the same line then promote/demote ;;+ otherwise move the subtree ;; It all seems to work fine for me. Nick
Re: [O] M-return = org-insert-heading in item list scrolls buffer down 1 line
Am 11.11.2013 17:58, schrieb Bastien: Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: That might be a bug. Did you re-compile Emacs recently? This looks like a bug in the display engine that I've noticed too a while ago. Hi Bastien, no, I use GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2013-03-14 on VBOX sice several months. Rainer
[O] M-return = org-insert-heading in item list scrolls buffer down 1 line
Hi, these days I suddenly have the problem that after inserting a new list item with M-return the item is added correctly but the buffer scrolls down 1 line. I am not sure if this is related to the latest org update done a few days ago. Any idea how to stop this? Ok, just before sending out I found the culprit: I had set scroll-margin to 2. Resetting to 0 solves the problem. That might be a bug. Rainer
Re: [O] Show TODO item in table of contents
Am 05.11.2013 17:33, schrieb Bastien: Hi Rainser, Rainer Stengele rainer.steng...@online.de writes: I have that one set to t. What I want is to see the todo state words in the table of contents. I see them in the contents but not in the table of contents. Mhh... then I think you can't, sorry. Hi all, I would propose that as an enhancement: In html export include todo state words in table of contents. Anybody else would find this useful? Thank you, Rainer
Re: [O] Show TODO item in table of contents
Am 06.11.2013 16:13, schrieb Nicolas Goaziou: Hello, Bastien b...@gnu.org writes: Nicolas Goaziou n.goaz...@gmail.com writes: In html export include todo state words in table of contents. Would the following patch do the job? It does for me! Thanks Applied then. Regards, Wonderful! Works! I love you guys .. Regards, Rainer
Re: [O] Show TODO item in table of contents
Am 04.11.2013 22:48, schrieb Bastien: Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: I couldn't find a way to show the TODO items in the table of econtents of an exported html of an org file. I do not mean org-export-mark-todo-in-toc. Please help me find a variable! org-export-with-tasks ? Hi Bastien, I have that one set to t. What I want is to see the todo state words in the table of contents. I see them in the contents but not in the table of contents. Thanks, Rainer
[O] Show TODO item in table of contents
Hi all, I couldn't find a way to show the TODO items in the table of econtents of an exported html of an org file. I do not mean org-export-mark-todo-in-toc. Please help me find a variable! Thank you, Rainer
Re: [O] How to collect status of all checkboxes in lower subtrees
Am 10.10.2013 18:05, schrieb Eric S Fraga: Rainer Stengele rainer.steng...@online.de writes: Hi! I have a headline with several sub headlines and sub items in lists. Scattered all over I have checkboxes. I would very much like to collect and see the overall status of unchecked checkboxes. Not sure you can do what you want. However, if you change the checkbox lists to headlines with TODOs, what you want is possible: #+begin_src org ,* project [2/6] ,** [1/3] subproject 1 ,*** TODO todo 1 ,*** DONE todo 2 ,*** TODO todo 3 ,** [1/3] sub subproject 1 ,*** TODO todo 1 ,*** TODO todo 2 ,*** DONE todo 3 #+end_src Thank you Eric, until now TODOs for me always seemed to be a bit heavyweight because of the headline needed. I wonder how people are working. Do you use checkboxes a lot or prefer TODOs even for simple subtasks? I find it disturbing to have to open a new headline just for a simple task. This forces me to continue with TODOs (= headlines) else all subitems will belong to the preceding headline. Any best practice or comment? Thanks, Rainer
[O] How to collect status of all checkboxes in lower subtrees
Hi! I have a headline with several sub headlines and sub items in lists. Scattered all over I have checkboxes. I would very much like to collect and see the overall status of unchecked checkboxes. Example: * project ** subproject 1 - [ ] todo 1 - [X] todo 2 - [ ] todo 3 *** sub subproject 1 - [ ] todo 1 - [ ] todo 2 - [X] todo 3 ... I would like to see * project [2/6] ... Is there a way to achieve this? I already know about org-hierarchical-todo-statistics and org-hierarchical-checkbox-statistics. Thanks, Rainer
Re: [O] ANN: Release 8.1
Thanks Carsten! ORG is always improving. It's amazing! I like the performance improvement through org-agenda-ignore-drawer-properties a lot! Keep up the good work! - Rainer Am 06.09.2013 22:21, schrieb Carsten Dominik: Hi everyone! The current git master has just been tagged as release 8.1. I would like to thank everyone who contributed to it. I am extremely glad to see how little input from my side is really needed to move this project like a well oiled machine. Thank you Org community, with its increasing number of people who take responsibility. Special thanks to Bastien for pushing this release over the finish line, next time it will be truly me who will do this. After struggling with this during the first few month after I took over the maintainer role again, I seem to have found a way now to make sufficient time. Below is a list of changes. Enjoy! - Carsten ORG 8.1 Incompatible changes Combine org-mac-message.el and org-mac-link-grabber into org-mac-link.el Please remove calls to `(require 'org-mac-message)' and `(require 'org-mac-link-grabber)' in your `.emacs' initialization file. All you need now is `(require 'org-mac-link)'. Additionally, replace any calls to `ogml-grab-link' to `org-mac-grab-link'. For example, replace this line: , | (define-key org-mode-map (kbd C-c g) 'omgl-grab-link) ` with this: , | (define-key org-mode-map (kbd C-c g) 'org-mac-grab-link) ` HTML export: Replace `HTML_HTML5_FANCY' by `:html-html5-fancy' (...) Some of the HTML specific export options in Org 8.1 are either nil or t, like `#+HTML_INCLUDE_STYLE'. We replaced these binary options with option keywords like :html-include-style. So you need to replace , | #+HTML_INCLUDE_STYLE: t ` by , | #+OPTIONS: :html-include-style t ` Options affected by this change: `HTML5_FANCY', `HTML_INCLUDE_SCRIPTS' and `HTML_INCLUDE_STYLE'. Important bugfixes == org-insert-heading has been rewritten and bugs are now fixed The replacement of disputed keys is now turned of when reading a date ~ New features You can now use `xdg-open' to control how to open files ~~~ `C-c ^ x' will now sort checklist items by their checked status ~~~ See org-sort-list: hitting `C-c ^ x' will put checked items at the end of the list. Various LaTeX export enhancements ~ - Support SVG images - Support for .pgf files - LaTeX Babel blocks can now be exported as `.tikz' files - Allow `latexmk' as an option for org-latex-pdf-process - When using `\usepackage[AUTO]{inputenc}', AUTO will automatically be replaced with a coding system derived from `buffer-file-coding-system'. - The dependency on the `latexsym' LaTeX package has been removed, we now use `amssymb' symbols by default instead. Remapping `forward-paragraph' and `backward-paragraph' ~~ `forward-paragraph' and `backward-paragraph' are now remapped to org-forward-element and org-backward-element respectively. E.g. hitting `C-down' on a headline will move to the next headline. New entities in `org-entities.el' ~ Add support for ell, imath, jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (ß), dag, ddag, colon, therefore, because, triangleq, leq, geq, lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurleyeq, succ, succeq, succurleyeq, setminus, nexist(s), mho, check, frown, diamond. Changes loz, vert, checkmark, smile and tilde. New options === New option org-bookmark-names-plist ~~~ This allows to specify the names of automatic bookmarks. New option org-agenda-ignore-drawer-properties ~~ This allows more flexibility when optimizing the agenda generation. See [http://orgmode.org/worg/agenda-optimization.html] for details. New option: org-html-link-use-abs-url to force using absolute URLs ~~ This is an export/publishing option, and should be used either within the `#+OPTIONS' line(s) or within a org-publish-project-alist. Setting this option to
Re: [O] org-speed-commands-default 1 2 3
Am 03.09.2013 00:35, schrieb Tom Davey: Olen writes: Level 2 is very useful - and cannot, unlike Level 1, be reached by S-TAB. Actually, it can. S-TAB takes a numeric prefix key. The doc string says: When ARG is a numeric prefix, show contents of this level. So, you can directly open or close the outline to _any_ desired level N with C-N S-TAB. I find that feature to be incredibly handy. It encourages me to nest my outlines as deeply as I wish. Here's a little navigation utility I wrote to take advantage of S-TAB's ability. Sometimes I'll want to collapse the outline to the level at point in order, say, to clean things up by closing all lower levels. However, it's not always obvious to me what level I'm on. And without knowing what level I'm on, I can't hit the right numeric prefix for S-TAB. The following utility does it all automagically by passing the result of org-outline-level() to S-TAB. C-S-TAB is a logical binding for this function. (defun open-org-outline-to-current-level () Opens or closes the Orgmode outline to the level at point. (interactive) (org-shifttab (org-outline-level)) (message The current outline level is %s. (org-outline-level))) Regards, Tom Davey On Thu, Aug 8, 2013 at 9:02 AM, Oleh ohwoeo...@gmail.com mailto:ohwoeo...@gmail.com wrote: On Thu, Aug 8, 2013 at 9:01 AM, Carsten Dominik carsten.domi...@gmail.com mailto:carsten.domi...@gmail.com wrote: On 23.7.2013, at 15:48, Oleh ohwoeo...@gmail.com mailto:ohwoeo...@gmail.com wrote: Hi all, I've recently started using `org-use-speed-commands', and I like it a lot, except I had to make one tweak: (setq org-use-speed-commands t) (setq org-speed-commands-user '((1 . (org-shifttab 1)) (2 . (org-shifttab 2)) (3 . (org-shifttab 3 The corresponding values of `org-speed-commands-default' aren't that useful for GTD: (1 org-priority 65) (2 org-priority 66) (3 org-priority 67) That depends on wether you work with priorities. I find S-TAB easy enough, so I do not really see the need for speed commands here. Maybe I should elaborate my point of view on the usability. Priorities don't normally need buttons to jump between states, a knob is enough: only increase/decrease priority, not jump to priority 1, jump to priority 2 etc. Outlines, on the other hand, can benefit from the ability to jump between the levels of expansion. Level 1 is very useful - it minimizes everything, showing the structure of the file. S-TAB is useful and simple, but you have to repeat several times, checking each time if it has brought you to the level that you wanted to be on. Level 2 is very useful - and cannot, unlike Level 1, be reached by S-TAB. For my gtd.org http://gtd.org, it shows the tasks and appointments, without expanding them, as well as the project names, but not what they contain. This gives a nice overview of my projects. Level 3 is very useful - and cannot be reached by S-TAB. It shows me the separate TODOs for my projects, without revealing my notes on them, just the headings. I even bound the rest of the digits to levels and it is useful sometimes. In my opinion, these shortcuts make org-mode a better outlining tool, and should be given priority before the priority shortcuts. Slightly off-topic, these type of shortcuts is why I use Ubuntu Unity (I think I managed to turn off the spying). It's got a feature that Super+1-9 switches between applications in the sidebar slots 1-9. Sure, it's possible to do with Alt-TAB, and that's what most other desktops do, but Super+1-9 is superior, since you don't have to wait for feedback, you instantly get what you want. regards, Oleh -- -- Tom Davey t...@tomdavey.com mailto:t...@tomdavey.com New York NY USA collapse the outline to the level at point seems helpful to me! Using 0 as speed key I end up with: ;; Outline level durch speedcommand setzen ;; 0: collapse the outline to the level at point (setq org-use-speed-commands t) (setq org-speed-commands-user '((0 . (org-shifttab (org-outline-level))) (1 . (org-shifttab 1)) (2 . (org-shifttab 2)) (3 . (org-shifttab 3)) (4 . (org-shifttab 4)) (5 . (org-shifttab 5 Thanks! Rainer
Re: [O] org-speed-commands and `org-beginning-of-line-tip'
Am 8/1/2013 9:18 AM, schrieb Oleh: Hi all, I've come to rely on org-speed-commands quite a lot, and I wanted to share this tip with other people, who use them: (define-key org-mode-map (kbd C-a) (lambda()(interactive) (if (looking-at ^[^*]) (re-search-backward ^*) (org-beginning-of-line Basically, an additional C-a when already at the beginning of line takes you to the previous heading, where speed commands are possible. Since the normal C-a would do nothing in this case, it's a straight upgrade. regards, Oleh Hi, nice idea, thanks. Rainer
Re: [O] How to trigger the clockcheck in an agenda view.
Am 7/29/2013 10:48 AM, schrieb Sebastien Vauban: Hi Rainer Stengele, Rainer Stengele wrote: Am 7/17/2013 2:07 PM, schrieb Rainer Stengele: Am 12.07.2013 10:06, schrieb Rainer Stengele: I want to start an aganda view over a week and immediately check the consistency of clock entries: I can't seem to find a way to trigger the clockcheck in the agenda view options. At the moment I have:: (Aw agenda + no todos - this week - log-mode - ARCHIVE included - clock report agenda ( (org-agenda-sorting-strategy '(time-up priority-down)) (org-agenda-span 'week) (org-agenda-start-with-log-mode t) (org-agenda-archives-mode t) (org-agenda-start-with-clockreport-mode t) )) Do I miss the variable to be set? Anybody? I know this is special, but I do not know how to check the existence of such a variable. If it doesn't I would suggest it as enhancement. The following does what you want: --8---cut here---start-8--- (add-to-list 'org-agenda-custom-commands '(rC Clock Review agenda ((org-agenda-archives-mode t) (org-agenda-clockreport-mode t) (org-agenda-overriding-header Clocking Review) (org-agenda-show-log 'clockcheck) (org-agenda-span 'day))) t) --8---cut here---end---8--- Best regards, Seb PS- I've been on holidays and still ahve ~300 Org posts to read... Sebastian, thank you for taking your precious time to consider my question! I replaced my configuration with exactly yours and it doesn't start with showing the clockchecks (time gaps etc.). I have to type v c to activate the clockcheck. I run the latest org version from just 3 minutes ago. Any idea? Best regards, Rainer.
Re: [O] How to trigger the clockcheck in an agenda view.
Am 7/17/2013 2:07 PM, schrieb Rainer Stengele: Am 12.07.2013 10:06, schrieb Rainer Stengele: Hi, I want to start an aganda view over a week and immediately check the consistency of clock entries: See manual for agenda dispacther: v c Show overlapping clock entries, clocking gaps, and other clocking problems in the current agenda range. You can then visit clocking lines and fix them manually. See the variable org-agenda-clock-consistency-checks for information on how to customize the definition of what constituted a clocking problem. To return to normal agenda display, press l to exit Logbook mode. I can't seem to find a way to trigger the clockcheck in the agenda view options. At the moment I have:: .. (Aw agenda + no todos - this week - log-mode - ARCHIVE included - clock report agenda ( (org-agenda-sorting-strategy '(time-up priority-down)) (org-agenda-span 'week) (org-agenda-start-with-log-mode t) (org-agenda-archives-mode t) (org-agenda-start-with-clockreport-mode t) )) .. Do I miss the variable to be set? Thanks, Rainer Anybody? I know this is special, but I do not know how to check the existence of such a variable. If it doesn't I would suggest it as enhancement. Thanks, Rainer
Re: [O] How to trigger the clockcheck in an agenda view.
Am 12.07.2013 10:06, schrieb Rainer Stengele: Hi, I want to start an aganda view over a week and immediately check the consistency of clock entries: See manual for agenda dispacther: v c Show overlapping clock entries, clocking gaps, and other clocking problems in the current agenda range. You can then visit clocking lines and fix them manually. See the variable org-agenda-clock-consistency-checks for information on how to customize the definition of what constituted a clocking problem. To return to normal agenda display, press l to exit Logbook mode. I can't seem to find a way to trigger the clockcheck in the agenda view options. At the moment I have:: .. (Aw agenda + no todos - this week - log-mode - ARCHIVE included - clock report agenda ( (org-agenda-sorting-strategy '(time-up priority-down)) (org-agenda-span 'week) (org-agenda-start-with-log-mode t) (org-agenda-archives-mode t) (org-agenda-start-with-clockreport-mode t) )) .. Do I miss the variable to be set? Thanks, Rainer Anybody?
[O] How to trigger the clockcheck in an agenda view.
Hi, I want to start an aganda view over a week and immediately check the consistency of clock entries: See manual for agenda dispacther: v c Show overlapping clock entries, clocking gaps, and other clocking problems in the current agenda range. You can then visit clocking lines and fix them manually. See the variable org-agenda-clock-consistency-checks for information on how to customize the definition of what constituted a clocking problem. To return to normal agenda display, press l to exit Logbook mode. I can't seem to find a way to trigger the clockcheck in the agenda view options. At the moment I have:: .. (Aw agenda + no todos - this week - log-mode - ARCHIVE included - clock report agenda ( (org-agenda-sorting-strategy '(time-up priority-down)) (org-agenda-span 'week) (org-agenda-start-with-log-mode t) (org-agenda-archives-mode t) (org-agenda-start-with-clockreport-mode t) )) .. Do I miss the variable to be set? Thanks, Rainer
[O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline
Hi, since the last pull I cannot start any agenda without getting this message: cond: Wrong type argument: sequencep, :newline setting debug-on-error to t does not show more info. Any idea what could be wrong? Regards, Rainer
Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline
Am 11.07.2013 11:45, schrieb Noorul Islam K M: Rainer Stengele rainer.steng...@online.de writes: Hi, since the last pull I cannot start any agenda without getting this message: cond: Wrong type argument: sequencep, :newline setting debug-on-error to t does not show more info. Any idea what could be wrong? A fix was pushed recently for this. You might be lagging begind. Thanks and Regards Noorul I am at Org-mode version 8.0.5 (release_8.0.5-334-g203f4c) That looks pretty current. Error is still there! Cheers, Rainer
Re: [O] [BUG] org-agenda-list
Am 11.07.2013 08:38, schrieb Bastien: Hi Nick, Nick Dokos ndo...@gmail.com writes: I just pulled and I get the attached backtrace from org-agenda-list. I tried with -q -l minimal.emacs and it's still there. It's probably caused by commit 42691788273cecb75ec620d40cc5394d2cd95ed1. When I revert that, the agenda comes up properly. I'm in a hurry and can't really test right now. Can you confirm the following patch fixes it for you? Thanks, Yes, the fix works!