Closed jwintz closed 7 years ago
Arf, didn't mean to close it, just reverted some commits :-(
If you make some new commits, I can reopen it no worries 😅
Just tested and committed, so please reopen it. If the diff satisfies you, please merge, otherwise, I'll be very glad to keep making it better. And BTW, thanks for the explications.
See: https://github.com/jwintz/spaceline-all-the-icons.el/commit/603a69e6e65656645ae6e375f4eec526391a47a0.
Finally :-)
Many thanks !
Hi Dom,
Sorry, but I have a remaining question I can't pop outta my head, since I have a lot of ideas to contribute more.
I was first in favour of using statements like:
(setq face (plist-put face `(...))
As mentioned in the doc. Since my lisp sucks for the moment I have blindly followed your advices, but I wonder, if, in what follows:
(spaceline-define-segment all-the-icons-window-number
"An `all-the-icons' segment depicting the current window number"
(let* ((face `(:height ,(spaceline-all-the-icons--height 1.4) :inherit))
...
(icon (cl-case icon-set
...
(square (progn
(setq face (append `(:height ,(spaceline-all-the-icons--height 1.2)) face))
(setq face (append `(:family ,(all-the-icons-material-family)) face))
(all-the-icons-material (format "filter_%s" window-num) :v-adjust -0.2))))))
(propertize icon 'face face))
... :height
is not specified twice (in the square
case), because of the append
statement. Just realised this, as I tried to get a smaller font size since all-the-icons-window-number
segment looks huge in comparison with the rest of the modeline (and seems to affect its height).
I think I can confirm, the first occurence has precedence.
Not tested though. My bad. Be my guest.