ITADN

Box of (todo) labels gets replaced by hl-line box

#282ClosedMoritzMaxeiner 创建于 2025-04-26
M
MoritzMaxeinercommented
Hello and thank you for your work on org-modern. On Emacs 30.1 with org-modern MELPA 20250422.2151, commit 48b44a3ea70d9cd54ec2165d8abd4353e756f03b I encountered the following issue: When setting a box for hl-line, e.g. like so: ```elisp (custom-set-faces '(hl-line ((t (:box (:line-width (-1 . -1) :color "grey75")))))) ``` and then enabling `hl-line-mode` it seems that that box overwrites the one from org-modern, which means whenever the cursor moves onto a line with e.g. a TODO label, the perceived background of the label grows as its negative background-colored box is no longer applied. I have attached highly zoomed-in images to show what I mean. I'm not 100% sure this qualifies as a bug in org-modern, but intuitively I expected this to work such that the label's background wouldn't grow (with the hl-line-mode box still being rendered). Is this something that can be supported by org-modern? - Neither line selected: ![Image](https://github.com/user-attachments/assets/b1ab3df1-621f-4c98-9137-3194c1e08691) - Upper line selected: ![Image](https://github.com/user-attachments/assets/7a54d2c2-030a-48c0-a64e-22bf220f66b6) - Lower line selected: ![Image](https://github.com/user-attachments/assets/f1004146-4f55-4ac1-ae46-b7d3dc17f59c)
关闭于 2025-04-26 2 条评论