(config) emacs: make ement.el better
This commit is contained in:
parent
0510b04886
commit
5545f098a6
1 changed files with 35 additions and 19 deletions
|
@ -1137,8 +1137,13 @@ Will configure later, (use elfeed protocol ok ty)
|
|||
Ill set this up later as well
|
||||
#+begin_src emacs-lisp
|
||||
(use-package ement
|
||||
:commands ement-connect
|
||||
:commands (ement-connect)
|
||||
:custom
|
||||
(ement-room-avatars t)
|
||||
(ement-room-images t)
|
||||
(ement-room-compose-method 'compose-buffer)
|
||||
(ement-room-compose-buffer-window-auto-height-min 10)
|
||||
(ement-save-sessions t)
|
||||
(ement-notify-dbus-p nil) ;; Turn off notifications
|
||||
(ement-sessions-file "~/.cache/ement.el")
|
||||
(ement-room-list-default-keys
|
||||
|
@ -1159,7 +1164,18 @@ Ill set this up later as well
|
|||
;; Group other rooms which are unread.
|
||||
(unread)
|
||||
(people)
|
||||
freshness)))
|
||||
freshness))
|
||||
:config
|
||||
(require 'ement-tabulated-room-list)
|
||||
(add-to-list 'display-buffer-alist
|
||||
(cons "^\\*Ement compose: "
|
||||
(cons 'display-buffer-below-selected
|
||||
'((window-height . 6)
|
||||
(inhibit-same-window . t)
|
||||
(reusable-frames . nil)))))
|
||||
(add-to-list 'display-buffer-alist
|
||||
'("\\*Ement image:" (display-buffer-reuse-window)
|
||||
(reusable-frames . nil))))
|
||||
#+end_src
|
||||
** Subsonic
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Reference in a new issue