all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#54670: Clocktable :step errors
@ 2022-04-01 15:49 Craig Smith
  2022-04-04  8:09 ` Robert Pluim
  0 siblings, 1 reply; 2+ messages in thread
From: Craig Smith @ 2022-04-01 15:49 UTC (permalink / raw)
  To: 54670

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

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


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

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

* bug#54670: Clocktable :step errors
  2022-04-01 15:49 bug#54670: Clocktable :step errors Craig Smith
@ 2022-04-04  8:09 ` Robert Pluim
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Pluim @ 2022-04-04  8:09 UTC (permalink / raw)
  To: Craig Smith; +Cc: 54670

>>>>> On Fri, 1 Apr 2022 15:49:45 +0000, Craig Smith <craig.smith7034@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
-- 




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

end of thread, other threads:[~2022-04-04  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-01 15:49 bug#54670: Clocktable :step errors Craig Smith
2022-04-04  8:09 ` Robert Pluim

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.