From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#39558: 26.3; icomplete and display *Completions* in child frame Date: Wed, 11 Aug 2021 22:16:18 +0100 Message-ID: References: <83a75prvau.fsf@gnu.org> <871r70rwgy.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39333"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39558@debbugs.gnu.org, Andrii Kolomoiets To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 11 23:17:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDvb6-0009xd-L0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 23:17:12 +0200 Original-Received: from localhost ([::1]:44206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDvb5-0005Nr-0h for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 17:17:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDvaw-0005NR-1I for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2021 17:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDvav-0004qh-Qz for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2021 17:17:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDvav-0007gE-Mf for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2021 17:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Aug 2021 21:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 39558-submit@debbugs.gnu.org id=B39558.162871659129474 (code B ref 39558); Wed, 11 Aug 2021 21:17:01 +0000 Original-Received: (at 39558) by debbugs.gnu.org; 11 Aug 2021 21:16:31 +0000 Original-Received: from localhost ([127.0.0.1]:36782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDvaQ-0007fI-PO for submit@debbugs.gnu.org; Wed, 11 Aug 2021 17:16:31 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:43071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDvaO-0007f2-Ou for 39558@debbugs.gnu.org; Wed, 11 Aug 2021 17:16:29 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 3A7D552; Wed, 11 Aug 2021 21:16:22 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1628716581; bh=rW1giXtX5eVBJ94Dd+a0OM1SZGzh4GWJpHeyoIYo8Dk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IMwu+rNiI8UAEI/JqTrmGmNU61eUjnoTGXmoD33qDpSHGxA6zxDsTRbefwbkMbI8x j8bDeSuGgb116kkNA55BEw5KhIA97apnSW4c0YANSFW8iarunxesFHX3BJqMfg72WA dJRVqwRfIb4bvRsw2l1/PyfOY34iPW//lhjfBYDHXUByAmogVicRxsfAqmPINEtoUx 3HuQ8zbggCJggctmmOKLZnPOJHJGywkwAfD/B9a9ax2yCTNCdMNFblWr/PRO+vRRFt Z9ANVdtApUzZDr3yaNOdoo/zbQPEm3TgkxXYdOVGAbblbpu5rjuppA4+d9Jt7qQD2p uOnzaaMistatg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mDvaE-000PAi-II; Wed, 11 Aug 2021 22:16:18 +0100 Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Andrii Kolomoiets , 39558@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <871r70rwgy.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211635 Archived-At: On Wed, Aug 11, 2021 at 02:34:37PM +0200, Lars Ingebrigtsen wrote: > Andrii Kolomoiets writes: > > >> I cannot reproduce this, so maybe this is Darwin-specific. > > > > You are right. > > > > There are this code in lisp/term/ns-win.el:581: > > (add-hook 'after-make-frame-functions 'select-frame) > > > > Evaluating it allow you to catch that error in > > icomplete-post-command-hook under X as well. > > > > To avoid original issue under Darwin: > > > > (setq after-make-frame-functions nil) > > (customize-set-variable > > 'display-buffer-alist > > '(("\\*Completions\\*" display-buffer-in-child-frame > > (child-frame-parameters . ((minibuffer . nil)))))) > > > > (The `(minibuffer . nil)' frame parameter is required if we want to leave > > focus on original frame. IDK why `(no-focus-on-map . t)' doesn't help > > here.) > > Andrii, are you still seeing this issue in more recent versions of > Emacs? If so, perhaps Alan has some comments here (added to the CCs). I don't know if it's any help but the after-make-frame-functions setting is related to bug#3397. I've had a look and haven't been able to work out what we need to do to fix that one. -- Alan Third