From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: I wish list-buffers used my current window when it listed my buffers Date: Fri, 16 Aug 2013 15:33:34 +0200 Message-ID: <87y581pxox.fsf@web.de> References: <0F190770-005F-4DEA-BE5F-4E235FC6BAD9@gmail.com> <00FA1084-C039-4E70-A3D1-BDF18EEB5D17@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376660078 12397 80.91.229.3 (16 Aug 2013 13:34:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 13:34:38 +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 Aug 16 15:34:40 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 1VAKAn-0001mJ-3M for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 15:34:37 +0200 Original-Received: from localhost ([::1]:59071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAKAm-0007eM-O0 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 09:34:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAKAU-0007cT-Se for help-gnu-emacs@gnu.org; Fri, 16 Aug 2013 09:34:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAKAN-0002hn-Gk for help-gnu-emacs@gnu.org; Fri, 16 Aug 2013 09:34:18 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAKAN-0002hB-AD for help-gnu-emacs@gnu.org; Fri, 16 Aug 2013 09:34:11 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VAKAF-0001F7-2m for help-gnu-emacs@gnu.org; Fri, 16 Aug 2013 15:34:03 +0200 Original-Received: from ip-90-187-120-129.web.vodafone.de ([90.187.120.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Aug 2013 15:34:03 +0200 Original-Received: from michael_heerdegen by ip-90-187-120-129.web.vodafone.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Aug 2013 15:34:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-90-187-120-129.web.vodafone.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:xH3FEm1vuh8bFLluCsA7aY2JM9s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:92928 Archived-At: Jay Cotton writes: > Is it just you and me, or do lots of others also think this behavior > makes better sense? (From a windowing perspective, that is. I can't > speak to the technical pros and cons of electric-buffer-list vs. the > traditional list-buffers, I just like that the former opens in the > same window.) > > I list buffers *constantly* when I'm working in emacs. I've always got > 3 or 4 windows open, and I'm somewhat OCD about keeping things where I > want them, and the problem is that with such an arrangement, I can't > always predict where list-buffers is going to pop up the buffer > list. I haven't studied the problem carefully, and I assume it has > something to do with the order in which I created the windows. But I > don't always create the windows in the same order. Usually my > arrangement just sort of evolves as I'm working, and in any event I > can't always predict which window will be used to pop up the buffer. > > This difficult-to-predict window behavior has always seemed un-emacs-y > to me. And I've always wondered if I'm somehow "doing it wrong" since > it causes me such grief when my .emacs file isn't available. Configuring `display-buffer-alist is a good solution in the most cases. For the other cases, you at least have winner.el to undo buffer popping you didn't want (`winner-undo'). BTW, AFAIK Stefan plans to implement prefix keys that control the buffer displaying behavior of the following command. There would be a default behavior, and you can use those prefixes to deviate from the default. Michael.