From unknown Fri Jun 20 07:21:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17736 <17736@debbugs.gnu.org> To: bug#17736 <17736@debbugs.gnu.org> Subject: Status: 24.4.50; *-mouse-1 acts on wrong frame Reply-To: bug#17736 <17736@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:21:59 +0000 retitle 17736 24.4.50; *-mouse-1 acts on wrong frame reassign 17736 emacs submitter 17736 Drew Adams severity 17736 normal tag 17736 moreinfo notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 08 11:06:35 2014 Received: (at submit) by debbugs.gnu.org; 8 Jun 2014 15:06:35 +0000 Received: from localhost ([127.0.0.1]:41505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wteg6-0000nt-GE for submit@debbugs.gnu.org; Sun, 08 Jun 2014 11:06:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54352) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wteg3-0000nb-S5 for submit@debbugs.gnu.org; Sun, 08 Jun 2014 11:06:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wtefo-0005fo-8q for submit@debbugs.gnu.org; Sun, 08 Jun 2014 11:06:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wtefn-0005fk-UQ for submit@debbugs.gnu.org; Sun, 08 Jun 2014 11:06:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wteff-00081A-46 for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2014 11:06:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtefW-0005di-Cj for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2014 11:06:07 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:45208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtefW-0005dZ-5p for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2014 11:05:58 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s58F5vQg002473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 8 Jun 2014 15:05:57 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s58F5ufL021235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 8 Jun 2014 15:05:56 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s58F5uop023232 for ; Sun, 8 Jun 2014 15:05:56 GMT MIME-Version: 1.0 Message-ID: <7d37f10e-380f-41dd-884b-8f41003436d0@default> Date: Sun, 8 Jun 2014 08:05:58 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.4.50; *-mouse-1 acts on wrong frame X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Put this code in a file: ------------------------- (defun 1on1-emacs () "" (interactive) (setq default-frame-alist (list (cons 'minibuffer nil))) (setq pop-up-frames t) (setq minibuffer-frame-alist 1on1-minibuffer-frame-alist) (make-frame 1on1-minibuffer-frame-alist) (setq minibuffer-auto-raise t) (setq w32-grab-focus-on-raise nil)) (global-set-key [C-S-mouse-1] =09=09(lambda () (interactive) (message "FR: %S" (selected-frame)))) ------------------------- runemacs.exe -Q --debug-init -l "onetest.el" -f "1on1-emacs" C-x b *Messages* C-x 5 2 C-x b *scratch* You now have a frame showing *Messages*, a frame showing *scratch*, and a standalone minibuffer frame. Make the first two frames small enough that you can see both of them and the minibuffer frame. 1. Click `mouse-1' in the *scratch* frame, or otherwise select it and give it focus. 2. Click `C-S-mouse-1' in the *scratch* frame. You see the message indicating that this is the selected frame. Click `C-S-mouse-1' in the *Messages* frame. Again, the message indicates that the clicked frame is the (newly) selected frame. 3. Repeat #1, to select frame *scratch*. `M-x', then click `C-S-mouse-1' in the *Messages* frame (*not* the selected frame before you clicked). You again see a message indicating that the clicked frame (*Messages*) is the (newly) selected frame. 4. With *scratch* still the selected frame, `M-x', then click in frame *scratch* (the selected frame before you clicked). The message says that the standalone minibuffer frame is the selected frame. 1-3 are normal. #4 is the bug. A command bound to `C-S-mouse-1' does not act on the frame that you click. The same behavior occurs if you use `S-mouse-1', `C-mouse-1', or even `mouse-1' instead of `C-S-mouse-1' in the recipe (but you may also need to set `*-down-mouse-1' to nil). In sum, a mouse click while the minibuffer is active does this: * Acts on the clicked frame, if it was not the frame selected before activating the minibuffer (or if is is the minibuffer frame). This is what I would expect. * Acts on the minibuffer frame, if the clicked frame was selected before activating the minibuffer. This is not what I would expect (unless the frame clicked is the minibuffer frame). I would expect that the frame clicked always becomes the selected frame. Is this expectation wrong? I ask the question about whether the behavior should be exceptional this way, because it is not new behavior: it is at least as old as Emacs 20. It's not clear to me why Emacs behaves this way. In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-06-01 on ODIEONE Bzr revision: 117212 michael.albinus@gmx.de-20140601104945-g88x0mwrxorz302h Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include'' From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 06:57:26 2020 Received: (at 17736) by debbugs.gnu.org; 4 Dec 2020 11:57:26 +0000 Received: from localhost ([127.0.0.1]:43210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9iI-0005gi-4E for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:57:26 -0500 Received: from quimby.gnus.org ([95.216.78.240]:58522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9iG-0005gT-Pl for 17736@debbugs.gnu.org; Fri, 04 Dec 2020 06:57:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=HAVjRoBjU6IDI0UsG74ec9xXw4Kya7F45tFa/OblvFI=; b=EDvz9f07MUx8PeCW29ysunVCGX qutz9vlcN9mlfKzFMHRchVOk3t43CwLM4Z41Ss5Ix6dc15o5UUPYV82RAb6jxncmiUelYwoj0BwjH MtfNeV/pqlE9FzitUWQYQDaiZ2TgyMjmf4894HtgJvElcn/yV2h+sqNKjPAf+0Qd0dzo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl9i6-0008HX-Qd; Fri, 04 Dec 2020 12:57:18 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame References: <7d37f10e-380f-41dd-884b-8f41003436d0@default> X-Now-Playing: The Matthew Herbert Big Band's _The State Between Us (1)_: "The Special Relationship" Date: Fri, 04 Dec 2020 12:57:13 +0100 In-Reply-To: <7d37f10e-380f-41dd-884b-8f41003436d0@default> (Drew Adams's message of "Sun, 8 Jun 2014 08:05:58 -0700 (PDT)") Message-ID: <87tut1hjhi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > Put this code in a file: > > > (defun 1on1-emacs () "" > (interactive) > (setq default-frame-alist (list (cons 'minibuffer nil))) > (setq pop-up-frames t) > (setq minibuffe [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17736 Cc: 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > Put this code in a file: > > ------------------------- > (defun 1on1-emacs () "" > (interactive) > (setq default-frame-alist (list (cons 'minibuffer nil))) > (setq pop-up-frames t) > (setq minibuffer-frame-alist 1on1-minibuffer-frame-alist) > (make-frame 1on1-minibuffer-frame-alist) > (setq minibuffer-auto-raise t) > (setq w32-grab-focus-on-raise nil)) > > (global-set-key [C-S-mouse-1] > (lambda () (interactive) > (message "FR: %S" (selected-frame)))) > ------------------------- > > runemacs.exe -Q --debug-init -l "onetest.el" -f "1on1-emacs" This recipe just gives me an error: 1on1-emacs: Symbol=E2=80=99s value as variable is void: 1on1-minibuffer-fra= me-alist Do you have a working recipe that demonstrates this bug? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 06:57:31 2020 Received: (at control) by debbugs.gnu.org; 4 Dec 2020 11:57:31 +0000 Received: from localhost ([127.0.0.1]:43213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9iN-0005h1-Ab for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:57:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]:58536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl9iM-0005gb-BS for control@debbugs.gnu.org; Fri, 04 Dec 2020 06:57:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QWcFB3XZC+b+/IjZoyLJ0PyboBu3rEnyi60oM8zzH0c=; b=bQevxULMhs1Fkf+wkrMhWfHvCt 6gk1KUh8r31yGFMoFxvN3IqK85720cDWXxe+8g2liMN7l/hkR2O9ZbKnFkV/LxpfHFJFHauNU+5f5 Dj6LgbcM/u9nWFEgZVbBA7G4WG0hQe3cDCzS0ojx5wHW+ABpXERNfnWkJtAofjMr34Dk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl9iE-0008Hg-Jj for control@debbugs.gnu.org; Fri, 04 Dec 2020 12:57:24 +0100 Date: Fri, 04 Dec 2020 12:57:21 +0100 Message-Id: <87sg8lhjha.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17736 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17736 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17736 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 12:44:01 2020 Received: (at 17736) by debbugs.gnu.org; 4 Dec 2020 17:44:01 +0000 Received: from localhost ([127.0.0.1]:45571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klF7g-000674-U5 for submit@debbugs.gnu.org; Fri, 04 Dec 2020 12:44:01 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:60316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klF7d-00066o-Rp for 17736@debbugs.gnu.org; Fri, 04 Dec 2020 12:44:00 -0500 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 0B4HdIpj136148; Fri, 4 Dec 2020 17:43:51 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=y3Jh2NQ3Gws70dbOLxqP6KWTXXzXCpUAf756mKUSVL4=; b=Q63gBuL4q+uYA4lA0V+rpw6wAT+uktDZKS2plhPeydPa4KUCJCmN+cE6st395mZsP+bC PI17lKW0I+IuGDqzZM5PD5QNK4R78rKZAYqIT9LTC7vWf8K/7F8FCGxzwGm0o4ucPUEW HmT8CwRmmheY7QX8IQ1RFL/v8xvKlJOLQLIUeMXCdMevFLOVrJZPAnYwCKkFXT20mDq3 GQmONkGCfwfV9ddEFoNe/Arys+0DgkBqxkjlZ4D7+LkZgT645EL9M3DBqbKlGo8iv0P1 eDUDURw4jI2JsuarE7P0Pp1JLhlfVGuJLjSdsojVbhzWmktLjForNi4zjQclhPHghJAs vg== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2130.oracle.com with ESMTP id 353c2bceek-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 04 Dec 2020 17:43:51 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B4HfVEv174219; Fri, 4 Dec 2020 17:43:50 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 3540g40ksd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 Dec 2020 17:43:50 +0000 Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0B4Hhmem018416; Fri, 4 Dec 2020 17:43:48 GMT MIME-Version: 1.0 Message-ID: <61945cc3-616e-428b-b298-a4db03580efe@default> Date: Fri, 4 Dec 2020 09:43:47 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame References: <7d37f10e-380f-41dd-884b-8f41003436d0@default> <87tut1hjhi.fsf@gnus.org> In-Reply-To: <87tut1hjhi.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)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9825 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 phishscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012040101 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9824 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 lowpriorityscore=0 clxscore=1011 bulkscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012040101 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17736 Cc: 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Do you have a working recipe that demonstrates this bug? Sorry; forgot that. Use this simpler file instead: ------------8<------------------ ;; runemacs.exe -Q --debug-init -l "onetest.el" -f "1on1-emacs" "onetest.e= l" (defun 1on1-emacs () "" (interactive) (setq default-frame-alist (list '(font . "-*-Lucida Console-normal-r-*-*-14-*-*-*-c-*-iso8859-1") '(bottom-divider-width . 2) '(minibuffer))) (setq pop-up-frames t) (setq minibuffer-frame-alist (list '(height . 2) '(minibuffer . only)))) (global-set-key [C-S-mouse-1] =09=09(lambda () (interactive) (message "FR: %S" (selected-frame)))) ------------8<------------------ And I should have said that after step 3 use C-g or whatever to end that step's M-x. And select the *scratch* frame. IOW, step 4 is a repeat of step 3, except that you do C-S-mouse-1 in the same frame, *scratch*, not in another frame. I just checked, and the same bug exists from Emacs 24.5 through 27.1. IOW, it's still there. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 15:46:32 2020 Received: (at 17736) by debbugs.gnu.org; 4 Dec 2020 20:46:32 +0000 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 1klHyK-0004Kg-5Z for submit@debbugs.gnu.org; Fri, 04 Dec 2020 15:46:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klHyI-0004KT-0q for 17736@debbugs.gnu.org; Fri, 04 Dec 2020 15:46:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58074) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klHyC-0006KI-K1; Fri, 04 Dec 2020 15:46:24 -0500 Received: from [176.228.60.248] (port=3657 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klHyB-00081Q-Bc; Fri, 04 Dec 2020 15:46:24 -0500 Date: Fri, 04 Dec 2020 22:46:07 +0200 Message-Id: <83zh2tcnao.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-Reply-To: <61945cc3-616e-428b-b298-a4db03580efe@default> (message from Drew Adams on Fri, 4 Dec 2020 09:43:47 -0800 (PST)) Subject: Re: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame References: <7d37f10e-380f-41dd-884b-8f41003436d0@default> <87tut1hjhi.fsf@gnus.org> <61945cc3-616e-428b-b298-a4db03580efe@default> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17736 Cc: larsi@gnus.org, 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 4 Dec 2020 09:43:47 -0800 (PST) > From: Drew Adams > Cc: 17736@debbugs.gnu.org > > ;; runemacs.exe -Q --debug-init -l "onetest.el" -f "1on1-emacs" "onetest.el" > > (defun 1on1-emacs () > "" > (interactive) > (setq default-frame-alist > (list > '(font . "-*-Lucida Console-normal-r-*-*-14-*-*-*-c-*-iso8859-1") > '(bottom-divider-width . 2) > '(minibuffer))) > (setq pop-up-frames t) > (setq minibuffer-frame-alist (list '(height . 2) > '(minibuffer . only)))) > (global-set-key [C-S-mouse-1] > (lambda () (interactive) > (message "FR: %S" (selected-frame)))) > > ------------8<------------------ > > And I should have said that after step 3 use C-g > or whatever to end that step's M-x. And select the > *scratch* frame. IOW, step 4 is a repeat of step 3, > except that you do C-S-mouse-1 in the same frame, > *scratch*, not in another frame. > > I just checked, and the same bug exists from Emacs > 24.5 through 27.1. IOW, it's still there. Why is that a bug? Clicking a mouse doesn't necessarily select the frame where you click; if you want to know which frame you clocked on, you should look at the click event. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 08:03:03 2020 Received: (at 17736) by debbugs.gnu.org; 6 Dec 2020 13:03:03 +0000 Received: from localhost ([127.0.0.1]:49135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kltgt-0004rM-4A for submit@debbugs.gnu.org; Sun, 06 Dec 2020 08:03:03 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kltgq-0004qq-RD for 17736@debbugs.gnu.org; Sun, 06 Dec 2020 08:03:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7DGorqIzVkMZxMyq5Jyy/AwWbb7+9IQIRXkjJ9+h+lE=; b=Q9jR/+C9rtbFQdSWpbj1okTYPL QhaEkzOHjjUOafmWWHxin82qlIlsd4OjCSh0KMlrFAbqJSPSQyr8EizUb8zK2+zCI9eETkqD7X+5y O/3dL6hjh2uc2OhZa6M31lAatk7rXbU/EwZ74AV1LiRUzmUOXKXYMNQUMhyEtorrF9zo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kltgh-0004Kk-Sh; Sun, 06 Dec 2020 14:02:54 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame References: <7d37f10e-380f-41dd-884b-8f41003436d0@default> <87tut1hjhi.fsf@gnus.org> <61945cc3-616e-428b-b298-a4db03580efe@default> X-Now-Playing: Max de Wardener's _Music For Detuned Pianos_: "Star Song" Date: Sun, 06 Dec 2020 14:02:49 +0100 In-Reply-To: <61945cc3-616e-428b-b298-a4db03580efe@default> (Drew Adams's message of "Fri, 4 Dec 2020 09:43:47 -0800 (PST)") Message-ID: <87r1o3dr46.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > Sorry; forgot that. Use this simpler file instead: > > 8< > > ; ; runemacs.exe -Q --debug-init -l "onetest.el" -f "1on1-emacs" "onetest.el" > > (defun 1on1-emacs () > "" [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17736 Cc: 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > Sorry; forgot that. Use this simpler file instead: > > ------------8<------------------ > > ;; runemacs.exe -Q --debug-init -l "onetest.el" -f "1on1-emacs" "onetest.el" > > (defun 1on1-emacs () > "" > (interactive) > (setq default-frame-alist > (list > '(font . "-*-Lucida Console-normal-r-*-*-14-*-*-*-c-*-iso8859-1") > '(bottom-divider-width . 2) > '(minibuffer))) > (setq pop-up-frames t) > (setq minibuffer-frame-alist (list '(height . 2) > '(minibuffer . only)))) All that can't be necessary -- I don't have that font, so the example still didn't work. I removed the font setting, though, and tried to follow your recipe. > (global-set-key [C-S-mouse-1] > (lambda () (interactive) > (message "FR: %S" (selected-frame)))) > > ------------8<------------------ > > And I should have said that after step 3 use C-g > or whatever to end that step's M-x. And select the > *scratch* frame. IOW, step 4 is a repeat of step 3, > except that you do C-S-mouse-1 in the same frame, > *scratch*, not in another frame. And I was unable to, either because I don't understand the recipe, or because the bugs isn't present in Emacs 28. Could you provide a simpler step by step recipe to demonstrate the bug? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 12:23:02 2020 Received: (at 17736) by debbugs.gnu.org; 6 Dec 2020 17:23:02 +0000 Received: from localhost ([127.0.0.1]:51127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klxkU-0007kc-GW for submit@debbugs.gnu.org; Sun, 06 Dec 2020 12:23:02 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:41032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klxkR-0007k4-S7 for 17736@debbugs.gnu.org; Sun, 06 Dec 2020 12:23:00 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B6HLL3L029906; Sun, 6 Dec 2020 17:22:53 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=9JM564guwsY1XWsAdt2/8zBL0zLpoa1I22xC4aHJ8jA=; b=pibzWe2CpuGHx8qLl5ERG5luugneutIi+6HKGp5QNQybZr5Oq/RJ98HUAv7qqNKCDRH3 we5fZsceVutXmDwYPyi81vzLJTDyifj7c6ssWF6CNb2FlcyBAwsQ7iuIym1MjNMHaC1p 5wEQ7hhu4ciqN9MNLCUjswwwl2Olr3QmtNO/oB+kdnGMXp8cIMNxglAetALRINmFqzv7 8HBDvG6vqdankfw6AKpU/82ZNZgKpUJ5y17wdftQ4bnGjwYvU7q7Rs5DZlotV2FY9unL F9d2gXoXXwSiu260NMwXaGzpIfBULP/B1oaKQzTTgwBOcRc4kkQdy5LO/gQss5B9A4me rw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 3581mqjj8p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 06 Dec 2020 17:22:53 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B6HKPjs040117; Sun, 6 Dec 2020 17:20:52 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 358m3vh6j0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Dec 2020 17:20:52 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0B6HKnRS010144; Sun, 6 Dec 2020 17:20:50 GMT MIME-Version: 1.0 Message-ID: <0bfafd15-9fe9-43f7-882e-de04cf86a910@default> Date: Sun, 6 Dec 2020 09:20:49 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame References: <7d37f10e-380f-41dd-884b-8f41003436d0@default> <87tut1hjhi.fsf@gnus.org> <61945cc3-616e-428b-b298-a4db03580efe@default> <87r1o3dr46.fsf@gnus.org> In-Reply-To: <87r1o3dr46.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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9827 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012060111 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 priorityscore=1501 adultscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 impostorscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012060111 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17736 Cc: 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > I removed the font setting, though,=20 Yes. > and tried to follow your recipe. > And I was unable to, either because I don't understand > the recipe, or because the bugs isn't present in Emacs 28. >=20 > Could you provide a simpler step by step recipe to > demonstrate the bug? Could you say what you don't understand about the recipe? Or could you explain what "I was unable to" amounts to? Can you try with either the release for which the bug was filed or other releases mentioned, which include Emacs 27? There is no release Emacs 28, so I can't help you with that. With Emacs 27.1, simply doing what I said shows the reported behavior immediately, 100% of the time. Here's the complete recipe again, in one place: Command to start Emacs: z:\...\runemacs.exe -Q -l "onetest.el" -f "1on1-emacs" File onetest.el contains this code: (defun 1on1-emacs () (interactive) (setq default-frame-alist (list '(bottom-divider-width . 2) '(minibuffer))) (setq pop-up-frames t) (setq minibuffer-frame-alist (list '(height . 2) '(minibuffer . only)))) (global-set-key [C-S-mouse-1] =09=09(lambda () (interactive) (message "FR: %S" (selected-frame)))) 1. `C-x 5 o' to select frame *scratch*. 2. `C-x 5 2' to duplicate that frame. 3. `C-x b' to have that frame show *Messages*. 4. Resize the two non-minibuffer frames, so you can easily see all 3 frames completely. 5. Select the *scratch* frame (e.g. click mouse-1 there). 6. `C-S-mouse-1' in *scratch*. See message in *Messages* saying that the selected frame is *scratch*. 7. Select *scratch* frame. `C-S-mouse-1' in *Messages*. See message saying that selected frame is *Messages*. 8. Select *scratch* frame. `M-x', then `C-S-mouse-1' in *Messages*. See message: selected frame is *Messages*. `C-g' to cancel `M-x'. 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? If so, we can talk about whether #9 should be expected or is a bug. It's possible that the behavior depends on the platform. I'm using MS Windows (10). It may well handle frame focusing differently from some other platforms. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 08:46:18 2020 Received: (at 17736) by debbugs.gnu.org; 7 Dec 2020 13:46:18 +0000 Received: from localhost ([127.0.0.1]:52901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGqI-0001xe-Fr for submit@debbugs.gnu.org; Mon, 07 Dec 2020 08:46:18 -0500 Received: from quimby.gnus.org ([95.216.78.240]:36998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGqG-0001qb-Ag for 17736@debbugs.gnu.org; Mon, 07 Dec 2020 08:46:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ArvLCoTwR9iMvg9rQxo5QKEwSuVx/GFx71K10kcgAo=; b=hrxKjZ6MyrCzGC4d5l8j0TDtv0 GrgdoUbCqxZfSuivV19PNqIDlYUxrGN+R+EE/jfuG+NtN55INW+5PoowYP64NeALqz+BJiqtE6xVh 45V+aFLzgpXrkAqMYmhaXhjbnycnxSjoa/URD3o9JVe2st/YEKcZvfTiXDumk2gtdgD8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmGq1-0005zZ-7a; Mon, 07 Dec 2020 14:46:09 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame 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> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEWMbVafjHCpsZ9U QTq/wa3f1rnIxrD///8EdFpvAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QMBw0MKxH3A5MAAAG7SURB VDjLlZLLUuswDIblaug6bhjWSQhZuxUP0AnGexZk3WZcv/8jIMlOywl05qCZxLY+6Zd8AQBr7a5b WVvDpvvVWtj9EXT/AXzXj70ffwBf7ArK2PsVgZXb+368A0oO/FPg/XO6TGkeF6AJ8gtJzEtvAkbx HfeaE7JAAeJ5JvYGH8YsoEBDK/DJpxRT1OUIfa4wojNdClphATo5k0PaKIkFaEJoGmLbxDXw3UkA DamIXQFriR0EBFlfwazAPZYtFiBBCggURAESLgvMYJsyUhCky2enWnQDIR/d22utOQ8FDFkopXmb EEyTG1MQ02L1lFK7n1YZbA1/l27JKCUWsBiD2+IYvoNvUaeXe2C4B36RmmU8px9gto8KphAv8XO6 gbPdTQKqAzqwXbiCFiBc0umDtkgI9YuCmUFFZCzxKRoG5KpBNli7J3kJAOT4Iz39w8SAaJ+vlVkF +SJdC0NEzJfHAVgb0eNEgEEm7FTo0MjDY00mJVyGmouAETkGLkS5UiNtsSg6N1sERNjvGo5AgPYp tij6HFABgjtKi+DIGGvRSarshKVQ2pWCLM4Fq9Kh1HaOMHdVGpE9fgHaLgewPOinBQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMC0xMi0wN1QxMzoxMjo0MyswMDowMLCqNRIAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjAtMTItMDdUMTM6MTI6NDMrMDA6MDDB942uAAAAAElFTkSuQmCC X-Now-Playing: Nihiloxica's _Kaloli_: "Busoga" Date: Mon, 07 Dec 2020 14:45:59 +0100 In-Reply-To: <0bfafd15-9fe9-43f7-882e-de04cf86a910@default> (Drew Adams's message of "Sun, 6 Dec 2020 09:20:49 -0800 (PST)") Message-ID: <87blf5k9uw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > 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. > > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17736 Cc: 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > 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? Thanks for the recipe; I now see the behaviour you're describing. > If so, we can talk about whether #9 should be expected or is a bug. 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. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 08:46:28 2020 Received: (at control) by debbugs.gnu.org; 7 Dec 2020 13:46:28 +0000 Received: from localhost ([127.0.0.1]:52910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGqS-00025s-6v for submit@debbugs.gnu.org; Mon, 07 Dec 2020 08:46:28 -0500 Received: from quimby.gnus.org ([95.216.78.240]:37012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGqQ-00020R-Jv for control@debbugs.gnu.org; Mon, 07 Dec 2020 08:46:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vGSGdDC3So7jWIiWL0iFZ/qBpH+1j0TCBcW/rmAm6nI=; b=J1EjceyBxTKkPwPPAPzJ+ruGo1 IM3TgZAkh8sNw1rMLs98hXQ/PlLPzaoig+dwjVAcsiKB2vRZ2U+5kOimaJC3k4EhbTd4KZY8QnmjM 6L8p9D3W89SoN+86KoVvtc7sZ9vH9ME14GXf+nLMetOkZUpOK3+eeHe2vaYnAMOyv7CA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmGqI-0005zj-Qh for control@debbugs.gnu.org; Mon, 07 Dec 2020 14:46:21 +0100 Date: Mon, 07 Dec 2020 14:46:17 +0100 Message-Id: <87a6upk9ue.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17736 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17736 notabug close 17736 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17736 notabug close 17736 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 11:27:41 2020 Received: (at 17736) by debbugs.gnu.org; 7 Dec 2020 16:27:41 +0000 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 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 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== 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 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 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 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 MIME-Version: 1.0 Message-ID: <75675a0c-1026-4ff2-94f5-d1eb2bb53ed4@default> Date: Mon, 7 Dec 2020 08:27:31 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame 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> 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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17736 Cc: 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 12:04:39 2020 Received: (at 17736) by debbugs.gnu.org; 7 Dec 2020 17:04:39 +0000 Received: from localhost ([127.0.0.1]:55322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmJwF-0002Mz-7o for submit@debbugs.gnu.org; Mon, 07 Dec 2020 12:04:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmJwC-0002Ml-Dr for 17736@debbugs.gnu.org; Mon, 07 Dec 2020 12:04:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59502) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmJw7-0003eF-3K; Mon, 07 Dec 2020 12:04:31 -0500 Received: from [176.228.60.248] (port=2779 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmJw6-0005Ao-1b; Mon, 07 Dec 2020 12:04:30 -0500 Date: Mon, 07 Dec 2020 19:04:20 +0200 Message-Id: <83ft4h8s4r.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-Reply-To: <75675a0c-1026-4ff2-94f5-d1eb2bb53ed4@default> (message from Drew Adams on Mon, 7 Dec 2020 08:27:31 -0800 (PST)) Subject: Re: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame 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> <75675a0c-1026-4ff2-94f5-d1eb2bb53ed4@default> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17736 Cc: larsi@gnus.org, 17736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 7 Dec 2020 08:27:31 -0800 (PST) > From: Drew Adams > Cc: 17736@debbugs.gnu.org > > But THEN, if a user selects another frame How did the user select that other frame in your recipe? From unknown Fri Jun 20 07:21:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Jan 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator