From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame Date: Mon, 7 Dec 2020 08:27:31 -0800 (PST) Message-ID: <75675a0c-1026-4ff2-94f5-d1eb2bb53ed4@default> References: <7d37f10e-380f-41dd-884b-8f41003436d0@default> <87tut1hjhi.fsf@gnus.org> <61945cc3-616e-428b-b298-a4db03580efe@default> <87r1o3dr46.fsf@gnus.org> <0bfafd15-9fe9-43f7-882e-de04cf86a910@default> <87blf5k9uw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9957"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 17736@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 07 17:30:50 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 1kmJPV-0002Uv-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 17:30:49 +0100 Original-Received: from localhost ([::1]:59232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmJPU-0004qz-Pk for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 11:30:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmJMo-0003Gd-SW for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 11:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmJMo-0006QI-LB for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 11:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmJMo-0003Ra-GT for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 11:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Dec 2020 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo notabug Original-Received: via spool by 17736-submit@debbugs.gnu.org id=B17736.160735846113205 (code B ref 17736); Mon, 07 Dec 2020 16:28:02 +0000 Original-Received: (at 17736) by debbugs.gnu.org; 7 Dec 2020 16:27:41 +0000 Original-Received: from localhost ([127.0.0.1]:55135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmJMS-0003Qu-Us for submit@debbugs.gnu.org; Mon, 07 Dec 2020 11:27:41 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:38010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmJMR-0003Qh-Sg for 17736@debbugs.gnu.org; Mon, 07 Dec 2020 11:27:40 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B7GPjQJ169944; Mon, 7 Dec 2020 16:27:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=amAF65JikzqQsR12Q0dYGPGFRp5jC1VA93/eV55MjFM=; b=dKOaW4v4yhEWE9YK3262sY24g/Fed+OyFz5++03kxWorwLz2+RvnVJLY32AwS7q82wWL cyduE0JEVUA/O59fRd+no9gHOYIxsx7GOeQFTdq/CzUq9LJEiHrdomN9eD1XLq2AfJCj xrrygHE4UwXvuLjJ7qMHUhiVaaoaJXW+JdLxKJfqUD8P5r03RkcKEbWvwl2B1GoIT8By yn5o5kN0R2CGMSgQs0Z2N9reZvEx+wWyEiqEM3SH0FMSYcq8vv3IeZM9bVEA230CRiwM JPuozWSL8tos/AsA6H4PAEwtwFwmTCO0lpYCR+nwTy6+tpfRl/Uav6My/FCqtUEtpvPA +g== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 357yqbpbqj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 07 Dec 2020 16:27:33 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B7GQbjN009323; Mon, 7 Dec 2020 16:27:33 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 358kyreqwe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 07 Dec 2020 16:27:33 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0B7GRWsp025105; Mon, 7 Dec 2020 16:27:32 GMT In-Reply-To: <87blf5k9uw.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5071.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9827 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 mlxscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012070105 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9827 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 clxscore=1015 malwarescore=0 bulkscore=0 phishscore=0 adultscore=0 spamscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012070105 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" Xref: news.gmane.io gmane.emacs.bugs:195255 Archived-At: > > 9. Select *scratch* frame. `M-x', then `C-S-mouse-1' in > > *scratch*. See message in both *Messages* and echo > > area (minibuffer frame): selected frame is > > " *Minibuf-1*". > > > > #9 is unexpected. > > > > Can you repro this? >=20 > Thanks for the recipe; I now see the behaviour you're describing. >=20 > > If so, we can talk about whether #9 should be expected or is a bug. >=20 > The thing is, in your setup, typing `M-x' selects the minibuffer frame > -- the *scratch* frame loses focus. So I agree with what Eli said > earlier: I think this is consistent behaviour, and you have to examine > the event you're getting to see what frame the user clicked in. >=20 > So I'm closing this bug report. This is wrong, IMO. I think you're missing the point. Yes, `M-x' selects the minibuffer frame. It does so in ALL cases - in the case when the starting frame is *Messages* as much as when the starting frame is *scratch*. That's 100% normal. But THEN, if a user selects another frame, that frame should be, well, selected - focused. The behavior seen for *Messages* should also happen for *scratch*. A user should be able to switch frames whether or not an `M-x' is in progress. And she should be able to switch frames, in particular, to do something that might affect or inform the ongoing behavior of `M-x'. A user can switch to another frame and then come back to the minibuffer frame. She can already do this for a different frame from the one that initiated minibuffer interaction (`M-x' in this case). There's zero reason why she can't do this also for that initiating frame (or please supply a reason!). There's no reason (or else please supply one!) why the minibuffer frame should keep, and not relinquish, focus when the user explicitly selects another frame. I know that you guys are not used to interacting with a standalone minibuffer frame. But that should not limit your ability to understand/imagine how it can be used.