emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: michael.ziems@xiron.de
To: emacs-orgmode@gnu.org
Subject: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)]
Date: Fri, 17 Feb 2017 13:00:20 +0100	[thread overview]
Message-ID: <ec3aa221b3bc99e71d485234e2caf8a7@xiron.de> (raw)

[-- 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 --]

             reply	other threads:[~2017-02-17 12:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 12:00 michael.ziems [this message]
2017-02-17 12:27 ` Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ec3aa221b3bc99e71d485234e2caf8a7@xiron.de \
    --to=michael.ziems@xiron.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).