Open OrionRandD opened 3 years ago
you can install it in doom emacs directly from github:
(package! lorg-calendar
:recipe (:host github :repo "lawlist/lorg-calendar"))
the only problem is that it doesn't didn't work lol
the only problem is that it doesn't work lol
Thank you for assisting other participants in this thread to install lorg-calendar
. I made a few minor revisions today (06/18/2023) so that the library will now work with Emacs 28.2. The previous revisions dated back to Emacs 26. In addition, added support for a plain 12-month rotating calendar without sample events.
Sorry for that comment and thank you for updating the package. I confirm that it is working now here (on doom run doom upgrade
from terminal and SPC h r r
in running emacs window and lorg-calendar-generate
). That was a really fast response.
added support for a plain 12-month rotating calendar
this is really cool, I've noticed though that it switches back to 3 months when you go back or forward (by pressing >
or <
for example)
this is really cool, I've noticed though that it switches back to 3 months when you go back or forward (by pressing
>
or<
for example)
Thank you for reporting the bug relating to the need to keep better track of which calendar style is currently being used. I made some changes to correct that problem, and I fixed a couple of related bugs. The 12-month rotating calendar without sample events now uses the prefix lorg-year-calendar
.
this is really cool, I've noticed though that it switches back to 3 months when you go back or forward (by pressing
>
or<
for example)Thank you for reporting the bug relating to the need to keep better track of which calendar style is currently being used. I made some changes to correct that problem, and I fixed a couple of related bugs. The 12-month rotating calendar without sample events now uses the prefix
lorg-year-calendar
.
Can you help me to fix this recipe for Emacs-non-doom?
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; lorg-calendar
(use-package lorg-calendar :recipe (:host github :repo "lawlist/lorg-calendar") :ensure t :defer t)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Using github repos as a package recipe requires the straight.el package manger. I remember seeing it in the docs some time ago, will try to dig it out...
Found it: https://github.com/radian-software/straight.el#the-recipe-format With straight.el you should still be able to use the "use-package" macros though, they should be compatible.
One of those times when doom emacs actually does make your life easier (maybe this will be still somewhat helpful):
(package! lorg-calendar
:recipe (:host github :repo "lawlist/lorg-calendar"))
Using github repos as a package recipe requires the straight.el package manger. I remember seeing it in the docs some time ago, will try to dig it out...
Found it: https://github.com/radian-software/straight.el#the-recipe-format With straight.el you should still be able to use the "use-package" macros though, they should be compatible.
One of those times when doom emacs actually does make your life easier (maybe this will be still somewhat helpful):
(package! lorg-calendar :recipe (:host github :repo "lawlist/lorg-calendar"))
Cool!
This one worked for Emacs-non-Doom:
;;;;;;;;;;;;;;;;;;;;;;;;
(straight-use-package '(lorg-calendar :type git :host github :repo "lawlist/lorg-calendar" :fork (:host github :repo "lawlist/lorg-calendar")))
;;;;;;;;;;;;;;;;;;;;;;;;
Now. I only need to assign a global-set-key to it and learn how to use the package...
Now. I only need to assign a global-set-key to it and learn how to use the package...
Before making any decisions regarding global keyboard assignments, I would suggest trying the library out, both with and without the sample marking of events on the calendar. With sample events, try M-x lorg-calendar-generate
. Without sample events, try M-x lorg-year-calendar
. Then, play around with built-in keyboard shortcuts such as <
, .
, >
, left arrow, right arrow, up arrow, down arrow. Then, if you think the library might be useful, you might want to open the calendar to always the current month, or you might want to be able to open the calendar to any particular month, or you might want to be prompted to input a particular month / year as the displayed-month/year. E.g., I have mapped F1 to F-12 to a variety of calendars using the number of the function key to signify a displayed month, and I have different modifier keys combined with the function keys to open different style calendars; e.g., ctl + f1
might be January of the current year for a 3-month calendar, and meta + f1
might be January of the current year for a 12-month calendar. Or, perhaps using the universal key C-u
to signify the difference between a 3-month calendar and a 12-month calendar -- e.g., universal key creates a 12-month calendar and no universal key creates a 3-month calendar. Truth be told, I have not recently played around with org-mode and have not tested incorporation of events/tasks from the diary
and/or org-agenda-files
. The repository for lorg-calendar
was created to demonstrate capabilities, but not really to provide users with a drop-in plug & play that "just works" out-of-the-box for all use-cases.
Now. I only need to assign a global-set-key to it and learn how to use the package...
Before making any decisions regarding global keyboard assignments, I would suggest trying the library out, both with and without the sample marking of events on the calendar. With sample events, try
M-x lorg-calendar-generate
. Without sample events, tryM-x lorg-year-calendar
. Then, play around with built-in keyboard shortcuts such as<
,.
,>
, left arrow, right arrow, up arrow, down arrow. Then, if you think the library might be useful, you might want to open the calendar to always the current month, or you might want to be able to open the calendar to any particular month, or you might want to be prompted to input a particular month / year as the displayed-month/year. E.g., I have mapped F1 to F-12 to a variety of calendars using the number of the function key to signify a displayed month, and I have different modifier keys combined with the function keys to open different style calendars; e.g.,ctl + f1
might be January of the current year for a 3-month calendar, andmeta + f1
might be January of the current year for a 12-month calendar. Or, perhaps using the universal keyC-u
to signify the difference between a 3-month calendar and a 12-month calendar -- e.g., universal key creates a 12-month calendar and no universal key creates a 3-month calendar. Truth be told, I have not recently played around with org-mode and have not tested incorporation of events/tasks from thediary
and/ororg-agenda-files
. The repository forlorg-calendar
was created to demonstrate capabilities, but not really to provide users with a drop-in plug & play that "just works" out-of-the-box for all use-cases.
Great! Perhaps, as a suggestion, you should update the beginning of your Readme file with these infos... You do explain the M-x lorg-calendar-generate, M-x lorg-year-calendar and '<' '>', but this explanation is more updated than that...
Great package. Why not submit to MELPA! So I can install it in doom-emacs....