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 17:30:38 +0200 Message-ID: <4E19C59E.9000705@gmx.at> References: <871uy0n9ch.fsf@member.fsf.org> <8762nc8xqe.fsf@member.fsf.org> <4E185100.2050100@gmx.at> <87vcvb9xnb.fsf@member.fsf.org> <4E196A26.3020407@gmx.at> <87ipra8of6.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 1310311912 2973 80.91.229.12 (10 Jul 2011 15:31:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 15:31:52 +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 17:31:48 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 1Qfvyz-0002Sp-Gp for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 17:31:45 +0200 Original-Received: from localhost ([::1]:34536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfvyy-0001EM-KZ for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 11:31:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfvy2-00016P-UF for emacs-devel@gnu.org; Sun, 10 Jul 2011 11:30:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qfvy1-0004Ik-Aa for emacs-devel@gnu.org; Sun, 10 Jul 2011 11:30:46 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:49455) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qfvy0-0004IW-Mq for emacs-devel@gnu.org; Sun, 10 Jul 2011 11:30:45 -0400 Original-Received: (qmail invoked by alias); 10 Jul 2011 15:30:42 -0000 Original-Received: from 62-47-43-232.adsl.highway.telekom.at (EHLO [62.47.43.232]) [62.47.43.232] by mail.gmx.net (mp067) with SMTP; 10 Jul 2011 17:30:42 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX195VMcHadt5TN9i+KdFnWUf0M5aLPtWhsv6nphwcl 3N8nPyiQ4HtMlz User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87ipra8of6.fsf@member.fsf.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:141909 Archived-At: > However, `other-frame' raises and selects correctly. Does `pop-to-buffer-other-frame' raise and select correctly when the buffer argument is already shown on an iconified frame? >> 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.) Hmm, invisible is invisible, see section 28.10 of the Elisp manual. That is, we could make the frame optionally invisible and make it visible again when it's needed. For example, when I evaluate the following three forms step by step (setq my-frame (make-frame)) (make-frame-invisible my-frame) (make-frame-visible my-frame) my-frame is visible and has input focus after the third step. If I do (let ((frame (selected-frame))) (make-frame-visible my-frame) (raise-frame frame)) as third step, the original frame is in the foreground, and if I do (let ((frame (selected-frame))) (make-frame-visible my-frame) (redirect-frame-focus my-frame frame)) as third step, my-frame is risen but typing input goes to the original frame. So there's a lot to experiment with for *Completions* and I'd invite people to try out what works for them and their window managers. martin