Closed Patryk27 closed 2 years ago
Hi Patryk. Indeed I would prefer if dimmer could do this, but Emacs doesn't have the ability to set window-specific face remaps. I'm limited to setting the "dimmed" face at the the buffer level. Thanks-
Aw, yeah, if that's a fundamental thing, then we're out of luck; well, thanks for responding! 🙂
Hi Patryk. Indeed I would prefer if dimmer could do this, but Emacs doesn't have the ability to set window-specific face remaps. I'm limited to setting the "dimmed" face at the the buffer level. Thanks-
It looks like is not true anymore.
I noticed that another dimming package doing that https://github.com/mina86/auto-dim-other-buffers.el and its doc mention that is available since version 27.
Emacs doc has some info about that https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Remapping.html
Seems it's required to use :filtered in order to apply remapping to specific window.
here is how it used in auto-dim-other-buffers: https://github.com/mina86/auto-dim-other-buffers.el/blob/master/auto-dim-other-buffers.el#L143
@gonewest818 please check.
Hi 🙂
It seems like dimmer.el internally relies on buffer name, which means that e.g. splitting a buffer into separate windows causes all of those windows to remain highlighted (since all are backed by the same buffer), instead of highlighting only one of them (the one where the caret is / the one with active modeline):
Could this behavior be somehow configurable?
Thanks for this package, Cheers.