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, 06 Feb 2013 10:35:31 -0500 Message-ID: References: <87sj5apclq.fsf@mail.jurta.org> <87r4ktoinh.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360164957 10542 80.91.229.3 (6 Feb 2013 15:35:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2013 15:35:57 +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 Wed Feb 06 16:36:17 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 1U372l-00036W-VL for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Feb 2013 16:36:16 +0100 Original-Received: from localhost ([::1]:56975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U372T-0006jD-9t for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Feb 2013 10:35:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U372K-0006df-RC for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 10:35:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U372I-0000qV-Py for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 10:35:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U372I-0000qL-IR for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 10:35:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U373W-0007LL-RM for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 10:37:02 -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: Wed, 06 Feb 2013 15:37: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.136016501828212 (code B ref 13594); Wed, 06 Feb 2013 15:37:02 +0000 Original-Received: (at 13594) by debbugs.gnu.org; 6 Feb 2013 15:36:58 +0000 Original-Received: from localhost ([127.0.0.1]:39417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U373O-0007Ks-5K for submit@debbugs.gnu.org; Wed, 06 Feb 2013 10:36:58 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:51335) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U373I-0007Ki-Hh for 13594@debbugs.gnu.org; Wed, 06 Feb 2013 10:36:53 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r16FZVAR017031; Wed, 6 Feb 2013 10:35:31 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 51D5EB4182; Wed, 6 Feb 2013 10:35:31 -0500 (EST) In-Reply-To: <87r4ktoinh.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 06 Feb 2013 12:12:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4483=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4483> : streams <901600> : uri <1338248> 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:70750 Archived-At: > (add-to-list 'display-buffer-alist '("\\*compilation\\*" ignore-t (nil))) > where `ignore-t' is like existing `ignore' but returns t instead of nil: > (defun ignore-t (&rest _) t) Problem is that the functions in display-buffer-alist are supposed to return either the window they used or nil (to mean that display-buffer should try the next candidate function). So returning t is incorrect and can/will lead to bugs further down where the caller does not expect a t value (most callers of display-buffer don't expect a nil return value either). Stefan