From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.devel Subject: Re: Stop frames stealing eachothers' minibuffers! Date: Mon, 09 Nov 2020 22:34:31 +0200 Message-ID: References: <20201031194419.GC5887@ACM> <834kmago8m.fsf@gnu.org> <20201031203914.GD5887@ACM> <835z6ogc1h.fsf@gnu.org> <20201101195313.GA6190@ACM> <83sg9rd6cp.fsf@gnu.org> <20201102185147.GC7297@ACM> <83mtzzd0s3.fsf@gnu.org> <20201103210853.GA21923@ACM> <83ft5pax2p.fsf@gnu.org> <20201104173954.GA14535@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21421"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 09 21:35:18 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcDsj-0005Sr-Tq for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Nov 2020 21:35:17 +0100 Original-Received: from localhost ([::1]:51404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcDsi-0005i9-VX for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Nov 2020 15:35:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcDs5-0005DI-Ql for emacs-devel@gnu.org; Mon, 09 Nov 2020 15:34:38 -0500 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:40654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcDs4-0007kT-Go for emacs-devel@gnu.org; Mon, 09 Nov 2020 15:34:37 -0500 Original-Received: by mail-lj1-x22c.google.com with SMTP id 23so12008788ljv.7 for ; Mon, 09 Nov 2020 12:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ee3EIQ3XbjQIMozXqCyecar2ipZYIhGeG/J5vzNqjEk=; b=gi+QYVD57+IEdMuVLaN3eZauAsVCq/hdeELYMnzK0qBmB8Wo+BjDTdzHsIbWurscQH zDFrKy3kcWDBZ5hRQI6osxCbjXmxiiTKaw0oRlgVdN8JqNbiq8zZkbxf8x+Gv5hv5N6N Dh1X2RNvnjCmt9pi8AzXpdq6xvvD8YtrgQ0ELkflM96XFvbGHf4hV3pNlgcaJeP6nRWj eV4snJbktTlZQxMLnOqQ4RYs0sZctilmFR2Xeo4WzYs8JsI+nAz0NSfbGpilr4pb24wp 5jYGsFAWOsYbo0+oSrWZipAGLd96KMeK3UIcUOJ2LkdJkIwd7ZViA7NSu+/5vzmWlf6H Pd7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ee3EIQ3XbjQIMozXqCyecar2ipZYIhGeG/J5vzNqjEk=; b=mFo3EpVKRgx7Cjn8FGVi2GHL9NJwXjENFPcHPyG6/TsGx4CQBTHlIec1YIuwg2NLCh MtVpzBOAuy2BLDhwQaDkfGLib/dUt8u153EfF3hBb3SYpyFqAXOQ9YjCo8cJruSi9045 HhdOlOiGeeq4ZrAHKzA8op2V+k1YHVqZpLCs7qbQK/Ednu62sQRuBcADx9Q1K5OdeKBn h+Ar0e2Ie0UAv8i5hbLPEQ3tAM5eXwWL4Od9Gihiba0MyclboHoJext4uvZNG8bQdm7m n7yM/vf4sU2nG7dig5Y314iN6rShTsALWKq4qEfdpHOjZKSc0UUyCSRFIOIm4EwlRs3Y Hwtw== X-Gm-Message-State: AOAM532e+vof3kqn95nlVCJkKwGtCWWsQnzxyYnwg1PDB/AqRGLIlfz7 iiYDZ0/UxQe8zfpNh0U3uHrDYdFhT+w= X-Google-Smtp-Source: ABdhPJzco38oa6A4CwPC6fl20bJ2gY2Bi73GHcyRZirrx9NcI281AOo1LxtZPJY8rmGzFYTFa1QMxw== X-Received: by 2002:a2e:9191:: with SMTP id f17mr7154669ljg.234.1604954073726; Mon, 09 Nov 2020 12:34:33 -0800 (PST) Original-Received: from muffinmac ([91.206.110.192]) by smtp.gmail.com with ESMTPSA id t26sm1860910lfp.296.2020.11.09.12.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 12:34:32 -0800 (PST) In-Reply-To: (Madhu's message of "Mon, 09 Nov 2020 20:39:39 +0530") Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=andreyk.mad@gmail.com; helo=mail-lj1-x22c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258956 Archived-At: Madhu writes: > * Alan Mackenzie <20201104173954.GA14535@ACM> : > Wrote on Wed, 4 Nov 2020 17:39:54 +0000: >> On Wed, Nov 04, 2020 at 18:47:10 +0200, Eli Zaretskii wrote: >>> > Date: Tue, 3 Nov 2020 21:08:53 +0000 >>> > From: Alan Mackenzie >> >>> > OK, I've extracted a new function `live_minibuffer_p' from >>> > Fminibufferp, and call that directly from the mini-window emptying >>> > code. (The new second parameter in Fminibufferp is still needed, >>> > since it is used in minibuffer.el.) > [snip] > > On choosing the completion (via a button1 or by navigating to the > desired point and typing RET) - the frame should be automatically > hidden[1] > > This doesn't happen anymore and the completion buffer and frame remain > there taking up focus. Take a look at the 'minibuffer-follows-selected-frame' variable. Setting it to 'nil' will solve your issue. Alan, is it possible to make 'minibuffer-follows-selected-frame' nil by default?