I am using emacs-27.1 build 1 and org-mode 9.3.7 under Ubuntu 18.04 LTS.
If I restart emacs and call org-agenda the 'Agenda for current week or day' shows only days of the week. I ran emacs-25.1 prior to 27.1 and the behavior then was to load the agenda files and show the agenda, with the time-stamped journal entries, calendar entries, TODOs, etc.
The value of
org-agenda-files is nil after start-up. Org-mode otherwise seems to be normal.
The following is the start of my org-configuration:
(use-package org :ensure t) (setq org-agenda-files (quote ("~/org/todo.org" "~/org/journal.org" "~/org/calendar.org")))
init.el and evaluating the buffer does not set
Evaluating the s-expression itself (put cursor after the s-expression containing
C-x C-e) sets
org-agenda-files and restores the normal behavior - calling org-agenda loads the agenda files and shows the proper agenda. I have tried putting the variable initiation inside the
:init)with the same result - the variable is not set on start-up, but is after evaluating the s-expression.
I use two themes a day: a light theme for daytime and a dark one for night.
M-x disable-theme and
org-agenda-files is set to
nil and the above behavior pertains! I have to eval the expression that sets org-agenda. The reset happens after
enable-theme. It does not appear to matter what theme is enabled (I have tried three).
The manual adjustment for each case only requires a few seconds, but it is annoying and interrupts the work flow. How can I avoid having to manually set org-agenda-files?