From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carlos Konstanski Newsgroups: gmane.emacs.help Subject: Re: list-buffers behavior customization Date: Fri, 6 May 2016 07:03:03 -0600 Message-ID: <54181356-352e-821e-2685-ede49a7e47ad@pippiandcarlos.com> References: <0a105aa5-9ad2-354b-d113-9df6b6561834@pippiandcarlos.com> <87zis4gm39.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1462539848 21359 80.91.229.3 (6 May 2016 13:04:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 May 2016 13:04:08 +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 May 06 15:03:58 2016 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 1ayfQ6-0000ZE-Jm for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2016 15:03:50 +0200 Original-Received: from localhost ([::1]:58138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayfQ2-0008QL-PD for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2016 09:03:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayfPl-0008A2-NS for help-gnu-emacs@gnu.org; Fri, 06 May 2016 09:03:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayfPZ-00051x-Ie for help-gnu-emacs@gnu.org; Fri, 06 May 2016 09:03:24 -0400 Original-Received: from [63.228.66.31] (port=1933 helo=mail.pippiandcarlos.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayfPY-0004xl-9o for help-gnu-emacs@gnu.org; Fri, 06 May 2016 09:03:17 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 66124189588F for ; Fri, 6 May 2016 07:03:04 -0600 (MDT) Original-Received: from mail.pippiandcarlos.com ([127.0.0.1]) by localhost (mail.pippiandcarlos.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LfQt1gvXyHUB for ; Fri, 6 May 2016 07:03:03 -0600 (MDT) Original-Received: from [11.96.42.12] (sphinkpad.pippiandcarlos.com [11.96.42.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.pippiandcarlos.com (Postfix) with ESMTPSA id AA6151895877 for ; Fri, 6 May 2016 07:03:03 -0600 (MDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.pippiandcarlos.com AA6151895877 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pippiandcarlos.com; s=pippiandcarlos.com.private; t=1462539783; bh=0usgJSbnYM3wb8eEfI7OyMTUmb1Pmu5/ae//UuD6ej8=; h=Subject:To:References:From:Date:In-Reply-To; b=bFbOcbqFfgKjXh1Xx/oYXMQ8yH/Y+SqUZh7YIMzFm/kQ8UZZ/evlVUxHCVrxncJEb F45VaogaqcMT0F6HR+I9fw5Kmv7RuuRTt4GXWC+mGfnxkJalpIK46K2b9DMubHCpBX 8AUFX64gSP8RmmWXi7ymwTlXcY4vISn/LruNL6Y4= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <87zis4gm39.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 63.228.66.31 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:109892 Archived-At: Am 05.05.2016 um 16:46 schrieb Michael Heerdegen: > Carlos Konstanski writes: > >> I quite often have 3 or 4 emacs frames open. Whenever I do a >> list-buffers, it opens in whatever frame it appeared last. This is >> usually not what I want. I want it to open in the frame that is >> currently in focus. >> >> [...] >> The sexp (get-buffer-create "*Buffer List*") is where this behavior is >> coming from. > > `get-buffer-create' may return an existing buffer of that name, but > nothing more: it doesn't decide where to display it etc. That is done > by `display-buffer'. So I think you just want to customize > `display-buffer-alist'? > > > Regards, > > Michael. Thanks! This solution works: '(display-buffer-alist (quote (("*Buffer*" display-buffer-same-window (allow-no-window . t))))) Carlos