I have this code in my emacs config:
(setq-default mode-line-format
'(" "
(:eval (case evil-state
('normal "N")
('insert "I")
('visual "V")
('emacs "E")))
" %04l %n "
" "
(:propertize (:eval (if buffer-read-only " RO: "))
face font-lock-warning-face)
(:propertize "%b"
face font-lock-keyword-face)
" "
(:eval (if (buffer-modified-p) "(!!)"))
" "
(:propertize
(:eval (when (magit-get-current-branch)
(concat " [" (magit-get-current-branch) "]")))
face font-lock-string-face)
" :: "
(:propertize "%m"
face font-lock-constant-face)
" %e "
(:eval (format-time-string "%H:%M" (current-time)))
" %-"))
Whenever I switch to parinfer-indent-mode it breaks the parens, and makes it impossible to get the correct parens back for the first case sexp, it forces 3 closing parens at the end of the line and no matter how I indent the 4 cases underneath the parens dont seem to be affected.
The entire block turns into this:
(setq-default mode-line-format
'(" ")
(:eval (case evil-state)
('normal "N")
('insert "I")
('visual "V")
('emacs "E"))
" %04l %n "
" "
(:propertize (:eval (if buffer-read-only " RO: "))
face font-lock-warning-face)
(:propertize "%b"
face font-lock-keyword-face)
" "
(:eval (if (buffer-modified-p) "(!!)"))
" "
(:propertize
(:eval (when (magit-get-current-branch))
(concat " [" (magit-get-current-branch) "]"))
face font-lock-string-face)
" :: "
(:propertize "%m"
face font-lock-constant-face)
" %e "
(:eval (format-time-string "%H:%M" (current-time)))
" %-")
I have this code in my emacs config:
Whenever I switch to parinfer-indent-mode it breaks the parens, and makes it impossible to get the correct parens back for the first
casesexp, it forces 3 closing parens at the end of the line and no matter how I indent the 4 cases underneath the parens dont seem to be affected.The entire block turns into this: