Closed luispauloml closed 2 years ago
Thanks for the report and sorry for late response. magit has a lot of faces and I was not sure which one is used when. for error message , best would be to inherit from nano-error. I'll change it.
But Nano does not define any nano-error
. From Eshell, after commit 06d7c94:
$ grep nano-error *
1 match for "nano-error" in buffer: nano-theme.el
1402: '(magit-mode-line-process-error ((t (:inherit nano-error))))
$ grep error *
6 matches in 5 lines for "error" in buffer: nano-theme.el
712: '(error ((t (:inherit nano-critical))))
1224: '(elfeed-log-error-level-face ((t (:inherit nano-popout))))
1236: '(deft-filter-string-error-face ((t (:inherit nano-popout))))
1402: '(magit-mode-line-process-error ((t (:inherit nano-error))))
1433: '(magit-signature-error ((t (:inherit nano-default))))
Perhaps you wanted to use error
, which in turns inherits from nano-critical
, which is the one I suggested.
Sorry, I meant nano-critical. I will push a fix.
Done.
In the light version,
magit-mode-line-process
andmagit-mode-line-process-error
are invisible in the active window and inconsistent in other windows:A simple way to reproduce this:
M-x nano-light
.M-x magit-status
.M-x magit-process-buffer
.c a
) and observe the mode lines while theCOMMIT_EDITMSG
buffer is loaded, it will showmagit-mode-line-process
in both windows.C-c C-k
) and observe the mode lines, it will showmagit-mode-line-process-error
.The reason for this is that both faces are set to
nano-default
(lines 1363-1364 innano-theme.el
):Setting both to
nano-default-i
will make them visible in the active window, but inconsistent in other windows. I set both tonano-critical
, but that's just me.