From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Usage examples of dedicated windows and popup frames? Date: Fri, 08 Jul 2011 14:55:25 -0400 Message-ID: References: <871uy0n9ch.fsf@member.fsf.org> <8762nc8xqe.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310151352 23609 80.91.229.12 (8 Jul 2011 18:55:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2011 18:55:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 08 20:55:45 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 1QfGDH-0001wY-OI for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 20:55:43 +0200 Original-Received: from localhost ([::1]:35104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfGDG-00047M-GQ for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 14:55:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfGD1-00047G-HR for emacs-devel@gnu.org; Fri, 08 Jul 2011 14:55:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfGD0-0008HV-9s for emacs-devel@gnu.org; Fri, 08 Jul 2011 14:55:27 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:37797 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfGD0-0008HO-7A for emacs-devel@gnu.org; Fri, 08 Jul 2011 14:55:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPRRF05MCqt8/2dsb2JhbABUp1B4iHvAfIY4BJ59hC8 X-IronPort-AV: E=Sophos;i="4.65,500,1304308800"; d="scan'208";a="123834940" Original-Received: from 76-10-171-124.dsl.teksavvy.com (HELO pastel.home) ([76.10.171.124]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 08 Jul 2011 14:55:25 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 327E759160; Fri, 8 Jul 2011 14:55:25 -0400 (EDT) In-Reply-To: <8762nc8xqe.fsf@member.fsf.org> (Tassilo Horn's message of "Fri, 08 Jul 2011 19:54:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:141817 Archived-At: > Hm, not what I get. With emacs -Q updated yesterday: > 1. Goto *scratch* and eval the form above. > 2. (def ==> a comletion frame pops up *and gets input focus* This input focus issue is a problem, indeed, but AFAIK it's one that's difficult to fix. > 4. (defalia ==> defalias is the sole completion, and at that point > in time, the completion frame shows *scratch*, too, just like the > frame I'm typing in. This is clearly a bug. Martin, could you take a look at it? If we just popped up this frame for *Completions*, minibuffer-hide-completions should hide the frame. > Oh, now I did another completion, and this time the completion frame was > indeed iconified. Huh? > Unfortunately, it doesn't come up automatically when completing again. > Doing it manually shows that it contains the new completion list. Yet another bug. > (setq pop-up-frames 'graphic-only > display-buffer-reuse-frames t > special-display-regexps '(("^\\*.*\\*$" pop-to-buffer-same-frame))) > > Using that (emacs -Q), completion now pops up a new window showing > *Completions*, and also a new frame showing the same buffer... > If I understand the docs correctly, then I could also use > > (setq special-display-regexps '(("^\\*.*\\*$" ((same-frame . t))))) > > but with that, completions still appear in a popup frame and no popup > window is shown at all. Martin, can you explain this behavior? Stefan