On startup am seeing this error and then the package is loading and working showing in modeline.
Warning (emacs): Error loading "celestial-mode-line" autoloads: (void-variable lunar-phases)
emacs-lisp source block looks like this,
(setq calendar-longitude 25.5) (setq calendar-latitude 17.5) (setq calendar-location-name "Someplace") (use-package celestial-mode-line :config ;; add to end of global-mode-string (if (null global-mode-string) (setq global-mode-string '("" celestial-mode-line-string)) ;; this means "" represents global modeline celestial-mode-line-string is right to that so celestial will show at extreme right after global modeline. (add-to-list 'global-mode-string 'celestial-mode-line-string t)) (celestial-mode-line-start-timer)) This Package is used in addition to Melpa package = spaceline following is config working so far sharing just in case thats the cause.
(use-package spaceline :ensure t :config (require 'spaceline-config) (setq powerline-default-seperator (quote arrow)) (spaceline-spacemacs-theme) ;; Just changes the way it looks doesnt changes the colors of the theme. (setq display-time-format "%H:%M %a,%d %b %Y") ;; default block "%H:%M:%S %a,%d %b %Y" (display-time) ) Environments details:
- OS: Windows 10
- Emacs version: GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-31 (installed through chocolatey package manager)
- Package Manager inside emacs: Elpaca (without symlinks)
- Vanila emacs from scratch configuration.
I am very new to adding packages and configuration, I am doing some very basic mistake, tried contanting the author of that Plugin but sadly he/she's not active on github for some a year now.
I can share any log or init messages.
[![This is what loaded Dashboard looks.][1]][1] [1]: https://i.sstatic.net/hmaru.png
~/.emacs.d/elpaca/builds/celestial-mode-line/celestial-mode-line-autoloads.elin the end of the content, theres a line > lunar-phases am unable to figure out whats this, i commented that out and theres no error now but am not sure i have broken some component of the package or now :(.lunar-phasesis defined, and load the library that defines it before you invoke code that tries to use it.