emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: [BUG] Agenda view fails with rx error in org-at-timestamp-p
Date: Fri, 22 Apr 2022 16:03:28 +0200	[thread overview]
Message-ID: <878rrxdxlb.fsf@christianmoe.com> (raw)


Hi,

After updating to Org mode version 9.5.3-g69c588 via Elpa on Emacs
26.3, my Org Agenda view fails with the following backtrace:

Debugger entered--Lisp error: (error "rx form ‘regexp’ requires args satisfying ‘stringp’")
  signal(error ("rx form ‘regexp’ requires args satisfying ‘stringp’"))
  error("rx form `%s' requires args satisfying `%s'" regexp stringp)
  rx-check((regexp org-ts-regexp3))
  rx-regexp((regexp org-ts-regexp3))
  rx-form((regexp org-ts-regexp3) |)
  #f(compiled-function (x) #<bytecode 0x172a129>)((regexp org-ts-regexp3))
  mapconcat(#f(compiled-function (x) #<bytecode 0x172a129>) ((regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)) "\\|")
  rx-or((or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)))
  rx-form((or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)))
  rx-to-string((or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)) t)
  #f(compiled-function (&rest regexps) #<bytecode 0x16fa711>)((or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)))
  (rx (or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)))
  (if (eq extended (quote agenda)) (rx (or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp))) org-ts-regexp3)
  (if extended (if (eq extended (quote agenda)) (rx (or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp))) org-ts-regexp3) org-ts-regexp2)
  (let* ((regexp (if extended (if (eq extended (quote agenda)) (rx (or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp))) org-ts-regexp3) org-ts-regexp2)) (pos (point)) (match\? (let ((boundaries (org-in-regexp regexp))) (save-match-data (cond ((null boundaries) nil) ((eq extended ...) t) (t (or ... ...))))))) (cond ((not match\?) nil) ((= pos (match-beginning 0)) (quote bracket)) ((= pos (1- (match-end 0))) (quote bracket)) ((= pos (match-end 0)) (quote after)) ((org-pos-in-match-range pos 2) (quote year)) ((org-pos-in-match-range pos 3) (quote month)) ((org-pos-in-match-range pos 7) (quote hour)) ((org-pos-in-match-range pos 8) (quote minute)) ((or (org-pos-in-match-range pos 4) (org-pos-in-match-range pos 5)) (quote day)) ((and (or (match-end 8) (match-end 5)) (> pos (or (match-end 8) (match-end 5))) (< pos (match-end 0))) (- pos (or (match-end 8) (match-end 5)))) (t (quote day))))
  org-at-timestamp-p(agenda)
  org-agenda-get-timestamps(nil)
  org-agenda-get-day-entries("/home/cm/org/pro.org" (4 18 2022) :deadline :scheduled :timestamp :sexp)
  apply(org-agenda-get-day-entries "/home/cm/org/pro.org" (4 18 2022) (:deadline :scheduled :timestamp :sexp))
  org-agenda-list(nil)
  funcall-interactively(org-agenda-list nil)
  call-interactively(org-agenda-list)
  org-agenda(nil)
  funcall-interactively(org-agenda nil)
  call-interactively(org-agenda nil nil)
  command-execute(org-agenda)

Yours,
Christian


             reply	other threads:[~2022-04-22 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-22 14:03 Christian Moe [this message]
2022-04-22 14:45 ` [BUG] Agenda view fails with rx error in org-at-timestamp-p Ihor Radchenko

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=878rrxdxlb.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --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).