GNU bug report logs - #64619
[PATCH] Add toggle-window-dedicated command

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Fri, 14 Jul 2023 15:40:02 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 64619 <at> debbugs.gnu.org
Subject: bug#64619: [PATCH] Add toggle-window-dedicated command
Date: Sat, 15 Jul 2023 09:53:47 +0200
>> * lisp/window.el (toggle-window-dedicated): Add.
>> (window-prefix-map): Add C-x w d binding.
>
> Adding Martin.  Martin, any comments?

It should hardly harm anyone.  But what would be a typical scenario for
using it?  C-x b has 'switch-to-buffer-in-dedicated-window', C-x <left>
and friends probably should do the same.  Usually a window is marked as
dedicated to avoid that 'display-buffer' uses it.  In which case it
would likely be better to not mark the window as dedicated in the first
place - e.g. via a (dedicated . nil) entry in `display-buffer-alist'.

martin




This bug report was last modified 1 year and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.