emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: errors when using org-agenda


From: William McCoy
Subject: Fwd: errors when using org-agenda
Date: Fri, 22 Oct 2021 20:46:10 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

I am modifying my previous message (that has not yet appeared on this list) with some additional information regarding this issue:


I have been having some strange errors when using org-agenda.  The errors seem to have begun about the time I upgraded to org 9.5 from the elpa repo a couple of weeks ago.  When I activate org-agenda, I get the usual menu.  When I press 'm' to search for a tag and then enter a known tag name, I get an empty *Org Agenda* buffer and an error in the minibuffer:



Symbol’s value as variable is void: timestamp-up


With debug-on-error set, I get the following backtrace:


Debugger entered--Lisp error: (void-variable timestamp-up)
  org-entries-lessp(#("  ubuntu:     Updated Pop_OS (Ubuntu) ..." 0 14 (type "tagsmatch" priority 1000 ts-date nil todo-state$   sort((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) org-entries-lessp)   org-agenda-finalize-entries((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) tags)
  org-tags-view(nil)
  funcall-interactively(org-tags-view nil)
  call-interactively(org-tags-view)
  org-agenda(nil)
  funcall-interactively(org-agenda nil)
  call-interactively(org-agenda nil nil)
  command-execute(org-agenda)

When I enter org-agenda and use 'a' for my agenda, I get the following error:


Invalid function: (date date)


And the backtrace is:


Debugger entered--Lisp error: (invalid-function (date date))
  (date date)()
org-agenda-get-day-entries("/home/wdmccoy/orgfiles/C/C-examples.org" (10 18 2021) :deadline :scheduled :timestamp :sexp)   apply(org-agenda-get-day-entries "/home/wdmccoy/orgfiles/C/C-examples.org" (10 18 2021) (:deadline :scheduled :timestamp :s$
  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)


Disregard the following comments between the dashed lines.  I just realized that when I start emacs with the -Q switch, an older built-in version of org-mode (9.4.4) is used.  So I do think this is related to changes in version 9.5.

--------------------------------------------------------------------------
If I start  emacs with the -Q switch and then execute my org-agenda-files setting command in the *scratch* buffer:


(setq org-agenda-files (directory-files-recursively "~/orgfiles/" "\\.org$"))


then org-agenda appears to work fine without errors.
--------------------------------------------------------------------------


I have made a minimal init.el file and trimmed virtually everything from my emacs-custom.el file (file attached), but the error still occurs.  I just can't figure out what's causing it.  Any ideas?

Also I forgot to add:

emacs-version: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2021-06-04

org-version: Org mode version 9.5 (9.5-g0a86ad @ /home/wdmccoy/.emacs.d/elpa/org-9.5/)

OS:  Linux pop-os 5.13.0-7614-generic #14~1631647151~21.04~930e87c-Ubuntu SMP


Thanks, Bill



Attachment: init.el
Description: Text Data

Attachment: emacs-custom.el
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]