emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)]
@ 2017-02-17 12:00 michael.ziems
  2017-02-17 12:27 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: michael.ziems @ 2017-02-17 12:00 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2091 bytes --]

Hello,

i am running orgmode version 9.0.5 on GNU Emacs 24.3.1 on Windows.
On a second PC im running orgmode version 9.0.2 also on Windows.
When i now try to update the org clock table report on the version 9.0.5
then i get a "org-clocktable-write-default: Wrong type argument:
char-or-string-p, nil"

I compared the two versions of org-clocktable-write-default in
org-clock.el between 9.0.5 and 9.0.2 and the crash happens here:

Version 9.0.5:

    ;; 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
     (nth 4 lwords) "|"            ;headline
     (nth 5 lwords) "|"            ;time column
     (make-string (1- (min maxlevel (or ntcol 100))) ?|)
     (if (eq formula '%) "%|\n" "\n"))

On the line 2551 for the "(if (eq formula '%) "%|\n" "\n"))"

When i compare version 9.0.2 the code changed:

    ;; 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) "|"
         (nth 5 lwords) "|\n"))                 ; headline and time
columns

My Elisp skills are still quite limited, maybe somebody else could tell
me what is wrong and how to proceed.
Any help is highly appreciated.

Thanks,

Michael

Emacs  : GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200)
 of 2013-03-17 on MARVIN
Package: Org mode version 9.0.5 (9.0.5-elpa @
c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)

[-- Attachment #2: Type: text/html, Size: 3445 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-19  8:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-17 12:00 Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] michael.ziems
2017-02-17 12:27 ` Nicolas Goaziou
     [not found]   ` <d71585505a8b63ccb54ddda996369281@xiron.de>
2017-02-17 14:14     ` Nicolas Goaziou
2017-02-18  6:13       ` Axel Kielhorn
2017-02-18  8:37         ` Nicolas Goaziou
2017-02-19  6:25           ` Axel Kielhorn
2017-02-19  8:41             ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).