From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Usage examples of dedicated windows and popup frames? Date: Sun, 10 Jul 2011 11:39:41 +0200 Message-ID: <87ipra8of6.fsf@member.fsf.org> References: <871uy0n9ch.fsf@member.fsf.org> <8762nc8xqe.fsf@member.fsf.org> <4E185100.2050100@gmx.at> <87vcvb9xnb.fsf@member.fsf.org> <4E196A26.3020407@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310290809 31758 80.91.229.12 (10 Jul 2011 09:40:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 09:40:09 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 10 11:40:05 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 1QfqUe-00034o-JS for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 11:40:04 +0200 Original-Received: from localhost ([::1]:55769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfqUd-0007fj-BF for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 05:40:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfqUM-0007eu-Rg for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:39:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfqUL-0005yd-Ah for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:39:46 -0400 Original-Received: from out5.smtp.messagingengine.com ([66.111.4.29]:36331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfqUK-0005yS-PB for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:39:45 -0400 Original-Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.messagingengine.com (Postfix) with ESMTP id F0D0020BF8; Sun, 10 Jul 2011 05:39:43 -0400 (EDT) Original-Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 10 Jul 2011 05:39:43 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=De/y0kPjN0q9Le2hCnN/vc20m2o=; b=lpdyLRWs3fusMR1Mj0mE33qX0Fa0Berq7GTv7zNiEZTnK3eNeyhW3QHP1WjzWkK4Q6HMWzjsIsu/J5EoFGQ2KLSZ+Hp9/D4p91oO+YUd3Xm6Vu/c4qo3BwKhi5YuCG6vWcNq1T5ZiE3nhg+9coFu47TgcidJrnOi1yfsLBU1z/I= X-Sasl-enc: hPGiBq1jRjI7iuZAQQs1ZUiw6cEsfFIArIE8F7RbzMyK 1310290783 Original-Received: from thinkpad (77-23-199-184-dynip.superkabel.de [77.23.199.184]) by mail.messagingengine.com (Postfix) with ESMTPSA id C46C6448F03; Sun, 10 Jul 2011 05:39:42 -0400 (EDT) In-Reply-To: <4E196A26.3020407@gmx.at> (martin rudalics's message of "Sun, 10 Jul 2011 11:00:22 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.29 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:141892 Archived-At: martin rudalics writes: Hi Martin, >> 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. That would be good. >> 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. Possibly. As I said, I use GNOME3, and there minimizing/iconifying is a deprecated concept (you cannot do it with the default configuration). > 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? I tried with 2 frames, one being iconified (raise-frame (cadr (frame-list))) but that didn't raise the other frame. I made sure that (cadr ...) is indeed the iconified frame. However, `other-frame' raises and selects correctly. > Maybe we could make the *Completions* frame (optionally) invisible > instead of iconfying it? What's "invisible" in this respect? (In any case, I'd try it out.) Bye, Tassilo