GNU bug report logs - #26513
25.2; pop-up-frames and *Completions* buffer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: charles@HIDDEN (Charles A. Roelli); Keywords: patch confirmed; dated Sat, 15 Apr 2017 09:18:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 21 Feb 2022 16:25:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 21 11:25:17 2022
Received: from localhost ([127.0.0.1]:38769 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nMBUy-0006Mi-V1
	for submit <at> debbugs.gnu.org; Mon, 21 Feb 2022 11:25:17 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:33972)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1nMBUw-0006MZ-Ol
 for 26513 <at> debbugs.gnu.org; Mon, 21 Feb 2022 11:25:16 -0500
Received: from pps.filterd (m0246627.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21LDYd8E021762; 
 Mon, 21 Feb 2022 16:25:08 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2021-07-09;
 bh=P5SjncfLSCLY9XrxULwTsSlR7Zkm7eK3HsIFKe7mJsY=;
 b=NhHDkBzK28KthNgRvcN6J+1jVcwNFzN7JEro+Hx2pzCf5d6KzNkwdjy41p2xlkm3Uc2p
 mhAhX5S3tJjh9NfNE5dyX6D0UqTIKXYjPC5qw3zt1lCTTcSoP2Lig7Xmh1nggsfv0rai
 u0TBnjP5pH5uYG7xdnakyk/GELubNXOUTDacZIkkWQ1wER/SIcnTza5+z7fSSsLiBjcE
 kDeZxM4fsw+O+0ps73VgWSRxAPukdqQHAAx1yviJJe3oA5EV22z90YxaOgsQCL7y17XL
 Cy7YxVCjAct08HeVs30GNsfhZ6Ux4zDd7tHtY/pXhmzBDYa7v9oVjcC+gF1swwtTQDwj FA== 
Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71])
 by mx0b-00069f02.pphosted.com with ESMTP id 3eaq52cmbc-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 21 Feb 2022 16:25:08 +0000
Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1])
 by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21LGAmfR044880;
 Mon, 21 Feb 2022 16:25:07 GMT
Received: from nam10-bn7-obe.outbound.protection.outlook.com
 (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100])
 by aserp3030.oracle.com with ESMTP id 3eapkev367-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 21 Feb 2022 16:25:06 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=CF6Uvn9QgpVHnWM74Bo+8zPk+qWSXmer3nMCczCYML/a2KyCSoAacI5QjvO38VnxuePi4mGQJwCG9QQ8vDYmhf/Fb334Oda2zkYMFKZvmOdAm2meDnvPh5bG7h5m2UXj6WthSlSjS4uPCXgGcS7RbvFg4A5PwwuXdphhEIAPk/iqhWpfDBWWRKdRMt9a1ccrZyTeHbKWN+LHiXppjVm99KTVWIz5Vcw1uWfMcJsDHqav9AE/srQZZTCqwXd0/l8b2AUBWdMSKdhuGCUUZEnEU5PBJQ4mi/MVdL9cB/WDTFhsYA0zdqlfFlIStjSw9csvYFDUzKGaCbUguTjc8MMOWQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=P5SjncfLSCLY9XrxULwTsSlR7Zkm7eK3HsIFKe7mJsY=;
 b=AlCsOBk3yIUXJRVgOs+uhnig0Pwc5IUu4yAUBzH2alJkyVDeSEtc3u9V4/Z8YgUxycSZfTDZMjcNC3cfC7Tt1qiz9SJwoPj5HC9RXq+7WkArr7x1MtqEX1mITOHJkcRUjFqLbBfwTsaeBUZa2xGJZjZlcb5UzTyuRZNcbNkbjfDSdzAI959WrzByvHYZG/J6YPbkJXekf65SCE4Pt67tI/58ZrqsFNjMODSJDYPM0m1PzfwPbWRBYEFrvUbQIQa8zH0rvZWE3vzuZ7cDSyfUE9ZZ53rcNQWGo0W2JuwnmUNxXncTW7gtH+/rbd2ek/nZ0GFZbTIWi2O34QxWmjrCrg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=P5SjncfLSCLY9XrxULwTsSlR7Zkm7eK3HsIFKe7mJsY=;
 b=DaeenluiKZKr6qMA8gWbr3Yao5MWiFi/Qp22nXuW5NZ/M6R6rPnevpEvgukiIGeJiR9YksEi9M15Vel8cckkTytOz5NqeCLTjcYdNPqtZz31cXlJOq8SNHeApNawXMMr02CJ8niHstL8gjjn78n0YuE/aQWZbUPfPjqpmEP5PI4=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by DM5PR10MB1882.namprd10.prod.outlook.com (2603:10b6:3:10e::9) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.24; Mon, 21 Feb
 2022 16:25:05 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04%5]) with mapi id 15.20.4995.027; Mon, 21 Feb 2022
 16:25:05 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>, Stefan Monnier
 <monnier@HIDDEN>
Subject: RE: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Topic: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Index: AQHYJXTZFeTRIZT4LEeAnMi7mTuw/KyeM4pw
Date: Mon, 21 Feb 2022 16:25:05 +0000
Message-ID: <SJ0PR10MB5488EAC1AD18CCE1A559C545F33A9@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
 <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
 <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
In-Reply-To: <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cc427db1-f8ca-4d08-3900-08d9f556b7ec
x-ms-traffictypediagnostic: DM5PR10MB1882:EE_
x-microsoft-antispam-prvs: <DM5PR10MB1882271111E0E8C1F469C3B2F33A9@HIDDEN>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aQ63vgcGFxweY40Rb4DFrLvtaL9JXl4i85g0qowDFewz4MKmbxY5sZTdQTOptPJkU1begcQRL0PkmQce5mI7SiwMSWg9w47lSxjsfCiwKeIywHasuUt7RXroV+6jnhgf7TYO0ajxO19O61gDaNaSN8okXxWGWtrnXRi0slvIOrsNl32oMCcKd5iX0/xOm+XyDmNQtj2yZTmNlCUurxXVzTGfZnxT9jAy6NTPW6d8TV9MBRUWl/MyVvfGfIRKeSjtMchvbxvTDvvsPNSMcJ1V5mftfPiff2SUfEeziSz0qSrJaEd5vuPtLxgb88c9cZ9scZWG+ARXAtMPypQtHNK35jyT1YAbMI76X1LM0Xx+iUidSDTOiflE7KfHXHc0UHJA6Ctv5Xgk2LE7JpC+irgax/PmxOaWBiMzYUNXMGjk5gS2Zt7jhsMiJwaSb2hmlz7+Vg+aorhdMrnUAZaw72tK50/dNCeCbxTR5fovpPL7g/dBoJEr6QYIgNcb4r2h5Eqp4yL7n4lPKoQ4GWsHL4nv24c/eoPvNHyRfsbCCV542F+dOY3ZMhzaulN89nneOR37gUJr/VoX/L1ec31KQo6JGkL71TbyVms1vVmtC48XcOikr7zUSMKfuCqxsZrsFVKlUEL7DI8awyQ84LGRllKn3X+2pBn9SFe2nyz+SpaYbMpb5S2xGfhyz6r28PPKmKMJAER+LZDMMiequ3A2wQ9FLg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230001)(366004)(4326008)(38100700002)(38070700005)(83380400001)(558084003)(44832011)(52536014)(5660300002)(55016003)(2906002)(8936002)(33656002)(54906003)(110136005)(6506007)(186003)(26005)(66556008)(66946007)(76116006)(9686003)(7696005)(122000001)(8676002)(66476007)(71200400001)(86362001)(66446008)(64756008)(316002)(508600001);
 DIR:OUT; SFP:1101; 
x-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?a1NKUkhEOEJuZU9aSytCTFJtU2xVdm51eEtSUElwOStrbW8ySVVLMW9BNis5?=
 =?utf-8?B?dWRvcmE0SjVjbVVHeUJRcFhNQ2czS1BrV2tkNUp4L1pYVlZyR1h3R0hXbGNn?=
 =?utf-8?B?eVk3NWVkYUpQZ0FFVmJQV2lTaktpSEIycVBFcnNXUENpNE5VR1pGbjR6Ukpu?=
 =?utf-8?B?aGFlTjVYbTR3WDdUNzVSVkFmU2VIY2QrRGU3VmREdE13NVZ2Sm5XdUlwcExS?=
 =?utf-8?B?dVZQZnZpbnlaaUVQZGlQcElCcGFiUkQrR2RkNVRIVWUrVHY4djd2bDhudG43?=
 =?utf-8?B?MkNlRllzSVdDdEtnUnhNeHAybWFwOGIzQVFpMG1VMXZUTzN1bFlHbGpjT1hy?=
 =?utf-8?B?THViRGxYMXlxZlpRd2t6ZFMxVW5pR1owek44YlZNV1lQcHlqV0lMcThNcE5l?=
 =?utf-8?B?VnVGMGo1bmRuRkFiZE11SHF0OStWblZWRjMwM2hTVndVbjZkM3k5bEkwUFJQ?=
 =?utf-8?B?Umc9PQ==?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cc427db1-f8ca-4d08-3900-08d9f556b7ec
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2022 16:25:05.0558 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: LOM47DC332Cfu+PPZZaqTuQio3b4Cp3ogiTjVuK7CLB4x5trOboS1HZOjj9NvMSW9xfy52eMA8IFdkgEUTmPQA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR10MB1882
X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10265
 signatures=677614
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 suspectscore=0 mlxscore=0
 spamscore=0 mlxlogscore=576 adultscore=0 phishscore=0 malwarescore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000
 definitions=main-2202210096
X-Proofpoint-GUID: iGAbnGRUZkMJcmIX5On02UcFu29AcCMZ
X-Proofpoint-ORIG-GUID: iGAbnGRUZkMJcmIX5On02UcFu29AcCMZ
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 "26513 <at> debbugs.gnu.org" <26513 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Pj4+IEkgaGF2ZSBhIGBkaXNwbGF5LWJ1ZmZlci1hbGlzdGAgZW50cnkgdGhhdCBkb2VzDQo+Pj4g
YWxsIGtpbmRzIG9mIGZ1bm55IHRoaW5ncyBmb3IgKkNvbXBsZXRpb25zKiA7LSkNCj4+IFBsZWFz
ZSBwb3N0IGl0IGhlcmUuDQo+DQo+IFNvcnJ5LCB0b3Agc2VjcmV0Lg0KDQpIb3cgYWJvdXQgZGVj
bGFzc2lmeWluZyBpdCBhbmQgc2hhcmluZyBpdD8NCldoYXQgZG8geW91IGhhdmUgdG8gbG9zZT8g
IEZ1bm55IHRoaW5ncyBjYW4gYmUgZnVuLiAgDQoNCg==




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 20 Feb 2022 21:16:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 16:16:22 2022
Received: from localhost ([127.0.0.1]:33994 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLtZ8-0002gG-4U
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 16:16:22 -0500
Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:62658)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1nLtZ7-0002g9-Aq
 for 26513 <at> debbugs.gnu.org; Sun, 20 Feb 2022 16:16:21 -0500
Received: from pps.filterd (m0246630.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21K9pxBI016401; 
 Sun, 20 Feb 2022 21:16:14 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2021-07-09;
 bh=sMUHnBORAu8f623M+pAIGslH9gCIvH3gsjQEK5b07hM=;
 b=Lp0CLnfm6FniGjupAzyHsjNgI6x9Wgk+MtD7DmAKLrFpOkdyrAaHkVIPgNggtN/RmK0q
 nn2q8jx1VeWVw2I64h5uFro4B9jsCsBgrwlRCk6Hk00OeZSgmrkbWMO83GBuDoLTdiwq
 UAc/BI+T3qA7ahks0ljIUkSktvlQAUGyKHB4fAm1s1o+3KdYwacxmX7ii6uWFnD+NPmZ
 AroCGDKlZeu8vO/H0VlHCqFfPh208KFdXQIPk8BOk8Uxi7EYKiY0G1RukQ3ghuXRdOvs
 CeadVc/XBQIHMPFxdAdQ0EeJdk27lZzVX6pzr+QTognmccTlg5na4C/eI0TRAe8WiSN4 HA== 
Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71])
 by mx0b-00069f02.pphosted.com with ESMTP id 3eapye2hcr-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 20 Feb 2022 21:16:13 +0000
Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1])
 by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21KLApAX187864;
 Sun, 20 Feb 2022 21:16:12 GMT
Received: from nam11-co1-obe.outbound.protection.outlook.com
 (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169])
 by aserp3030.oracle.com with ESMTP id 3eapke07jb-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 20 Feb 2022 21:16:12 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=k2fqeUZ3jx2+oue1ZG7Bq8tc4BtbhAxEuWk57Cvx7Mc/H4+z288J++Kl3jhXFDqPNYok/cyl+IUNII0KDqlobglIOGBjXYwk/A1H4aWUiOUnGep3SIn8MWZdEf8bx5Do5M+FdlIa8MrJvodZyqhjzyPYuiCyk1zgshdvbBI5M9pbM1uZgLYVfbMJhv5ht7eLUmLdQAktnxY0x7l4RcWJfUMYRkWm+R/aVpjSlS0rYH/wf+fSxQdHSJbmTNXpaEB+A7KFYYkaqmUEgoZtEpRCIub6FrOPxnl2SDCbXYOTPRaEPu7NAUT4GdZ9OMO9uV2G72gfUEhvpeQXlDnVFcXVrw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=sMUHnBORAu8f623M+pAIGslH9gCIvH3gsjQEK5b07hM=;
 b=Z1MWxQS9vLc24iokZYdN5VXGYaunB8QGisY/mQuCz/cq3dj9jBkO0HKaqbOgIVkd2SDJXyAq1qf0lUDA4ZZfCR3y3djLLnY01Z1nwLjU8jqhKMkdFIckFrTAvapFUGuA8DV3FqLqTuXiMbnijWsYkf6BC0TY5CQ6OERGFKKqBAQpCTWsw/WaxKx+5FXqqS3CCA8zafmMvFINOSMJ6Ii4AfoRN2NK8KKisfx5TcwzVtPjWUt1g/3sF3WyNpZuHm+wl7uLfnVIkGiu3RMWoYkVLfxfm+cypIbHsSBd7NmSiKpi5efmmFJCC88cwM5btofSJcqu+f6JMkrwC/cRjkGjbw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=sMUHnBORAu8f623M+pAIGslH9gCIvH3gsjQEK5b07hM=;
 b=fSEhYQFM+JYK8S3aiItf9PmNY0jPthjJgbX67AXCPsiAN5TMDXI/nBmnRiKaYENG07TFdH7Z7HGW6xQr8NvuvoGl8qDnzuer4NF70vCrcAS8sNbm0yG3QZr+WKYkq3yYOR67GzRjbDKRnCc8j5nkCYkQbXx9clOExH00PIIKcew=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by MWHPR1001MB2224.namprd10.prod.outlook.com (2603:10b6:301:2e::26)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.22; Sun, 20 Feb
 2022 21:16:10 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04%5]) with mapi id 15.20.4995.027; Sun, 20 Feb 2022
 21:16:10 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>, Stefan Monnier
 <monnier@HIDDEN>
Subject: RE: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Topic: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Index: AQHYJjrFa3+T/sPb9EC1JWFZLV5dq6yc8YWg
Date: Sun, 20 Feb 2022 21:16:10 +0000
Message-ID: <SJ0PR10MB5488530117CF35FB9466D575F3399@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
 <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
 <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
 <SJ0PR10MB5488EB514559FC95252A8E80F3399@HIDDEN>
 <0bd1707e-9f47-2c49-5af0-836119ac4438@HIDDEN>
