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: Some question about display-buffer action functions Date: Mon, 30 Jan 2012 17:07:53 -0500 Message-ID: References: <4F25829F.8000104@gmx.at> <4F266F3D.6030105@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327961284 24396 80.91.229.3 (30 Jan 2012 22:08:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2012 22:08:04 +0000 (UTC) Cc: martin rudalics , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 30 23:08:02 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 1RrzOL-0008Hg-Vt for ged-emacs-devel@m.gmane.org; Mon, 30 Jan 2012 23:08:02 +0100 Original-Received: from localhost ([::1]:33582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrzOL-0001iz-CD for ged-emacs-devel@m.gmane.org; Mon, 30 Jan 2012 17:08:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrzOI-0001iA-Ni for emacs-devel@gnu.org; Mon, 30 Jan 2012 17:07:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrzOH-0000SI-9m for emacs-devel@gnu.org; Mon, 30 Jan 2012 17:07:58 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:52193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrzOH-0000S7-65 for emacs-devel@gnu.org; Mon, 30 Jan 2012 17:07:57 -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 q0UM7rk7015633; Mon, 30 Jan 2012 17:07:53 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 3EE00B4431; Mon, 30 Jan 2012 17:07:53 -0500 (EST) In-Reply-To: (Juanma Barranquero's message of "Mon, 30 Jan 2012 13:48:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4117=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4117> : streams <724357> : uri <1056750> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:148052 Archived-At: >> Alternatively, one could make `set-window-dedicated-p' accept >> a list of names of buffers that may replace the one currently shown in >> the corresponding window. Yes, we could generalize it to accept a predicate. > Well, that would help me, though I don't know if it is a very common > need. Dedicated windows do not seem to get much use yet in user code. I think it's a common-enough case to want to use a window for "this kind of buffers only" (e.g. *diff* and *vc-diff*, or for *TeX-shell* and *compilation*). Stefan