From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Usage examples of dedicated windows and popup frames? Date: Sun, 10 Jul 2011 11:00:22 +0200 Message-ID: <4E196A26.3020407@gmx.at> References: <871uy0n9ch.fsf@member.fsf.org> <8762nc8xqe.fsf@member.fsf.org> <4E185100.2050100@gmx.at> <87vcvb9xnb.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310288494 21240 80.91.229.12 (10 Jul 2011 09:01:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 09:01:34 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 10 11:01:30 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QfptI-0002Kl-9b for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 11:01:28 +0200 Original-Received: from localhost ([::1]:37026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfptH-0002bz-Fc for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 05:01:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfpsL-0002Sm-Vd for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:00:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfpsK-00019A-MH for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:00:29 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:52256) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QfpsK-000193-24 for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:00:28 -0400 Original-Received: (qmail invoked by alias); 10 Jul 2011 09:00:26 -0000 Original-Received: from 62-47-38-163.adsl.highway.telekom.at (EHLO [62.47.38.163]) [62.47.38.163] by mail.gmx.net (mp041) with SMTP; 10 Jul 2011 11:00:26 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19153JakQ91XzSIDmQnRo9tGLHPqpE1ipC6nyxAlI TioiTyRwvwgsb4 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87vcvb9xnb.fsf@member.fsf.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141888 Archived-At: > Using > > (setq pop-up-frames 'graphic-only > display-buffer-reuse-frames t) > > the frame showing *Completions* still receives input focus when it shows > up the first time. A frame always receives input focus when it shows up the first time. But we can try to redirect focus to the original frame afterwards. > After the completion finished, the frame gets > iconified. But it still won't be raised at the next completion. It's raised here so that's probably a problem with your window manager. I recall someone reporting a similar problem (and that's, after all, the issue causing the introduction of `display-buffer-reuse-frames' IIUC). Does `raise-frame' otherwise DTRT on your system for an iconifed frame? Maybe we could make the *Completions* frame (optionally) invisible instead of iconfying it? martin