From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Andrii Kolomoiets <andreyk.mad@gmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Stop frames stealing eachothers' minibuffers!
Date: Tue, 10 Nov 2020 10:08:46 +0200
Message-ID: <m21rh1prap.fsf@gmail.com>
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> <m31rh2pnws.fsf@leonis4.robolove.meer.net>
 <m28sbas208.fsf@gmail.com> <83v9ed3nbw.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="21887"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)
Cc: enometh@meer.net, emacs-devel@gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 10 09:10:01 2020
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1kcOj3-0005bm-9S
	for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Nov 2020 09:10:01 +0100
Original-Received: from localhost ([::1]:52830 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1kcOj2-00017N-Bp
	for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Nov 2020 03:10:00 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34266)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andreyk.mad@gmail.com>)
 id 1kcOhz-0008V5-NG
 for emacs-devel@gnu.org; Tue, 10 Nov 2020 03:08:55 -0500
Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:40338)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <andreyk.mad@gmail.com>)
 id 1kcOhv-00081H-M8; Tue, 10 Nov 2020 03:08:55 -0500
Original-Received: by mail-lj1-x232.google.com with SMTP id x9so1192802ljc.7;
 Tue, 10 Nov 2020 00:08:51 -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=AoytM0Hx+hDu8+6RpsImmF4UHI8bptyvL9LT46Bib2k=;
 b=kd8T7EiSJhggl1gd6fJSHxbOeuO+/Q9fgW0FQpYcEoKR1YGaS4sSxobBTSU4GV+Vc5
 zL/JbAJsfFopcGx4STaeJMOuisdYvEP9YXd/ehF8lWLtH0SIbStmN0+Tio3uBe6nVKJN
 sAYZCpRdyBkPL2p20MSQfzGtPPMh4IfMXGuJBT1W3fZZj1FYpWSYcLNf1PaNLaQDqt5E
 Ne15bHLpWnrCDgOh3zrzlW2t4gytb25a7RMKxAbtkroHzFzvxhy6IypLoaaaO+aB7qJ1
 N7hfblDnWElfg/e8skvl11bvgLuc19u/TsOFOG137WLvVUnezWnRdHRPcVjmULwyV+Yk
 ycog==
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=AoytM0Hx+hDu8+6RpsImmF4UHI8bptyvL9LT46Bib2k=;
 b=W4ENpSe2A/Cf0wb4q6JmkJJcJLcMCZNyC1mMu6DiWElbemkf7HjTldLujU3cChW7h2
 t3uVkj1Hffgzf/z4M3fOyKlbqLkqZAhIn8TzFJjvyt6OILxuDmwCOEDqu/XQSQFGW9RG
 IAgIi/8t7vo99ahVIITGo1OPag1eHFGGlBxLwe5LNmHPNqo+0iD8y3ny9gYF5yXGN6a5
 upXf8Lpb8TBwZkPUdeWotRDKw+tdMdcsc/XOUBk1Dw5tJ4TpjtYTAxZnL1x7+n3XKk5I
 FtcyagjpJqaMO19bQvNFZ7+nZtcMd2xWWIEaJblgdFYlWFiHZ5kKVmGzgJeicZ4T6cPR
 c0Vw==
X-Gm-Message-State: AOAM5327gY2T3womYja7/LKL/GU5IRdNEERp1ZXUo48Aqq/M+8Up/fgy
 I6lswWuWFKzWtCDDmIKuonEKevsGGMpF+A==
X-Google-Smtp-Source: ABdhPJwD22FvBpv71EnYnfghiqj8r1Sh9cRl33sWmNcUbu4rn70WaI0PbqHb7xVEIMD+z3DDag6lZw==
X-Received: by 2002:a2e:a499:: with SMTP id h25mr5295941lji.262.1604995729250; 
 Tue, 10 Nov 2020 00:08:49 -0800 (PST)
Original-Received: from muffinmac ([91.206.110.192])
 by smtp.gmail.com with ESMTPSA id 5sm2027752lfr.197.2020.11.10.00.08.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 10 Nov 2020 00:08:48 -0800 (PST)
In-Reply-To: <83v9ed3nbw.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 10 Nov
 2020 05:25:23 +0200")
Received-SPF: pass client-ip=2a00:1450:4864:20::232;
 envelope-from=andreyk.mad@gmail.com; helo=mail-lj1-x232.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: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham 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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:258966
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/258966>

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrii Kolomoiets <andreyk.mad@gmail.com>
>> Date: Mon, 09 Nov 2020 22:34:31 +0200
>> Cc: emacs-devel@gnu.org
>> 
>> Alan, is it possible to make 'minibuffer-follows-selected-frame' nil by
>> default?
>
> If this is because the other value produces bugs, IMO we should fix
> those bugs rather than make them less frequent (and thus harder to
> detect) by flipping the default value.

It is not producing bugs for me, but changes behavior.

E.g. in emacs -Q:

1. Evaluate
  (select-frame-set-input-focus
   (make-frame '((minibuffer . only)
                 (left . 1.0))))
2. M-x
3. C-x 5 o

Before minibuffer-follows-selected-frame, the prompt stays in the
minibuffer-only frame.
On recent master, the prompt is moved to other frame leaving
minibuffer-only frame empty.  I can't report this as a bug.  Just
wondering why minibuffer-follows-selected-frame is set to t by default,
potentially changing someone's expected behavior.