From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8856: 24.0.50; regression: `special-display-popup-frame' broken Date: Mon, 13 Jun 2011 10:43:07 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307993497 15838 80.91.229.12 (13 Jun 2011 19:31:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 19:31:37 +0000 (UTC) To: 8856@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 13 21:31:33 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1QWCrB-0004YM-Ov for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Jun 2011 21:31:30 +0200 Original-Received: from localhost ([::1]:54434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCrA-0008Mt-Qc for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Jun 2011 15:31:28 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCqq-0008ML-7Q for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 15:31:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWCql-0005yA-TK for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 15:31:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCql-0005y0-F9 for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 15:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QWCqk-0002cl-LR; Mon, 13 Jun 2011 15:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2011 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.130799345810076 (code B ref -1); Mon, 13 Jun 2011 19:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 19:30:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWCqg-0002cS-Gl for submit@debbugs.gnu.org; Mon, 13 Jun 2011 15:30:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWCqd-0002cE-Ju for submit@debbugs.gnu.org; Mon, 13 Jun 2011 15:30:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWCqW-0005wV-Ew for submit@debbugs.gnu.org; Mon, 13 Jun 2011 15:30:50 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:44260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCqW-0005wM-86 for submit@debbugs.gnu.org; Mon, 13 Jun 2011 15:30:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCqU-0008J5-7s for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 15:30:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWCqS-0005vm-8n for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 15:30:45 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:18583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCqR-0005vV-RG for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2011 15:30:44 -0400 Original-Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p5DJULcp005807 for ; Mon, 13 Jun 2011 19:30:42 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p5DHhC5L025981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Jun 2011 17:43:12 GMT Original-Received: from abhmt015.oracle.com (abhmt015.oracle.com [141.146.116.24]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p5DHh6qo002108 for ; Mon, 13 Jun 2011 12:43:06 -0500 Original-Received: from dradamslap1 (/130.35.179.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 13 Jun 2011 10:43:06 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acwp8VsDkqrZ3j/kSUaofX4eS//5oA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090204.4DF66562.00A7:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 13 Jun 2011 15:31:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47112 Archived-At: I do not have a recipe from emacs -Q. The simplest recipe I have offhand is to start with this: runemacs.exe -Q --debug-init -l "hexrgb.el" -l "oneonone.el" -f "1on1-emacs" You can download the two files mentioned from here: http://www.emacswiki.org/cgi-bin/wiki?action=index;match=%5C.(el%7Ctar)(%5C.gz)% 3F%24 And then do this: M-x f TAB ; to display *Completions* frame. C-] ; to return to top level. M-x f TAB o Or just hit TAB twice in a row: M-x f TAB TAB. IOW, try to type more input in minibuffer. This raises the error "Buffer is read-only #" This should not happen, because the code that creates my special-display frame *Completions* does this: (redirect-frame-focus (selected-frame) 1on1-minibuffer-frame) The code that does that is in function `1on1-display-*Completions*-frame', which is invoked via this entry on list `special-display-buffer-names': ("*Completions*" 1on1-display-*Completions*-frame ((background-color ...))) My guess is that `special-display-popup-frame' is the culprit, but the effect is as if `redirect-frame-focus' were no longer respected. And I see that the code of `special-display-popup-frame' has not changed recently. What seems to be happening (determined by debugging entry to `1on1-display-*Completions*-frame'), is that `1on1-display-*Completions*-frame' gets called only when the frame is created, not each time `special-display-popup-frame' is called. So if *Completions* is already displayed `1on1-display-*Completions*-frame' is not invoked for its display, and the call to `redirect-frame-focus' is not effected. `C-h f special-display-popup-frame' says that it is obsolete as of 24.1, but this just now stopped working. And the doc, AFAICT, says nothing about how to do what users have always done using `special-display-buffer-names'. That uses `special-display-popup-frame', which is still the default value of `special-display-function'. This seems to be horribly broken now. I see other problems that might (or might not) be related: breakage of dedicated frames (no longer dedicated), so that, for instance, other buffers get put into my dedicated *Completions* frame. We seem to be in a halfway position now, between two horses (or two chairs, depending on your culture). The default value of `special-display-function' is a function that is declared obsolete! And things that have always worked no longer work at all. It's not clear, if users are being required to adjust their code, what adjustments are needed. Some guidance needs to be provided, in addition to fixing any related bugs. I cannot use Emacs for the moment, starting with this build. I must use an older build until this problem (and perhaps related problems) can be fixed. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-06-13 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/include'