From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Window configuration Date: Thu, 27 May 2010 08:33:29 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274974462 27778 80.91.229.12 (27 May 2010 15:34:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 May 2010 15:34:22 +0000 (UTC) To: "'Gary .'" , "'emacs list'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 27 17:34:21 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OHf6C-0006rY-KS for geh-help-gnu-emacs@m.gmane.org; Thu, 27 May 2010 17:34:20 +0200 Original-Received: from localhost ([127.0.0.1]:51516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHf6C-0004A2-0F for geh-help-gnu-emacs@m.gmane.org; Thu, 27 May 2010 11:34:20 -0400 Original-Received: from [140.186.70.92] (port=51507 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHf5Z-00048u-Iz for help-gnu-emacs@gnu.org; Thu, 27 May 2010 11:33:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHf5Y-0004NT-KN for help-gnu-emacs@gnu.org; Thu, 27 May 2010 11:33:41 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:24823) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHf5Y-0004NB-8m for help-gnu-emacs@gnu.org; Thu, 27 May 2010 11:33:40 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o4RFXYb0012051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 May 2010 15:33:35 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4RAOiR2004038; Thu, 27 May 2010 15:33:28 GMT Original-Received: from abhmt015.oracle.com by acsmt353.oracle.com with ESMTP id 302972961274974405; Thu, 27 May 2010 08:33:25 -0700 Original-Received: from dradamslap1 (/10.175.228.31) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 27 May 2010 08:33:24 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acr9rm973YN30r4wSSmN3fvWqaOe3QAAvTgw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4BFE90CA.00C1:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73780 Archived-At: > I swear, if emacs "steals" a window to reuse for something else again, > I'm going to swing an axe at it. > > Is there any way to specify that windows containing buffers which have > a certain mode should *never* be reused or closed unless specifically > by user action (for example visiting a new file from the window)? Yes, make them dedicated windows. See the Elisp manual, node `Dedicated Windows'. See the Elisp manual, node `Choosing Window'. The easiest way to do this is to use `special-display-regexps', giving it a regexp that matches all buffer names. By default, a "special-display" buffer is shown in a dedicated window.