GNU bug report logs - #54670
Clocktable :step errors

Previous Next

Package: org-mode;

Reported by: Craig Smith <craig.smith7034 <at> outlook.com>

Date: Fri, 1 Apr 2022 17:09:02 UTC

Severity: normal

To reply to this bug, email your comments to 54670 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#54670; Package emacs. (Fri, 01 Apr 2022 17:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Craig Smith <craig.smith7034 <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 01 Apr 2022 17:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Craig Smith <craig.smith7034 <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Clocktable :step errors 
Date: Fri, 1 Apr 2022 15:49:45 +0000
[Message part 1 (text/plain, inline)]
Good Day,


I am encountering clocktable :step errors with EMACS.  The following command

M-x org-clock-report

applied to

#+BEGIN: clocktable :maxlevel 4 :scope tree2 :tstart "<2021-10-03 Sun 00:01>" :tend "<tomorrow>" :step month :narrow 75! :link nil
#+END: clocktable

yields the following error message

Wrong type argument: number-or-marker-p, nil

The same error occurs with :step semimonth and :step year as well.  If I use :step day or :step week, there is no error and EMACS cheerfully produces the desired report.

Online documentation states the :step month, semimonth or year commands are valid.  The below link is one such instance.

https://www.gnu.org/software/emacs/manual/html_node/org/The-clock-table.html

But, I have tried the :step commands with Emacs 25.3.1 on Windows 10, Emacs 26.3 on Windows XP and Emacs 26.3 on my Android phone through Termux.  All three versions do not accept the :step month, :step semimonth or :step year command.  I have concluded the :step month, semimonth or year commands were valid at one time and online documentation has not caught up with the change.  It is not a big problem, but Ι thought worth bringing to your attention.


Regards,


Craig Smith
Texas

[Message part 2 (text/html, inline)]

bug reassigned from package 'emacs' to 'org-mode'. Request was from Glenn Morris <rgm <at> fencepost.gnu.org> to control <at> debbugs.gnu.org. (Fri, 01 Apr 2022 17:39:01 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#54670; Package org-mode. (Mon, 04 Apr 2022 08:10:01 GMT) Full text and rfc822 format available.

Message #10 received at 54670 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Craig Smith <craig.smith7034 <at> outlook.com>
Cc: 54670 <at> debbugs.gnu.org
Subject: Re: bug#54670: Clocktable :step errors
Date: Mon, 04 Apr 2022 10:09:28 +0200
>>>>> On Fri, 1 Apr 2022 15:49:45 +0000, Craig Smith <craig.smith7034 <at> outlook.com> said:
    Craig> Online documentation states the :step month, semimonth or year commands are valid.  The below link is one such instance.

    Craig> https://www.gnu.org/software/emacs/manual/html_node/org/The-clock-table.html

    Craig> But, I have tried the :step commands with Emacs 25.3.1 on Windows 10,
    Craig> Emacs 26.3 on Windows XP and Emacs 26.3 on my Android phone through
    Craig> Termux.  All three versions do not accept the :step month, :step
    Craig> semimonth or :step year command.  I have concluded the :step month,
    Craig> semimonth or year commands were valid at one time and online
    Craig> documentation has not caught up with the change.  It is not a big
    Craig> problem, but Ι thought worth bringing to your attention.

I think itʼs the other way around: those variants were added in a
later version of org than the one youʼre using (and the online manual
thus describes them). Theyʼre definitely available in emacs-27 and
later. From memory, current org still supports emacs-26, so you could
try installing the latest packaged org from ELPA.

Robert
-- 




This bug report was last modified 3 years and 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.