In-Reply-To: <0bd1707e-9f47-2c49-5af0-836119ac4438@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0cef4857-3bca-4a9d-eded-08d9f4b63782
x-ms-traffictypediagnostic: MWHPR1001MB2224:EE_
x-microsoft-antispam-prvs: <MWHPR1001MB2224C6B336F521AD030A1168F3399@HIDDEN>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: TRSRZKR3qIn4ZAhlCrfrfRhljsVU17WAAprIS2iPVI/X2qjR1/s1MLTz1DdPmmhNZgfjSqHZwa/w9eVXcVLGsXoDwJdQuYWH3rBbw70cqB2ATWh0pg46N0XIQLJLlmAUFpf5OArHsNUyPhzGuYi6L4i6Hb0fZ7LQRTvXR9wJu9bOU7Cy3HkQvth2ystwp6ff8h6L43d8rymihL/c3YV19u4HxtQG6xJos+TAPlQvTZ3zsNDWS89XfYn/uDMUlp8F9TWk9jDbhg2i/geXb3/bU2Wv2EIbAx6960PXbwSt/PrBr+hKZDsAqBLg7HIW9aWYR0bwjF/WssrBj9UccK5AZF0oGem+pT9kBc2NNI3P5Zg4W+G8I+sG6H0H5092OJ7/STZc5AtSSHP1Dtq0A/ilIXayQy91uNYmhBxeyGEBQFqWUlVlDjI9/M8uvodq4wgQeT6ICSWzkbQZOisMuZKaB64EMNbkk3BZ+whWpAdOT+UlaVs7+zf4eRZ9+z1NfYD9wlsfVLoyGEJtSsrHK6xz/sIy48LhJBvyvZFio/1wFvcsc5KZHphzBRzxFRD0xrRbW+G/n172kojNrozxgJnjYo07aDpj0P2njIrsPQixXQKTdE8iwunNGOdD4ZdZIMA1wA3MwTlJFW6I5wHt0zbkhtr6g36GUHmWUu23QYhzaLlBB8sWtNegszyTJsXA4022bmv0vqRgqo5YPwo8f6H7IQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230001)(366004)(4326008)(38070700005)(38100700002)(4744005)(44832011)(52536014)(5660300002)(55016003)(2906002)(8936002)(33656002)(66446008)(54906003)(110136005)(64756008)(8676002)(6506007)(7696005)(186003)(26005)(66946007)(66556008)(76116006)(9686003)(66476007)(122000001)(508600001)(316002)(71200400001)(86362001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VXZRWHlpWk1RYlFBY2lqYXZER0NMS0p2eCtlUFQwYW45ZmFObUxiUkNWWlBl?=
 =?utf-8?B?RzFxTUFTOElIYzVIbEpWdk9rNUZ6NC9GR3B2YlVPMUJYaWpPRG40SWVraWlL?=
 =?utf-8?B?QUNmdjU0QXpuV1JBUTBHODJSckdEM3loeHpLUG0zMWdUVnAwQklIUEhWVXFp?=
 =?utf-8?B?MWNlYnI4c1BSNmxYNFJ4S2IzUE1IaGRBZVFGR1ZFYldoUjMyZndqOVhHaEdC?=
 =?utf-8?B?ZzFiTXFXYjUvVEhTREhDZmw0TWgrUUoxNmtJUllwbjhzQkZQS2hxM2pNbmJh?=
 =?utf-8?B?a1hObzFYVjRBay85VmVCcWs3UXBVYnRTQ0xYVFY3Rjhkd0dUdDZmNnJxYVdX?=
 =?utf-8?B?VnAxWkY1SmxzVStFQzlPTlZ5dys5TzJPUW1XMllXdmZaMVhDVjgxeUVmbmpJ?=
 =?utf-8?B?cDV4L0V3VWZ1QlI1QjliL2lwT1k4eG9vR2s3STdiREo0a21yRDkxTVpTZk4v?=
 =?utf-8?B?c3Vxbi9ia0FpVEdqVVZ2dmlrMWprK2VCbllRU29QVXJnRXc0dUVBalZ6UFEy?=
 =?utf-8?B?aHkzOC9lSVgwK2YxMUU4M3p3TmE1NVF4MHF0ODJvdG0xT0ZlUEd0dVRnQUdt?=
 =?utf-8?B?REZTOWkwaHpBQ0NYMi9FbnRXcG1DZFppeENJVzkwekJqTjZ2R0Y1SHUzaFJ2?=
 =?utf-8?B?YkxsMmMvWVhX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1Z6c00yRlZyOXNwVnhXUnczeDJB?=
 =?utf-8?B?YUIzOTlzb05VeEJNQTQvUzhOTVZqUWJSdnBueTlKVHBlTTdsdmZ1UERnUmRU?=
 =?utf-8?B?QWJUY3BiUnpPYW54L1FKcEdTaVBmazNzK1NwdEQ0T1Qvem02SmtURHpGKzZQ?=
 =?utf-8?B?ZnZnZUx5Rm11RnZvTzc4aEZtWUlhV2tzUVhmQnNrNVZiSTZHdzRkZ0QxMWxX?=
 =?utf-8?B?V2gzdWZHOG52dzA2UW1VMGNsVGNKOFgxdXVSVUV5NkpJODFIQjVlWEdUeEVx?=
 =?utf-8?B?TWVHSm8vcFpXL2lxVERxSEFLS3VqVXluVVA0Z2ZVR1Nna2VYZGhKNmZleTM5?=
 =?utf-8?B?VTdsVnJuQjNYb3U3b241TVZ2VGhnWE5aYjVLZkdSQVBGTEgxU29ZRmhKZStw?=
 =?utf-8?B?clZrM1B2NkxLMEFvLzBqMU5ubC9RWkxPVnRlaXhFRUxIUDFlQ0FUZTVJMzhx?=
 =?utf-8?B?VW1nTGh5Vlg5YTVsaHR2bU5tOHNvZi8vOTNPMk1iS2xSR1ZvWXVPSHlaWkdQ?=
 =?utf-8?B?MGlhbUZEcVJzZURHa1FHdksxNSttQVZVYVFHYlhPYy9XY1JrNWhQNTE0TjdH?=
 =?utf-8?B?MkxkZVdaVmxrNGhVUnVLU2xXSVFKNTFwbkR6Q2QrZlY5MjdpaEF1cmkrYndy?=
 =?utf-8?B?Z0E9PQ==?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0cef4857-3bca-4a9d-eded-08d9f4b63782
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2022 21:16:10.1563 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: UtJetyMOHnzr+mrSGXUTt/w0pd4qYEoOMO/58GKHpLG21Q9Kczihiz/rQ5T+2qKkrpYnZC0/BSr1otjm6hW/mg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1001MB2224
X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10264
 signatures=677614
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 suspectscore=0 mlxscore=0
 spamscore=0 mlxlogscore=720 adultscore=0 phishscore=0 malwarescore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000
 definitions=main-2202200137
X-Proofpoint-ORIG-GUID: 86_BVjjpddomfYqtky3r9XvREmHEefP-
X-Proofpoint-GUID: 86_BVjjpddomfYqtky3r9XvREmHEefP-
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 "26513 <at> debbugs.gnu.org" <26513 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

PiAgPiBXcnQgZnJhbWUgZm9jdXMgcHJvYmxlbXMgc3RlbW1pbmcgZnJvbSBzb21lDQo+ICA+IHdp
bmRvdyBtZ3JzIGZvY3VzaW5nIGEgbmV3IGZyYW1lIGV0Yy46IEkgd29uZGVyDQo+ICA+IHdoZXRo
ZXIgaXQgbWlnaHQgaGVscCAoaW4gdGhlIGNhc2Ugb2YgZGVkaWNhdGVkDQo+ICA+IGZyYW1lcykg
dG8gcHJlLWNyZWF0ZSB0aGUgcmVsZXZhbnQgZnJhbWVzIHN1Y2gNCj4gID4gYXMgKkNvbXBsZXRp
b25zKiwgYW5kIGluc3RlYWQgb2YgZGVsZXRpbmcgdGhlbQ0KPiAgPiBhbmQgcmUtY3JlYXRpbmcg
dGhlbSwgbWFrZSB0aGVtIGludmlzaWJsZSBhbmQNCj4gID4gc2hvdyB0aGVtIGFnYWluLg0KPiAN
Cj4gSXQgbWlnaHQgYmUgd29ydGggcHVyc3Vpbmcgc3VjaCBhbiBhcHByb2FjaC4gIFByb3ZpZGVk
IHdlIGNhbiBjb252aW5jZSBhDQo+IHN1ZmZpY2llbnRseSBsYXJnZSBudW1iZXIgb2YgV01zIHRv
IG5vdCBhdXRvLWZvY3VzIGEgZnJhbWUgd2hlbiBtYWtpbmcNCj4gaXQgdmlzaWJsZS4NCg0KOy0p
DQoNCihJIGRpZG4ndCByZWFsaXplIHRoYXQgdGhleSBkbyB0aGF0LikNCg==




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 20 Feb 2022 09:18:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 04:18:10 2022
Received: from localhost ([127.0.0.1]:59358 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLiM5-0006bl-W5
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 04:18:10 -0500
Received: from mout.gmx.net ([212.227.17.21]:45011)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1nLiM4-0006ba-Ub
 for 26513 <at> debbugs.gnu.org; Sun, 20 Feb 2022 04:18:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1645348675;
 bh=I4JwbQEI8GyIN+RlfmiujKwovdRcc2i1I5/zryWBy4I=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To;
 b=YU5IUB9W5psDbKB6i8NVpLHa/t2Coxr01Jj68n98QRTGOeTBLDpoeQxSTMiTN/h7x
 qOgXyOsmZI0WH6tT1nXOy87U+Wr2KTLgoAahZvKFkTT03aqLFuYnyehFQ8hLVlHTji
 x44hFAZM6JgopO4eRKD31a5EL3qqPu1VC1i35RCQ=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([213.142.96.4]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTiTt-1npnGo23h7-00TzYP; Sun, 20
 Feb 2022 10:17:55 +0100
Message-ID: <0bd1707e-9f47-2c49-5af0-836119ac4438@HIDDEN>
Date: Sun, 20 Feb 2022 10:17:54 +0100
MIME-Version: 1.0
Subject: Re: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Content-Language: en-US
To: Drew Adams <drew.adams@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
 <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
 <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
 <SJ0PR10MB5488EB514559FC95252A8E80F3399@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <SJ0PR10MB5488EB514559FC95252A8E80F3399@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:DlbkAog7z27xqc6bBoqNMfHUWaik4nGo3Rh2YGSaEb8kjcEPVW6
 pi1WsdZoyDlSkp+LR6AXlk28cbffjqxRPDeGKzdP/oBCW/BXqWVBD+5Bc2jfFgJBURZZFsp
 PEYILkXKClbJt6pRB9mcfPvzFGevHDqWfd1FEMe4sqhNKISftwkHVNfPsSZ0qvpCJ6PLpKE
 blXSi0xM2q533epft+rrA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:ofpzgClc7Dk=:SXoCWoM2uRk+XDpf7X29BD
 I86418oXahwx91ZOKvz94WeaGtAR6gZ6EbPEZD8vGUdSI2d8l3ju77uV/sFtPGur5BbkQSCfh
 yxirgqNEw4ztkmaVvTVlhs8fMCpYbfKT6EjoOxksLusILb6zTwi/QzRpWUYJsM4ktBCwdDh9u
 xvR5thghHmjOMGbaW36kWjLTCA2mhJwkJQy/ikK86dTeDaHsjJFBUruWcZyfk71/p8yTVtSbn
 7eAha+r1Pixa2wwDprhqNGm11EsxD5hrDLqD9TTZ3xhW1/R5/jqxh/9+p3Zu5HLmPIbPDhhSV
 2nub817GO7ZxYYHB2JE9LiVeZb7c8uko6TzJCT95e9N43yHbzB8XK6WI6nTaPx9sw6o9PFnTb
 8AzrTLf3lUq4yMxrPwTWqB5bSsRexCWlRiNRGFnX/h0uY3DHWmISZ2W0qQ/IZ/XZ5r+jctQGM
 Y6cVG93GOGSUaL+qEUOuTs7liJSkSBZMY5WCMugWQIuP0vh7qJ5PEuiKqWcq7DSIZTv9Bs3Lw
 iEuPCwvP0LjP425yvfNMtCvMX3riy81e7ibofG+NqOHeGCjgsrGnKyhSW+EsqCEEgWtXKu4EB
 dCbtHL9yvoao1VtuFFSB7wmxEzNuHPGxEkzBp+X/xctaRmU0nF0oe5qpzlUn9xkPTQi9kk7I+
 vwkuAMBOJB5uoS5xR99YcanQQ5NxJoFSmSmSV3SFL5kU/ElMI9E2Om6v8//hOE/QKQ2LrUjZB
 rN70iicgzdoNGrx1vSezKVg3BCL49umQPzQttq2Tsk/bRZraJ9wGFpTYZ7TWhA67xy26PbWg+
 CweyetnRIHQWIdWDSXL/iwi9Egs+toKdJPldBwWXHFR/Ue8w4BRWMBkHbmkds5IBa+ny1aB9f
 t04Po36PU54KF5GgCMrRlBfpAf/md61iRJ9hdD7OkeE8pZGsYBRpNOxXRZjbFWopAyQDiJnkU
 mBfScwFH+mx2/tFfHA63iKFqbaS6Y89snQGDLFsirmMMchErrQ6JIpiAM7zWW8ftzLO5w1o6x
 LZFJyxzAnaI8XWDlpOo1HuDLEKTf1/EL2fzzJipRMuFkFP33RuVOWuLhB4vhisHelUieR3+xU
 Dt8hBuertuIBnE=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 "26513 <at> debbugs.gnu.org" <26513 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > Wrt frame focus problems stemming from some
 > window mgrs focusing a new frame etc.: I wonder
 > whether it might help (in the case of dedicated
 > frames) to pre-create the relevant frames such
 > as *Completions*, and instead of deleting them
 > and re-creating them, make them invisible and
 > show them again.

It might be worth pursuing such an approach.  Provided we can convince a
sufficiently large number of WMs to not auto-focus a frame when making
it visible.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 20 Feb 2022 00:29:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 19 19:29:11 2022
Received: from localhost ([127.0.0.1]:58954 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLa6B-0005MI-9k
	for submit <at> debbugs.gnu.org; Sat, 19 Feb 2022 19:29:11 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:19690)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1nLa67-0005M9-T2
 for 26513 <at> debbugs.gnu.org; Sat, 19 Feb 2022 19:29:09 -0500
Received: from pps.filterd (m0246627.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21JKNBa9007169; 
 Sun, 20 Feb 2022 00:29:01 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2021-07-09;
 bh=Hmmqw29WTNsAAGuW+7QMpc8e/+ll9BfvX7KUp09dOiE=;
 b=YIUMvSVP13zjMK/d+utJr3Ck+6hpSASrDV8X/pyQ/Tr1WC9qBsGNbkiKSQQrcO+tEGUx
 yI07q8vuC8Dr7nSUpkr2PqSw/vQta+dPQPFM30wLNNm5w9M/efFQyAgoYB+TrIjcSqjU
 qE+IY/VWTENDb1mQCMCmxLw/bL6hr4SkbNypljCzOTFl887LX5mKLtQpSorCt2DZ28qZ
 z4YWuH70Tkp2PacgwPLP4WUV9kmck7ne7mo/kc5uaUNqcFtoVh7Gz5wqqQ0Er1uwP8PL
 IcZ79zgK7+H7KUVoBfW8nQs0Lq373vVYdISU+J6oFJi228YvsVfUMrylmjczlS76Axg8 kw== 
Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71])
 by mx0b-00069f02.pphosted.com with ESMTP id 3eaq52976s-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 20 Feb 2022 00:29:00 +0000
Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1])
 by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21K0BDMH102454;
 Sun, 20 Feb 2022 00:28:59 GMT
Received: from nam12-bn8-obe.outbound.protection.outlook.com
 (mail-bn8nam12lp2177.outbound.protection.outlook.com [104.47.55.177])
 by aserp3030.oracle.com with ESMTP id 3eapkd54ye-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 20 Feb 2022 00:28:59 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Gcj4WrPLDHZazkowYyBYW/wJO03SoYytAQIStMT/Nslhj32vjbo/Vp7aM2SRJWe1Y9wdW3L4ciTv9WrVM9EJOnasGSA+ZQZDSy3cC5JuDgfRXRzPc+fMSMcVJPw7X4LE1xEVuOmW5eHw7AOGgOcHASiJjR0AFcg2/I0TdiTxL0GKEoOxN4kJUBTDqEUzN5zf31BZDGqYuo05ThcXN/fovdXBY+KjDl60IY6RiMJ6iaDy9D3RN7WXvLoGmBnN0FuQ++ceI2qr2hAUd0A3L5RM7xgxIBd9mqfF8D2hghgd8eCjlA9RWk6ED882zgx7eIvwGrXZzPkEh5ldVz8G4Xizkw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=Hmmqw29WTNsAAGuW+7QMpc8e/+ll9BfvX7KUp09dOiE=;
 b=ZLWx9zt/H+4sUpe4300r7UM4Qbur21ELHYZPS0aIEPvUZrwWOMZSYEJNfggkgcMToiFS//HYoHWgu6dioAWibzALp5y4LxuGHVUBHnNFzwR8Am3tDPtbq4MvG07QWAtdL1Txi2CrLaqpAkRCoFDA1GmNXFy2XVWNlHcA4cRD6JY4sDSIVGDXEsP2SUt/K5DYddIPgex8uUDyH3VmtHGpEefcnjg39r4IEinX92xqpQ7gLs7MOJP4/U4xElj03Q1Et/8lbuTLjfH8uJDQDhoH0OtGPsBBOkwVFjBMVQ3ojVQL3Y2XI5bOm/SBwjOkKHPP4XWcIZlrp2aYhwt9Z1CD/A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Hmmqw29WTNsAAGuW+7QMpc8e/+ll9BfvX7KUp09dOiE=;
 b=QafDhKBNP/jsNlsgAPSLLTJg/WTEAQH8XOUavhxdC8rX1yRtgY36TE36uNZXFMmyYqh7CSpqZI/baonsfyw+0wuksR60+/L/4bSgYpjYXYSJrq2t3HldcK3EVbnvrgrsa5j2ktvm65GcVCgb2BP/ATekyABaFWXF+sCrXHK7FKM=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by MWHPR1001MB2272.namprd10.prod.outlook.com (2603:10b6:301:2c::28)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11; Sun, 20 Feb
 2022 00:28:57 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04%5]) with mapi id 15.20.4995.026; Sun, 20 Feb 2022
 00:28:57 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>, Stefan Monnier
 <monnier@HIDDEN>
Subject: RE: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Topic: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Index: AQHYJXTZFeTRIZT4LEeAnMi7mTuw/KybjTsw
Date: Sun, 20 Feb 2022 00:28:57 +0000
Message-ID: <SJ0PR10MB5488EB514559FC95252A8E80F3399@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
 <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
 <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
In-Reply-To: <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2692a99c-9495-4839-adf3-08d9f407fb83
x-ms-traffictypediagnostic: MWHPR1001MB2272:EE_
x-microsoft-antispam-prvs: <MWHPR1001MB2272FFBDF62F2FE3CA0F7D3CF3399@HIDDEN>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 02YyI7iBwUsLK1FWE/UUJsUgOkC+jC5E0mIHa3+dBNNhuqJdHvKreCbKShaOMcrl7qLOIB31l++0GeMA+eJkrbUR3uTlplQ4jkURbsWoQMxgtSsW4+XLeBmYXiIW7bzvc/4uUJaZLP0fAspOlEsegKiZ9wMtTCZrIC4Rl3l2iSL++bXv8x37WiTP4O+Hq/atxNliaV3zDL8JlTfjSCzno3FQn0/RqIt6k+MpqcyiK165JKA3VTQRTpUPbbsBPrs4XS5hb3LAbtJ3363WmilDCYg8ThQ0VwPmfBzknxv8TNBmhNkEVTfYr7UGtstCH84xVu5JYxlvuzxlei+Wh9zyRvbzG2qiRsRKofeaY0li+clPX5s9LIsvCJu5SRoq/uIU7Jov/WpFy20CtGGMWw/3LGl7CclnK5Ga/oMp0io/qkP7YG+WZCaN8uVCTNo0hfVi+a0RNDRRuuNwlBunrmm2UW9d1IXBgcDBd6/gT3BPl45p8n7Tw5ZcfFVFvOEfxGDhykOQx95PLK0iGWjPR0rkLU3zg7i88ZvNniwaME4dp3u4nSmXy7KOTPIzEe1WxQC/NVn/nBa0T1MzFqGDZ/NimqbYGXqNWifkd6V+hI1H1tyTrVICZVkqVijzUI51WN8MSF9Ur+utFgfcJNnopHkmLnQfIBgjAn8cPfyw0UUGPgKcGdhqJW+qvyeSqlaYdTj8WtPXKrDiCFRwIddjv1+VJyex/1CHivVKFucw1hvZns9zhIxLYSTkPsT+Thyu3QPauQk7rdVEXM0UogZzMZzNqtSXnxvtHQC7HZq2a+Ct9BE=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230001)(366004)(64756008)(2906002)(86362001)(54906003)(8676002)(55016003)(110136005)(83380400001)(122000001)(66476007)(66556008)(76116006)(71200400001)(7696005)(4326008)(5660300002)(66446008)(316002)(38070700005)(26005)(33656002)(6506007)(66946007)(186003)(38100700002)(508600001)(52536014)(966005)(44832011)(9686003)(8936002);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dHA3QkNCeElRQkVmSzNFZGNNUmhhMlJsMmhFMHBNYk9iWDArMTdrWkpxaXR2?=
 =?utf-8?B?cmJ0aVJnUSt4ZFpObzd4T0ttNyttSzgrU0dHWHZHNXZBTkgySGdTUWR2dkI1?=
 =?utf-8?B?V1lpVVhORFhXME9Fd00wcnZ1eTNZaE4yOXVhTXB5YktvWEtXa3dOZWlxT2Z3?=
 =?utf-8?B?WDJvL1RKalNrT1NUNVhJdHIrUTRIUkJrN2JldmlGRWM5b3lwY2c0VWpWNEdk?=
 =?utf-8?B?TUs0NUVEQytPT0taMnZqN09vOEU0SVRFWW8xd3ZsVFZNTlhyNnVFNW1MNFhG?=
 =?utf-8?B?VWR1WkRzemViME94Zy9CTEhFemk1UlRuOVE3UzErbXhVVDRMK3lMdTAySEdE?=
 =?utf-8?B?YW5YcnFPSEQ5ZjF4cDBoRTE4ZjllODBNR25OempoZFJCaTFjTVNDUVFWVHJa?=
 =?utf-8?B?cHU2Zk5raUc4UzZxeW1Pa0NISlZiNXZXNjhrV0FSYmlNRi9zTDVQQUZ0dXVR?=
 =?utf-8?B?NExRQTUyc3R3REc2RldGSTdkK2RyMWpaREhyZkI3SHFKcGRDTVQ2NWhZc3Nl?=
 =?utf-8?B?bE5rQk5tYUluSHR2M2MxM1ZvbjlBRDBRZklMOVFQR1NxUHNLbzNua0VWdDJL?=
 =?utf-8?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DdiWmE4bVJWaHRveWdhQkVxd1BY?=
 =?utf-8?B?KzVHa08vN3RlQkQrU1p1RExsN3lCbGpUNnpERWUyK1kvUGlVcC9ld3Jwc3dj?=
 =?utf-8?B?cDl2SzlsRkJNMmVxc2E3VjgxQ1FZZzZsdEJqMSs2dWZTQ1BvVU9BRUUzdHpJ?=
 =?utf-8?B?Q1YwcHVzRDhrU1hFREwrNWxYQzBnV3FFVTdHcTh6Z0hlbkMrWEROUDB2RlV0?=
 =?utf-8?B?MWZ0ZGEvZzk5anVQZ0hDNnpwS0VqcTlWUjJnVnpMMWhUUjBzSk8xNkpYMlc2?=
 =?utf-8?B?SWgvamIybVZTZWhHOEVwVWFJTVNTNzRPWUtJZmVTaXdzMEJFbGg4Nk45ejBP?=
 =?utf-8?B?VDFZMm1KeEh1eDNLcWVRbmRYRmt3Vy9hUnRLYk9DeFlQbEdiWUZIOWd2SjVz?=
 =?utf-8?B?TG92YVl6dHdITGFSaTIxN1FzR3ZMM0FLUDFjTHJxMFNrRmVhcVB0NVh3SE4r?=
 =?utf-8?B?NVh2dGppYk10eFNxYXdnZ0NuTkxhRzNPb01DVjdRT2crRC9OVkljUlk1SGo0?=
 =?utf-8?B?cmdiczl3NmEwWElQNGxidW02OWlsQWlGeTdzYWJvUnZSalY2aHprQVhOelJt?=
 =?utf-8?B?c1ZWSWJYdkZ3a0xaZm92N1lHSGlLYXhwei94bmdvcXQ3bmhzTVlhYnFDUFR6?=
 =?utf-8?B?b0ExRHltQk9pOWx1amtGbFhoWFBXQkcwdEt6YjVBWDlmcUVGYjFLWUdQM3Ew?=
 =?utf-8?B?cUE9PQ==?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2692a99c-9495-4839-adf3-08d9f407fb83
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2022 00:28:57.0670 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: VgMxnvNC8SaJU1GVhd3INneZM5LvG3ufmXfP80N/6twpJ2OznzIGjk3BkllTpHkH3vn6qu4jBgbK35k2spCpRQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1001MB2272
X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10263
 signatures=677614
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 suspectscore=0 mlxscore=0
 spamscore=0 mlxlogscore=999 adultscore=0 phishscore=0 malwarescore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000
 definitions=main-2202200000
X-Proofpoint-GUID: cC-GlqP4GrC9gi-gAHdDDgnwf4guectJ
X-Proofpoint-ORIG-GUID: cC-GlqP4GrC9gi-gAHdDDgnwf4guectJ
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 "26513 <at> debbugs.gnu.org" <26513 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

PiBJbiBlaXRoZXIgY2FzZQ0KPiAgPj4+IEkgaGF2ZSBhIGBkaXNwbGF5LWJ1ZmZlci1hbGlzdGAg
ZW50cnkgdGhhdCBkb2VzIGFsbCBraW5kcyBvZiBmdW5ueQ0KPiAgPj4+IHRoaW5ncyBmb3IgKkNv
bXBsZXRpb25zKiA7LSkNCj4gID4+IFBsZWFzZSBwb3N0IGl0IGhlcmUuDQo+ICA+DQo+ICA+IFNv
cnJ5LCB0b3Agc2VjcmV0Lg0KPiANCj4gTWF5YmUgd2UgcmVhbGx5IHNob3VsZCByZWNvbW1lbmQg
RHJldydzIHBhY2thZ2UgZm9yIHBlb3BsZSBzZXR0aW5nDQo+ICdwb3AtdXAtZnJhbWVzJyB0byB0
IHRoZW4uICBPciBkb2VzIGFueW9uZSBlbHNlIHB1dCAqQ29tcGxldGlvbnMqIGludG8gYQ0KPiBz
ZXBhcmF0ZSBmcmFtZT8NCg0KdGw7ZHI6IE5vLCBwbGVhc2UgZG9uJ3QuDQpfX18NCg0KTm8sIEkg
ZG9uJ3QgcmVjb21tZW5kIHRoYXQuICBJIHRyeSB0byBrZWVwIGl0IHdvcmtpbmcNCmFjcm9zcyBF
bWFjcyByZWxlYXNlcywgYnV0IGl0J3Mgbm90IHRvIGJlIGRlcGVuZGVkIG9uLg0KDQpJbiBhZGRp
dGlvbiwgZm9yIHJlYWwgcmVhc29uYWJsZSBiZWhhdmlvciB3cnQgZnJhbWUNCmZvY3VzaW5nIGV0
Yy4gSSBmaW5kIHVzaW5nIEljaWNsZXMgd2l0aCBpdCB0byBiZQ0KYWxtb3N0IGEgbmVjZXNzaXR5
Lg0KDQpJIG1lbnRpb25lZCBpdCB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Yy46IEkgd29uZGVyDQp3aGV0aGVyIGl0IG1pZ2h0IGhlbHAgKGluIHRoZSBjYXNlIG9m
IGRlZGljYXRlZA0KZnJhbWVzKSB0byBwcmUtY3JlYXRlIHRoZSByZWxldmFudCBmcmFtZXMgc3Vj
aA0KYXMgKkNvbXBsZXRpb25zKiwgYW5kIGluc3RlYWQgb2YgZGVsZXRpbmcgdGhlbQ0KYW5kIHJl
LWNyZWF0aW5nIHRoZW0sIG1ha2UgdGhlbSBpbnZpc2libGUgYW5kDQpzaG93IHRoZW0gYWdhaW4u
DQoNCkR1bm5vLiAgSSBkb24ndCByZWNhbGwgd2hldGhlciBJIGV2ZXIgdHJpZWQNCnN1Y2ggYW4g
YXBwcm9hY2guICBBbmQgbWF5YmUgd2UnZCBydW4gaW50bw0KcHJvYmxlbXMgZnJvbSBkaWZmZXJl
bnQgd2luZG93IG1ncnMgaGFuZGxpbmcNCnZpc2liaWxpdHkgb2YgZnJhbWVzIGluIGRpZmZlcmVu
dCAob2RkKSB3YXlzLg0KKFNlZSBwcm9ibGVtICMxLCBhYm92ZS4pDQo=




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 20 Feb 2022 00:25:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 19 19:25:22 2022
Received: from localhost ([127.0.0.1]:58949 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLa2T-0005Gq-Lx
	for submit <at> debbugs.gnu.org; Sat, 19 Feb 2022 19:25:21 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:61626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1nLa2P-0005Gf-Uv
 for 26513 <at> debbugs.gnu.org; Sat, 19 Feb 2022 19:25:20 -0500
Received: from pps.filterd (m0246617.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21JNgJ6s007199; 
 Sun, 20 Feb 2022 00:25:10 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2021-07-09;
 bh=Qv/HgV+HyXFLpCZMQISd2flbbzo9tZugwJH+pt+dzOc=;
 b=R9NG8sH8JEuilwO+GUOPF14+uQBWJf6v/Zm9OUDSVymoUDup4nEAat84ZN6M514EPITV
 xh3DI/DKH4xT65lhoVoepWuqkOGSjoVn5wb9d46O1UPBScMfWiYSN/XSpH0Mr7RtCdu/
 onj/+Szsqu3bEQlJoglOBmtJe16Rdez0ieFnhei35bLigyfUGyNOo3kT0khWiNO2X7St
 AbDwRm4erRGFTwjPLzzyuzgzOm7oDAWk0Bde4dA03+2FX3RIDvsmZVhfL88DTGuGJ6bj
 2kOE9DH02Dv4QcSyTN4caW2cuSvIcI9xh/JK+vtNPAndmQyAyeqE6nopeA4sqQ9lis9B dA== 
Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79])
 by mx0b-00069f02.pphosted.com with ESMTP id 3eas3v12pu-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 20 Feb 2022 00:25:09 +0000
Received: from pps.filterd (userp3020.oracle.com [127.0.0.1])
 by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21K0BPnM108247;
 Sun, 20 Feb 2022 00:25:08 GMT
Received: from nam10-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam10lp2103.outbound.protection.outlook.com [104.47.58.103])
 by userp3020.oracle.com with ESMTP id 3eat0hv5c8-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 20 Feb 2022 00:25:08 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=frPFURXUnbNTl+4rY/9mX+M/GFlXrU4xqwz/IDDqKEfn1hSXrsvv/tcwXB3sTcyzV+IEX1e/uHH9AM3AInA/5mjSVqoZWIraSFb5mfRgq34w9FKLFenX66bnmHG0PoBYZQWmX9w07PltXgEsr34S3XVZ9qJG3NppsHVnBlvyVq24ySF0pC2LQjaqtTWdSZk3NDiNPFBu2KXbASBDKb7H50gPkrnUc6Z+Tdpjytf9v0dNBNDWCCb7P0YyCU72+PNpskfQjMghAyYWMrkZVm4XI7td9KZH2MYMuha25klij3MVn0kGRUyoNLHCyKD6K2qQDoftto3gMi/3rRh7txqEsw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=Qv/HgV+HyXFLpCZMQISd2flbbzo9tZugwJH+pt+dzOc=;
 b=DLaKLfyBx3ZpUhQ2Ji0OB0bWCbfljnIvjkkNYsGSY+wbXatLlApowV+eb6U6rP5t2XZOFdLsZ/LpPHsLQxqccsyy0oboa1qa8WKZozTAooFNc5LHUmjJjD5yIycJaCluZz/+qV+iUfm7qen5UF7mrMfuAz+g1zAxEvJcgnTc0xzj+pdkjh7UVD/RQDU/ZmmSL+CCDHDXmOABBJobOlC/J1zEEAiEJJF8Jcvn73nj5XHS++SFURv+ziiX6Z+KOqXJd81+2MluP/rC5AmjhmJ9qMwQ0Pazg+bYg9My9nZC/LfG8KYlgWhHSzam0OVmkxyde5XatXGfGyjVB3pQvQCs4A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Qv/HgV+HyXFLpCZMQISd2flbbzo9tZugwJH+pt+dzOc=;
 b=a32laJLFzfmnIWZHsq7gDfS0rZ+h2HtIdmwkdKqjwMMYExiQKppnMhWpoGJSs/+L6d3PyWFfzhrvRNuyWjTYlFJ/8Mmqr89ieAqjssl+r40+ePm0l9MR7RGnEX+Mr8C1371l4QVf086PpBmHPN/OaelNLIGbQu94ktOCTZXPW1E=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by DM6PR10MB4361.namprd10.prod.outlook.com (2603:10b6:5:211::13) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.24; Sun, 20 Feb
 2022 00:25:06 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04%5]) with mapi id 15.20.4995.026; Sun, 20 Feb 2022
 00:25:06 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, martin rudalics <rudalics@HIDDEN>
Subject: RE: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Topic: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Index: AQHYJfBOFeTRIZT4LEeAnMi7mTuw/A==
Date: Sun, 20 Feb 2022 00:25:06 +0000
Message-ID: <SJ0PR10MB54886FF0AB869430AC399419F3399@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
 <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
 <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN> <83bkz3yrho.fsf@HIDDEN>
In-Reply-To: <83bkz3yrho.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2e5bbe4b-bbb9-437a-41bc-08d9f4077211
x-ms-traffictypediagnostic: DM6PR10MB4361:EE_
x-microsoft-antispam-prvs: <DM6PR10MB43618A30A58A0B56015B81EFF3399@HIDDEN>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: AHRwJ9pvPF1ev9z+GX+oXB0LcSsYeEFYz8WcA8Ofe49KGJmLlS5A0fB4teVOOlKh2RXUUcKq8cmD//BIfUZtLlZxLNjlPT3aBpjkXrGioBJwDZGT6X89r8KeInLR0jgDJcFvaw7KsOC532vSqzoj6ADtNSQUfyBx8d9NU56G40DEgEbRajBJ3okjL13WxVgzh4N5mjnIT0mnHHiINyXATXRaxE66dHnjpvGbehEy0T+tCcTg8vGKsJRDUwPU3PmxCJr8U2B79tlY/92icfJtjFrtKKG44BfOHJGdF4LUSHPu19nASC3wGh18W6zpsN291EeOhaf4U/mxvpqSW1+SGlg1801kAG48xbL5ow7K/uxgMzDPb1q7PeLGqOwcZl5So9Wvazi9uZt3TQeIVYXuzeLhTI4Gu3uMd66dugOL88hXicLiCd9W6UDMzVvnabt50cVEaJAyyk4DFTBkiDJxYtVhoNmN0b5dD5rzREWKGcKOlkRFkPBVP92SeKhzDpbySpWHRDOxe+XfuiDcYOl0kUZbxqF97TchxYKfdHpTHn2/uvNIFRyBUULAIndNKhMt/sDktgxodULF5BgZAvIsGwYEDLtTO+AeurjQp7CyJnU33anYDKxSgoY58CGt7/w8I5r00jqro2WJmYM1pulSIFfCDFj75KjsLiPWwVL42KMQe478DEjQzYrNMCSxq722OfDPBAfuLxqTnpfFh6PpSQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230001)(366004)(38070700005)(186003)(26005)(55016003)(54906003)(508600001)(38100700002)(122000001)(316002)(110136005)(4326008)(9686003)(66556008)(66446008)(64756008)(5660300002)(33656002)(66946007)(2906002)(76116006)(8676002)(44832011)(7696005)(6506007)(86362001)(52536014)(8936002)(71200400001)(66476007);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?DNOwGIgDvN/9ELwF8IGxa6/XYizm4mSj2kdiCPDV7Gn/iKn97ckg5NYkmvuS?=
 =?us-ascii?Q?XfsS7ImzdripZ2IRQ3wkLgAC7ZZwWolqfdlM6moJray4RBVNsHjFPK3s3o1v?=
 =?us-ascii?Q?+BrupZM8lt9GElzj+uY9VH4UBt15jcYfJb/w3VN1HpSZYHvRTeNPgJb9/AtV?=
 =?us-ascii?Q?52SP7C0L6YnLfgZ4qPUqOmqGZbY1o2DjoxY+87yBlHdSRQbPhsKrN5L2se4q?=
 =?us-ascii?Q?+qrYSVIbXI+mjHFHSTFok33MDHtRfzgWV8aK8CkDvF0AbCKNJnXI6eZJG3+1?=
 =?us-ascii?Q?mGI+JnHrW33Q9McXl+t2ZR4Nj1VNi3OVKUNfhWmsx+W580J44EzGP3cJ5Sd3?=
 =?us-ascii?Q?r79l5SXeRAop8saoivGf1By3Y70vDcbWABs8vu/rz2jeueEd70ZFeWiHqc2o?=
 =?us-ascii?Q?Q7m3QBYsIGTO+/Y0Pd5kFR7C/wTOfyMo7I9i46uX3C1ESvi0bn4r+rDTIF9N?=
 =?us-ascii?Q?jQ98hl8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r3kpICxrXABcAsfpBRke0j2aSzv6J3/4S?=
 =?us-ascii?Q?U0SAIiogBz3heSSV6ecIzzkXTZ1W3+yPnwABzfEVqz80o2oAl72VgG5JwoUT?=
 =?us-ascii?Q?mEjy+t3lwZtkLphdhKcjr08X8riopp2PKa89NrZXW0rYANggr80hhWdruvUW?=
 =?us-ascii?Q?zxwbiC4BihOJrFEZZnPdg2TKX1WKoh706ewnW9sABytPJdMZKeu4wvcBdDpA?=
 =?us-ascii?Q?YO46qKRGlII8uFTjpRpcEVrTpSI+BliZ7yj3zFugfb95UWb6wflMpuJ2V5uM?=
 =?us-ascii?Q?RA=3D=3D?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2e5bbe4b-bbb9-437a-41bc-08d9f4077211
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2022 00:25:06.4224 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: dneFRDi5i0pszQmek2N8+V08kcwfkmdCdOIRRY1Zo29u+zcDUxaF3YWWZLFY4IcdVMzemT9KmHs3wLjIkL+Amw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4361
X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10263
 signatures=677614
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
 bulkscore=0 spamscore=0
 mlxscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000
 definitions=main-2202200000
X-Proofpoint-GUID: deyBoZUsZd_yo_thCZ_jwJ4MKZJJu8kd
X-Proofpoint-ORIG-GUID: deyBoZUsZd_yo_thCZ_jwJ4MKZJJu8kd
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: "larsi@HIDDEN" <larsi@HIDDEN>, "charles@HIDDEN" <charles@HIDDEN>,
 "monnier@HIDDEN" <monnier@HIDDEN>,
 "26513 <at> debbugs.gnu.org" <26513 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> > In either case
> >  >>> I have a `display-buffer-alist` entry that does all kinds of funny
> >  >>> things for *Completions* ;-)
> >  >> Please post it here.
> >  >
> >  > Sorry, top secret.
> >
> > Maybe we really should recommend Drew's package for people setting
> > 'pop-up-frames' to t then.
>=20
> Didn't Drew say at some point that breaks Emacs 27 and later?

1. I don't recommend generally recommending to
   use my code for this.  See my reply to Martin.

2. What I said wrt Emacs 27+ is that Emacs 27+
   breaks use of my setup (not the other way
   around).  In particular, although I manage
   which frame gets the focus, that control
   apparently gets overridden by something in
   Emacs 27+.

   (I think Stefan mentioned something similar,
   but he said it started with Emacs 26 (?), and
   I too have some problems that were introduced
   in Emacs 26.)

   Icicles allows use of a minibuffer along with
   with changing selected window and focused
   frame during minibuffer input (including with
   recursive minibuffers).  E.g., you can switch
   among windows and do things there while the
   minibuffer waits for input.  This requires
   control by the particular commands involved
   (commands that read from the minibuffer but
   also commands bound to minibuffer keys that
   result in interactions in other windows).






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 19 Feb 2022 12:23:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 19 07:23:59 2022
Received: from localhost ([127.0.0.1]:57024 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLOmN-0005CX-Kw
	for submit <at> debbugs.gnu.org; Sat, 19 Feb 2022 07:23:59 -0500
Received: from eggs.gnu.org ([209.51.188.92]:36740)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nLOmL-0005CL-ID
 for 26513 <at> debbugs.gnu.org; Sat, 19 Feb 2022 07:23:58 -0500
Received: from [2001:470:142:3::e] (port=57186 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nLOmE-0001vt-PJ; Sat, 19 Feb 2022 07:23:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=p98c199ZVBE6OgKrUWz+LlpoHu7Z4JJpd2WkRTNmnjs=; b=UndNiKydv3jW
 QGeZggUA20WfCCKSeRWht6T3fDaCwO/Q4dsGRO8dniHwPJLk+vaITjaaQV9CMqYiQxdybIxvduAwY
 7KQGN/XdzYapDL+2gs8OS2QElmPaQylQKGwgNyGlsuyTa6AarGmf97/UBXpDaHgMFLNkDZ9irUz7K
 qbYeOJ4JlRwj2mA8HYR98Vu3cozS0Z+0iJyA3qKyG3LHK0FXmWxNcV2l/1fX4IDEB1cvmohSsGTey
 ITk6rK+CpGvFlbSjwPqXISgxMjNgkuAFHqqhHID/xsdBjgF4SLEW0/AnHpbI5PYSQt88g9RbK056f
 ntP5YHXLiSUfhHn/pp/73Q==;
Received: from [87.69.77.57] (port=4928 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nLOmE-0008AH-2j; Sat, 19 Feb 2022 07:23:50 -0500
Date: Sat, 19 Feb 2022 14:23:47 +0200
Message-Id: <83bkz3yrho.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN> (message from
 martin rudalics on Sat, 19 Feb 2022 10:40:33 +0100)
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
 <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
 <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 26513
Cc: larsi@HIDDEN, charles@HIDDEN, monnier@HIDDEN,
 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 19 Feb 2022 10:40:33 +0100
> From: martin rudalics <rudalics@HIDDEN>
> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
>  26513 <at> debbugs.gnu.org
> 
> In either case
>  >>> I have a `display-buffer-alist` entry that does all kinds of funny
>  >>> things for *Completions* ;-)
>  >> Please post it here.
>  >
>  > Sorry, top secret.
> 
> Maybe we really should recommend Drew's package for people setting
> 'pop-up-frames' to t then.

Didn't Drew say at some point that breaks Emacs 27 and later?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 19 Feb 2022 09:40:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 19 04:40:47 2022
Received: from localhost ([127.0.0.1]:56903 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLMEQ-0000xj-O4
	for submit <at> debbugs.gnu.org; Sat, 19 Feb 2022 04:40:46 -0500
Received: from mout.gmx.net ([212.227.17.22]:46469)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1nLMEP-0000xX-Rk
 for 26513 <at> debbugs.gnu.org; Sat, 19 Feb 2022 04:40:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1645263634;
 bh=hStGgTlmQrDMBZXBxMULVYPbj/r8Y4T8osJ+Poz/XzA=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To;
 b=b1dn7hhqYNcWOO6NKBVXAdlA/yaUOrAWWtwbQLcVUTIx76RSvmqU+qVpIiIUDhKMz
 AEEIJQkRUGHtUXomc7WmjSCKADVSMz1oXWqzKFXaPSjYacsnrpywPpY1cJp7l8eJwK
 GbANykgTq3HG+zRFgeij3vXlyT31LXrao5QBcCHg=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.102] ([46.125.249.118]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MS3il-1nont314l1-00TYLO; Sat, 19
 Feb 2022 10:40:34 +0100
Message-ID: <bd632ab5-b199-6ad9-52d8-a387a864c3e5@HIDDEN>
Date: Sat, 19 Feb 2022 10:40:33 +0100
MIME-Version: 1.0
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
Content-Language: en-US
To: Stefan Monnier <monnier@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
 <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:uw7NJ2qz/yzXNiaIxDMS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TKVSrxplLQT/Jkd8sy2UD
 pE7EmYR9fkLrKg3FReudTrBzNboMuDEY6vTK660pAMxv9/SwE3/+z0Jw31GQTSWNiqV+xyBrL
 xQr0+rDQRdlrXym4+BsFI5aWbqHvkKK1v0K62NXNujwtwu4R4SrmdES6fJyI1qmA7/vlGJXp8
 b9oJ5ko028g3nSiBfzmrCOSUbdqJrCy/v++po1wCv8X18w1I3uTJMX3fuRGUgsYzl53NF1GyW
 385+zuluJR1gyCWHge8HMPK/I0zGfoqmyOJmoVZZPqKzRaBC1pvIYoC8qGmuUZjoMypFkMd27
 QD59+tjVdtzFkI=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

In either case
 >>> I have a `display-buffer-alist` entry that does all kinds of funny
 >>> things for *Completions* ;-)
 >> Please post it here.
 >
 > Sorry, top secret.

Maybe we really should recommend Drew's package for people setting
'pop-up-frames' to t then.  Or does anyone else put *Completions* into a
separate frame?

 > FWIW, my code also uses `redirect-frame-focus` but I agree it's not
 > a great solution.

It's counter-intuitive in the OP's scenario since the *Completions*
frame has its own minibuffer window where the dialogue could be
continued as soon as that frame gets selected.  But here the minibuffer
window is not selected.  We provide hundreds sorts of completions and
I've never been able to understand even one of them.

 > AFAIK, this all comes down to the fact that when `display-buffer`
 > creates a new frame, it will all too often end up being selected by the
 > window manager, even though Emacs doesn't want that window to be the
 > selected window.
 >
 > I sadly don't think we have a good answer for that problem.
 > I also don't think there's a good reliable way to do that in
 > general, currently.  I suspect what we'd need to do is wait for the new
 > frame to be "fully" created (not just by us but also on the window
 > manager side) and when that is settled we should request to focus back
 > to the frame that had focus before the creation.
 >
 > I'm sadly not well enough versed in that kind of GUI code to know how to
 > do it.  And its asynchronous nature makes it worse.

Our present weaponry for dealing with this ('no-focus-on-map' or even
'no-accept-focus') is apparently inadequate or was never even tested.
The only thing I recall is that waiting for the new frame to get
reported (on X it's even never clear which event is responsible for
that) and deselecting it afterwards leads to some sort of flickering.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 17 Feb 2022 19:21:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 17 14:21:23 2022
Received: from localhost ([127.0.0.1]:52711 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKmLD-0001IW-Hu
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 14:21:23 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5008)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1nKmLB-0001IH-LY
 for 26513 <at> debbugs.gnu.org; Thu, 17 Feb 2022 14:21:22 -0500
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 0853880626;
 Thu, 17 Feb 2022 14:21:16 -0500 (EST)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7E666805CE;
 Thu, 17 Feb 2022 14:21:14 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1645125674;
 bh=3ZJ79S/4DR183oxFLX4SgZYvePBskwn3k+u6QxOye0Y=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=cnT5HbpM28gA83F/tixNzPBBx2JiuWHzbQIYT4Gf2p7CcuCRR5aRhMUsnuolQMcbG
 2yoA8paWFBNLcWFXQJyROvkiUuobP+Kj4vjxx4Wj3mPC94KKFm0B4IP3unyU7hTpN3
 K3qJxUlLNkOwa+cpkPtY0EIiPXkURm8bRpLgDJ/HMEqbpxQ6IbaIJAWtFbCjPLajX4
 aLIz0yNiA0MxWVbYtHeY0ytabqwIxAjbocdVVqpEJm/1hcsDtu83fTM8iby+tJV7M3
 o9aTLuEo4RDydSv2p3/ZYmbj/m9K8tt379Q6IxN2SI3ZvTl3uzz5K2n2IUbPxnx/Bn
 7EavClsyi3jHw==
Received: from pastel (unknown [45.72.237.157])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 31880120434;
 Thu, 17 Feb 2022 14:21:14 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
Message-ID: <jwvo8351f0q.fsf-monnier+emacs@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
 <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
Date: Thu, 17 Feb 2022 14:21:12 -0500
In-Reply-To: <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN> (martin rudalics's
 message of "Thu, 17 Feb 2022 17:02:52 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.059 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> I have a `display-buffer-alist` entry that does all kinds of funny
>> things for *Completions* ;-)
> Please post it here.

Sorry, top secret.

>> No objection to the patch, but the amount of code duplication in it
>> (both in the new lines and in the surrounding code) suggests we may want
>> to refactor some of that code so that the options processing code is
>> written at a single place "once" rather than
>> once-per-display-buffer-function.
> Agreed.  But I profoundly dislike the sole idea of abusing
> 'redirect-frame-focus' for fixing this kind of problems.

FWIW, my code also uses `redirect-frame-focus` but I agree it's not
a great solution.

AFAIK, this all comes down to the fact that when `display-buffer`
creates a new frame, it will all too often end up being selected by the
window manager, even though Emacs doesn't want that window to be the
selected window.

I sadly don't think we have a good answer for that problem.
I also don't think there's a good reliable way to do that in
general, currently.  I suspect what we'd need to do is wait for the new
frame to be "fully" created (not just by us but also on the window
manager side) and when that is settled we should request to focus back
to the frame that had focus before the creation.

I'm sadly not well enough versed in that kind of GUI code to know how to
do it.  And its asynchronous nature makes it worse.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 17 Feb 2022 16:40:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 17 11:40:40 2022
Received: from localhost ([127.0.0.1]:52573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKjpg-0003T6-2W
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 11:40:40 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:4276)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1nKjpd-0003Sv-AJ
 for 26513 <at> debbugs.gnu.org; Thu, 17 Feb 2022 11:40:39 -0500
Received: from pps.filterd (m0246629.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21HGPkLV021441; 
 Thu, 17 Feb 2022 16:40:24 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=corp-2021-07-09;
 bh=m4Nn15Y1BWMkNSxx3an4jjmnTOdDL1Mi7iUpZW8uKVw=;
 b=WhGQWsQQR8pGVBGbqWy3Uv7/v/+Zn8JbHGGUZB54KGdmzIMG45uxveTLPJJguEZXXfiU
 QbVxhGuYUhyW4GFwV4pCaxejA6M99K2YmqPlZ7TeUji7oCAEImRl3ZtgePlUpuIZp7VR
 eXYiX3S7Ax/GVmPX9qI5/TvmIE8scBkXBjIWy7ObxzvZFBHrBnhBhMjWQarr9yE6sgn8
 ogPQCL9szNsD+9KrT7VLKYqGCKNh3MMy/+jtX2OL8Lcpd4EUVMtgUsmhBYh8RyrAxXIe
 sgvhw+EhD2xRr3nZvs+RT3BlMASl7XvfMJcGauXmZlJ4xLJBSuc3ze7WeKx894DJzxvn 6Q== 
Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80])
 by mx0b-00069f02.pphosted.com with ESMTP id 3e8n3fe1xx-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 17 Feb 2022 16:40:24 +0000
Received: from pps.filterd (userp3030.oracle.com [127.0.0.1])
 by userp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21HGbZ57005377;
 Thu, 17 Feb 2022 16:40:22 GMT
Received: from nam10-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam10lp2109.outbound.protection.outlook.com [104.47.58.109])
 by userp3030.oracle.com with ESMTP id 3e8nm08fq1-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 17 Feb 2022 16:40:22 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=FIwbNGtXgufDVfuEk7wV2L7pjKgCj3rsuitbXPQpM/uCiyTK/5LDdF3ys4EY01D63mH7qYqWSwBCrDCcml2Fu/DUSIh6f3gzxomX/FggOBGmKAk+ftsRpyCc0KzfrrYwbAjNedR+tmzXoU5ke2MBL375zywc9NbWbCRTCk75N2S3hk9ofPZP2tmE5oT200CZhgDVRLmtP3PaJMi7LewJBZmQMTwEan533MCupt4qs+8Hd2M5lwxxN+4ELqBw+EdfhJLOLydC0BX4Q3mg+fmEmY2EFt6ZoyEo5XzhKeCTD/HFWX8g0saBV0GTAS6EZs+xwgXNCNGo39eOtzpfqt9Y4w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=m4Nn15Y1BWMkNSxx3an4jjmnTOdDL1Mi7iUpZW8uKVw=;
 b=nrQ/FaW8+aHsSgboxiy+Riy8Bw4vZa5vqjJMQAZxVcqjN6Gm6fpfbe4b2E62sZiUD0BQAcwOh0+bHqELkABq5lSsRwi1SZuH2kQgTBTyAdVo5md8AW7L21uS54xBNpM03WnoZrP79nMxwZov6rAmYeYYt+A4mRftpQMMvP5CUsp8LVb0LxUJVcAw7u4VVHXBsx3KyltLaP3yfRf3zchB/poCSRnNpjTci61Sas0LUaEHB0o0hdtQFtyzLsLUS3ge2L8JTj44dUwq8oDIqmGfe2rAYHZJ5ryEfnv90S6aNMWVtQMrDirD8PuQ390Y42d1lg2H7EvatmDCjfeaQLg/QA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=m4Nn15Y1BWMkNSxx3an4jjmnTOdDL1Mi7iUpZW8uKVw=;
 b=C/Mj9CN/YerG1rUeW8X2JIzhV2y/uPYDmXwnjfZEIB68kmmj5Ox3JDxH+zFR+Sg05qOpzXSq51iDDdeR6LR/43/wCPnoGhSgdfZhVyD0qe5iW33ZwuMcw2zECBkgTiPMtrTUc+8aSGfSD8+yl9izC3Q9/Aw9n00cK0zKMQIrAoQ=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by MN2PR10MB4302.namprd10.prod.outlook.com (2603:10b6:208:199::14)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb
 2022 16:40:20 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::6d28:e29d:4c51:6d04%5]) with mapi id 15.20.4995.016; Thu, 17 Feb 2022
 16:40:20 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>,
 "Charles A. Roelli" <charles@HIDDEN>
Subject: RE: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Topic: [External] : bug#26513: 25.2; pop-up-frames and *Completions*
 buffer
Thread-Index: AQHYI+WZ73wJdrTAmkqKZEagmXGs8KyX5F+A
Date: Thu, 17 Feb 2022 16:40:20 +0000
Message-ID: <SJ0PR10MB5488C9B25950D2B0BC86BEC6F3369@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
In-Reply-To: <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9968986a-3d34-4a2e-4034-08d9f2342fd6
x-ms-traffictypediagnostic: MN2PR10MB4302:EE_
x-microsoft-antispam-prvs: <MN2PR10MB43022E87E1A0C17438B8EB9CF3369@HIDDEN>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: O+knWKE01Vp5Br4he2v43WzK0BxteKJtuKzGdM+MiV4ja/Co6d1pDqY94tuEMEVggljBP9RcMxuHFQg7xnLkLQ6c4w2mGkwhgnCTu90Ok9j2d442Iy0fgZlJTa14+omaKkFyuknyX4dQgG1lfSqR74TyxAWKLlLi1UuNJXUub7P7X/u5WQAJ/YqGIfivqvx8EJ4LuxnDD/Mu/OD+SA3NVrfbh4Ge5/29zGCVoNGNHlGgck0RE9UYmw6jVlYF3X1jMhMCGHBPXd2FAN1gHRfWNPYKdmndY+KYOOVsF9dFzVeQX3AfpH2/PP4vpviJZNMj3h+HRVAtMrczD3E3jqT09MxtI0S3E764Js5fA2KxMAzC3VyHhg9OzYBcCEjEcF2rMrahwQpfdmG1VwgYZ5GDvRyAvZ1aa+BGy6uxr3YgB3whAcf/PvABtCvdeS7wwE0YjptY+9ZgUJZBJatX/3WagUhv8MBSzI/UCnc3moS8bLpdCbLC/KPRCdFGnQElvRg3HeVPA0AM3lbDgNOZcilgfJqZQOAPbyHuP/sju9Bkc44v47FDK9UJpJrJouOKmOtXVebG+ua1XrIo7D41rBuGpszbZPpIm1cRfLAM0Rmf0Jz/WSXKc+GVPVN0km2ObTbK50T3Ym+Y3eii5C9v4TAUpQi2jn5WAFEhTt5b897jbF8d4mTNZg6SSFAStiQG/Nqxou5toV2YZdaLBwFx/QLld4PGLeIO76uvI4wvV3ViVkXMQEVeM7e94ilsjXuoRV2RRegepv8umIzUdzD7gsJIdRPqmvuu/6RANCYs3lhkT/E=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230001)(366004)(83380400001)(44832011)(966005)(2906002)(8936002)(52536014)(5660300002)(186003)(26005)(508600001)(7696005)(71200400001)(55016003)(9686003)(6506007)(33656002)(122000001)(86362001)(38070700005)(316002)(110136005)(66446008)(76116006)(66476007)(66556008)(66946007)(64756008)(54906003)(38100700002)(8676002)(4326008);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?N2graVhGTU1sbFF5RDI0enZyLzBwTjZ5bUI2MzROZEZWbmkyVEVoWmdSZWxB?=
 =?utf-8?B?ZWp1OC9pdThRTnRwRFFkaTdrUkpabVcvTHVqSmVhalV3S2phNW5aQllLUng1?=
 =?utf-8?B?NlExdW5YamhDV21ZQ01tRzdNWld5YVFBS3AxeGRXV1ZBVVdjSjBVSlJyWW1z?=
 =?utf-8?B?YkwrRnFycm5kZkhKNG8rc3E2aWtXbHZJZzI2Y0dBcHZvWnkwNU9iMUNiTG1a?=
 =?utf-8?B?aElnQkY5a3ZJUFRHMWQ5TC8ydmpGK25UZzFmNS8yUklTQWY4cTRVS3l0T1lP?=
 =?utf-8?B?bjU1bzdQMG9QQUxRUUJpWHBBWS9oNnAzQ0tudFFVRkRXMS9NZ3FTUXVnUFAz?=
 =?utf-8?B?YUYxNVp1clFIcWw3Mk84eTAzL0crV1U2NFV5K3BpNDZDRGZtb2dnUTd3cjRx?=
 =?utf-8?B?UmRaUElnbmNTeXl1UzNOZS96ZnRXWE5GbGw3MUZkemtJU21rYmJXZXhjRGoz?=
 =?utf-8?B?YmxmNkFXQTVzbm44U2xNc1p3ZmluckE4dlFENkViSDBINmlJRDcyL2ZWZCtv?=
 =?utf-8?B?MUJoM2V2S2VEUmd6UE1la1BZWHRJQ3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?=
 =?utf-8?B?RVQ0QnRDS2ZudXh1Zlp6bjNPbmRicGNGcnhUQ252eDVSQWNncTh6RUF0RzIr?=
 =?utf-8?B?ZmdVVDk4N2loWk9PTWdMdTRVL3NCWXVxU1lORzRnY1hBQ1BKdjlwbG02dEg1?=
 =?utf-8?B?by9Qb0lPT1A0YUorM1YvVHE1a3o5NkI3ZXpXRlpuQkxXdCtBMHl1clUyU1V6?=
 =?utf-8?B?TmdmOGZDNnFWazV5VVJRcTlPNDg0NU9mNFpyREozRFlhT2p4Q0c3TFkvY0JF?=
 =?utf-8?B?MC9sUWs3WjZqY3c0Kzc4eE12LzJtYlJmNjFoUmp3VDlYZFpMSGExMW5zTnRw?=
 =?utf-8?B?a0xvMmtaRUdLUzBVOExkNks2cnN4Z0pBWUN0NFdQMXhVL28yWjZmakJ4d2JP?=
 =?utf-8?B?WXlvVzVHYlVYZHlLTEJESGwwZXlHK2pwNnNrck9IZDhDSFNjeGxidXVDbm8y?=
 =?utf-8?B?S3h1MGY1SG9NMER6M2tqZ3QyNTI5VE5rbUVkbWpvRHYyZ3JaSDExSGd0RFk5?=
 =?utf-8?B?NkNldzhBbksxTGYyYnlmbndhc1d2T3lVQnZmd2lWNnN6bno3eGFjRkpmQjJm?=
 =?utf-8?B?dStsNFU3NGRQbHJTM1E1cktOUkRTTkp5Y0M3QS9KN3pKK1FDUXFIUkNGR05l?=
 =?utf-8?B?SkZUTW5mTk0vWFZudDRKODY0Y2Q4Sm45ZkZKc09razNSQUphVlVSS2p5eUFQ?=
 =?utf-8?B?b3p1cUpEdlhkemVTWDl6QUpzamNXYk04WkFJVmdCNU1wZTJCUG1yQklhUEMz?=
 =?utf-8?B?UUE9PQ==?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9968986a-3d34-4a2e-4034-08d9f2342fd6
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2022 16:40:20.3802 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 2CREsDvnyhBqbt1o5XBZ8RFhm7TYoe8eZ/SNFzgFDNHvvhUwOhr1zazbA8IfuRXFhE85HaExd35rrYYNjhT6uw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4302
X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10261
 signatures=677564
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 phishscore=0 adultscore=0
 mlxlogscore=999 mlxscore=0 suspectscore=0 spamscore=0 malwarescore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000
 definitions=main-2202170075
X-Proofpoint-GUID: 7tgld35szShWzz1b4XqIk-yQ9AgEZT7J
X-Proofpoint-ORIG-GUID: 7tgld35szShWzz1b4XqIk-yQ9AgEZT7J
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Stefan Monnier <monnier@HIDDEN>,
 "26513 <at> debbugs.gnu.org" <26513 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Pj4+ID5Gcm9tIGVtYWNzIC1ROg0KPj4+DQo+Pj4gTS14IHNldC12YXJpYWJsZSBSRVQgcG9wLXVw
LWZyYW1lcyBSRVQgdCBSRVQNCj4+PiBNLXggZ2xvYmFsLSBUQUINCj4+Pg0KPj4+IFRoZSAqQ29t
cGxldGlvbnMqIGJ1ZmZlciBpcyBvcGVuZWQgaW4gYSBuZXcgZnJhbWUsIGJ1dCB0aGUgY3Vyc29y
IGlzIGluDQo+Pj4gdGhlIGZyYW1lIHRvbywgc28gdGhlIHVzZXIgaGFzIHRvIHN3aXRjaCBiYWNr
IHRvIHRoZSBtaW5pYnVmZmVyIHRvDQo+Pj4gY29udGludWUgdHlwaW5nLg0KPj4NCj4+IFRoaXMg
cHJvYmxlbSBpcyBzdGlsbCBwcmVzZW50IGluIEVtYWNzIDI5LiAgSSBndWVzcyB0aGUgZ2VuZXJh
bCBzb2x1dGlvbg0KPj4gaGVyZSB3b3VsZCBiZSBmb3IgY29tcGxldGlvbiB0byBlbnN1cmUgdGhh
dCBpdCdzIGdvdHRlbiBmb2N1cyBiYWNrIGFnYWluDQo+PiBhZnRlciBkaXNwbGF5aW5nIHRoZSAq
Q29tcGxldGlvbnMqIGJ1ZmZlcj8NCj4gDQo+IE1heWJlIFN0ZWZhbiBNb25uaWVyIGNhbiB0ZWxs
IHVzIHdoYXQgaGUgZG9lcyBpbiBzdWNoIGNhc2UuDQo+IA0KPiBJIGNhbiBvZmZlciB0aGUgYXR0
YWNoZWQsIGxhcmdlbHkgdW50ZXN0ZWQgcGF0Y2guICBBIHBvc3NpYmxlDQo+IGN1c3RvbWl6YXRp
b24gd291bGQgdGhlbi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gYW5kIGl0
J3MNCmF2YWlsYWJsZSBhbHNvIGZvciBvbGRlciBFbWFjcyByZWxlYXNlcyB0aGF0DQpkb24ndCBo
YXZlIGBkaXNwbGF5LWJ1ZmZlci1hbGlzdCcuKQ0KX19fDQoNClRoZSBjb2RlIEkgdXNlIGlzIGlu
IGBvbmVvbm9uZS5lbCc6DQoNCmh0dHBzOi8vd3d3LmVtYWNzd2lraS5vcmcvZW1hY3MvZG93bmxv
YWQvb25lb25vbmUuZWwNCg==




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 17 Feb 2022 16:04:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 17 11:04:04 2022
Received: from localhost ([127.0.0.1]:52517 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKjGG-0002Xt-2A
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 11:04:04 -0500
Received: from mout.gmx.net ([212.227.15.15]:59995)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1nKjGC-0002XJ-6B
 for 26513 <at> debbugs.gnu.org; Thu, 17 Feb 2022 11:04:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1645113774;
 bh=CXHNAq2AMbUyb2zXB5LDtohil7L95r0uOCDYCphF/yw=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To;
 b=YuAFibDk2aKMV+s/g7xNkXupS5DYEwmpnisLLzwq9UDg02kwj+eL2QjiSaF2Byp1z
 HbWZGs3B5efgAqzoogDLUscdO6nTXZXXYj3QSxfjJyMZALYRRy608tycr9HMTg5y25
 fciuNXQSyH98bnt9tIRQLd1i2+mHavsr6ouNUVcA=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([213.142.96.55]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N3bWr-1oK5K111Bz-010cN7; Thu, 17
 Feb 2022 17:02:54 +0100
Message-ID: <ad9866d1-f2cf-c263-08d8-da43f023492d@HIDDEN>
Date: Thu, 17 Feb 2022 17:02:52 +0100
MIME-Version: 1.0
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
Content-Language: en-US
To: Stefan Monnier <monnier@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
 <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:2e76YQXVR/JmMZvF6otim25XhF6x/HJx5TEZ+OQo7jo2gHoTah+
 V7lhuCkmH1XOUFNgh341wXXF37TvITEKOI6+qCK76MqJiyCBT6SMvYLBsaaMQoadrmV8tFs
 XtmvcpfHVu+78s7DdVORimCAp852LIdu1RtKYR4EK7P1Bj4yjDMFI2GH8hWnNjzYGsl+0mz
 nMrbqDVZzQo9T4nvounlg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:sL5AwxX/g3I=:l4gLOtH/h2i3JefTg426I+
 Skr+aptcDaimk9wqP0eSu3/KeR4ZR3cnM8ZCNWciwiKw86pliKakDKPDEkKBI8JtxeFuRL4fx
 ZxFCYczCNDILLmd9Gs4RA9HgDkNABgXVYaJLy+61c23yRvDQLcUirR1W+kqhVjqZKTNr70kvC
 ymWQaQ3KhQdHtpkVdSdqsspthMnK3d3rQJGFPmJY4OGG2x8LdMufL6pfdVRup+Q6YA7XEswXD
 t8OuX4SoJAuJQ4gmsOZ1hafSO1MRlu4i94+d+1r88L5wo3moOztEzCygtXIhYJtAzV8pn/VTW
 zTKwmO+YUMjqmv+40cl1iYb91tj11tMP+tBOWmwaU2+eLrxDAp2n7hNRkh7oxQvasXZ6vzBOG
 9hyMKWiTXH51oRW6XA2im45Dk+adZWCNkMSVxqI57KAvoz0I0kOeMRSW+TtUC1Kju6XYC/88b
 LPbmkSbeU1PESnOXNTEIqhjxjPQO1cTXDS9yO52KvZQ8G0wpHFeZSQySeuNjkcvjE4pMKaIRh
 ttCleQdwyoPdTpelkrG+xZshp6y8Qyyq5L+rNEwceDqNDRoq5WZTbuwbROJ9YEXCQHkHOijm/
 SixladmpcT4miU5Xf3bUQCO+doCHNAXr/fDHNgZ32dWPRm5bX4L6jytHygGiROj4fEWI/67Z0
 2R6bazEgQAcBPjSQ9GmzVsdCVwDYmVqDA2TPmYhda/5ffY9u3dDmTlkFtudpI5MBlxrdvHOSc
 87uCrUOxZ6DiQvi9wodzCwA3soMAdn2hnTC2amYUjMMotdjuig4rh0dmO+Xxu5Q3f99icveBU
 w0GORWk7Svf7T8k8auHB8RKOLO8b2wJag+D8uyWJbZcZSI55CL3B3JX7ihZpKOvz+o0hY6eFK
 qlxOVimDFw+UXBW+bIlDjIQwJAmF8bXCHEMEJqLWTsvZG47kMHT7I5TouIOuyhfkHmzJa2Em4
 Xquq4ETELleUQS8XetXUJrbM0l7ISC+ED3B7kYrxx1vrm+vNvYgXseCzQ+uNmzfdYjDpVDD+l
 0bk24q5QCB7Hu9Fh4PK5lUuDTpvGe/ZskJ+NKkj+PCsTSaOrQyJJolk3RxjJxljaK6y2usaYP
 09hkBC7IaGrbx8=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > I have a `display-buffer-alist` entry that does all kinds of funny
 > things for *Completions* ;-)

Please post it here.

 > No objection to the patch, but the amount of code duplication in it
 > (both in the new lines and in the surrounding code) suggests we may want
 > to refactor some of that code so that the options processing code is
 > written at a single place "once" rather than
 > once-per-display-buffer-function.

Agreed.  But I profoundly dislike the sole idea of abusing
'redirect-frame-focus' for fixing this kind of problems.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 17 Feb 2022 13:13:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 17 08:13:44 2022
Received: from localhost ([127.0.0.1]:50470 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKgbP-0006DO-Tv
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 08:13:44 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41803)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1nKgbO-0006DB-BU
 for 26513 <at> debbugs.gnu.org; Thu, 17 Feb 2022 08:13:42 -0500
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A6FE7806A3;
 Thu, 17 Feb 2022 08:13:36 -0500 (EST)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 448B480620;
 Thu, 17 Feb 2022 08:13:35 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1645103615;
 bh=FDXUw6bOIvFpwAHgF0kYYPm9kHWa5Eekhhk8BvU/WgI=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=Z97MAfEYu2VJHFu01uUbXaDYxMllGYcvtTMZzFe+fJ6fO3xdkfoHoib9aedeCS2aV
 HU7PBiicRlWkEhRVAAQdOjQs+qzvMUijTx6wTPcWoI4O+5QmaUhWdFtsZg7IjodbnD
 MXHGknG3aznLJLYhKn32UUXypCBy8z3pgwgvJQSdz8+tOJ2UcHfkduCD33L9t3dsfU
 CMp4s8X/SwhjPqtifoKRHzTOabBTOQU9seOTYE7uUDvCa1zo4i71kZyTt1JW6ioNiT
 DaH/US/4TjLP5NzWil4TLvN4tjWtLSJi5wJA5yZKmeTFwCc5D+qJs6HZTOuUDwGaLA
 HzRZnlCsLdDcg==
Received: from pastel (unknown [45.72.237.157])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E59B2120E4F;
 Thu, 17 Feb 2022 08:13:34 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
Message-ID: <jwviltd63nd.fsf-monnier+emacs@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
 <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
Date: Thu, 17 Feb 2022 08:13:33 -0500
In-Reply-To: <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN> (martin rudalics's
 message of "Thu, 17 Feb 2022 11:01:50 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.059 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 26513
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>,
 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> This problem is still present in Emacs 29.  I guess the general solution
>> here would be for completion to ensure that it's gotten focus back again
>> after displaying the *Completions* buffer?
> Maybe Stefan Monnier can tell us what he does in such case.

I have a `display-buffer-alist` entry that does all kinds of funny
things for *Completions* ;-)

> I can offer the attached, largely untested patch.

No objection to the patch, but the amount of code duplication in it
(both in the new lines and in the surrounding code) suggests we may want
to refactor some of that code so that the options processing code is
written at a single place "once" rather than
once-per-display-buffer-function.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.
Added tag(s) patch. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 17 Feb 2022 10:02:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 17 05:02:52 2022
Received: from localhost ([127.0.0.1]:50199 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKdci-0002ao-Cd
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 05:02:52 -0500
Received: from mout.gmx.net ([212.227.17.21]:59535)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1nKdcg-0002aa-Ev
 for 26513 <at> debbugs.gnu.org; Thu, 17 Feb 2022 05:02:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1645092114;
 bh=9EVAjlRNwfcCfC5Miv+SDbXcpHfZqGooOMGTqFOzPlc=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To;
 b=knzuCNEd82oQFuDHgiriECTJpxw9jqze7h4sTkgneTk4qQWR95EUwUH+3c1j8aYQK
 LYBFTDlwBP8QZ3rFmWd3t29mF4g4sZACPKBr1LGdHQjzISnTkRhSvQbzugQ1Kbr9Gu
 IWki1ggTYL5gPL7L3z4M+eKsJkEDgDx82YwcWvRc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([213.142.96.55]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHXBp-1nY80W39TV-00DXYs; Thu, 17
 Feb 2022 11:01:53 +0100
Content-Type: multipart/mixed; boundary="------------6ERtPTN9n7tPyesbdGwulmzj"
Message-ID: <066f0fac-2ce9-fe9a-355f-e148953fc6f0@HIDDEN>
Date: Thu, 17 Feb 2022 11:01:50 +0100
MIME-Version: 1.0
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
Content-Language: en-US
To: Lars Ingebrigtsen <larsi@HIDDEN>, "Charles A. Roelli" <charles@HIDDEN>
References: <m2d1ce81yl.fsf@HIDDEN> <877d9wpg9z.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <877d9wpg9z.fsf@HIDDEN>
X-Provags-ID: V03:K1:TsNvniR/2I1Ra9ZZZKwGfZgGbPr/SelHElgGgg8SKy2wU4ZJnYg
 luNfH2wPhrogwspQEXkTqs5H7DNgRfMyDSNVpCwcbabPgyOadqQLx4uJAg88Y+Zczd3tHDS
 4YWvJASwlYlA7c5VkT6rXFz0POXuBV+/bfPv/8beK3AGI/GrysKx38WtB2qPu4sKOVTvIy6
 lD8O+LvqIoqoxLiZlI0xQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:tZEx6SbciZo=:hqQpYkfpNbbxIowN+k22/N
 ZFuv0JyC27YmCGxCCaesfRkahXhEAq9QljK6KKnSbKsaz0uLDTHhE1uDbv62fi0Yt4jY9kEJo
 2YeN25sUb5mUGLGnzW0veyOzniA3UMvdv1jarZhjKliOFLHeKwUu8b4Of/49G3kM4dyy0btDf
 9anhRIFeO74cc48JKQYi1Am02k8eY1+joLTbr17xCibrf3tcug7F8z4J/iKWTuUw3Ye/UsQwY
 2jqMn2yPUYnl005pmzSRBt/Iv8YV9pqKCUUfkHfqARKXSD+58q3X32FBQsOkoVwhEU9WWfkkx
 fNI1is9zIGkiBL8D/elmM75j82C/3+GYaJ209e+DbHSBLyXeY4dHyWBjShcrffFx5n6mnkXUD
 iMnwcczr9BUIdCKn2rPxXQnZDE1l20QAmiK7gMhnfD3zjw8pQf6mCSoXZMGXRAu3W6skjx47j
 NFDiNXCK65TWYPO6Xixdb5H4xxMCIV/A4bDJkUmBMjaRgukmE8lV0y/n59xSxUpQ2YRH/1Z2n
 /6AUstDxdNsOGkD8KuBCXiO1hp9fxaoz+wZpJf35VzWmEJs3222Yj8XrXMNCczCBUplxYk2nr
 3tmXUTrIKlQ7wn/vj3KukDin+xWyEiX86d+OeBPhPi5eUz7e5AjK7Vr26r1aAL/QCwwswdybJ
 Jd+2+eCzsA1vpnf70b7uKNpDJJjgP16U69/UuGp+wE8wR2OMJgBBa+D12MCmSBqvamaqg852M
 iETy2ax7CUdjFIJXK9ioGv7SBsL4gmAFxqbzfo/HvvEN/vsubX6IwPDN0IfRm0PAdApUzfTvU
 6JDXzDSO9tZtjoRwP2iScBjBwdgW6AgBOmeq5zaYekbdqSyqsiX4a74emrZ7gQ8+RFt9uxvPD
 to+vzXqWDBBLd1IkAGjKGkUW5tU69d585r06aZ8a1OOCPI84yX04zRY5e64lG6qrjLft374w/
 koVBa/ZRLBOBXh2yiMYMCBQRiy6gouRDANycl+TYCyfw5mF1ygWmEVEOWg3vi0hpbQd8vGSaV
 RJRmLkMJM15aEMPa1AElGv7DMbrB3APjb9PTKv0y43LDj8g1x/HIjeSVOpp7qcX51+zfgEfiP
 1che3rq/L8SpqQ=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: Stefan Monnier <monnier@HIDDEN>, 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This is a multi-part message in MIME format.
--------------6ERtPTN9n7tPyesbdGwulmzj
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

 >> >From emacs -Q:
 >>
 >> M-x set-variable RET pop-up-frames RET t RET
 >> M-x global- TAB
 >>
 >> The *Completions* buffer is opened in a new frame, but the cursor is in
 >> the frame too, so the user has to switch back to the minibuffer to
 >> continue typing.
 >
 > This problem is still present in Emacs 29.  I guess the general solution
 > here would be for completion to ensure that it's gotten focus back again
 > after displaying the *Completions* buffer?

Maybe Stefan Monnier can tell us what he does in such case.

I can offer the attached, largely untested patch.  A possible
customization would then be

(customize-set-variable
  'display-buffer-alist
  '(("*Completions*"
     (display-buffer-reuse-window
      display-buffer-pop-up-frame)
     (reusable-frames . t)
     (redirect-frame-focus . t))))

martin
--------------6ERtPTN9n7tPyesbdGwulmzj
Content-Type: text/x-patch; charset=UTF-8; name="redirect-frame-focus.diff"
Content-Disposition: attachment; filename="redirect-frame-focus.diff"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL2xpc3Avd2luZG93LmVsIGIvbGlzcC93aW5kb3cuZWwKaW5kZXggNTgy
NjAwZTFjNi4uOTZhYTJlY2MyZCAxMDA2NDQKLS0tIGEvbGlzcC93aW5kb3cuZ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h
bWUgKHdpbmRvdy1mcmFtZSB3aW5kb3cpKSkpKSkpCisJICAod2luZG93LS1tYXliZS1yYWlz
ZS1mcmFtZSAod2luZG93LWZyYW1lIHdpbmRvdykpKQorICAgICAgICAod2hlbiAoYW5kIChj
ZHIgKGFzc3EgJ3JlZGlyZWN0LWZyYW1lLWZvY3VzIGFsaXN0KSkKKyAgICAgICAgICAgICAg
ICAgICAobm90IChlcSAod2luZG93LWZyYW1lIHdpbmRvdykgc2VsZWN0ZWQtZnJhbWUpKSkK
KyAgICAgICAgICAocmVkaXJlY3QtZnJhbWUtZm9jdXMKKyAgICAgICAgICAgKHdpbmRvdy1m
cmFtZSB3aW5kb3cpIHNlbGVjdGVkLWZyYW1lKSkpKSkpCiAKIChkZWZ1biBkaXNwbGF5LWJ1
ZmZlci1uby13aW5kb3cgKF9idWZmZXIgYWxpc3QpCiAgICJEaXNwbGF5IEJVRkZFUiBpbiBu
byB3aW5kb3cuCg==

--------------6ERtPTN9n7tPyesbdGwulmzj--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 15 Feb 2022 10:37:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 15 05:37:24 2022
Received: from localhost ([127.0.0.1]:43611 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJvD1-0000Ox-P6
	for submit <at> debbugs.gnu.org; Tue, 15 Feb 2022 05:37:23 -0500
Received: from quimby.gnus.org ([95.216.78.240]:47744)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nJvD0-0000Oe-AA
 for 26513 <at> debbugs.gnu.org; Tue, 15 Feb 2022 05:37:22 -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=0eI98B/InK43yVwf/4EKrXQNPlumN/E6OPvGbCZlKB0=; b=NZXKytB2wUA0VFukw7G3hE0zI7
 s2/HS74XfDN5yl8Lmb4oTBSwNiEbxTQc1MiOt+j70skoech5ZAQ0zqULiliA39VerCoubQlIsJe6J
 Q+N3W0pI4Cl93QyUjXqb9nl2xbEzeAYvnvDPWynXLNLQakndpg9jZrEI4OXuhIriykms=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nJvCr-0000Va-MG; Tue, 15 Feb 2022 11:37:16 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: charles@HIDDEN (Charles A. Roelli)
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>
X-Now-Playing: New Fads's _Love It All_: "Souvenir"
Date: Tue, 15 Feb 2022 11:37:12 +0100
In-Reply-To: <m2d1ce81yl.fsf@HIDDEN> (Charles A. Roelli's message of "Sat,
 15 Apr 2017 11:17:06 +0200")
Message-ID: <877d9wpg9z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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:  charles@HIDDEN (Charles A. Roelli) writes: >>From emacs
 -Q: > > M-x set-variable RET pop-up-frames RET t RET > M-x global- TAB > >
 The *Completions* buffer is opened in a new frame, but the cursor is in >
 the frame too, so the user has to swit [...] 
 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: -2.3 (--)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

charles@HIDDEN (Charles A. Roelli) writes:

>>From emacs -Q:
>
> M-x set-variable RET pop-up-frames RET t RET
> M-x global- TAB
>
> The *Completions* buffer is opened in a new frame, but the cursor is in
> the frame too, so the user has to switch back to the minibuffer to
> continue typing.

This problem is still present in Emacs 29.  I guess the general solution
here would be for completion to ensure that it's gotten focus back again
after displaying the *Completions* buffer?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 19 Apr 2017 07:27:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 19 03:27:28 2017
Received: from localhost ([127.0.0.1]:55445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d0k1O-00048C-PM
	for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 03:27:28 -0400
Received: from mout.gmx.net ([212.227.17.22]:60806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1d0k1M-00047z-Tt
 for 26513 <at> debbugs.gnu.org; Wed, 19 Apr 2017 03:27:25 -0400
Received: from [192.168.1.100] ([213.162.68.69]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Man6U-1cks5Y3rMw-00KQpz; Wed, 19
 Apr 2017 09:27:07 +0200
Message-ID: <58F71140.60500@HIDDEN>
Date: Wed, 19 Apr 2017 09:26:56 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: "Charles A. Roelli" <charles@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>	<7e856815-6dff-4152-b144-c45a4bedb0b4@default>	<m2efwttp0s.fsf@HIDDEN>	<ffe2bbc7-a89d-4ce4-9063-22c205b9b44e@default>
 <m2efwpmp4d.fsf@HIDDEN>
In-Reply-To: <m2efwpmp4d.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:R9HEdvWPgiWCcMavMi8p+OAiagALIB30oq1FQ1/ZL/efig2Jnch
 ZmwHQlUalVJNz7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 (--)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

 > I also tried Martin's suggestion of removing the
 > (select-window) call but that didn't get rid of the error for me.

Evaluating with emacs -Q

(add-to-list 'special-display-buffer-names '("*Completions*" foo))
(setq w32-grab-focus-on-raise  nil)

(defun foo (buffer &optional args)
   (interactive)
   (let* ((mini-win  (active-minibuffer-window))
	 (mini-frame (window-frame mini-win))
	 (window
	  (select-window
	   (funcall special-display-function buffer args)))
	 (frame (window-frame window)))
     (raise-frame frame)
     (redirect-frame-focus frame mini-frame)
     window))

and typing

C-h f set- TAB

gets me a new frame with input focus.  Evaluating with emacs -Q

(add-to-list 'special-display-buffer-names '("*Completions*" foo))
(setq w32-grab-focus-on-raise  nil)

(defun foo (buffer &optional args)
   (interactive)
   (let* ((mini-win  (active-minibuffer-window))
	 (mini-frame (window-frame mini-win))
	 (window
	  (funcall special-display-function buffer args))
	 (frame (window-frame window)))
     (raise-frame frame)
     (redirect-frame-focus frame mini-frame)
     window))

and typing

C-h f set- TAB

gets me a new frame with input focus in the old frame.

Verified with Emacs 25 and 26 under Debian GTK+ and Windows XP.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 18 Apr 2017 20:34:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 18 16:34:40 2017
Received: from localhost ([127.0.0.1]:55245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d0Zpg-00021L-9D
	for submit <at> debbugs.gnu.org; Tue, 18 Apr 2017 16:34:40 -0400
Received: from sinyavsky.aurox.ch ([37.35.109.145]:57670)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1d0Zpe-000217-5s
 for 26513 <at> debbugs.gnu.org; Tue, 18 Apr 2017 16:34:38 -0400
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id DAD70223EE
 for <26513 <at> debbugs.gnu.org>; Tue, 18 Apr 2017 20:30:35 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-type:content-type:mime-version:message-id:in-reply-to
 :date:date:references:subject:subject:to:from:from; s=dkim; t=
 1492547434; x=1493411435; bh=bc0brk2kZD/2U5nDwDtY2BVcX0wFkBcLxHI
 Mv3kUJTA=; b=tx4rsl1VosuHI/d/EEId5zCx3oVX2mBj5Z4TQBEuB3DhLDr9EOG
 YVRfaaaqkkCgc86B2msDVndK4mxVboM9X0OrMw8gJ4Wd8dTGhXhHQtO6KytfFPpM
 g2i27zDrAjdA1OvHhNof6MGTLcGf+EEi3tRexEiF2U89Hu7xAr6Ens7E=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id Rmt85MyI6pdq for <26513 <at> debbugs.gnu.org>;
 Tue, 18 Apr 2017 20:30:34 +0000 (UTC)
Received: from gray (179.133.105.92.dynamic.wline.res.cust.swisscom.ch
 [92.105.133.179])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id B49DC223EC;
 Tue, 18 Apr 2017 20:30:33 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>
 <7e856815-6dff-4152-b144-c45a4bedb0b4@default>
 <m2efwttp0s.fsf@HIDDEN>
 <ffe2bbc7-a89d-4ce4-9063-22c205b9b44e@default>
Date: Tue, 18 Apr 2017 22:34:26 +0200
In-Reply-To: <ffe2bbc7-a89d-4ce4-9063-22c205b9b44e@default> (Drew Adams's
 message of "Sun, 16 Apr 2017 08:54:37 -0700 (PDT)")
Message-ID: <m2efwpmp4d.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: rudalics@HIDDEN, 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Hi Drew,

On Sun, Apr 16 2017 at 08:54:37 am, Drew Adams wrote:

>> 1) Does this still work without a standalone minibuffer frame?  I'm
>>    interested in using one, but I'd rather fix the *Completions* frame
>>    problem first before adding on a minibuffer-only frame to my setup.
>
> I can make it work without a standalone minibuffer frame
> in all Emacs versions before Emacs 25.  For some reason,
> redirecting the frame focus does not seem to work right
> for Emacs 25 when there is no standalone minibuffer frame.
> I hope I'm just missing something simple.
>
> The following code works, for example, except for Emacs 25.
> (I have Emacs 25.1-2.)  Maybe you or Martin can explain why.
> The debug `message' calls here don't tell me that anything
> is wrong, but clearly something is.
>
> I tried some variants also (no `w32-grab-focus-on-raise',
> explicitly select *Completions* frame (and even set focus
> to it temporarily), etc., to no avail.
>
> (defun foo ()
>   (interactive)
>   (add-to-list 'special-display-buffer-names
>                `("*Completions*" display-comp-fr))
>   (setq w32-grab-focus-on-raise  nil))
>
> (defun display-comp-fr (buf &optional args)
>   (let ((return-window
>          (select-window
>           (funcall special-display-function buf args))))
>     (raise-frame)
>     (message "BUF: %S, WIN: %S, FR: %S"
>              buf (get-buffer-window buf)
>              (window-frame (get-buffer-window buf)))
>     (let* ((mini-win  (active-minibuffer-window))
>            (redirect
>             (if mini-win
>                 (window-frame mini-win)
>               (and completion-reference-buffer
>                    (get-buffer-window
>                     completion-reference-buffer
>                     'visible)
>                    (not (eq (get-buffer "*Completions*")
>                             completion-reference-buffer))
>                    (window-frame
>                     (get-buffer-window
>                      completion-reference-buffer t))))))
>       (message "M: %S, REFB: %S, RFR: %S, SELFR: %S" ; @@@
>                mini-win completion-reference-buffer
>                redirect (selected-frame))
>       (redirect-frame-focus (selected-frame) redirect))
>     return-window))

Thanks for this minimal example.

It also doesn't work for me on Emacs 25 either.  Emacs 24.4 does work
fine, however.  I have no clue why... maybe redirect-frame-focus has
changed in Emacs 25?

Here is the recipe I used to check if it worked:

    emacs -Q
    load your two functions
    M-x foo
    M-x global- TAB auto

Typing "auto" resulted in a "Buffer is read-only: #<buffer
*Completions*>" error when the redirection wasn't working.  When the
redirection did work, the "auto" keyboard input was correctly sent to
the minibuffer.  I also tried Martin's suggestion of removing the
(select-window) call but that didn't get rid of the error for me.

>> 2) I don't understand why vanilla Emacs puts the *Completions*
>>    buffer in focus when it's popped into a new frame
>
> Martin answered this question, I think.  The window mgr does
> this, depending on your window mgr.  Once the frame exists,
> it does not do it.  But MS Windows, for example, gives the
> focus to a new frame that is displayed.

Yep, seems to be the case for most window managers.  I never noticed
this before.

>> > But frames remain the poor cousin to windows in
>> > Emacs.  Part of that is likely due to the fact that
>> > Emacs cannot completely control the behavior of
>> > frames for all window managers.  Window mgrs are
>> > different, and they have ultimate control.
>> 
>> Yes, this seems like it's the main issue here.  But 
>>still, sane frame behavior doesn't seem too far off.
>
> Hope springs eternal. ;-)

And that's what Emacs is built on. :D




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 18 Apr 2017 17:27:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 18 13:27:39 2017
Received: from localhost ([127.0.0.1]:55026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d0Wug-0004CC-T2
	for submit <at> debbugs.gnu.org; Tue, 18 Apr 2017 13:27:39 -0400
Received: from mout.gmx.net ([212.227.15.18]:49923)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1d0Wuf-0004Bi-0p
 for 26513 <at> debbugs.gnu.org; Tue, 18 Apr 2017 13:27:37 -0400
Received: from [192.168.1.100] ([213.162.68.91]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MD9NE-1coT8r3vpM-00GWvP; Tue, 18
 Apr 2017 19:27:18 +0200
Message-ID: <58F64C6C.40909@HIDDEN>
Date: Tue, 18 Apr 2017 19:27:08 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: Drew Adams <drew.adams@HIDDEN>, charles@HIDDEN
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>	<7e856815-6dff-4152-b144-c45a4bedb0b4@default>	<m2efwttp0s.fsf@HIDDEN>
 <ffe2bbc7-a89d-4ce4-9063-22c205b9b44e@default>
In-Reply-To: <ffe2bbc7-a89d-4ce4-9063-22c205b9b44e@default>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:C0URnj8DKEOl7UqpVONAzHGE+73cyozAvUzl3+9XGhaZSL555zP
 ZvpxEqabjSLCb1pLGXCjqHn0L9/jkiJ0nwiH2dNKS96PjN7IpeGEaeyRbnulcmw83vN/afS
 fRbKRS/Uk5925HWAknvxaN6lZlypSAIfGOz0t9N/aLlhDgnuL8m3qOsCk1dt4Z+R4zhkDzv
 9eZ6J80iFHGIAKkGxt+lA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:tVefuuYYsKg=:ASv2uFXc2gufEeNReNcjzW
 StyqXfV1FsYfV0lAmzB+VU9apAtDGiwAX0SCvYA5QC8VN4P5ht4FxkJh1s8s6aoO6fuBvvo/1
 GYCWRrGncRLtSittfk6qSd1UueM5QZmWRc5QXAEAf76zEShR9MaAqRFkDxwnFTqe9G1aow0aS
 UXSIU1DlwOt0zK9af8sOq8xzEGgSGBvYLP3E2YYTB1JdbpOYS064x2DAJMkI76FEL2iTVY/fQ
 CRsnAGiFpA6De4SfVqUyBSd3ZJF8QrCY6V29GyYOOdNA1Ls8dfLVjpCEQx4p5EAdz3Q12lGaL
 pt9nlyKHzr4E4PsLsqQetwLiy/Mg2R5d3ZCepAe7Sj0u2mjF9lUMS7GmJBd9Aqrk8JTb5ENlX
 +UdM2Qgs7yyTWCUTr2Frx3TGxZHLd81gXGPHiBq6m0XZiuYS8EQ84qLpdQsrh2U8bAXl6CUr7
 d9CajnhdA+AmJsJGecE1SY2rIQGzmLgDBtvp4aDeor6hvAlF8DQ0T/AkXUziidAj6prh2w/cC
 Gbzrf6k66nZdJvRxeS3ybj6QNaUoVJQW4BH/Cr6GqE75Qa7Yn+cgeoUOZQrcvb2wts3gP3zMO
 mtqyFd+1pBFwlGfDEsQ84/HOq5J0X8aXjrci1IcsUufSIfPtT91vlqMDjwDQ07uXFeIPmVRXH
 YtsgsqRP0q1RpxCqKW6iaAoLQpyzUbCcS7q6V+72nkwkLH3zHu/BiWBWzBIhFKeICCY1KG14c
 5eWPOJtQEIvs3WLq8fvuuwrDancjqqn89SbE5WS3ubYhMSLkTADR5wU4a6NXYsOwHhjCfCT+I
 WKUoLPsD8ph+kwKfaABpv2tAr/OzA==
X-Spam-Score: -1.5 (-)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

 >    (let ((return-window
 >           (select-window
 >            (funcall special-display-function buf args))))

Remove that =E2=80=98select-window=E2=80=99 call and Bob's your uncle.

martin





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 17 Apr 2017 07:44:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 17 03:44:18 2017
Received: from localhost ([127.0.0.1]:51392 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d01Kb-0003Xo-Qn
	for submit <at> debbugs.gnu.org; Mon, 17 Apr 2017 03:44:18 -0400
Received: from sinyavsky.aurox.ch ([37.35.109.145]:56163)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1d01Ka-0003XY-4k
 for 26513 <at> debbugs.gnu.org; Mon, 17 Apr 2017 03:44:16 -0400
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id A33F8223F0
 for <26513 <at> debbugs.gnu.org>; Mon, 17 Apr 2017 07:40:16 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-type:content-type:mime-version:message-id:in-reply-to
 :date:date:references:subject:subject:to:from:from; s=dkim; t=
 1492414814; x=1493278815; bh=4nTo06dWyaP1vAJ+HE0AddX/Vym0UNxx0Z6
 NRoozfzc=; b=Sbtb+Mui/282IFiBUnuwxnvGoWjbohBrF2+0vasvIUoYlsABVQ9
 rrjJxqjfyhQuSbz2huQyQ/LhIrLoJZ0T/O6Oe8TczCj5IQMcT4hPJhhNxgOZ/zH8
 lv+Bo5CifyB6BFFt0taWWPrmvunS3B1DAZWjIkSVawdNdHP/jwoiujvA=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id T9dw7ocpY_Kk for <26513 <at> debbugs.gnu.org>;
 Mon, 17 Apr 2017 07:40:14 +0000 (UTC)
Received: from gray (179.133.105.92.dynamic.wline.res.cust.swisscom.ch
 [92.105.133.179])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 9B9A2223DB;
 Mon, 17 Apr 2017 07:40:12 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN> <58F23339.6090201@HIDDEN>
 <m2inm5trdt.fsf@HIDDEN> <58F27723.8010706@HIDDEN>
 <m24lxptny9.fsf@HIDDEN> <58F31A4F.9010002@HIDDEN>
Date: Mon, 17 Apr 2017 09:44:03 +0200
In-Reply-To: <58F31A4F.9010002@HIDDEN> (martin rudalics's message of "Sun, 16
 Apr 2017 09:16:31 +0200")
Message-ID: <m2inm3fph8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

>> Really?  But selecting a completion with the mouse or with RET in the
>> *Completions* window with pop-up-frames set to nil does the same.
>
> Yes.  But I never noticed.  I could have sworn that I had to type RET
> somewhere to confirm that I really wanted to do what I picked with the
> mouse or via RET in the *Completions* buffer before.

Have you ever tried Drew's icicles library before?  If you load it from
emacs -Q and enable it with M-x icicle-mode, and type M-x global- TAB
as before, then hitting TAB "cycles" to the next completion in the
*Completions* buffer.  Cycling in this case means two things:

a) Replacing the current minibuffer input with the completion cycled to,
   and highlighting it as the active region in the minibuffer
b) Moving point in the *Completions* window to the selected completion
   and highlighting it with a special face there as well.

But the *Completions* window is never (to my knowledge) the selected
window for the user.  This would be a good model to follow (IMO): the
user can initiate completion with TAB, using it to complete, say, an
initial prefix, and then hit TAB a few more times to cycle to a chosen
candidate, all without ever leaving the minibuffer window.

>> Granted, though, it's probably not a very common thing to do.
>>
>> And also, sorry if this was not clear, but this bug is for completion
>> everywhere in Emacs, not just M-x.
>
> That's why I asked.  I now think that for most users the behavior that
> the frame is selected is quite normal (for M-x) and I rather would
> expect the *Completions* window to be selected too when it appears on
> the same frame.  The current behavior is inconsistent.

See above for a way to allow cycling candidates with TAB without the
*Completions* window having to be selected.  In other applications (say,
the bash shell), hitting TAB to complete something never prevents you
from continuing to type (as would happen in Emacs if the *Completions*
window were always selected when you initiate completion).

>> Thank you; I wasn't aware of this.  Now it makes sense why the
>> *Completions* frame gets focus.  One solution to this problem, then,
>> might be to create a separate *Completions* frame on startup and update
>> it with completions as necessary, without ever deleting/recreating it.
>> I'll see if I can write a mode or something for this.
>
> Even then it might get focus.  With a focus follows mouse policy, raising
> a frame that happens to be under the mouse pointer will usually also
> focus it (blame the window manager for that).

True, I will have to try it out and see if that's a problem.

>>> Still, why would you want to "continue typing in the minibuffer" when
>>> the desired effect of what you do is to choose and execute one of the
>>> commands shown in the *Completions* buffer?
>>
>> As explained above, it isn't necessarily the desired effect, only one
>> example.
>
> Maybe it would then make sense to discriminate the use cases of
> *Completions*: One where continuing typing in the selected window
> wouldn't make sense because one has to select an item in the
> *Completions* buffer.  In that case selecting the *Completions* window
> makes perfect sense IMHO.  And one where you usually want to continue
> typing and the *Completions* buffer is just there for later perusal.

Again, see above for Drew's approach, since it allows both use cases
easily.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 16 Apr 2017 15:54:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 16 11:54:55 2017
Received: from localhost ([127.0.0.1]:50883 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czmVq-00088I-Np
	for submit <at> debbugs.gnu.org; Sun, 16 Apr 2017 11:54:54 -0400
Received: from userp1040.oracle.com ([156.151.31.81]:38381)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1czmVp-000886-2B
 for 26513 <at> debbugs.gnu.org; Sun, 16 Apr 2017 11:54:53 -0400
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 v3GFshZC003955
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 16 Apr 2017 15:54:44 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3GFshj0015636
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 16 Apr 2017 15:54:43 GMT
Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22])
 by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3GFseaw026352;
 Sun, 16 Apr 2017 15:54:40 GMT
MIME-Version: 1.0
Message-ID: <ffe2bbc7-a89d-4ce4-9063-22c205b9b44e@default>
Date: Sun, 16 Apr 2017 08:54:37 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: charles@HIDDEN
Subject: RE: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>
 <7e856815-6dff-4152-b144-c45a4bedb0b4@default> <m2efwttp0s.fsf@HIDDEN>
In-Reply-To: <m2efwttp0s.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 12.0.6767.5000 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Source-IP: userv0022.oracle.com [156.151.31.74]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

> 1) Does this still work without a standalone minibuffer frame?  I'm
>    interested in using one, but I'd rather fix the *Completions* frame
>    problem first before adding on a minibuffer-only frame to my setup.

I can make it work without a standalone minibuffer frame
in all Emacs versions before Emacs 25.  For some reason,
redirecting the frame focus does not seem to work right
for Emacs 25 when there is no standalone minibuffer frame.
I hope I'm just missing something simple.

The following code works, for example, except for Emacs 25.
(I have Emacs 25.1-2.)  Maybe you or Martin can explain why.
The debug `message' calls here don't tell me that anything
is wrong, but clearly something is.

I tried some variants also (no `w32-grab-focus-on-raise',
explicitly select *Completions* frame (and even set focus
to it temporarily), etc., to no avail.

(defun foo ()
  (interactive)
  (add-to-list 'special-display-buffer-names
               `("*Completions*" display-comp-fr))
  (setq w32-grab-focus-on-raise  nil))

(defun display-comp-fr (buf &optional args)
  (let ((return-window
         (select-window
          (funcall special-display-function buf args))))
    (raise-frame)
    (message "BUF: %S, WIN: %S, FR: %S"
             buf (get-buffer-window buf)
             (window-frame (get-buffer-window buf)))
    (let* ((mini-win  (active-minibuffer-window))
           (redirect
            (if mini-win
                (window-frame mini-win)
              (and completion-reference-buffer
                   (get-buffer-window
                    completion-reference-buffer
                    'visible)
                   (not (eq (get-buffer "*Completions*")
                            completion-reference-buffer))
                   (window-frame
                    (get-buffer-window
                     completion-reference-buffer t))))))
      (message "M: %S, REFB: %S, RFR: %S, SELFR: %S" ; @@@
               mini-win completion-reference-buffer
               redirect (selected-frame))
      (redirect-frame-focus (selected-frame) redirect))
    return-window))

> 2) I don't understand why vanilla Emacs puts the *Completions*
>    buffer in focus when it's popped into a new frame

Martin answered this question, I think.  The window mgr does
this, depending on your window mgr.  Once the frame exists,
it does not do it.  But MS Windows, for example, gives the
focus to a new frame that is displayed.

> Standalone minibuffer frames are meant to work correctly
> almost out of the box, though, right?

They should be meant to do that, yes, IMO.

> > But frames remain the poor cousin to windows in
> > Emacs.  Part of that is likely due to the fact that
> > Emacs cannot completely control the behavior of
> > frames for all window managers.  Window mgrs are
> > different, and they have ultimate control.
>=20
> Yes, this seems like it's the main issue here.  But=20
>still, sane frame behavior doesn't seem too far off.

Hope springs eternal. ;-)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 16 Apr 2017 07:16:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 16 03:16:50 2017
Received: from localhost ([127.0.0.1]:49695 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czeQU-0007Zm-Iu
	for submit <at> debbugs.gnu.org; Sun, 16 Apr 2017 03:16:50 -0400
Received: from mout.gmx.net ([212.227.17.20]:50699)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1czeQS-0007ZY-67
 for 26513 <at> debbugs.gnu.org; Sun, 16 Apr 2017 03:16:48 -0400
Received: from [192.168.1.100] ([213.162.68.14]) by mail.gmx.com (mrgmx102
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lr46Z-1cLLel3oep-00eYqG; Sun, 16
 Apr 2017 09:16:41 +0200
Message-ID: <58F31A4F.9010002@HIDDEN>
Date: Sun, 16 Apr 2017 09:16:31 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: "Charles A. Roelli" <charles@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>
 <58F23339.6090201@HIDDEN>	<m2inm5trdt.fsf@HIDDEN> <58F27723.8010706@HIDDEN>
 <m24lxptny9.fsf@HIDDEN>
In-Reply-To: <m24lxptny9.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:+Q4A70c0ph7MyWqWJqfmvdbbW/Tcs159oyv3qBkh+GX6tXtNH/0
 78wTseRRlFhJt1hrS6nCOLfDmhTDyZa6ZAcHh8bCpZX48H0zAYlunaCAXOPxsSfHOF6Am+P
 bgPfbkdEuH2Nr1w6xN9xDExR63fhM4Iiw2sVNSm0luB5TcX3YnnYG32x5tRrHs45dBWIzml
 qefA4itpjTsFG6skfsNeg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:rbrrEOerLOw=:UtUluDGgHqbgLZGp6vvmA0
 JigISElloIFm1kMapl1/4R7x2/JklEliYAJCndmuGUy3RjUK0E7EBptMW7jCfv4FtB20AWFtl
 T2FFgXGj2psinE3fjwKpzViuacgw8IsYHSnY4vhk5j2xklTqWbbuZDX7WZdh20x7VT+x6+Nhw
 AscmBgMmSV4FkgXo4jq0++UMgQIg6vHbMTK7wIyn0hMOlMdfK5rtGWuavC58Sb9t2dapy+tPJ
 RP+EWXydlegImTDF7mqhd/MYhpdqJkNTgPc24I5AEMU1VHRU96t+EpGgM0A+93cItEwIl8YPu
 jrcjhIUjK7jE+f1AL8FVUlCMoXCQalUGlLQgaw0SCNWPEqCySysikwIZlpV03fBWB1V1YukI6
 Khj0vsJmu7Z6xz963756xggPlyAUvANJEO/+sk6ie6L2paq5qooI1skBfvfY8pQ8efEu6Pxuo
 DTOKhqORN0OF4yL67XDowaRIFdNn1j//pX1etK+2zu7n5ZaKcv2zbY2qSNZOLtYxOOyyel1pC
 vfYkOndNiMWE5hUs0WokXHtuD1IGt1sMlKMAyw8MGomJBGWS6+sT1WoGT2Lqfv9Yap1eABD3m
 TjvNjkL/GnwSznKlvqNnfPT0m+cXLJhxJMs1f2Iw+arE1KPZqJe0RjLZEmaglOYPTDvVu30Yg
 CXDEcf8VsW0wF2cfazi3z9pUwqqBFrBYacg4xUIIyTv2arTqei/NE7GxX+mpmgdopBJbm8rqA
 gQxgdFEr41DjgWUEt1E+jtxBiV0QhJ5kOm3CcuUAsHd0D38N4ve/tJBSx8+eARF2MR9ocJBrJ
 SkVIEcOTunDaWQWBH/0LNcmVgm3Kw==
X-Spam-Score: -1.5 (-)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

 > Really?  But selecting a completion with the mouse or with RET in the
 > *Completions* window with pop-up-frames set to nil does the same.

Yes.  But I never noticed.  I could have sworn that I had to type RET
somewhere to confirm that I really wanted to do what I picked with the
mouse or via RET in the *Completions* buffer before.

 > Granted, though, it's probably not a very common thing to do.
 >
 > And also, sorry if this was not clear, but this bug is for completion
 > everywhere in Emacs, not just M-x.

That's why I asked.  I now think that for most users the behavior that
the frame is selected is quite normal (for M-x) and I rather would
expect the *Completions* window to be selected too when it appears on
the same frame.  The current behavior is inconsistent.

 > Thank you; I wasn't aware of this.  Now it makes sense why the
 > *Completions* frame gets focus.  One solution to this problem, then,
 > might be to create a separate *Completions* frame on startup and update
 > it with completions as necessary, without ever deleting/recreating it.
 > I'll see if I can write a mode or something for this.

Even then it might get focus.  With a focus follows mouse policy, raising
a frame that happens to be under the mouse pointer will usually also
focus it (blame the window manager for that).

 >> Still, why would you want to "continue typing in the minibuffer" when
 >> the desired effect of what you do is to choose and execute one of the
 >> commands shown in the *Completions* buffer?
 >
 > As explained above, it isn't necessarily the desired effect, only one
 > example.

Maybe it would then make sense to discriminate the use cases of
*Completions*: One where continuing typing in the selected window
wouldn't make sense because one has to select an item in the
*Completions* buffer.  In that case selecting the *Completions* window
makes perfect sense IMHO.  And one where you usually want to continue
typing and the *Completions* buffer is just there for later perusal.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 15 Apr 2017 20:28:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 15 16:28:57 2017
Received: from localhost ([127.0.0.1]:49425 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czUJV-0007Qx-Jy
	for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 16:28:57 -0400
Received: from sinyavsky.aurox.ch ([37.35.109.145]:55203)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1czUJT-0007Ql-OD
 for 26513 <at> debbugs.gnu.org; Sat, 15 Apr 2017 16:28:56 -0400
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id 0EB9B223E6
 for <26513 <at> debbugs.gnu.org>; Sat, 15 Apr 2017 20:25:00 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-type:content-type:mime-version:message-id:in-reply-to
 :date:date:references:subject:subject:to:from:from; s=dkim; t=
 1492287898; x=1493151899; bh=cBFpbe7cc0nPL9KM+17X0U8ZhqikQ0G8GtS
 HiZ0hins=; b=tiCsUeeOcpbtEu4oBOQ2iEuzWW9DAtULC+iML6jhqWmjbSRcwYJ
 NMdlVI97xAa63CZ1ZSuDiAbD9gwsxSAAjIrZV3OySyCl6bjDgml7/LjKe5+qqzhr
 m7YmzWpFA/vPgYhfMqD0fR4BM3YufO86zeActUW3oe1wiAabRhSHmTGg=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id gv7RmouU4Vi1 for <26513 <at> debbugs.gnu.org>;
 Sat, 15 Apr 2017 20:24:58 +0000 (UTC)
Received: from gray (179.133.105.92.dynamic.wline.res.cust.swisscom.ch
 [92.105.133.179])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 8033E2238D;
 Sat, 15 Apr 2017 20:24:56 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN> <58F23339.6090201@HIDDEN>
 <m2inm5trdt.fsf@HIDDEN> <58F27723.8010706@HIDDEN>
Date: Sat, 15 Apr 2017 22:28:46 +0200
In-Reply-To: <58F27723.8010706@HIDDEN> (martin rudalics's message of "Sat, 15
 Apr 2017 21:40:19 +0200")
Message-ID: <m24lxptny9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Sat, Apr 15 2017 at 09:40:19 pm, martin rudalics wrote:

>> (The frame is iconified in this case for me.)  I wouldn't mind if the
>> frame just stayed where it was (i.e. no iconification), and I think this
>> can be done quite easily by overriding the function
>> `minibuffer-hide-completions', and possibly by dedicating the
>> *Completions* buffer to the window displaying it in its own frame
>> (otherwise it can happen that the frame ends up showing some other
>> buffer -- not yet sure how this happens).  Other ideas welcome, of
>> course.
>
> I must admit that I never use completion after M-x.  I was simply
> stupefied by the fact that it immediately executed a command instead of
> putting the command into the minibuffer, let me regard it and execute it
> after I typed RET there.

Really?  But selecting a completion with the mouse or with RET in the
*Completions* window with pop-up-frames set to nil does the same.
Granted, though, it's probably not a very common thing to do.

And also, sorry if this was not clear, but this bug is for completion
everywhere in Emacs, not just M-x.

>> But the main issue for now lies in focus being given to the
>> *Completions* frame when completion is initiated.  The equivalent with
>> `pop-up-frames' equal to nil would be if the *Completions* window was
>> selected after hitting TAB during completion.  It's not intuitive.
>
> It should be now possible to do that on X and Windows by using the
> 'no-focus-on-map' parameter I added this week.  I'm not sure whether
> such a thing exists for NS.  By default, a new Window Manager window
> always gets focus.

Thank you; I wasn't aware of this.  Now it makes sense why the
*Completions* frame gets focus.  One solution to this problem, then,
might be to create a separate *Completions* frame on startup and update
it with completions as necessary, without ever deleting/recreating it.
I'll see if I can write a mode or something for this.

> Taking it away from the window right after creation might be tricky,
> sometimes.
>
> Still, why would you want to "continue typing in the minibuffer" when
> the desired effect of what you do is to choose and execute one of the
> commands shown in the *Completions* buffer?

As explained above, it isn't necessarily the desired effect, only one
example.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 15 Apr 2017 20:05:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 15 16:05:53 2017
Received: from localhost ([127.0.0.1]:49405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czTxB-0006uG-GK
	for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 16:05:53 -0400
Received: from sinyavsky.aurox.ch ([37.35.109.145]:55179)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1czTx9-0006u2-8w
 for 26513 <at> debbugs.gnu.org; Sat, 15 Apr 2017 16:05:52 -0400
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id 8BAB3223E6
 for <26513 <at> debbugs.gnu.org>; Sat, 15 Apr 2017 20:01:51 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-type:content-type:mime-version:message-id:in-reply-to
 :date:date:references:subject:subject:to:from:from; s=dkim; t=
 1492286510; x=1493150511; bh=c1qgC85MV/v+/9iw4BvHcwvGHMklJNflWky
 /23F694Q=; b=EJbruaVBK0AgkUU9fwQGMkGWae5L5cfhokQNJV0NNqPCbECBEEl
 q4UdLag2ssKUEq9K4nt/iidN5dz7jaCaGbVlP1m5wH5PPllgpjPWe8U87XiHpPRO
 5HMVtXOT5czH+ui1Xrcf9yEBd4sjNNl6bK4nR7T+EuO7GUPboQGoOXa8=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id seejH0lCI2WO for <26513 <at> debbugs.gnu.org>;
 Sat, 15 Apr 2017 20:01:50 +0000 (UTC)
Received: from gray (179.133.105.92.dynamic.wline.res.cust.swisscom.ch
 [92.105.133.179])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id C23482238D;
 Sat, 15 Apr 2017 20:01:49 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>
 <7e856815-6dff-4152-b144-c45a4bedb0b4@default>
Date: Sat, 15 Apr 2017 22:05:39 +0200
In-Reply-To: <7e856815-6dff-4152-b144-c45a4bedb0b4@default> (Drew Adams's
 message of "Sat, 15 Apr 2017 09:49:28 -0700 (PDT)")
Message-ID: <m2efwttp0s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Sat, Apr 15 2017 at 09:49:28 am, Drew Adams wrote:

> FWIW, I reported such problems a couple of decades ago.
> Unfortunately (for me at least), there is not enough
> use or interest in using separate frames by default,
> including for *Completions*, so this kind of thing has
> not gotten the love it would really need for progress.

Maybe it's time for some change?  :-)  Especially in light of the
boatload of new frame stuff that was added recently (thanks to Martin
for that).

> I've tried to do what I can in my own environment to
> handle this, especially in the context of a standalone 
> minibuffer frame.  And Martin has been helpful wrt
> problems that resulted from changes in the Emacs code
> over the years.
>
> Here's what I do for *Completions*, FWIW:
>
> I add an entry to `special-display-buffer-names* that
> has a function, `1on1-display-*Completions*-frame',
> which takes care of displaying the *Completions* frame.
>
> The main thing that function does is redirect the
> focus of the *Completions* frame to the standalone
> minibuffer frame (if the minibuffer is active) or
> (if not) to the buffer that was current before
> *Completions* display was requested:
>
> (let ((redirect
>        (if (active-minibuffer-window)
>            1on1-minibuffer-frame
>          (and completion-reference-buffer
>               (get-buffer-window
>                 completion-reference-buffer 'visible)
>                 (not (eq (get-buffer "*Completions*") 
>                          completion-reference-buffer))
>                 (window-frame
>                   (get-buffer-window
>                     completion-reference-buffer t))))))
>       (when redirect
>         (redirect-frame-focus (selected-frame)
>                               redirect)))

1) Does this still work without a standalone minibuffer frame?  I'm
   interested in using one, but I'd rather fix the *Completions* frame
   problem first before adding on a minibuffer-only frame to my setup.
2) I don't understand why vanilla Emacs puts the *Completions* buffer in
   focus when it's popped into a new frame -- but I know that this is
   the reason you have to redirect the focus from *Completions* to the
   minibuffer or the completion-reference-buffer frame.  On Mac OS,
   though, redirecting frame focus results in a lot of flicker and lag
   on each keypress -- sometimes up to a second or two long.  (Will save
   the rest for another bug report someday.)  Wouldn't a simpler
   alternative to frame redirection be to just put point back in the
   minibuffer or completion-reference-buffer?

> I've said it before, but I think it is relevant:
> Back in the early 1990s the Emacs implementation
> named `Epoch' worked very well with a standalone
> minibuffer frame, out of the box.
>
> All I've done is try to work around Emacs's poor
> (non-existent) support for this kind of use case -
> essentially trying to emulate Epoch behavior.

Standalone minibuffer frames are meant to work correctly almost out of
the box, though, right?  (IIRC you just have to fiddle with
`initial-frame-alist' to remove the minibuffer from the first
frame).  It's only when *Completions* is displayed in a separate frame
that there are issues.

> But frames remain the poor cousin to windows in
> Emacs.  Part of that is likely due to the fact that
> Emacs cannot completely control the behavior of
> frames for all window managers.  Window mgrs are
> different, and they have ultimate control.

Yes, this seems like it's the main issue here.  But still, sane frame
behavior doesn't seem too far off.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 15 Apr 2017 19:40:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 15 15:40:39 2017
Received: from localhost ([127.0.0.1]:49392 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czTYl-0006KF-02
	for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 15:40:39 -0400
Received: from mout.gmx.net ([212.227.15.19]:52100)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1czTYj-0006K2-Bx
 for 26513 <at> debbugs.gnu.org; Sat, 15 Apr 2017 15:40:37 -0400
Received: from [192.168.1.100] ([213.162.68.102]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M5Lmp-1c7MEp263T-00zWjt; Sat, 15
 Apr 2017 21:40:24 +0200
Message-ID: <58F27723.8010706@HIDDEN>
Date: Sat, 15 Apr 2017 21:40:19 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: "Charles A. Roelli" <charles@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN> <58F23339.6090201@HIDDEN>
 <m2inm5trdt.fsf@HIDDEN>
In-Reply-To: <m2inm5trdt.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:VnGZ92/iNV6mO7qkMH3gLR5PZnlM+9IlWcnbzYhfYBrgPy5rIlL
 kupj1PiFdy0COQWFXfBtTY6XZpnBpDSQcbQHAciH27X6Mw6UOpJNzafwykcvI2kes9njz2k
 WGlpnOJvpauRqnh2OaHJBQ6YgtxcJny6HeweHvJJndFQX9MBXTamQxS38UStpDf6g7MFXCo
 JVDPQy1cBl0BqBbRlCwrQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:diWZgHcFiRc=:IXZ0x6rL/8z6kG0SKlfPLQ
 LSsO4/nBx8P+8O7IdrAXuzcdy3mAUb1ssCM+ESgivHag+/lD6lVZeJOtfQpMtOfjmZD3n/hdV
 /5CPNJ3dT/RLkZ78N8wwcUwOM4rQ/SZQFBcCwPeLmnW2nbDOth1+mZ4ll/PRAims28FuSaJq8
 Kegqv4aPrgYGyrruHz7vKtAlnsuAU06kUiIbg+B4NaWNEmTPD19l8X7P/E36mHAnB8IpzSLox
 p9Kniw9h7PRe/fRLtjCYrhS9AJX8NI/+n59sW7e+DFbDnjIvfEbfmbKSFfHjt43hl7OB/rNTx
 6VU3O43Dtn9kfTs1XYv9QA+q9Ygg9WRoLkvLmEBUIj1zUZH6Rv0Eq89ugulpVymJyOcSLonEw
 xmqgUZ4yjPofmN9ykMYvDKaJN+cmW2gVEzwLgVOxSmTlC4CnWLlsgmg3CoaHwwgiurIQ4ogad
 l1sittPtPx4u3A2tAk6Gp+D4GgyL2CEReBqiMqPsm0MTvDodw0wxNHmyrfO64GdJoqkYixhJL
 VIW3lkh5b45uOLDRMM+YOX6pPw+YXAB9dE3DJdQv/OFg3uY/KVZgxGBDsQ56u5qDzdPoOb2HL
 kLrIJyGfQmyUyJUp4Sq30yJWNfxYXXUGYZGLDYceZAAc8OqVFt6h4yrGTAKDNhZ4aZoqIQrOV
 WkClGYf0Gd0tTnQ6wn52JtOIjdiWrs5y5EOTRCNoJRYF4ZEjlzpWLYAiACqG6pSKiltaRPOCH
 eP2t5bKbKluZhxdmZt/zhutfWIAf3Hd3wKEfn3gFOCV1SjggaP/HvkoqS5EVh1uoR/Hhrg6XU
 dphlTo8wqeVujEw/tsIHaExuTbllQ==
X-Spam-Score: -2.0 (--)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

 > (The frame is iconified in this case for me.)  I wouldn't mind if the
 > frame just stayed where it was (i.e. no iconification), and I think this
 > can be done quite easily by overriding the function
 > `minibuffer-hide-completions', and possibly by dedicating the
 > *Completions* buffer to the window displaying it in its own frame
 > (otherwise it can happen that the frame ends up showing some other
 > buffer -- not yet sure how this happens).  Other ideas welcome, of
 > course.

I must admit that I never use completion after M-x.  I was simply
stupefied by the fact that it immediately executed a command instead of
putting the command into the minibuffer, let me regard it and execute it
after I typed RET there.

 > But the main issue for now lies in focus being given to the
 > *Completions* frame when completion is initiated.  The equivalent with
 > `pop-up-frames' equal to nil would be if the *Completions* window was
 > selected after hitting TAB during completion.  It's not intuitive.

It should be now possible to do that on X and Windows by using the
'no-focus-on-map' parameter I added this week.  I'm not sure whether
such a thing exists for NS.  By default, a new Window Manager window
always gets focus.  Taking it away from the window right after creation
might be tricky, sometimes.

Still, why would you want to "continue typing in the minibuffer" when
the desired effect of what you do is to choose and execute one of the
commands shown in the *Completions* buffer?

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 15 Apr 2017 19:14:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 15 15:14:50 2017
Received: from localhost ([127.0.0.1]:49371 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czT9l-0005hX-TE
	for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 15:14:50 -0400
Received: from sinyavsky.aurox.ch ([37.35.109.145]:55125)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1czT9k-0005hJ-EJ
 for 26513 <at> debbugs.gnu.org; Sat, 15 Apr 2017 15:14:49 -0400
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id 159A7223E6
 for <26513 <at> debbugs.gnu.org>; Sat, 15 Apr 2017 19:10:52 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-type:content-type:mime-version:message-id:in-reply-to
 :date:date:references:subject:subject:to:from:from; s=dkim; t=
 1492283450; x=1493147451; bh=Q1NGQWgd5jJg0VO9sxIfD8Jf0LuJPZk2kcQ
 Qe8CpqN0=; b=C6E0zOZHDN749ZaHgwR7/OtRYuCinZVa/NoIzmRVJJlTCOvlRy7
 BuP2nvEWzgoN+HWZkfs7uy3+yjOqm4nbV1mCAJryZgUBIJyDDBVlCp6oMbDQofT9
 4g66StDy9QK2d5EgZLkHOHrkgxXZX/4RAHloDM+YY8U3h4iemBi8toIE=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id Q9_0AOp_KWCy for <26513 <at> debbugs.gnu.org>;
 Sat, 15 Apr 2017 19:10:50 +0000 (UTC)
Received: from gray (179.133.105.92.dynamic.wline.res.cust.swisscom.ch
 [92.105.133.179])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id BE8412238D;
 Sat, 15 Apr 2017 19:10:49 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN> <58F23339.6090201@HIDDEN>
Date: Sat, 15 Apr 2017 21:14:38 +0200
In-Reply-To: <58F23339.6090201@HIDDEN> (martin rudalics's message of "Sat, 15
 Apr 2017 16:50:33 +0200")
Message-ID: <m2inm5trdt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26513
Cc: 26513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Sat, Apr 15 2017 at 04:50:33 pm, martin rudalics wrote:

>> M-x set-variable RET pop-up-frames RET t RET
>> M-x global- TAB
>>
>> The *Completions* buffer is opened in a new frame, but the cursor is in
>> the frame too, so the user has to switch back to the minibuffer to
>> continue typing.
>>
>> How can the user ensure that the cursor goes back to the minibuffer
>> automatically?  Could the solution be documented somewhere (maybe in the
>> docstring of `pop-up-frames') or could the completion code take care of
>> it?
>
> This use of *Completions* seems strange in another way: When I click on
> one of the items in the *Completions* buffer or type RET on it, the
> respective mode is enabled and the *Completions* frame stays around.  Is
> that the desired behavior?

(The frame is iconified in this case for me.)  I wouldn't mind if the
frame just stayed where it was (i.e. no iconification), and I think this
can be done quite easily by overriding the function
`minibuffer-hide-completions', and possibly by dedicating the
*Completions* buffer to the window displaying it in its own frame
(otherwise it can happen that the frame ends up showing some other
buffer -- not yet sure how this happens).  Other ideas welcome, of
course.

I can imagine that some people would instead prefer to just hide the
*Completions* frame when it's not needed (by changing the frame
visibility parameter).  Or it could be shrunk to a small size when not
needed, and then resized to fit its new contents when summoned again.
There could be many different strategies.

For me, the advantage of a separate *Completions* frame would be that
you can place it once on your display at the start of your Emacs
session, and afterwards you never incur the cost of splitting windows,
creating frames or switching buffers for completions again -- and you
would always know where to look for them.  It could also be useful to
still have the *Completions* buffer in view /after/ completion has been
done -- say you hit C-x C-f TAB to see the files in the current
directory, then pick one and hit RET; if the *Completions* frame sticks
around, you can use it to get an idea of what other files are there.

But the main issue for now lies in focus being given to the
*Completions* frame when completion is initiated.  The equivalent with
`pop-up-frames' equal to nil would be if the *Completions* window was
selected after hitting TAB during completion.  It's not intuitive.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 15 Apr 2017 16:49:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 15 12:49:51 2017
Received: from localhost ([127.0.0.1]:49192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czQtT-00057k-EF
	for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 12:49:51 -0400
Received: from userp1040.oracle.com ([156.151.31.81]:39401)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1czQtR-00057W-Ne
 for 26513 <at> debbugs.gnu.org; Sat, 15 Apr 2017 12:49:50 -0400
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 v3FGnX9F004850
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sat, 15 Apr 2017 16:49:34 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3FGnWVX006455
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
 Sat, 15 Apr 2017 16:49:33 GMT
Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23])
 by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v3FGnS1F010908;
 Sat, 15 Apr 2017 16:49:30 GMT
MIME-Version: 1.0
Message-ID: <7e856815-6dff-4152-b144-c45a4bedb0b4@default>
Date: Sat, 15 Apr 2017 09:49:28 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: charles@HIDDEN, 26513 <at> debbugs.gnu.org
Subject: RE: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>
In-Reply-To: <m2d1ce81yl.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 12.0.6753.5000 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Source-IP: userv0022.oracle.com [156.151.31.74]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 26513
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

FWIW, I reported such problems a couple of decades ago.
Unfortunately (for me at least), there is not enough
use or interest in using separate frames by default,
including for *Completions*, so this kind of thing has
not gotten the love it would really need for progress.

I've tried to do what I can in my own environment to
handle this, especially in the context of a standalone=20
minibuffer frame.  And Martin has been helpful wrt
problems that resulted from changes in the Emacs code
over the years.

Here's what I do for *Completions*, FWIW:

I add an entry to `special-display-buffer-names* that
has a function, `1on1-display-*Completions*-frame',
which takes care of displaying the *Completions* frame.

The main thing that function does is redirect the
focus of the *Completions* frame to the standalone
minibuffer frame (if the minibuffer is active) or
(if not) to the buffer that was current before
*Completions* display was requested:

(let ((redirect
       (if (active-minibuffer-window)
           1on1-minibuffer-frame
         (and completion-reference-buffer
              (get-buffer-window
                completion-reference-buffer 'visible)
                (not (eq (get-buffer "*Completions*")=20
                         completion-reference-buffer))
                (window-frame
                  (get-buffer-window
                    completion-reference-buffer t))))))
      (when redirect
        (redirect-frame-focus (selected-frame)
                              redirect)))

I've said it before, but I think it is relevant:
Back in the early 1990s the Emacs implementation
named `Epoch' worked very well with a standalone
minibuffer frame, out of the box.

All I've done is try to work around Emacs's poor
(non-existent) support for this kind of use case -
essentially trying to emulate Epoch behavior.

But frames remain the poor cousin to windows in
Emacs.  Part of that is likely due to the fact that
Emacs cannot completely control the behavior of
frames for all window managers.  Window mgrs are
different, and they have ultimate control.

The other reason is probably just because few Emacs
users try to use separate frames by default, or if
they try they soon give up due to the many hurdles.

Anyway, you might try, to start with, redirecting
the frame focus back to `completion-reference-buffer'.

For reference, in case it helps, my code for
`1on1-display-*Completions*-frame' is in `oneonone.el'
(https://www.emacswiki.org/emacs/download/oneonone.el).
My code for keybindings in `completion-list-mode-map'
is in `icicles-mode.el'
(https://www.emacswiki.org/emacs/download/icicles-mode.el).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at 26513 <at> debbugs.gnu.org:


Received: (at 26513) by debbugs.gnu.org; 15 Apr 2017 14:50:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 15 10:50:52 2017
Received: from localhost ([127.0.0.1]:49095 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czP2K-0002KG-8G
	for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 10:50:52 -0400
Received: from mout.gmx.net ([212.227.17.20]:64156)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1czP2J-0002K3-3Y
 for 26513 <at> debbugs.gnu.org; Sat, 15 Apr 2017 10:50:51 -0400
Received: from [192.168.1.100] ([213.162.68.80]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lip2P-1cTvhD1RTZ-00cv5H; Sat, 15
 Apr 2017 16:50:38 +0200
Message-ID: <58F23339.6090201@HIDDEN>
Date: Sat, 15 Apr 2017 16:50:33 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: "Charles A. Roelli" <charles@HIDDEN>, 26513 <at> debbugs.gnu.org
Subject: Re: bug#26513: 25.2; pop-up-frames and *Completions* buffer
References: <m2d1ce81yl.fsf@HIDDEN>
In-Reply-To: <m2d1ce81yl.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:sscv3+97oldTaVD+VHClLnEMLtzVitPsqgp6fFTvkTAmCPz7sxd
 SswzffkuOM21wSsJtyLvMcsEUGiorhM15g0gify2vmTlJwSHBwGODIf9Eov3R0JklwdVdYo
 NSU0gYyPfscvmuQyfJNBMwPJhQUzvmXeoWGD6m9a61RFWyMIkyJCI6svEfC0968rwyku1c+
 4Rgk/3H6ZBzLIE7ddQo4w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:vS14Vz5EAT0=:ZlRSe71uxhfyKu3tM8qlT7
 JOnIpdfiGx6EFidNelAwVB2Q1Gsw5+RwM9YzghjDk4nQ8F7AdqK2ol6wb/jThzik9H8GdCVXx
 Ezta/UTJ3qSr1HKvCmlttsywwyQTs0LvRANI5Uyrl3mwB6x/ISkSQV9gVhejgrDnLW22HC/6v
 WvyU59s0n6n0HbOIqCffMg1DK4FQBNbm3e5jRdaQBGxTNCD0EWc/aAb0OgryPW89opYeLNSZA
 ySMRnStMU8JlK4I+awX8BWijg41BWoJysAWkOkuLMsB63xlmcywlW4f55h3GBK7ypGi8R6eb2
 7qCYFGZNxt3aFeFxIN0Nb2zMZZ5XIrAHf0obIuN0VK29kfNyNTLh+doCxDLAeCGIh5C+bW4qS
 smLG+RyyNKuztLI42OrZkslT7nkEh1Kq5z1a2IBhr39nYtsh/L7cI5TP9cToVYNd1rF8pOEc1
 tBivNNHfwMJbLaevPQHtfJDh7sSLygjEfRxDs0n/as6azydCmn+2CcodtfCAJRBILDldAbTN0
 zl4yu+mzhNbuzYaFq/tjs5Zne2gNdp1jvHRiOqO5zmzauLgNIm11+6SitiMr7JpRg0bS7MeM4
 X7TDEgU9nTfz0ekwVyrwsMRn8wqWi936gYFLSgi/mZRxGkWSRrzDgn8SicCBJx4Mew1QmY9y8
 YGyMgMQWnDXKJjCkiILE1JQgk8Se6Sq1nWYcMjNYGySVg6Pn6wq/7koeyj9bjzMouad4KRS/h
 5Wen30N9Gw9sobnhZeURBE3sqdLQa3ypYKYHN7V1aVCRAh2Sr7OB4UtKYSanTFpCa9e88tPNX
 grR4+cc4m5Z0bd1V8D3v6ZvUOK0Ww==
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 26513
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.8 (/)

 > M-x set-variable RET pop-up-frames RET t RET
 > M-x global- TAB
 >
 > The *Completions* buffer is opened in a new frame, but the cursor is in
 > the frame too, so the user has to switch back to the minibuffer to
 > continue typing.
 >
 > How can the user ensure that the cursor goes back to the minibuffer
 > automatically?  Could the solution be documented somewhere (maybe in the
 > docstring of `pop-up-frames') or could the completion code take care of
 > it?

This use of *Completions* seems strange in another way: When I click on
one of the items in the *Completions* buffer or type RET on it, the
respective mode is enabled and the *Completions* frame stays around.  Is
that the desired behavior?

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Apr 2017 09:17:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 15 05:17:31 2017
Received: from localhost ([127.0.0.1]:47846 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1czJpj-0007SQ-Cc
	for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 05:17:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51723)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1czJph-0007SD-Qz
 for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 05:17:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1czJpb-0004Lo-ON
 for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 05:17:24 -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,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42301)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1czJpb-0004Lg-L5
 for submit <at> debbugs.gnu.org; Sat, 15 Apr 2017 05:17:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42687)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1czJpa-0008Cn-LO
 for bug-gnu-emacs@HIDDEN; Sat, 15 Apr 2017 05:17:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1czJpX-0004Jd-GH
 for bug-gnu-emacs@HIDDEN; Sat, 15 Apr 2017 05:17:22 -0400
Received: from sinyavsky.aurox.ch ([37.35.109.145]:60841)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1czJpX-0004HC-8E
 for bug-gnu-emacs@HIDDEN; Sat, 15 Apr 2017 05:17:19 -0400
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id C89CD223E6
 for <bug-gnu-emacs@HIDDEN>; Sat, 15 Apr 2017 09:13:18 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-type:content-type:mime-version:message-id:date:date
 :subject:subject:to:from:from; s=dkim; t=1492247597; x=
 1493111598; bh=2QCJmQAnJZQrynAxJfimcPIIHwEwmOe4vTTA1vhAI04=; b=B
 YbhodGtq10V7/gkbYvoYVhJQKyVQyoI+5jr4+3InP7TyrbB9pgZIgU8Cu393do7F
 X7AFyWI5vugpoFso6JYpcwk92dGYiwff6J+xN3mqqnM9DpriiSb1pTDO+16PphTZ
 tlZcR9+uD5W2mVFNkXhv9pHMoLCZNXS0BNQbUI/x6Q=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id 6aI5dVUtEmeD for <bug-gnu-emacs@HIDDEN>;
 Sat, 15 Apr 2017 09:13:17 +0000 (UTC)
Received: from gray (179.133.105.92.dynamic.wline.res.cust.swisscom.ch
 [92.105.133.179])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 69149223E4
 for <bug-gnu-emacs@HIDDEN>; Sat, 15 Apr 2017 09:13:17 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; pop-up-frames and *Completions* buffer
Date: Sat, 15 Apr 2017 11:17:06 +0200
Message-ID: <m2d1ce81yl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

From emacs -Q:

M-x set-variable RET pop-up-frames RET t RET
M-x global- TAB

The *Completions* buffer is opened in a new frame, but the cursor is in
the frame too, so the user has to switch back to the minibuffer to
continue typing.

How can the user ensure that the cursor goes back to the minibuffer
automatically?  Could the solution be documented somewhere (maybe in the
docstring of `pop-up-frames') or could the completion code take care of
it?

In GNU Emacs 25.2.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549))
 of 2017-02-22 built on gray
Windowing system distributor 'Apple', version 10.3.1038
Configured using:
 'configure --with-modules'

Configured features:
JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES




Acknowledgement sent to charles@HIDDEN (Charles A. Roelli):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26513; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 21 Feb 2022 16:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.