From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#39977: 28.0.50; Unhelpful stack trace Date: Sat, 21 Mar 2020 10:32:24 +0100 Message-ID: <9a3df43d-4a83-bed0-9ad1-b59cf11b4c9c@gmx.at> References: <83zhcs80e5.fsf@gnu.org> <83imj88tpt.fsf@gnu.org> <550fbc22-09db-d30b-c194-8f26b5dca05f@gmx.at> <83wo7o6nxs.fsf@gnu.org> <60dd4ced-a2e5-ed17-0570-b7bdd2a557af@gmx.at> <83blozckn2.fsf@gnu.org> <01305dbc-c69b-baf9-f0bf-1e5b8c04d970@gmx.at> <83y2s2bswl.fsf@gnu.org> <3ac189d0-5d05-fdf9-0922-0c464b1b17c3@gmx.at> <83k13lbgux.fsf@gnu.org> <83d09cb9gz.fsf@gnu.org> <69a74f9e-079b-a771-0213-f60ed0bf5720@gmx.at> <83y2rzf08m.fsf@gnu.org> <7a0b9999-6778-6235-fbc9-2a24b4e3bc53@gmx.at> <83tv2mg9j0.fsf@gnu.org> <9684641c-a59a-4ed6-a6b4-d3238f789050@gmx.at> <83sgi6g461.fsf@gnu.org> <90ac4084-4fbb-b5d7-6a7c-597d8f08e88a@gmx.at> <83imj1g1eu.fsf@gnu.org> <835zf1fobf.fsf@gnu.org> <4472dbf8-eec0-72eb-a4ad-c6b382d27f1f@gmx.at> <83zhcce7n2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="65312"; mail-complaints-to="usenet@ciao.gmane.io" Cc: enometh@meer.net, 39977@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 21 10:34:02 2020 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 1jFaW1-000GtR-SM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 10:34:01 +0100 Original-Received: from localhost ([::1]:34616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFaW0-0006XJ-Nn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 05:34:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49685) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFaV5-0006QT-5I for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:33:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFaV4-0005g7-3q for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFaV4-0005fv-0U for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFaV3-0006eX-Ub for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Mar 2020 09:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39977 X-GNU-PR-Package: emacs Original-Received: via spool by 39977-submit@debbugs.gnu.org id=B39977.158478316125546 (code B ref 39977); Sat, 21 Mar 2020 09:33:01 +0000 Original-Received: (at 39977) by debbugs.gnu.org; 21 Mar 2020 09:32:41 +0000 Original-Received: from localhost ([127.0.0.1]:45959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFaUj-0006dx-5E for submit@debbugs.gnu.org; Sat, 21 Mar 2020 05:32:41 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:38261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFaUg-0006dj-OR for 39977@debbugs.gnu.org; Sat, 21 Mar 2020 05:32:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1584783147; bh=zSV3GssfPET3S2r5lMc1GTuITqdgmjUefVNBQcmygaE=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=DDO8e474cRjArPyWI0ImgUXVyiRgbTFB6tsB34pYD5H5PEOL+9W7LchUA8oXY6qLf my3xVTqvZ+lCVdGSAGlKf0Xv4IPAZb3rdK/qwPWhpTy0+JIc+59f9KaeI863ttmoW0 dO0BjCF05VRFQvuoYiKbQVhlhFXVLbxBgzoh/zmw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.84]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MRmjq-1irtUf2ITi-00TGdW; Sat, 21 Mar 2020 10:32:27 +0100 In-Reply-To: <83zhcce7n2.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:/UkRwJgrUYdLK0q3ZVuDbumVWCnDv+Y9vQSY+mQeYbKPcrpEGA0 lJEM0KW3a5Gn19SCvMoVzWYz3QQrlPngCc9bKLE3loFGWjxbg8kl5j0aF3ygujCv9lF+J3S oVr4CvplHpMwmH2bVcLOngIklr0VfYa1srVyxSwtcypu7eAzr/s3AnboE8BBdctTThJkBfR K3nrdfB5az+rEJWjPwPiw== X-UI-Out-Filterresults: notjunk:1;V03:K0:eNOSvj1eZrw=:SypKTNH6m9bDIa/fBRNMZZ DgQdLJ2sMjCFeJSA8PQD3aEsr2VYTmK6/JBIRvhgbF8FNTZ5xTFULMVPDjfdYbs80Svx/rBt6 CdL+JGkP1jAbnBdWIbaiUe/uYf0w+ZFMAF8eM+xJJVsPEYduWMDY8AVEPjmHBFv60qSkYJcOV YJyXvrXFjrv+QKyKAj3pijA+CjkgkZDzIHwOS3dr1e6wFE3Yaahv8Dg72oj3UUCCRQZM+lSlh vgj2R31tJKjzbc+kXvjhAxm6oYJ7yMmKz9IpJDZRJmmomKFtMffBa1OeuMy7uPwgUz2T5/5NO PEpCRu+Jlqnx99Q1o3azFltbjPLHZU6q0D3NEASoo3eZmHj8Uc3t8MxhkUZL5czuT4i6gm3bk IV+O7JGH/hDhh1JZFqX/EvLEa5ZtC5XWVgJXWLCZNHqgz2t9Us/Q702tOqf7ng7dKSnkh2VVe 3cyMww3OwK6gPdjeMzgvSTH+mYxb7MwR2OW06qgTxb4Juia+gZWJqJYzJQYmA5BxL4/XmtRR/ bxm01LC2M3NKyh33jnV56+pfVlh4nU+rDuvEEqDxRFLqp+4/dVUc6C9xQfPy4pAhBBLffL9Rm bVh3Kf+EQoRUhOW0lOLQajWYo4irmszxzlk1WicsRtB9BluTbEjZcAHL+2V9TkslKToC3bVjg sVE22IauXUleG8nOrS6NdQnteOyHmaB5DIjewqRV0w05ep1xjcuElSImwofGn1hcTMqOBn3L7 7Mz3j0D4m9aXQebQgGUF5yU3Wdpe+OZnuNH0Wygho7PkGfe9CsPIHK7vdpU9eVqxF3uYc5u8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:177590 Archived-At: >> I'm afraid that we already might mishandle some of those simple cases. > > That just makes my point stronger, doesn't it? Not really. It's easy for delete_frame to refuse deleting a frame right at the beginning. But once it has accepted a deletion, it might become hard to deal with all the consequences. >> > The problem is how to do this without breaking legitimate code. For >> > example, changing the window configuration temporarily, then changing >> > it back is quite legitimate, >> >> Right in the middle of redisplay, while constructing the mode line or >> the title format? > > Why not? As long as things are back as they were by the time :eval > returns, I see no reason to disallow such code. Such a change in the window configuration would take place in a state where certain variables have temporary settings only. Selected frame, selected window and current buffer have been set by redisplay in a fast, improvised manner. I would never trust the outcome of save_window_save or 'set-window-configuration' in such a state. > No, they are there in cases where we simply don't know how to > continue. If that's the reason, then SELECTED_FRAME can easily set selected_frame to some live frame and continue. martin