Subject: bug#58728: 29.0.50; Minibuffer does not follow tabs

From: Visuwesh <[email-masked]>
Date: Sat, 29 Oct 2022 21:47:24 +0530

[வெள்ளி அக்டோபர் 28, 2022] Juri Linkov wrote:

>> OTOH, window-state handles it correctly, because it just doesn't mess
>> with minibuffers:
>
> Actually, it's possible not to mess with minibiffers
> with window-configurations as well:
>
>     1. emacs -Q
>     2. M-: (setq wc (current-window-configuration))
>     3. C-x C-f
>     4. M-x
>     5. M-: (set-window-configuration wc nil 'DONT-SET-MINIWINDOW)
>     6. C-g
>
> Please try such a patch:
> [patch...]

This works exactly like I want to!  One minor nit: it does not preserve
the minibuffer focus so you can end up with the minibuffer selected in
some tabs but not in others when switching however, this is the same
behaviour when switching frames too so I can put up with it just fine.