From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows Date: Wed, 17 May 2023 10:13:18 +0200 Message-ID: <0c52f6ed-c3e2-6d9e-6d57-6f3779257b25@gmx.at> References: <875yapvoxh.fsf@fastmail.com> <86jzz4mynj.fsf@mail.linkov.net> <83cz4wb0vz.fsf@gnu.org> <865yamhdx7.fsf@mail.linkov.net> <83cz4u9uz1.fsf@gnu.org> <86jzz2f8si.fsf@mail.linkov.net> <83sfdq86pi.fsf@gnu.org> <835yal82ta.fsf@gnu.org> <86a5zuw5oo.fsf@mail.linkov.net> <87cz4oq485.fsf@fastmail.com> <86pm8nfoja.fsf@mail.linkov.net> <867cuukuvj.fsf@mail.linkov.net> <86lejajex8.fsf@mail.linkov.net> <86h6t3q3nt.fsf@mail.linkov.net> <86ttwckwqf.fsf@mail.linkov.net> <861qjgkvui.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------72BcL4HJVnsGfFTKQ8r89NtF" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21641"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62427@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 17 10:14:40 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 1pzCIw-0005Ol-M0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 May 2023 10:14:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzCIW-000363-0D; Wed, 17 May 2023 04:14:12 -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 1pzCIN-0002qB-CD for bug-gnu-emacs@gnu.org; Wed, 17 May 2023 04:14: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 1pzCIM-0003cg-KE for bug-gnu-emacs@gnu.org; Wed, 17 May 2023 04:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzCIM-0002r6-Al for bug-gnu-emacs@gnu.org; Wed, 17 May 2023 04:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 May 2023 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62427 X-GNU-PR-Package: emacs Original-Received: via spool by 62427-submit@debbugs.gnu.org id=B62427.168431120910922 (code B ref 62427); Wed, 17 May 2023 08:14:02 +0000 Original-Received: (at 62427) by debbugs.gnu.org; 17 May 2023 08:13:29 +0000 Original-Received: from localhost ([127.0.0.1]:48831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzCHo-0002q6-Gz for submit@debbugs.gnu.org; Wed, 17 May 2023 04:13:28 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:51301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzCHm-0002ps-Ci for 62427@debbugs.gnu.org; Wed, 17 May 2023 04:13:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1684311200; i=rudalics@gmx.at; bh=NanqNLK70wtmUNhfp20MJSvzGBpAnqJyi1F4+AiOToM=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=gOoYzhPtE6gG4cmz7Na0mb+DOqv/ZII4Q0+BN3waQ3JWD4QBMnYgbBjXtn5TsQXbT NOjf9ZTneV5p+I+ZvOHybr7p0NlCCSe7xCNngUKt6DT4eyKBmWjsq+3ifz1uXlP2/g HzG50Cf+JAGpynBjYNQ5IaixPWT+1svw6f/Vhtlondzucv96IxwNefdN8FPnZFQSRI YQ4cO6GrixJCjYphNQ7jRVPpB+6ipYBgUUET/0Z9J1P26xmFa/YKjtJZYQRTRuc2RS b+W2pZa2RWBWZeiU0ssdScmWYYUcQnuAql8gnksaK9Qyms+V9x/ZgB0JqtXizxANZN W2xoqyhCo9Nmw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.1.100] ([212.95.5.123]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mt79F-1qJC6g46v3-00tTfx; Wed, 17 May 2023 10:13:20 +0200 Content-Language: en-US In-Reply-To: <861qjgkvui.fsf@mail.linkov.net> X-Provags-ID: V03:K1:Y/1q6+JWFwy9QHzCYrk4UxjFNrk9881ngnwtavb15L3+w4b+nGB j0ofUnG7EaKoY8e4mobqU5gLmoDdwsI11UO+dB1+e7+5S04Zurwq7phb9QnmtNogy+KPs1V 3DWwSuX5Tsdp/Za+M6o/eyvj4plKDkUc+wUUYRFrtM6e12wiKnNcYQCgHnblnShI1OYvglI vQTDT3jh3oUfuYomKV28Q== UI-OutboundReport: notjunk:1;M01:P0:w+gX7wSccFc=;gbJM/p1Hn50tFGEy/6h3VHpJwKh FEXQi1ejyLWLESu56bB7zZwciYOcIrgiNUQ4fV+3V3dRq5any60y6okBLMBUrmd3O/DhmU8Rd o/s+vnZTeRwsv6K4tIfwFq3y23Lz7hv5hBflou7MD07wTEDCYrBRgBUf+5JBZZHYYmOt4KiB8 EU40/zqTmMNm8FLBsWXKVuZuOItqHSZ7ZeZY9YEnopAj4CJ4mJrDb/gky4SVbq6wBQeg7pGYV dGAKRx/zdsmfLHCnxxOvoP1e5JirzpCFP80zMJXYHOrLqLHSzkI76PyMDEtMYxb/vfSqiDVvO /UVgvj4gcfTZkY67GisIwfFpEj1kU2tRgr/6TjZbpBHtl14aN8n4SDVU5pWhZTUcApeytchOF MCHRzHVF6eni1qfUN3g7vy9RY/12Jj62XpIAKpHyvtEvOVT1s257XHnCddLCWOIpeN1Sgh/rc ipZJADVTe4t2qiKU84QB+jMntEcuklcyQgqtyeRAjsMl3SIyM8d8QZNlI6a1KridPf3gbo1D2 b99sSbYEvZmywA7TX2t0b5Je08mB0r3J5idmozPS4O5V9SSF6jE+E9RqUpShWtcjHoDXFmqJA 08wAXIxAyINeNYUKV1J8BrO+JJdcGYNA+gtYakn7A0ad59/MS7TZbFMi3cQK9xv12Y+n/E+eW 1+LkijJb49l1U5cV0fpwH3HlbhbCyGhEDNhss45AVlmIBvTFpgbQnK2LIbBn81bcdYYB1H1YM 9OWWULt40OTEe9foEUS6T54TO1QW7FQylRASFkpHfFHBeHM6bMR4XDlr/pzluHQ5T+yzMNdq 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:261830 Archived-At: This is a multi-part message in MIME format. --------------72BcL4HJVnsGfFTKQ8r89NtF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit >> 0. emacs -Q >> 1. M-x >> 2. C-x t 2 >> 3. C-x o ;; switches to the minibuffer >> 4. C-x t 2 >> >> Debugger entered--Lisp error: (error "Specified root is not an ancestor of specified win...") >> delete-other-windows-internal(# #) >> delete-other-windows() >> tab-bar-new-tab-to() >> tab-new(nil) >> funcall-interactively(tab-new nil) >> command-execute(tab-new) > > Martin, could you please help to debug this problem. > > Does the error occur because the window configuration is broken? No. Binding 'ignore-window-parameters' to t skips the usual error message that you "Can't expand minibuffer to full frame". Does the attached patch fix it? martin --------------72BcL4HJVnsGfFTKQ8r89NtF Content-Type: text/x-patch; charset=UTF-8; name="delete-other-windows.diff" Content-Disposition: attachment; filename="delete-other-windows.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3Avd2luZG93LmVsIGIvbGlzcC93aW5kb3cuZWwKaW5kZXggMDE2 ZDUzZmZiZGQuLjU5OTRiNjgxNmVmIDEwMDY0NAotLS0gYS9saXNwL3dpbmRvdy5lbAorKysg Yi9saXNwL3dpbmRvdy5lbApAQCAtNDM1NiwxMCArNDM1Niw3IEBAIGRlbGV0ZS1vdGhlci13 aW5kb3dzCiAJICAgIChlcnJvciAiUm9vdCBvZiBhdG9taWMgd2luZG93IGlzIHJvb3Qgd2lu ZG93IG9mIGl0cyBmcmFtZSIpCiAJICAodGhyb3cgJ2RvbmUgKGRlbGV0ZS1vdGhlci13aW5k b3dzIGF0b20tcm9vdCkpKSkKICAgICAgICAoKHdpbmRvdy1wYXJhbWV0ZXIgd2luZG93ICd3 aW5kb3ctc2lkZSkKLQkoZXJyb3IgIkNhbm5vdCBtYWtlIHNpZGUgd2luZG93IHRoZSBvbmx5 IHdpbmRvdyIpKQotICAgICAgICgoYW5kICh3aW5kb3ctbWluaWJ1ZmZlci1wIHdpbmRvdykK LQkgICAgIChub3QgKGVxIHdpbmRvdyAoZnJhbWUtcm9vdC13aW5kb3cgd2luZG93KSkpKQot CShlcnJvciAiQ2FuJ3QgZXhwYW5kIG1pbmlidWZmZXIgdG8gZnVsbCBmcmFtZSIpKSkKK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m9uaW50ZXJhY3RpdmUpKSkKKyAgICAgICAgICAobWVzc2FnZSAi Tm8gb3RoZXIgd2luZG93cyB0byBkZWxldGUiKSkpCisgICAgICAgKChhbmQgKHdpbmRvdy1t aW5pYnVmZmVyLXAgd2luZG93KQorCSAgICAgKG5vdCAoZXEgd2luZG93IChmcmFtZS1yb290 LXdpbmRvdyB3aW5kb3cpKSkpCisJKHVzZXItZXJyb3IgIkNhbid0IGV4cGFuZCBtaW5pYnVm ZmVyIHRvIGZ1bGwgZnJhbWUiKSkKKyAgICAgICAodAogCShkZWxldGUtb3RoZXItd2luZG93 cy1pbnRlcm5hbCB3aW5kb3cgbWFpbikKLQkod2luZG93LS1jaGVjayBmcmFtZSkpCisJKHdp bmRvdy0tY2hlY2sgZnJhbWUpKSkKKwogICAgICAgOzsgQWx3YXlzIHJldHVybiBuaWwuCiAg ICAgICBuaWwpKSkKIAo= --------------72BcL4HJVnsGfFTKQ8r89NtF--