all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* errors when using org-agenda
@ 2021-10-22 20:35 William McCoy
  2021-10-23  0:46 ` Fwd: " William McCoy
  0 siblings, 1 reply; 18+ messages in thread
From: William McCoy @ 2021-10-22 20:35 UTC (permalink / raw)
  To: orgmode

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

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)


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.  So I have made a 
minimal init.el file and trimmed virtually everything from my 
emacs-custom.el file (file attached), but the error returns.  I just 
can't figure out what's causing it.  Any ideas?


Thanks, Bill



[-- Attachment #2: init.el --]
[-- Type: text/x-emacs-lisp, Size: 833 bytes --]

;; DO NOT EDIT THIS FILE DIRECTLY
;; This is a file generated from a literate programing source file: emacs-init.org
;; You should make any changes there and regenerate it from Emacs org-mode using C-c C-v t

(package-initialize)
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)

(require 'org)
(require 'ob)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-cb" 'org-switchb)
; (global-set-key "\C-c \C-," 'org-insert-structure-template)
; (add-hook 'org-mode-hook 'auto-fill-mode)
; (setq org-agenda-include-diary t)
(setq org-directory "~/orgfiles/")
(setq org-agenda-files (directory-files-recursively "~/orgfiles/" "\\.org$"))

(setq custom-file "~/.emacs.d/emacs-custom.el")
(load custom-file)

[-- Attachment #3: emacs-custom.el --]
[-- Type: text/x-emacs-lisp, Size: 1564 bytes --]

;; These are the custom-set variables for emacs on aeolus.
;; These were originally copied here form my .emacs init file on
;; 30 July 2018

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ansi-color-faces-vector
   [default default default italic underline success warning error])
 '(ansi-color-names-vector
   ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"])
 '(case-fold-search t)
 '(column-number-mode t)
 '(current-language-environment "English")
 '(default-input-method "rfc1345")
 '(diary-file "~/.emacs.d/diary")
 '(display-time-mode t)
 '(package-selected-packages
   '(org websocket use-package test-simple selectrum-prescient request pylint ob-translate ob-reticulate markdown-mode map magit julia-mode irony helm-org-rifle helm-org helm-descbinds go-translate gnuplot flycheck-julia flycheck-checkbashisms eval-in-repl ess enlive emacsql-sqlite3 emacsql-psql emacsql-mysql elpl deft citeproc-org charmap auctex arduino-mode arduino-cli-mode)))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:size "10pt" :family "Courier 10 Pitch" :foundry "bitstream" :slant normal :weight normal :height 120 :width normal)))))

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

end of thread, other threads:[~2022-09-11  9:22 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-22 20:35 errors when using org-agenda William McCoy
2021-10-23  0:46 ` Fwd: " William McCoy
2021-10-23  1:57   ` Tim Cross
2021-10-23 10:26     ` Greg Minshall
2021-10-23 11:34       ` Tim Cross
2021-10-23 18:07         ` Greg Minshall
2021-10-23 18:21           ` Tim Cross
2021-10-24  0:45             ` Thomas S. Dye
2021-10-24  5:05         ` Greg Minshall
2021-10-24  6:44           ` Tim Cross
2021-10-24 10:55             ` Greg Minshall
2021-10-24  5:12         ` [PATCH] " Ihor Radchenko
2021-10-24  6:59           ` Tim Cross
2021-10-24  8:16       ` Max Nikulin
2021-10-24  8:34         ` Ihor Radchenko
2021-10-27 16:46           ` Max Nikulin
2022-09-11  9:22             ` Ihor Radchenko
2021-10-23 14:49     ` William McCoy

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.