From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#58728: 29.0.50; Minibuffer does not follow tabs Date: Sun, 30 Oct 2022 09:34:15 +0200 Organization: LINKOV.NET Message-ID: <867d0hpxxk.fsf@mail.linkov.net> References: <87h6zvnrdl.fsf@gmail.com> <86bkpz7m2s.fsf@mail.linkov.net> <87tu3rcqkf.fsf@gmail.com> <86ilk5vh3w.fsf@mail.linkov.net> <87tu3p2vog.fsf@gmail.com> <86fsf81mdt.fsf@mail.linkov.net> <86wn8kz9tf.fsf@mail.linkov.net> <87h6zm38q3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1498"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 58728@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 30 08:38:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1op2tn-0000Hc-Tt for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Oct 2022 08:38:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1op2tR-0003Pz-18; Sun, 30 Oct 2022 03:38:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op2tP-0003P6-1B for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 03:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1op2tO-0000YX-PZ for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 03:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1op2tO-00014N-Kr for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 03:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2022 07:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58728 X-GNU-PR-Package: emacs Original-Received: via spool by 58728-submit@debbugs.gnu.org id=B58728.16671154644071 (code B ref 58728); Sun, 30 Oct 2022 07:38:02 +0000 Original-Received: (at 58728) by debbugs.gnu.org; 30 Oct 2022 07:37:44 +0000 Original-Received: from localhost ([127.0.0.1]:37259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op2t5-00013a-JY for submit@debbugs.gnu.org; Sun, 30 Oct 2022 03:37:43 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:55795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op2t4-000138-H0; Sun, 30 Oct 2022 03:37:43 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 64D04240002; Sun, 30 Oct 2022 07:37:32 +0000 (UTC) In-Reply-To: <87h6zm38q3.fsf@gmail.com> (Visuwesh's message of "Sat, 29 Oct 2022 21:47:24 +0530") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246596 Archived-At: close 58728 29.0.50 thanks >> 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. I don't know how to preserve the minibuffer focus in case of switching frames, but it was easy to implement for tabs. So now this is pushed. Thanks for helping to fix this issue. PS: A variable corresponding to minibuffer-follows-selected-frame could be added too when someone will ask for it. But currently I see no need for such a variable because tabs are quite different from frames: the active minibuffer can be visible in another frame as a visual reminder that there are active minibuffers, but not so in case of tabs when the active minibuffer is hidden in another tab.