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: Wed, 11 Nov 2020 00:54:35 +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> <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="3454"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Eli Zaretskii , enometh@meer.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 10 23:55:45 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 1kccYA-0000id-L3 for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Nov 2020 23:55:42 +0100 Original-Received: from localhost ([::1]:41770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kccY9-0003Xi-LN for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Nov 2020 17:55:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kccXE-0002t3-E2 for emacs-devel@gnu.org; Tue, 10 Nov 2020 17:54:45 -0500 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:36098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kccXC-0000tD-7f; Tue, 10 Nov 2020 17:54:44 -0500 Original-Received: by mail-lj1-x22e.google.com with SMTP id v18so16718788ljc.3; Tue, 10 Nov 2020 14:54:39 -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=GcmTM1MDcoUfR74enL9+hWjtPUzp8VSDM4XEqAs5PSE=; b=drPsKGZ5/0HAG+QpkKLUmvOknJnqD/wkKpQGRHTEuHYEQuL1Piv0cnC4WYZ9O8OHCX uiKki78htJ7dF2b6PrhICSNvLG57dry+rhgK9NDh3EK4xJuTuczgZx4PYVFIMGqNSMnD T6DkkBCfwreZgpiVBFbPIrD6h3X9zfSEQBNwCXk+NHF/cjZJ+5tjMP+fNQZB8S+B9uIC jPYRQ8fGKgUor0CPd8kjQSBw9vHlNQGXYQX2Wptsbh60FmAq8r4cfmBjfTWgZc6dAYZ1 TYxrnKGzul+SV9BkJsA8y8RMlnEy5At+BTdnlLk6k5XoHUnbbRie/MvuV/Vg8LpvGi3A gTZw== 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=GcmTM1MDcoUfR74enL9+hWjtPUzp8VSDM4XEqAs5PSE=; b=f3031rHb7uocZcXUXImxCIydmJAlDfka+ZAv/tTuTE1z4NnDzahr59HxzWkdHZob/w reDs6ycj1/07HFNfH9YNkB290myWn9i/PAeXsJMRMYCvFrgk9+BX1Fvu1XOuuR8AZ4a1 osJ4TQ6KpCd9f0leVIKNzxW3GW5pItKfX7SY4Sh5oCG36HCG6NIbuBk/+7BqyECL5/s3 LI5jf3citdh1S547ONnoszxRqzoqtdzSE2E+rYwC/Be4oFbtGrSkgKtF2ycKOAAR/Yly fE4oE6KVNUGGGKelL86Q2/dH2N5jXbI5wYNvGKAsDN0CDrf2gqAFay4/dgAQR+AvyRxJ irCQ== X-Gm-Message-State: AOAM5339f+EaubXYnu1P9G3ux7rHmeqX1zP6HGOBdrPMfr5Kc/fqM2qf LeZgCLUtLb81eyYkxpKPadA= X-Google-Smtp-Source: ABdhPJzpmUpzstVJO0t0THrdK/5+IDw3cigMmTn1Y6wWc3J9H9VOkEGxv2uJymEkkch0fusBhe2Gww== X-Received: by 2002:a2e:a167:: with SMTP id u7mr7630394ljl.95.1605048877564; Tue, 10 Nov 2020 14:54:37 -0800 (PST) Original-Received: from muffinmac ([91.206.110.192]) by smtp.gmail.com with ESMTPSA id g3sm27103lfd.209.2020.11.10.14.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 14:54:36 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Tue, 10 Nov 2020 14:57:41 -0500") Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=andreyk.mad@gmail.com; helo=mail-lj1-x22e.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." 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:258998 Archived-At: Stefan Monnier writes: >> I don't sure what the "in the wild" means, but I know at least two >> packages that shows minibuffer-only child frame on reading user input: >> >> https://raw.githubusercontent.com/honmaple/emacs-maple-minibuffer/master/maple-minibuffer.el >> >> https://raw.githubusercontent.com/muffinmad/emacs-mini-frame/master/mini-frame.el > > Indeed, great examples, thanks. > >> 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. > > I think the reason is that it more closely mimics what happens with the > echo area and it arguably (philosophically) better matches the default > setting of `enable-recursive-minibuffers`. Maybe I'm missing something, but the message "Command attempted to use minibuffer while in minibuffer" is displayed in other frame, just like in Emacs 27. > But if it results in regressions with packages to maple-minibuffer or > mini-frame, we should of course try and address that (either by refining > the behavior or by changing the default). Well, mini-frame-mode already has a (not so pretty) workaround for the new behavior: set the global option on mode activation. Probably the better solution will be to not take the minibuffer away from minibuffer-only frames. After all, it's all they got :)