-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
my-matrix: initial config with ement
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
;;; my-matrix --- Matrix handling | ||
;; | ||
;;; Commentary: | ||
;; | ||
;; Currently using ement | ||
;; | ||
;;; Code: | ||
|
||
(use-package ement | ||
:load-path (lambda () (my-return-path-if-ok | ||
"~/src/emacs/ement.el.git")) | ||
:custom | ||
;; :NOTE| Notifications ought to be limited to @mentions only! | ||
(ement-notify-notification-predicates '(ement-notify--event-mentions-session-user-p | ||
ement-notify--event-mentions-room-p)) | ||
(ement-room-images t) | ||
(ement-room-message-format-spec "%S>%L %B%r%R[%t]") | ||
(ement-room-send-message-filter #'ement-room-send-org-filter) | ||
(ement-save-sessions t)) | ||
|
||
(provide 'my-matrix) | ||
;;; my-matrix.el ends here |