Remove calendar and diary config
This commit is contained in:
parent
02f13ff739
commit
d855179951
29
config.org
29
config.org
@ -233,35 +233,6 @@
|
|||||||
(yas-reload-all)
|
(yas-reload-all)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Calendar / Diary
|
|
||||||
Weeks start on Sunday by default, this can be changed to start on
|
|
||||||
Monday by setting [[help:calendar-week-start-day][calendar-week-start-day]] to 1:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq calendar-week-start-day 1)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Set latitute, longitude and location name to Bristol to get sunrise
|
|
||||||
and sunset times:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq calendar-latitude 51.45)
|
|
||||||
(setq calendar-longitude -2.58)
|
|
||||||
(setq calendar-location-name "Bristol, UK")
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Emacs needs to be told where the diary file is, of course:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq diary-file "~/Documents/diary")
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
I want to use ISO-style dates in there:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(calendar-set-date-style 'iso)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Org
|
* Org
|
||||||
** Code and Quote block shortcuts
|
** Code and Quote block shortcuts
|
||||||
I am a big fan of using =<s= for source blocks and =<q= for quotes;
|
I am a big fan of using =<s= for source blocks and =<q= for quotes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user