From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.bugs Subject: bug#64373: 29.0.90; C-x t o while in minibuffer copies the current tab to the next tab Date: Fri, 30 Jun 2023 18:44:16 +0000 (UTC) Message-ID: <87a5wgokn4.fsf@catern.com> References: <86mt0gdcb4.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15706"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64373@debbugs.gnu.org, Spencer Baugh To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 30 20:45:43 2023 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 1qFJ7m-0003tT-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jun 2023 20:45:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFJ7h-0005ai-MU; Fri, 30 Jun 2023 14:45:37 -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 1qFJ78-0005Zn-4A for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2023 14:45:07 -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 1qFJ77-0001Lu-PI for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2023 14:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFJ77-0006Ak-JT for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2023 14:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: sbaugh@catern.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jun 2023 18:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64373 X-GNU-PR-Package: emacs Original-Received: via spool by 64373-submit@debbugs.gnu.org id=B64373.168815066623669 (code B ref 64373); Fri, 30 Jun 2023 18:45:01 +0000 Original-Received: (at 64373) by debbugs.gnu.org; 30 Jun 2023 18:44:26 +0000 Original-Received: from localhost ([127.0.0.1]:55769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFJ6X-00069g-JU for submit@debbugs.gnu.org; Fri, 30 Jun 2023 14:44:25 -0400 Original-Received: from s.wrqvwxzv.outbound-mail.sendgrid.net ([149.72.154.232]:45126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFJ6V-00069S-Ex for 64373@debbugs.gnu.org; Fri, 30 Jun 2023 14:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catern.com; h=from:subject:in-reply-to:references:mime-version:to:cc:content-type: content-transfer-encoding:cc:content-type:from:subject:to; s=s1; bh=3DYTXR9Xf0dt3lfq2uI+wZf4BMODUALQaRPNYxOweig=; b=TBKFMrUYiCjmZg4AY/3JekRGUgmat1Knoq6yZIb/WsUFjcVVxzvkKPVLp2Ng1ofdJu6r MkQPqVihN2v/V23lCxKiHKV3/CV1mxHt6c4/lW+io/n5SNKyfz4rf5jO2K+vze2muCmk+X tmtruSEHvTF13L1O8i0UOF+vms6qel+y9yuF20wVkjCjGG4SekYsmWCy2IBTExf1O7ny1u 3rd26vvwbcXEBDBJcC6XxKGDQFimQRFZJ5ASuB6Ith/knY9U14/pG44cyCkDCfpYbPGQcY 7VzwVsjUGyRBqbFEj1Nxr93JPZ5SNR3lQ+6edhbwgrniz0Kv+4IzWc3Tt+kLIG/Q== Original-Received: by filterdrecv-66949dbc98-fvstg with SMTP id filterdrecv-66949dbc98-fvstg-1-649F2280-46 2023-06-30 18:44:16.958135706 +0000 UTC m=+4388675.657070127 Original-Received: from earth.catern.com (unknown) by geopod-ismtpd-4 (SG) with ESMTP id g_xjXoi5Sh-ib3TVabmcWg Fri, 30 Jun 2023 18:44:16.806 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=::1; helo=localhost; envelope-from=sbaugh@catern.com; receiver= Original-Received: from localhost (localhost [IPv6:::1]) by earth.catern.com (Postfix) with ESMTPSA id F1DD36008D; Fri, 30 Jun 2023 14:44:15 -0400 (EDT) In-Reply-To: <86mt0gdcb4.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 30 Jun 2023 21:39:43 +0300") X-SG-EID: ZgbRq7gjGrt0q/Pjvxk7wM0yQFRdOkTJAtEbkjCkHbKsQdyJyi0Rv1Bz02+DgI6bRVBSbvxrD6v1qDTH1o6su7zN4MwJM30amcvtbdGDqkTCmQ1YqKMkZjLDTk4M5S1SI0kKABLWi9CIflBeAbshRED6ov1Zc9fRYMHbfZ6mJbMJlza90XQi0yTAiaHB7p0n3ybo7lIJ8bHBHv7SB262mg== X-Entity-ID: d/0VcHixlS0t7iB1YKCv4Q== 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264330 Archived-At: Juri Linkov writes: >> 1. emacs -Q >> 2. C-x t 2 to create a new tab >> 3. C-x b *Messages* RET >> Now the first tab should have only *scratch* open, >> and the second tab should have only *Messages* open, >> and we're in the second tab. >> 4. M-: (read-from-minibuffer "") RET >> 5. While in minibuffer, C-x t o to switch to the first tab >> 6. RET to exit minibuffer >> 7. The first tab now has *Messages* open. >> >> This also applies to more complicated window configurations: the whole >> window configuration will be copied from the tab that the minibuffer was >> first open in, to the tab that was entered with C-x t o. >> >> This also happens if the minibuffer is exited with C-g. > > Not a bug, this is the documented behavior. > You can customize read-minibuffer-restore-windows to nil > if you don't like this. We should also restore the current tab, then. Because right now we're restoring the window configuration, but not the current tab. If we did that, then this would behave as expected: We'd restore the current tab, then restore the window configuration in that tab.