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: Some question about display-buffer action functions Date: Tue, 31 Jan 2012 12:41:18 +0100 Message-ID: <4F27D35E.1060009@gmx.at> References: <4F25829F.8000104@gmx.at> <4F266F3D.6030105@gmx.at> <4F26DD9D.1080101@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328010160 6060 80.91.229.3 (31 Jan 2012 11:42:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2012 11:42:40 +0000 (UTC) Cc: Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 31 12:42:39 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RsC6f-0000SX-Pn for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2012 12:42:37 +0100 Original-Received: from localhost ([::1]:56770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsC6e-00068g-S4 for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2012 06:42:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsC6c-00068L-Eg for emacs-devel@gnu.org; Tue, 31 Jan 2012 06:42:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsC6W-0005TR-On for emacs-devel@gnu.org; Tue, 31 Jan 2012 06:42:34 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:43570) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RsC6W-0005TD-DQ for emacs-devel@gnu.org; Tue, 31 Jan 2012 06:42:28 -0500 Original-Received: (qmail invoked by alias); 31 Jan 2012 11:42:27 -0000 Original-Received: from 62-47-40-148.adsl.highway.telekom.at (EHLO [62.47.40.148]) [62.47.40.148] by mail.gmx.net (mp012) with SMTP; 31 Jan 2012 12:42:27 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18vnC4YHn4vtBzCRPiAC1fCslH2CwcNPtbZWk4AUg i8BM3B2qb0WMDk In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 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:148061 Archived-At: >> Another possibility would be to give the window a `no-switch-to-buffer' >> dedicated value and have `switch-to-buffer' / `display-buffer' observe >> that. > > Well, yes, but isn't that like doing dedication all over again? It would be weaker than t and stronger than other non-nil values. >> Maybe a `display-buffer-in-window-with-predicate' >> would cover this. > > Yes, I proposed such function one or two messages ago ;-) It was your proposal I had in mind. >> (2) Provide some sort of a hook within `display-buffer-alist'. That's >> easy to document and allows to call a function only for buffers that >> want it. The downside of this is that a user has to replicate it >> for each and every alist entry since entries are not merged. > > Still, it seems quite flexible. Let's add this for Emacs 24.2 then. martin