From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: display-buffer-alist simplifications Date: Wed, 10 Aug 2011 09:09:44 +0200 Message-ID: <4E422EB8.1020309@gmx.at> References: <87mxgem09k.fsf@stupidchicken.com> <87wrf8iyse.fsf@stupidchicken.com> <4E2BEED2.5040608@gmx.at> <8739hvu6lh.fsf@stupidchicken.com> <4E2C50E6.3020103@gmx.at> <878vrnweju.fsf@stupidchicken.com> <4E2D34D7.4040002@gmx.at> <87r55cjvef.fsf@stupidchicken.com> <87sjpsnerd.fsf@mail.jurta.org> <4E355D2C.40709@gmx.at> <87k4axzg7j.fsf@mail.jurta.org> <87oc092gy0.fsf@stupidchicken.com> <4E380897.5000406@gmx.at> <871ux2nsrw.fsf@stupidchicken.com> <4E3AA5DA.8030403@gmx.at> <87mxfnn414.fsf@stupidchicken.com> <4E3D41F2.8060801@gmx.at> <4E3FA812.3080009@gmx.at> <4E412E0B.1000002@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312960207 21006 80.91.229.12 (10 Aug 2011 07:10:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2011 07:10:07 +0000 (UTC) Cc: Juri Linkov , Chong Yidong , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 10 09:10:02 2011 Return-path: Envelope-to: ged-emacs-devel@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 1Qr2vR-0007rI-7u for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2011 09:10:01 +0200 Original-Received: from localhost ([::1]:41033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qr2vQ-0003oz-3j for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2011 03:10:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qr2vK-0003oh-G8 for emacs-devel@gnu.org; Wed, 10 Aug 2011 03:09:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qr2vG-0002TF-9g for emacs-devel@gnu.org; Wed, 10 Aug 2011 03:09:54 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:57969) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qr2vF-0002TB-TL for emacs-devel@gnu.org; Wed, 10 Aug 2011 03:09:50 -0400 Original-Received: (qmail invoked by alias); 10 Aug 2011 07:09:48 -0000 Original-Received: from 62-47-53-1.adsl.highway.telekom.at (EHLO [62.47.53.1]) [62.47.53.1] by mail.gmx.net (mp005) with SMTP; 10 Aug 2011 09:09:48 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/tWzBdy0LtZ87p6JGuawDpgknPwQvY8rfKSis7H/ Lq0E/b+8E6O2JP User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143094 Archived-At: > So, IIUC, compared to > > display-buffer-alist ::= list of (CONDITION . RULE) > RULE ::= (FUNCTIONS . ALIST) > FUNCTIONS ::= list of FUNCTION > > DISPLAY-SPECIFIERS play the role of FUNCTIONS and the SOMETHING-ELSE is > the ALIST, so it contains arguments to pass to each of the FUNCTIONS and > some of those args may be specific to some of the functions while others > may be obeys by all/some of the functions. With the additional twist that whenever a condition fails, the head of the alist (including that condition) is no more considered/obeyed for displaying the buffer. >> I'm lost here. Do you mean that users who prefer the old >> `display-buffer' behavior get overridden by the application whenever >> it passes an argument but do get the old behavior when the application >> does not pass an argument? > > Yes. Ouch. martin