emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Edmund Christian Herenz <eherenz@eso.org>
To: emacs-orgmode@gnu.org
Subject: [BUG] Org 9.5.3 fails to display agenda (error "rx form ‘regexp’ requires args satisfying ‘stringp’")
Date: Sun, 1 May 2022 23:46:43 -0400	[thread overview]
Message-ID: <20220502034643.eamu3gstrlaqqtfe@orion> (raw)

Dear Developers,

thank you for the hard work on Org-mode.  I recently updated to 9.5.3
using elpa on GNU Emacs 26.1 and suddenly org-mode fails to display
the agenda (Debug message below).  This is not a smooth upgrade
experience, and some tests on core-functionality on supported emacs
versions would be appreciated.

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 0x12af431>)((regexp org-ts-regexp3))
  mapconcat(#f(compiled-function (x) #<bytecode 0x12af431>) ((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 0x1291fd9>)((or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)))
  (rx (or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp)))
  (if (eq extended 'agenda) (rx (or (regexp org-ts-regexp3) (regexp org-element--timestamp-regexp))) org-ts-regexp3)
  (if extended (if (eq extended '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 '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 'lax) t) (t (or (and (eq extended 'agenda) (or (org-at-planning-p) (org-at-property-p) (and (bound-and-true-p org-agenda-include-inactive-timestamps) (org-at-clock-log-p)))) (eq 'timestamp (save-excursion (when (= pos (cdr boundaries)) (forward-char -1)) (org-element-type (org-element-context))))))))))) (cond ((not match\?) nil) ((= pos (match-beginning 0)) 'bracket) ((= pos (1- (match-end 0))) 'bracket) ((= pos (match-end 0)) 'after) ((org-pos-in-match-range pos 2) 'year) ((org-pos-in-match-range pos 3) 'month) ((org-pos-in-match-range pos 7) 'hour) ((org-pos-in-match-range pos 8) 'minute) ((or (org-pos-in-match-range pos 4) (org-pos-in-match-range pos 5)) '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 'day)))
  org-at-timestamp-p(agenda)
  org-agenda-get-timestamps(nil)
  org-agenda-get-day-entries("/home/ehere/science_works/calendar.org" (4 25 2022) :deadline :scheduled :timestamp :sexp)
  apply(org-agenda-get-day-entries "/home/ehere/science_works/calendar.org" (4 25 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)

Best regards,
Christian

-- 
--------------------------------------------------------------------------------
Edmund Christian Herenz (ESO Fellow)     Office: M152
ESO Vitacura                             Email:  eherenz@eso.org
Alonso de Córdova 3107                   Phone:  +56 2 2463 3047  (Office)
Vitacura, Casilla 19001                          +56 9 4613 7517  (Mobile)
Santiago de Chile, Chile                 WWW:    http://www.sc.eso.org/~eherenz/
--------------------------------------------------------------------------------


             reply	other threads:[~2022-05-02  3:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-02  3:46 Edmund Christian Herenz [this message]
2022-05-02  4:07 ` [BUG] Org 9.5.3 fails to display agenda (error "rx form ‘regexp’ requires args satisfying ‘stringp’") 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=20220502034643.eamu3gstrlaqqtfe@orion \
    --to=eherenz@eso.org \
    --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).