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.devel Subject: Re: Stop frames stealing eachothers' minibuffers! Date: Wed, 11 Nov 2020 09:28:21 +0100 Message-ID: References: <20201031194419.GC5887@ACM> <834kmago8m.fsf@gnu.org> <20201031203914.GD5887@ACM> <835z6ogc1h.fsf@gnu.org> <20201101195313.GA6190@ACM> <83sg9rd6cp.fsf@gnu.org> <20201102185147.GC7297@ACM> <83mtzzd0s3.fsf@gnu.org> <20201103210853.GA21923@ACM> <83ft5pax2p.fsf@gnu.org> <20201104173954.GA14535@ACM> <83v9ed3nbw.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="blaine.gmane.org:116.202.254.214"; logging-data="690"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , enometh@meer.net, emacs-devel@gnu.org To: Stefan Monnier , Andrii Kolomoiets Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 11 09:33:38 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kclZR-000AeJ-Ek for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Nov 2020 09:33:37 +0100 Original-Received: from localhost ([::1]:44690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kclZQ-0005pb-63 for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Nov 2020 03:33:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kclUX-0003ip-SS for emacs-devel@gnu.org; Wed, 11 Nov 2020 03:28:33 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:51957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kclUV-0004Lw-Qg; Wed, 11 Nov 2020 03:28:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605083302; bh=NdCiTW0XKJ5emiQrDkwL46DDfSybE5oVVHWoIRWUfN0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=LXTAerrRivTIkg9qlEMrVCgFdMkywCKxSspTCiuubNw97dYszerCbkHeS7CSjWsUJ fAmKy2K0q6FnxQh0NwzGaY0lvgLI1rDhLdzYg+n9o+88fXvqK5cu+MOkSM1HuGfiXt IUe4a8GFP65dCczD1nOREL+cVhbZZSFRgF5doxf8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.74]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M2wGi-1kbg5q308q-003JMX; Wed, 11 Nov 2020 09:28:22 +0100 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:yvq+9c2ugFI0K1bZLo9gJ/1lt1QGtLiLB358xmFLM50mJ1BqTXO JsKIA7FqfEBHsRqsoCfUlcBc/xsqqVyYgYF0SE9Eq1KudPkQVsZYFTXbG6iAW0AsXCyWnqJ s/ATyNZm1JgnrP9XgiU191auUfKSyuAwsVqjSf+2ON8xoRKb8g1SaQiWb9r1zMv7vpjn6Vy jmAI0lq6u6Ub1LGO5aQUg== X-UI-Out-Filterresults: notjunk:1;V03:K0:puW8gUnBJ1Q=:XZPrIqMANKZ23lVNDp9BK7 84lJ9zRL/lX1pHT3XOvfNN16DLJGhiErekvYxdewC5HPJXfX709V7hLX2deck6WuCHUHy/W2/ DrXn6UGr1Do8xDSMPwlBgFfQGG5ZPMl3U+w7nNHkGswmcSd7fd/h6KHTGvCChMk0mA0frgjtH BG8JWGb7Rx4pUN5J5hs98+NiIbaOtGPLQH7rek609HRFekueHTsGre5K3KSbBzNI5n0zOQsL+ oFuhZPl+lLynN2bPeS0mi5mWI15gv9gVqBSWNaxfmzQFMO6lkXGKO/9ESSiEnZZM5j1KUn94x jQZ3AvErSS7Km4LdKz6uz+nvyfpqFFzm5q+5hbuPWKxLpUetD4jyHh7/Di4w3KQl3xIJhZKn6 lXNr7SlN58TZqWuQNICwY8URovk2FOBSlHxOVTuX2LzvXhVqDaZNOcmzZsUMm+oLN64IFQTv3 vDSIgeN03m967goH2/0zksB+LK0odnHxiXONbPC36g0ZlYwppysnogmWtd1nMWx7MlYNYmqm7 4kPf6PnXrqxsyRQwjkzmrL7iebEjTiUX8fBLqc5bfscJF1ND9/grsSqu916kcf7You3YUQPqJ KG8aHF7gmrVQzJCZG1vyVCyrew+b5eOAuHXNp9CU2VUkvTXGdFcn7i1UD1gb5Mr8Fmxbc/YhJ Z8090oJvDXdcYuglWFLFZR2FvOy7/9n/95YWoQFmzZJCLaRW+LtFDTJ0krbvvdVGp5COHW9PN tQNkAndtbd6glRTbHLEY44qacRZJ6LiR5aPRhx5Wn2Ypr07ymrzJN3qHQiBHKo28WEC9FHBr Received-SPF: pass client-ip=212.227.17.20; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/11 03:28:30 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259002 Archived-At: > But if it results in regressions with packages to maple-minibuffer or > mini-frame, we should of course try and address that (either by refining > the behavior or by changing the default). Both, Andrii's and Madhu's scenarios, have to be fixed. Then we might be able to get rid of other oddities like 'redirect-frame-focus' and frame auto hiding as well. What we want to do here is to track non-modal user dialogues in our own way. In particular, we want to handle the case that a user wants to suspend such a dialogue and do something else in between, either in Emacs or in another application. The major issues then are how to handle the following actions wrt the Emacs windows participating in that dialogue: mouse clicks and hovering, alt-tabbing and altering the window configuration via C-x o, C-x 5 o, window creation and deletion. Before and after Alan's changes all of these do not work satisfactorily. Most applications I know of do not allow such non-modal dialogues. And I know of no other application that may display messages in the same area where a prompt appears which further complicates things with Emacs. martin