Fix whitespace

master
Jacopo De Simoi 5 years ago
parent 4906e986bb
commit 64d6f40255
  1. 42
      global.org

@ -624,7 +624,7 @@
:match-func (lambda (msg) :match-func (lambda (msg)
(when msg (when msg
(string-match-p "^/math" (mu4e-message-field (string-match-p "^/math" (mu4e-message-field
msg :maildir)))) msg :maildir))))
:vars '( ( user-mail-address . "jacopods@math.utoronto.ca" ) :vars '( ( user-mail-address . "jacopods@math.utoronto.ca" )
( user-full-name . "Jacopo De Simoi" ) ( user-full-name . "Jacopo De Simoi" )
( mu4e-sent-folder . "/math/Sent") ( mu4e-sent-folder . "/math/Sent")
@ -634,8 +634,8 @@
( smtpmail-stream-type . starttls ) ( smtpmail-stream-type . starttls )
( smtpmail-smtp-service . 9587 ) ( smtpmail-smtp-service . 9587 )
( mu4e-compose-signature . (concat ( mu4e-compose-signature . (concat
"Jacopo De Simoi \n" "Jacopo De Simoi\n"
"Associate Professor — U Toronto\n")))))) "Associate Professor — U Toronto\n"))))))
;; set `mu4e-context-policy` and `mu4e-compose-policy` to tweak when mu4e should ;; set `mu4e-context-policy` and `mu4e-compose-policy` to tweak when mu4e should
;; guess or ask the correct context, e.g. ;; guess or ask the correct context, e.g.
@ -648,20 +648,20 @@
;; default is to ask ;; default is to ask
(setq mu4e-compose-context-policy 'pick-first) (setq mu4e-compose-context-policy 'pick-first)
(add-hook 'mu4e-headers-mode-hook (add-hook 'mu4e-headers-mode-hook
#'(lambda () (setq-local show-trailing-whitespace nil))) #'(lambda () (setq-local show-trailing-whitespace nil)))
(add-hook 'mu4e-view-mode-hook (add-hook 'mu4e-view-mode-hook
#'(lambda () (setq-local show-trailing-whitespace nil))) #'(lambda () (setq-local show-trailing-whitespace nil)))
;; Get mail ;; Get mail
(setq mu4e-get-mail-command "mbsync math-fast" (setq mu4e-get-mail-command "mbsync math-fast"
mu4e-change-filenames-when-moving t ; needed for mbsync mu4e-change-filenames-when-moving t ; needed for mbsync
mu4e-headers-include-related nil ;do not include threaded mu4e-headers-include-related nil ;do not include threaded
;sent messages in inbox queries ;sent messages in inbox queries
) )
(define-key mu4e-headers-mode-map (kbd "h") 'mu4e-headers-mark-for-refile) (define-key mu4e-headers-mode-map (kbd "h") 'mu4e-headers-mark-for-refile)
(define-key mu4e-headers-mode-map (kbd "h") 'mu4e-headers-mark-for-refile) (define-key mu4e-headers-mode-map (kbd "h") 'mu4e-headers-mark-for-refile)
(define-key mu4e-headers-mode-map (kbd "h") 'mu4e-headers-mark-for-refile) (define-key mu4e-headers-mode-map (kbd "h") 'mu4e-headers-mark-for-refile)
(define-key mu4e-view-mode-map (kbd "h") 'mu4e-view-mark-for-refile) (define-key mu4e-view-mode-map (kbd "h") 'mu4e-view-mark-for-refile)
@ -673,10 +673,14 @@
(define-key mu4e-headers-mode-map (kbd "C-k") 'mu4e-headers-mark-for-trash) (define-key mu4e-headers-mode-map (kbd "C-k") 'mu4e-headers-mark-for-trash)
;; Send mail ;; Send mail
(setq message-send-mail-function 'smtpmail-send-it (setq message-send-mail-function 'smtpmail-send-it
smtpmail-servers-requiring-authorization ".*" smtpmail-servers-requiring-authorization ".*"
smtpmail-smtp-server "127.0.0.1") smtpmail-smtp-server "127.0.0.1")
(require 'org-mu4e)
;;store link to message if in header view, not to header query
(setq mu4e-org-link-query-in-headers-mode nil)
#+end_src #+end_src
** org-mode ** org-mode

Loading…
Cancel
Save