emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Garjola Dindi <garjola@garjola.net>
To: emacs-orgmode@gnu.org
Subject: Invalid duration format error with active timestamp
Date: Mon, 17 May 2021 14:07:06 +0200	[thread overview]
Message-ID: <87bl99sgwl.fsf@pc-117-162.gandi.net> (raw)


Hi,

I am using the most recent elpa version of org
9.4.5 (9.4.5-93-gbc857b-elpa @
/home/garjola/.emacs.d/elpa/org-20210510/) with emacs master branch.

Since updating org yesterday, when I use a timestamp like 

,----
| <2021-05-17 Mon 10:00-11:00>
`----


building the agenda fails with this backtrace:

,----
| Debugger entered--Lisp error: (error "Invalid duration format:
| #(\"10:00-11:00\" 0 5 (font...")
| 
|   error("Invalid duration format: %S" #("10:00-11:00" 0 11 (face
|   org-date keymap (keymap (follow-link . mouse-face) (mouse-3 .
|   org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face
|   highlight wrap-prefix #("  " 0 2 (face org-indent)) line-prefix #("  "
|   0 2 (face org-indent)) org-category "work" fontified t)))
| 
|   org-duration-to-minutes(#("10:00-11:00" 0 11 (face org-date keymap
|   (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse)
|   (mouse-2 . org-open-at-mouse)) mouse-face highlight wrap-prefix #("  "
|   0 2 (face org-indent)) line-prefix #("  " 0 2 (face org-indent))
|   org-category "work" fontified t)))
| 
|   org-agenda-format-item(nil #("Planning
|   ..." 0 68 (face org-level-1 wrap-prefix #("* " 0 2 (face org-indent))
|   line-prefix "" org-category "work" fontified t) 68 77 (keymap (keymap
|   (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2
|   . org-open-at-mouse)) mouse-face highlight face (org-tag org-level-1)
|   wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" org-category
|   "work" fontified t) 77 78 (rear-nonsticky (mouse-face highlight keymap
|   invisible intangible help-echo org-linked-text htmlize-link) keymap
|   (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse)
|   (mouse-2 . org-open-at-mouse)) mouse-face highlight face (org-tag
|   org-level-1) wrap-prefix #("* " 0 2 (face org-indent)) line-prefix ""
|   org-category "work" fontified t)) " " "work" (#("work" 0 4 (inherited
|   t)) "planning") #("<2021-05-17 Mon 10:00-11:00>" 0 1 (face
|   (rainbow-delimiters-depth-1-face org-date) keymap (keymap (follow-link
|   . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 .
|   org-open-at-mouse)) mouse-face highlight wrap-prefix #("  " 0 2 (face
|   org-indent)) line-prefix #("  " 0 2 (face org-indent)) org-category
|   "work" fontified t) 1 27 (face org-date keymap (keymap (follow-link .
|   mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 .
|   org-open-at-mouse)) mouse-face highlight wrap-prefix #("  " 0 2 (face
|   org-indent)) line-prefix #("  " 0 2 (face org-indent)) org-category
|   "work" fontified t) 27 28 (face (rainbow-delimiters-depth-1-face
|   org-date) keymap (keymap (follow-link . mouse-face) (mouse-3 .
|   org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face
|   highlight wrap-prefix #("  " 0 2 (face org-indent)) line-prefix #("  "
|   0 2 (face org-indent)) org-category "work" rear-nonsticky (mouse-face
|   highlight keymap invisible intangible help-echo org-linked-text
|   htmlize-link) fontified t))
|   "<\\([[:digit:]]\\{4\\}-[[:digit:]]\\{2\\}-[[:digit:]]\\{..." nil)
| 
|   org-agenda-get-timestamps(nil)
`----

Does this ring a bell to somebody? I have been using timestamps like
this for a while without problems. I have checked the manual and I still
see this kind of timestamps in the corresponding section.

Thank you.

G.

-- 



             reply	other threads:[~2021-05-17 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 12:07 Garjola Dindi [this message]
2021-05-17 14:01 ` Nicolas Goaziou
2021-05-18 17:42   ` Garjola Dindi
2021-05-18 21:23     ` Rainer Hansen
2021-05-19 19:40       ` Garjola Dindi

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=87bl99sgwl.fsf@pc-117-162.gandi.net \
    --to=garjola@garjola.net \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Invalid duration format error with active timestamp' \
    /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

Code repositories for project(s) associated with this 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).