From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: C-x o is moving between frames. [Was: Stop frames stealing eachothers' minibuffers!] Date: Fri, 23 Oct 2020 20:42:57 +0000 Message-ID: <20201023204257.GB5249@ACM> References: <838sc8zqjj.fsf@gnu.org> <20201014184523.GC7651@ACM> <83y2k8y6qs.fsf@gnu.org> <20201014194904.GD7651@ACM> <83sgafy56d.fsf@gnu.org> <20201015180143.GA10229@ACM> <83wnzrwdy5.fsf@gnu.org> <20201021151945.GA19276@ACM> <20201021200438.GF19276@ACM> <83h7qmkzla.fsf@gnu.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="30983"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 23 22:44:03 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 1kW3ur-0007vK-4T for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Oct 2020 22:44:01 +0200 Original-Received: from localhost ([::1]:52380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kW3uq-0002wA-6h for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Oct 2020 16:44:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kW3tx-0002VD-F0 for emacs-devel@gnu.org; Fri, 23 Oct 2020 16:43:05 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:25808 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1kW3tt-0007d7-Uk for emacs-devel@gnu.org; Fri, 23 Oct 2020 16:43:05 -0400 Original-Received: (qmail 68434 invoked by uid 3782); 23 Oct 2020 20:42:57 -0000 Original-Received: from acm.muc.de (p4fe1581d.dip0.t-ipconnect.de [79.225.88.29]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Fri, 23 Oct 2020 22:42:57 +0200 Original-Received: (qmail 12158 invoked by uid 1000); 23 Oct 2020 20:42:57 -0000 Content-Disposition: inline In-Reply-To: <83h7qmkzla.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/23 16:42:58 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:258394 Archived-At: Hello, Eli. I'll deal with the (few) points in your last mail separately, but for now .... On Thu, Oct 22, 2020 at 19:14:09 +0300, Eli Zaretskii wrote: > > Date: Wed, 21 Oct 2020 20:04:38 +0000 > > Cc: emacs-devel@gnu.org > > From: Alan Mackenzie > > > > Here's a corrected version of the patch, incorporating fixes and > > suggestions from Stefan and Drew: [ .... ] > I may be missing something: where does this code handles the case of > minibuffer-only frames? They almost take care of themselves. Almost, but not quite. I've had a closer look at minibuffer-only frames, and it feels like I'm opening Pandora's box[*]. Even in the unchanged master branch, I get this: (i) emacs -Q --exec "(push '(minibuffer . nil) initial-frame-alist)" ; this creates two frames, one without a minibuffer, the other which _is_ a minibuffer. (ii) C-x b (iii) C-x o can now move point between the two frames. This feels wrong. Surely C-x o should move between windows within a single frame. [*] Pandora's box: From Greek mythology, the opening of this releases previously confined troubles upon the world. -- Alan Mackenzie (Nuremberg, Germany).