Use global-visual-line-mode
make message-send-mail-function use smtpmail-send-it like send-mail-function does
This commit is contained in:
parent
54c13b3fdb
commit
4887642226
13
README.org
13
README.org
|
@ -237,9 +237,7 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
|
||||||
|
|
||||||
(with-eval-after-load 'diminish
|
(with-eval-after-load 'diminish
|
||||||
(diminish 'visual-line-mode))
|
(diminish 'visual-line-mode))
|
||||||
(global-visual-line-mode -1)
|
(global-visual-line-mode +1)
|
||||||
(add-hook 'text-mode-hook #'(lambda () (visual-line-mode +1)))
|
|
||||||
(add-hook 'prog-mode-hook #'(lambda () (visual-line-mode +1)))
|
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:ensure t
|
:ensure t
|
||||||
|
@ -1130,15 +1128,19 @@ Set fill column to 88 and enable display in python buffers
|
||||||
|
|
||||||
** TODO Gnus
|
** TODO Gnus
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(setq gnus-select-method '(nnrss "http://www.fsf.org/static/fsforg/rss/news.xml"))
|
(use-package gnus
|
||||||
|
:config
|
||||||
|
(setq gnus-select-method '(nnnil))
|
||||||
|
;; http://www.fsf.org/static/fsforg/rss/news.xml
|
||||||
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Email
|
** Email
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq sendmail-program (executable-find "msmtp")
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
send-mail-function #'smtpmail-send-it
|
send-mail-function #'smtpmail-send-it
|
||||||
|
message-send-mail-function #'message-smtpmail-send-it
|
||||||
message-sendmail-f-is-evil t
|
message-sendmail-f-is-evil t
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
message-send-mail-function #'message-send-mail-with-sendmail
|
|
||||||
message-auto-save-directory nil
|
message-auto-save-directory nil
|
||||||
message-kill-buffer-on-exit t
|
message-kill-buffer-on-exit t
|
||||||
mail-user-agent 'mu4e-user-agent)
|
mail-user-agent 'mu4e-user-agent)
|
||||||
|
@ -1150,7 +1152,6 @@ Set fill column to 88 and enable display in python buffers
|
||||||
(("C-c m" . mu4e)
|
(("C-c m" . mu4e)
|
||||||
:map mu4e-view-mode-map
|
:map mu4e-view-mode-map
|
||||||
("o n" . mu4e-org-store-and-capture))
|
("o n" . mu4e-org-store-and-capture))
|
||||||
:hook (((mu4e-view-mode mu4e-compose-mode mu4e-org-mode) . (lambda () (visual-line-mode +1))))
|
|
||||||
:custom
|
:custom
|
||||||
(mu4e-completing-read-function #'completing-read-default)
|
(mu4e-completing-read-function #'completing-read-default)
|
||||||
(mu4e-split-view nil)
|
(mu4e-split-view nil)
|
||||||
|
|
Loading…
Reference in a new issue