Closed tmalsburg closed 1 year ago
What version of org-upcoming-modeline do you have? (E.g. if you ls ~/.emacs.d/elpa/org-upcoming-modeline*
, or if you do C-h C-f org-upcoming-modeline-mode
and C-x d
the directory name should show the version)
Thanks for the reply. I'm using the latest version from Melpa and an Emacs recently compiled from the development tree. Ubuntu 22.04.
Header of the source file says:
;;; org-upcoming-modeline.el --- Show next org event in mode line -*- lexical-binding: t -*-
;; Copyright (C) 2020--2023 Kevin Brubeck Unhammer
;; Author: Kevin Brubeck Unhammer <unhammer@fsfe.org>
;; Version: 0.1.6
;; Package-Requires: ((emacs "26.1") (ts "0.2") (org-ql "0.6"))
;; URL: https://github.com/unhammer/org-upcoming-modeline
;; Keywords: convenience, calendar
The code that would be doing this is
What do you get if you M-:
(or M-x eval-expression
) and enter
(concat (cdr (assoc 'tomorrow org-upcoming-modeline-l10n)) (ts-format " %H:%M" (ts-now)))
?
Also, do you ever see anything at all from this package in the modeline, or just the errors?
Also, did this start happening after an upgrade? (Any chance you could have a stale .elc lying around?)
The code that would be doing this is
Yeah, that's what I thought. But when I execute your code I get "Tomorrow 13:59".
In the meantime, the error messages have also stopped. No idea why. I'll close this issue, but (with your permission) will reopen if the problem reappears.
This error message is showing up periodically in my
*Messages*
buffer and in the mini buffer:This error is apparently triggered in the function
org-upcoming-modeline--format-ts
.My configuration:
This configuration used to work until (I think) some weeks ago.