Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/misohena/moonrise-el
Moonrise/Moonset Calculation for Emacs
https://github.com/misohena/moonrise-el
astronomy emacs lisp moon moon-phase
Last synced: 8 days ago
JSON representation
Moonrise/Moonset Calculation for Emacs
- Host: GitHub
- URL: https://github.com/misohena/moonrise-el
- Owner: misohena
- License: gpl-3.0
- Created: 2020-06-24T07:47:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-24T13:46:13.000Z (about 1 year ago)
- Last Synced: 2024-11-29T13:34:38.652Z (2 months ago)
- Topics: astronomy, emacs, lisp, moon, moon-phase
- Language: Emacs Lisp
- Homepage: https://misohena.jp/blog/2020-06-24-emacs-moonrise-calculation.html
- Size: 139 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE: Moonrise/Moonset Calculation for Emacs
* Usage
1. Add the following to your init.el:
#+begin_src emacs-lisp
(with-eval-after-load "calendar"
(require 'moonrise)
(define-key calendar-mode-map "Ld" 'calendar-moonrise-moonset)
(define-key calendar-mode-map "Lm" 'calendar-moonrise-moonset-month))
#+end_src2. M-x calendar
3. Type L d
[[file:./screenshot-calendar-moonrise-moonset.png]]
4. Type L m
[[file:./screenshot-calendar-moonrise-moonset-month.png]]
* Add moonrise/moonset events to org-agenda
Add the following line to an agenda file:
#+begin_src org
,#+CATEGORY: Astro
,* Moonrise
%%(moonrise-org-agenda)
#+end_src[[file:./screenshot-org-agenda.png]]