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: Thu, 07 Feb 2013 08:36:56 -0500 Message-ID: References: <87sj5apclq.fsf@mail.jurta.org> <87r4ktoinh.fsf@mail.jurta.org> <87mwvhxehw.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360244270 21168 80.91.229.3 (7 Feb 2013 13:37:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2013 13:37:50 +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 Thu Feb 07 14:38:10 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 1U3Rg2-0005Yq-5J for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2013 14:38:10 +0100 Original-Received: from localhost ([::1]:46931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Rfj-0006VN-7C for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2013 08:37:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Rfg-0006VH-05 for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 08:37:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3Rfe-0004uE-El for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 08:37:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Rfe-0004u2-CT for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 08:37:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U3Rgw-0005zj-Qh for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 08:39:07 -0500 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: Thu, 07 Feb 2013 13:39:05 +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.136024430722951 (code B ref 13594); Thu, 07 Feb 2013 13:39:05 +0000 Original-Received: (at 13594) by debbugs.gnu.org; 7 Feb 2013 13:38:27 +0000 Original-Received: from localhost ([127.0.0.1]:40956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3RgI-0005y6-OI for submit@debbugs.gnu.org; Thu, 07 Feb 2013 08:38:26 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:12712) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3RgH-0005xU-38 for 13594@debbugs.gnu.org; Thu, 07 Feb 2013 08:38:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFpZnt/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: Av8EABK/CFFFpZnt/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="672452" Original-Received: from 69-165-153-237.dsl.teksavvy.com (HELO pastel.home) ([69.165.153.237]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Feb 2013 08:37:02 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0532C592BB; Thu, 7 Feb 2013 08:36:56 -0500 (EST) In-Reply-To: <87mwvhxehw.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 07 Feb 2013 01:40:47 +0200") 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:70808 Archived-At: > will return nil (since nil is a valid return value it's a bug when callers > of `display-buffer' don't check for nil, these callers should be fixed). It's a valid return value, but only when display-buffer is *unable to display the buffer*. It is *very* rare to be unable to do so. E.g. it will never happen unless at least one of pop-up-frame-function or display-buffer-fallback-action is changed. So it's no wonder that most callers don't bother checking for a nil return value. Maybe a way around that is to use a special window that's never displayed. But that might introduce more trouble than it's trying to solve. Stefan