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#13594: 24.2.92; [PATCH] compilation-start doesn't consider nil OUTWIN Date: Mon, 11 Feb 2013 18:31:09 +0100 Message-ID: <51192ADD.9010607@gmx.at> References: <87sj5apclq.fsf@mail.jurta.org> <87r4ktoinh.fsf@mail.jurta.org> <87mwvhxehw.fsf@mail.jurta.org> <87zjzfz0nq.fsf@mail.jurta.org> <51161554.9010609@gmx.at> <8738x4o5cp.fsf@mail.jurta.org> <5117D9B5.5090203@gmx.at> <87pq07b4k4.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360603915 31838 80.91.229.3 (11 Feb 2013 17:31:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 17:31:55 +0000 (UTC) Cc: 13594@debbugs.gnu.org, Leo Liu To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 18:32:16 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4xEk-0006Ax-2b for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 18:32:14 +0100 Original-Received: from localhost ([::1]:45162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4xEQ-0002NW-S8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 12:31:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4xEH-0002GM-Dy for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 12:31:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4xEE-0007Em-Dr for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 12:31:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4xEE-0007Ea-AO for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 12:31:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U4xEY-0007t8-VJ for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 12:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Feb 2013 17:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13594 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 13594-submit@debbugs.gnu.org id=B13594.136060390730291 (code B ref 13594); Mon, 11 Feb 2013 17:32:02 +0000 Original-Received: (at 13594) by debbugs.gnu.org; 11 Feb 2013 17:31:47 +0000 Original-Received: from localhost ([127.0.0.1]:51077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4xEJ-0007sW-0P for submit@debbugs.gnu.org; Mon, 11 Feb 2013 12:31:47 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:52711) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4xEG-0007sM-7J for 13594@debbugs.gnu.org; Mon, 11 Feb 2013 12:31:45 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.30]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MfTEr-1UGIwU49Hv-00P23H for <13594@debbugs.gnu.org>; Mon, 11 Feb 2013 18:31:22 +0100 Original-Received: (qmail invoked by alias); 11 Feb 2013 17:31:21 -0000 Original-Received: from 62-47-46-34.adsl.highway.telekom.at (EHLO [62.47.46.34]) [62.47.46.34] by mail.gmx.net (mp030) with SMTP; 11 Feb 2013 18:31:21 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18XwQFAnJoX7WpMowIKgHdli1tkgP6BSHwNbMiek7 aVpSZiEn+NcvKb In-Reply-To: <87pq07b4k4.fsf@mail.jurta.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:71064 Archived-At: >> Returning the selected window is harmless. > > Only if it displays the requested buffer. We could make it do that. That is, even for (inhibit-same-window . t) and the case where the selected window is dedicated, we could display it there if we don't have another choice. > Do you think it is possible to implement a special "hidden" window type > so callers could operate on it invisibly to the user? Not really. If you call `with-selected-window' on such a window and get stuck in it, the display routines would probably have to find their way out of such a situation. We could, as Stefan proposed, use the root window of an invisible frame for this. But as I mentioned earlier, this has the disadvantage that you have to somehow clean up that frame when you delete the last visible frame. Officially, `delete-frame' should handle this case but at least here on Windows XP it certainly doesn't. And I'm quite sure that we can find at least one window manager where sampling the visibility of frames is not 100% reliable. martin