From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: completing-read (and M-x) with pop-up-frames non-nilchangesframefocus Date: Wed, 20 Jul 2005 18:09:09 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1121898744 7765 80.91.229.2 (20 Jul 2005 22:32:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2005 22:32:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 21 00:32:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DvN6N-0002Xy-5q for ged-emacs-devel@m.gmane.org; Thu, 21 Jul 2005 00:31:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DvN8Q-0006Fl-I3 for ged-emacs-devel@m.gmane.org; Wed, 20 Jul 2005 18:33:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DvN5T-0005CX-B2 for emacs-devel@gnu.org; Wed, 20 Jul 2005 18:30:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DvN5J-00056C-JN for emacs-devel@gnu.org; Wed, 20 Jul 2005 18:30:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DvN5H-0004yR-6I for emacs-devel@gnu.org; Wed, 20 Jul 2005 18:30:35 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DvMxp-0007lo-VK for emacs-devel@gnu.org; Wed, 20 Jul 2005 18:22:54 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DvMkX-0000Xa-5J; Wed, 20 Jul 2005 18:09:09 -0400 Original-To: "Drew Adams" In-reply-to: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41094 My bad. So users must set it, to tell Emacs about the window manager. But couldn't the default value be defined reasonably for a few common window managers? In most window managers, this behavior is customizable. And I don't know if there is even a way to find out which window manager is running, on most systems. I don't know if there is a way to find out what the setting is. Maybe some X expert could find out to what extent Emacs could find this out. But what about Stefan's patch? It sounded like it might take care of this annoyance. I don't recall what that patch was. The problem arises because one frame's minibuffer is expecting input, while another frame (*Completions*) gets created and selected (depending on the window manager). The input dialog gets totally lost (interrupted), systematically. Why doesn't Emacs move the minibuffer onto the frame that is selected? I thought there was code to do that.