From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lawrence mitchell Newsgroups: gmane.emacs.help Subject: Re: Fixed static window set-up while opening another buffer Date: Thu, 08 Jan 2004 17:16:23 +0000 Organization: funfunfun Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073721141 28352 80.91.224.253 (10 Jan 2004 07:52:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2004 07:52:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 08:52:18 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AfDur-0004fY-00 for ; Sat, 10 Jan 2004 08:52:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aeew7-0006aC-76 for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jan 2004 13:31:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!vegetable.demon.co.UK!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: vegetable.demon.co.uk (80.177.16.3) Original-X-Trace: news.uni-berlin.de 1073582183 8643097 80.177.16.3 ([97657]) X-No-Yes: No Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 Cancel-Lock: sha1:Fxo56oRebBGuCutrIPo6fyCwSb8= Original-Xref: shelby.stanford.edu gnu.emacs.help:119877 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15888 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15888 Edward Wijaya wrote: > Sometime when we are in a certain window, we want to open a > buffer-list (C-x C-b) or any other buffer. > However this buffer-list tend to be open in another windows > instead of the current windows (where the active-cursor rest). > Is there away to fix the opening of new buffer in the active > window? Does modifying the variable `same-window-regexps' help? >>From the docstring: | List of regexps saying which buffers should appear in the | selected window. If a buffer name matches one of these | regexps, then displaying it using `display-buffer' or | `pop-to-buffer' switches to it in the selected window, rather | than making it appear in some other window. -- lawrence mitchell