From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#8856: 24.0.50; regression: special-display-frame is no longer dedicated Date: Sat, 25 Jun 2011 16:15:23 +0200 Message-ID: <4E05ED7B.2070307@gmx.at> References: <853BDEF1AA9646ACB90724066E1A5951@us.oracle.com><4DF65024.20305@gmx.at><0C191F638279437BADFCC697A5389F9E@us.oracle.com><4DF726A1.7020804@gmx.at><8E7452317D5B4FD183FD24E0FAA14F6F@us.oracle.com><4DFB6BBF.3080504@gmx.at><6FAF5DFD0E094823A512C3E0E87B6DF5@us.oracle.com><4DFE09A7.10500@gmx.at><0137606B527A48C69E3D6C704C5C6595@us.oracle.com><4DFF1709.3010409@gmx.at><309F7428711D4BEBB6063C60808D8069@us.oracle.com><4E00C54C.5080108@gmx.at> <7AF0B637CAE14034973FBCC658AFEBD9@us.oracle.com> <31769215C0FF4E1E89F9F641C5843E91@us.oracle.com> <4E033CBA.1050700@gmx.at> <4E037708.2000205@gmx.at> <4E045081.3020009@gmx.at> <90A40DD7F1B14BC1BE282ADB68D57511@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309011532 2005 80.91.229.12 (25 Jun 2011 14:18:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2011 14:18:52 +0000 (UTC) Cc: 8856@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 16:18:45 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 1QaTh6-0002jZ-US for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2011 16:18:45 +0200 Original-Received: from localhost ([::1]:52890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaTh5-0006Qh-Po for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2011 10:18:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaTeW-0005td-Le for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 10:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaTeU-0007HZ-Lu for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 10:16:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaTeU-0007HV-EQ for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2011 10:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QaTeT-0006Ai-SE; Sat, 25 Jun 2011 10:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2011 14:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8856-submit@debbugs.gnu.org id=B8856.130901133323613 (code B ref 8856); Sat, 25 Jun 2011 14:16:01 +0000 Original-Received: (at 8856) by debbugs.gnu.org; 25 Jun 2011 14:15:33 +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 1QaTe0-00068e-Jh for submit@debbugs.gnu.org; Sat, 25 Jun 2011 10:15:33 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QaTdy-0005y0-1P for 8856@debbugs.gnu.org; Sat, 25 Jun 2011 10:15:31 -0400 Original-Received: (qmail invoked by alias); 25 Jun 2011 14:15:23 -0000 Original-Received: from 62-47-57-16.adsl.highway.telekom.at (EHLO [62.47.57.16]) [62.47.57.16] by mail.gmx.net (mp027) with SMTP; 25 Jun 2011 16:15:23 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+q8Dtw1mOqoKSjB/hxkCi7m6Ckkwr4Lu9N8eoTIo QR1tYxTRTbKo/G User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <90A40DD7F1B14BC1BE282ADB68D57511@us.oracle.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 25 Jun 2011 10:16:01 -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:47456 Archived-At: > These are the Icicles files, and the place to get them: > http://www.emacswiki.org/cgi-bin/wiki?action=index;match=%5C.(el%7Ctar)(%5C.gz)% > 3F%24 > > icicles-mac.el > icicles-face.el > icicles-opt.el > icicles-var.el > icicles-fn.el > icicles-mcmd.el > icicles-cmd1.el > icicles-cmd2.el > icicles-mode.el > icicles.el It's a pain to get ten files from there one by one. Can't you pack them and send them in an attachment together with the throw-... file? I suppose you have them in one and the same directory and a thing like 7-zip around. So this should be much easier for you ... > (let ((comp-buf (get-buffer-create "*Completions*"))) > (unless (get-buffer-window comp-buf 'visible) > (save-selected-window > (display-buffer comp-buf t 0) ; <== the problem, no doubt > (deactivate-mark)))) Could you explain what you think that happens, happens instead, or does not happen here? "0" won't do anything `display-buffer' without that argument would not have done anyway: Search all visible and iconified frames for a window showing comp-buf. Maybe there are reasons why this argument is needed and I should put back its semantics but I never found one and don't find one here. IIUC the code tests whether it finds a visible window showing comp-buf. If it doesn't, either because the window doesn't exist or is not visible, it tries to get one on an iconified frame or make a new frame and deactivate the mark there. So you probably raise the frame of com-buf and then want to redirect focus from the comp-buf window to your minibuffer window which probably was selected here, and finally you reselect the minibuffer window because of the `save-selected-window'. But for some reason the comp-buf window remains selected. Is it that what you see? Note: In all examples you sent me before you didn't have a thing like `save-selected-window' around a `display-buffer' call. martin