{"id":11880,"date":"2024-01-02T11:39:24","date_gmt":"2024-01-02T16:39:24","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=11880"},"modified":"2024-01-02T11:39:24","modified_gmt":"2024-01-02T16:39:24","slug":"one-last-time-with-marking-the-active-window","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=11880","title":{"rendered":"One Last Time With Marking The Active Window"},"content":{"rendered":"<p>\nI thought I was finished writing about marking the active Emacs window so that it stands out. <a href=\"https:\/\/irreal.org\/blog\/?p=11867\">It all started<\/a> with my post on James Dyer&rsquo;s method of placing a red line on the left hand fringe. I liked his solution but thought that simply coloring the mode line would be better.\n<\/p>\n<p>\nIgnacio Paz Posse left a comment to that post showing that it was actually very easy to do. I immediately tried his solution and thought it was perfect. Since then, three new things have happened or come to light.\n<\/p>\n<ol class=\"org-ol\">\n<li>Sacha Chua <a href=\"https:\/\/sachachua.com\/blog\/2024\/01\/using-consult-and-org-ql-to-search-my-org-mode-agenda-files-and-sort-the-results-to-prioritize-heading-matches\/\">also implemented Posse&rsquo;s solution<\/a>. She chose a light blue (<code>bg-blue-subtle<\/code>) that looks nice but doesn&rsquo;t stand out enough for my taste.<\/li>\n<li>I changed the color I was using from <code>dark goldenrod<\/code> to <code>goldenrod<\/code>. It still stands out but isn&rsquo;t quite as dark and doesn&rsquo;t swallow the non-black foreground colors as much. I also changed the attribute from <code>mode-line<\/code> to <code>mode-line-active<\/code>.  I think I understand why just <code>mode-line<\/code> works but it&rsquo;s nice to be precise when you can be.<\/li>\n<li>Dyer rewrote his code to fix a conflict with <code>visual-fill-column-mode<\/code>. That was easy so if you like the idea of marking the active window with a left red fringe. his post explaining the fix <a href=\"https:\/\/www.emacs.dyerdwelling.family\/emacs\/20231230172829-emacs--selected-window-accent-improvements\/\">is here<\/a>.<\/li>\n<\/ol>\n<p>\nIn any event, there&rsquo;s no reason to live with the hard-to-discern gray\/light-gray default. As far as I&rsquo;m concerned, something more distinguishable should be the default but I can only imagine the uproar that would result if that default were changed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I thought I was finished writing about marking the active Emacs window so that it stands out. It all started with my post on James Dyer&rsquo;s method of placing a red line on the left hand fringe. I liked his &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=11880\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-11880","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11880"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11880\/revisions"}],"predecessor-version":[{"id":11881,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11880\/revisions\/11881"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}