Open High-Flyer opened 7 months ago
Ok i think i manage to get it working. final block looks like;
(setq calendar-longitude 38.203)
(setq calendar-latitude 15.305)
(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))
Now for the error Warning (emacs): Error loading "celestial-mode-line" autoloads: (void-variable lunar-phases)
Visit the package installation path, for me it was > ~/.emacs.d/elpaca/builds/celestial-mode-line
in there just edit this file celestial-mode-line-autoloads.el
search for only text string lunar-phases
comment out or just delete it.
Alternately just put inside the 2 commas like this > "lunar-phases"
Did work for me Though i dunno it does broke something or not. Thats was my newbie solution.
I Apologise if something basics i dont understand. Keeping this so anyone else newbie like me can be benefitted by this.
Feel free to close this keeping it opened just any input or insight whenever u sees this. :) Thank you very much for the package I just loved it.
Installed "celestial-mode-line" Using Elpaca (use-package) (melpa) on windows, Primarily Using spaceline for its simplicity to configure: Emacs version: GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-31 Within month of using emacs from non programming background. I apologise in advance for any unwanted or unrelated comment.
Tried to insert Celestial modeline:
^^ Didnt worked so removed. and tried inserting at the installer itself,
Nothing seems to change how spaceline looks at the same using above 2 block didnt even break the config. But am unable to see Celestial modeline.
Final Block some looks like:
Above config throwing an error: Warning (emacs): Error loading "celestial-mode-line" autoloads: (void-variable lunar-phases)
At a time only one place I inserted above lines so theres no scope of conflit, made sure no error in messages before heading to next Block. I tested 'M-x lunar-phases' command its working fine showing the phases in accordcance with my local time.
Even M-x showing no celestial packages installed, though elpaca saying its installed. Please Help me to configure this alongside spaceline. Very wonderful and pleasant plugin.
Respect and Warm Regards o7