Browse Source

[emacs] Add matrix client and sticky org agendas

Colin Powell 4 years ago
parent
commit
e306720f5c
3 changed files with 9 additions and 0 deletions
  1. 2 0
      emacs/.doom.d/config.el
  2. 2 0
      emacs/.doom.d/config.org
  3. 5 0
      emacs/.doom.d/packages.el

+ 2 - 0
emacs/.doom.d/config.el

@@ -125,6 +125,7 @@
         org-agenda-files (file-expand-wildcards "~/var/org/2020-*")
         org-pretty-entities t
         org-agenda-dim-blocked-tasks nil
+        org-agenda-sticky t
         org-log-done 'time
         org-hide-emphasis-markers t
         org-fontify-whole-heading-line t
@@ -269,6 +270,7 @@
       (:prefix "="
         :desc "Open mastodon"                "=" #'mastodon
         :desc "Update Mastodon timeline"     "u" #'mastodon-tl--update
+        :desc "More Mastodon timeline"       "m" #'mastodon-tl--more
         :desc "Toot to Mastodon"             "t" #'mastodon-toot))
 
 (use-package! slack

+ 2 - 0
emacs/.doom.d/config.org

@@ -184,6 +184,7 @@ A handful of mods here clean up org mode. Line numbers don’t mean much when yo
         org-agenda-files (file-expand-wildcards "~/var/org/2020-*")
         org-pretty-entities t
         org-agenda-dim-blocked-tasks nil
+        org-agenda-sticky t
         org-log-done 'time
         org-hide-emphasis-markers t
         org-fontify-whole-heading-line t
@@ -364,6 +365,7 @@ There's gotta be a way to get the token out of password-store for this.
       (:prefix "="
         :desc "Open mastodon"                "=" #'mastodon
         :desc "Update Mastodon timeline"     "u" #'mastodon-tl--update
+        :desc "More Mastodon timeline"       "m" #'mastodon-tl--more
         :desc "Toot to Mastodon"             "t" #'mastodon-toot))
 #+END_SRC
 * Slack

+ 5 - 0
emacs/.doom.d/packages.el

@@ -22,6 +22,11 @@
           :repo "l3kn/org-fc"
           :files (:defaults "awk" "demo.org")))
 
+; Matrix? In emacs?
+(package! matrix-client
+  :recipe(:host github
+          :repo "alphapapa/matrix-client.el"))
+
 ;(package! eglot)
 
 ;; python stuffs