From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Dedicated *Completions* frame iconified but not de-iconified Date: Fri, 14 Oct 2005 08:30:46 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1129304068 31967 80.91.229.2 (14 Oct 2005 15:34:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2005 15:34:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 14 17:34:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQRWe-0005Gz-6H for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2005 17:31:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQRWd-0006br-Lb for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2005 11:31:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EQRWR-0006bl-Q5 for emacs-devel@gnu.org; Fri, 14 Oct 2005 11:31:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EQRWQ-0006bZ-4a for emacs-devel@gnu.org; Fri, 14 Oct 2005 11:31:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQRWQ-0006bW-14 for emacs-devel@gnu.org; Fri, 14 Oct 2005 11:31:02 -0400 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EQRWP-0004ko-VX for emacs-devel@gnu.org; Fri, 14 Oct 2005 11:31:02 -0400 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by agminet02.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j9EFc7Zi016281; Fri, 14 Oct 2005 10:38:07 -0500 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j9EFUt8n023666; Fri, 14 Oct 2005 09:30:55 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-74-16.vpn.oracle.com [141.144.74.16]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id j9EFUs0G023653 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 14 Oct 2005 09:30:54 -0600 Original-To: "Reiner Steib" , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:44033 Archived-At: I recently started to show the *Completions* buffer in a dedicated frame: (setq same-window-buffer-names (remove "*Completions*" same-window-buffer-names)) (add-to-list 'special-display-buffer-names '("*Completions*" ((height . 20)))) After clicking on an alternative with the mouse iconifies the completions frame[1]. But the next time a completions buffer is generated, the completions frame is not de-iconified. I think the frame should be made visible. I tried to put `make-frame-visible' in `completion-setup-hook' without success and I didn't find the right place in `simple.el'. Can anyone point me to the right direction? I don't claim this is the way to go for everyone, but you might want to look at how I deal with this in my library `oneonone.el'. I've long had a dedicated *Completions* frame, and there are a few twists and turns you might want to keep in mind. Anyway, in case it helps: Library: http://www.emacswiki.org/cgi-bin/emacs/oneonone.el. Explanation: http://www.emacswiki.org/cgi-bin/wiki/Help_and_Completions_Frames. See, in particular, function 1on1-display-*Completions*-frame - it should help with your problem.