From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13594: 24.2.92; [PATCH] compilation-start doesn't consider nil OUTWIN Date: Wed, 20 Mar 2013 08:51:52 -0400 Message-ID: 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> <51192ADD.9010607@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363783941 27060 80.91.229.3 (20 Mar 2013 12:52:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 12:52:21 +0000 (UTC) Cc: 13594@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 20 13:52:47 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 1UIIVZ-0006Rw-JM for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2013 13:52:46 +0100 Original-Received: from localhost ([::1]:45953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIIVC-0005Ly-DV for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2013 08:52:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIIV9-0005Lt-5h for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2013 08:52:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIIV7-0004vK-VF for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2013 08:52:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIIV7-0004vG-RW for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2013 08:52:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UIIWo-0000KV-5t for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2013 08:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Mar 2013 12:54: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.13637840281246 (code B ref 13594); Wed, 20 Mar 2013 12:54:02 +0000 Original-Received: (at 13594) by debbugs.gnu.org; 20 Mar 2013 12:53:48 +0000 Original-Received: from localhost ([127.0.0.1]:36919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIIWZ-0000K2-1A for submit@debbugs.gnu.org; Wed, 20 Mar 2013 08:53:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:26586) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIIWV-0000Jt-OE for 13594@debbugs.gnu.org; Wed, 20 Mar 2013 08:53:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxKvA/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av8EABK/CFFFxKvA/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="5347697" Original-Received: from 69-196-171-192.dsl.teksavvy.com (HELO pastel.home) ([69.196.171.192]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Mar 2013 08:51:54 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5002D6795A; Wed, 20 Mar 2013 08:51:52 -0400 (EDT) In-Reply-To: (Leo Liu's message of "Wed, 20 Mar 2013 12:37:26 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:72741 Archived-At: >> It only does one half: change a few callers to handle a non-window >> return value. But the other half is important: the non-window return >> value should only be possible if the caller announces that it's ready to >> handle it. > So add to display-buffer an optional arg like the following? > (display-buffer BUFFER-OR-NAME &optional ACTION FRAME HANDLE-NONWINDOW) That's one possibility, yes. Tho adding an argument doesn't sound much fun. So I'd prefer if it could be passed via ACTION. > display-buffer currently does not checking; it just passes back the > non-nil value to the caller. WDYT? That's OK. The whole point is that the code (e.g. in display-buffer-alist) that returns the non-window value needs to be able to decide whether it's safe to do so. Stefan