From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: display-buffer-alist simplifications Date: Mon, 29 Aug 2011 22:45:36 +0300 Organization: JURTA Message-ID: <871uw42e77.fsf@mail.jurta.org> References: <87mxgem09k.fsf@stupidchicken.com> <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> <87zkjkb572.fsf@mail.jurta.org> <4E3FD5ED.5000206@gmx.at> <4E412E2D.90908@gmx.at> <4E422ECA.2020207@gmx.at> <4E43A253.9040404@gmx.at> <4E59F6D1.5060800@gmx.at> <4E5BE2B9.9030307@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314647477 6291 80.91.229.12 (29 Aug 2011 19:51:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2011 19:51:17 +0000 (UTC) Cc: Chong Yidong , Stefan Monnier , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 29 21:51:13 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 1Qy7rS-0005Zo-RW for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2011 21:51:11 +0200 Original-Received: from localhost ([::1]:37671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy7rP-0008FT-UD for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2011 15:51:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy7rM-0008Er-UT for emacs-devel@gnu.org; Mon, 29 Aug 2011 15:51:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy7rL-0003Fd-Pl for emacs-devel@gnu.org; Mon, 29 Aug 2011 15:51:04 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]:35399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy7rL-0003FK-HJ for emacs-devel@gnu.org; Mon, 29 Aug 2011 15:51:03 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 41E7C6E8056; Mon, 29 Aug 2011 12:51:02 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 17106451C3B8; Mon, 29 Aug 2011 12:51:00 -0700 (PDT) In-Reply-To: <4E5BE2B9.9030307@gmx.at> (martin rudalics's message of "Mon, 29 Aug 2011 21:04:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.113.175.8 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:143638 Archived-At: > IIRC it was Juri's idea to unify keys this way. Good to know that it's > a misfeature. I said "_like_ `run-hook-with-args-until-success'" ;-) This does not mean we should use it as is. We could run every funcall with different alist arguments. Or with Stefan's design without decomposition these actions could be specified as: '(display-buffer-reuse-lru-window . ()) '(display-buffer-reuse-largest-window . ()) >> - the functionality of Emacs-23 (i.e. mostly same-frame, same-window, >> other-window, other-frame, dedicated-or-not, existing-window) so as to >> be able to mark the various old config vars as obsolete. > > Without offering anything people can customize instead but a single > option called `display-buffer-alist' to choose one of these functions? At least, this change will be easy to understand for users. ;-)