{"id":13964,"date":"2026-07-23T08:54:41","date_gmt":"2026-07-23T12:54:41","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=13964"},"modified":"2026-07-23T08:54:41","modified_gmt":"2026-07-23T12:54:41","slug":"making-a-window-dedicated","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=13964","title":{"rendered":"Making A Window Dedicated"},"content":{"rendered":"<p>\nBozhidar Batsov has been a writing a very nice series of posts on recent Emacs additions that are worth knowing. His latest is on <a href=\"https:\/\/emacsredux.com\/blog\/2026\/07\/22\/dedicate-windows-with-toggle-window-dedicated\/\">making a window dedicated<\/a>. A dedicated window is one that is locked to its current buffer. That means, for instance, that if you have a particular window configuration in place and call some other function, the new function can&rsquo;t hijack the dedicated window and spoil your configuration. Batsov has an animated Gif that shows this in action.\n<\/p>\n<p>\nThe notion of a dedicated window has been in Emacs for some time but what&rsquo;s new is a quick way of dedicating a window. That way is <code>toggle-window-dedicated<\/code>, which is bound to <kbd>Ctrl<\/kbd>+<kbd>x<\/kbd> <kbd>w<\/kbd> <kbd>d<\/kbd> by default. As shown in Batsov&rsquo;s Gif, that toggles the dedicated state for the current window on and off.\n<\/p>\n<p>\nSadly, I have <kbd>Ctrl<\/kbd>+<kbd>x<\/kbd> <kbd>w<\/kbd> bound to a function that starts up elfeed. I use that several times a day and have a significant investment in muscle memory so I either have to change the <code>toggle-window-dedicated<\/code> binding or simply call it directly. Since I doubt I&rsquo;ll be using it that often, I&rsquo;ll probably just call it directly. With my fuzzy command completion I need only enter <kbd>Meta<\/kbd>+<kbd>x<\/kbd> <code>tog win<\/code> to get the desired result.\n<\/p>\n<p>\nThere&rsquo;s one other aspect that Batsov mentions but doesn&rsquo;t explain: strongly dedicated windows. If a window is strongly dedicated, you can&rsquo;t change the buffer displayed by the window. You can make a window strongly dedicated by specifying the universal argument in the call to <code>toggle-window-dedicated<\/code>.\n<\/p>\n<p>\nIf you like to set up a specific window configuration for some of your workflows and you don&rsquo;t like random commands stepping on it, <code>toggle-window-dedicated<\/code> is just what you need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bozhidar Batsov has been a writing a very nice series of posts on recent Emacs additions that are worth knowing. His latest is on making a window dedicated. A dedicated window is one that is locked to its current buffer. &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=13964\">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-13964","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\/13964","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=13964"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13964\/revisions"}],"predecessor-version":[{"id":13965,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13964\/revisions\/13965"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}