From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: display-buffer-overriding-action Date: Mon, 12 Sep 2011 20:55:51 -0400 Message-ID: References: <87mxgem09k.fsf@stupidchicken.com> <87hb4xq3jn.fsf@mail.jurta.org> <878vq937w4.fsf@stupidchicken.com> <87wrdrc7v2.fsf@stupidchicken.com> <87sjo9hfar.fsf@stupidchicken.com> <874o0p8emk.fsf@stupidchicken.com> <87ipp4webw.fsf@stupidchicken.com> <87bouvniij.fsf@stupidchicken.com> <87aaaeikr6.fsf@stupidchicken.com> <878vpx3g4d.fsf@stupidchicken.com> <87pqj9qqhp.fsf@stupidchicken.com> <87mxealsnv.fsf_-_@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315875365 9168 80.91.229.12 (13 Sep 2011 00:56:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Sep 2011 00:56:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 13 02:55:59 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 1R3HI5-0001Im-Uu for ged-emacs-devel@m.gmane.org; Tue, 13 Sep 2011 02:55:58 +0200 Original-Received: from localhost ([::1]:34610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3HI5-0008AD-5K for ged-emacs-devel@m.gmane.org; Mon, 12 Sep 2011 20:55:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3HI3-0008A6-8a for emacs-devel@gnu.org; Mon, 12 Sep 2011 20:55:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3HI2-000648-Aq for emacs-devel@gnu.org; Mon, 12 Sep 2011 20:55:55 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50587 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3HI2-000643-3T for emacs-devel@gnu.org; Mon, 12 Sep 2011 20:55:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAJapbk5FxK3+/2dsb2JhbABCp255gVIBAQQBViMFCwsOJhIUGA0kiAq4B4ZuBKAzhEM X-IronPort-AV: E=Sophos;i="4.68,371,1312171200"; d="scan'208";a="135963669" Original-Received: from 69-196-173-254.dsl.teksavvy.com (HELO ceviche.home) ([69.196.173.254]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 12 Sep 2011 20:55:53 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id DAF3A660B6; Mon, 12 Sep 2011 20:55:51 -0400 (EDT) In-Reply-To: <87mxealsnv.fsf_-_@stupidchicken.com> (Chong Yidong's message of "Sun, 11 Sep 2011 16:40:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:143954 Archived-At: > The new display-buffer design seems to work OK, but one aspect of it is > still bugging me: do we really need display-buffer-overriding-action? I think so, yes. > If memory serves, the original idea was to allow the user to easily > impose options to override the ACTION argument to display-buffer, > applying to all buffers (unlike display-buffer-alist). Such an option > might include the choice of window to reuse (currently not implemented). No, the override-action is so the user can dynamically override even his own settings. E.g. C-x 5 b should override a user's own settings of "same-window" for that buffer (after all, that's why he used C-x 5 b rather than C-x b). So it's meant to be let-bound or set temporarily (the "set temporarily" is for the case where we implement a new (prefix) command to bind to keys like C-x 5 or C-x 4). Stefan