From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: opening new buffer in active buffer Date: Fri, 5 Jul 2013 10:41:57 -0600 Message-ID: <20130705164157.GB7568@hysteria.proulx.com> References: <51D58B54.6090203@yahoo.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1373042533 5519 80.91.229.3 (5 Jul 2013 16:42:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 16:42:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 18:42:13 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uv95H-0001ia-LZ for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 18:42:11 +0200 Original-Received: from localhost ([::1]:40868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv95H-00052i-8D for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 12:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv956-00052A-Ef for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 12:42:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv955-0000dH-Ir for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 12:42:00 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:38388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv955-0000c1-1E for help-gnu-emacs@gnu.org; Fri, 05 Jul 2013 12:41:59 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id A66BF211D5 for ; Fri, 5 Jul 2013 10:41:57 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 8A5972DCF7; Fri, 5 Jul 2013 10:41:57 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <51D58B54.6090203@yahoo.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91960 Archived-At: Jannis wrote: > if i have several buffers open in emacs in splitted windows and I > hit Ctr-X Ctr-B to switch to another buffer, the list of buffers > and, hence, the new buffer always opens in another buffer window > than the one that is currently my window. Is there any way to change > this so that I always stay in the same window? I have figured out a > way to first always click once in all teh windows where I want the > buffer not to open but this seems very tedious to me. Have you ever tried electric-buffer-list? Try it. You will like it! (global-set-key "\C-x\C-b" 'electric-buffer-list) ; originally list-buffers I love it and wouldn't think of returning to the original list-buffers routine. Bob