From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Why does buffer list not stay stable? Date: Thu, 5 Mar 2009 22:47:32 -0700 Message-ID: <20524da70903052147o2c022c1dv23be434700fe918d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236318491 16403 80.91.229.12 (6 Mar 2009 05:48:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 05:48:11 +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 Mar 06 06:49:27 2009 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.50) id 1LfSw2-0001RI-Uy for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 06:49:27 +0100 Original-Received: from localhost ([127.0.0.1]:42153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfSue-0000Ov-Nk for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 00:48:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfSuH-0000Op-F8 for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 00:47:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfSuE-0000Ln-TR for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 00:47:35 -0500 Original-Received: from [199.232.76.173] (port=58985 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfSuE-0000Lh-Lo for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 00:47:34 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.249]:60204) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfSuD-0005ko-Vh for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 00:47:34 -0500 Original-Received: by an-out-0708.google.com with SMTP id b6so185080ana.21 for ; Thu, 05 Mar 2009 21:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rsapRQewSEggEdIfzhxCViMUE4S8uxJGqRpNOEwoAqo=; b=PYhYRea0dA6OrJzoFr+oyekUHip+LoKhzMu6e8lCFC2eLze9WFYpmBVa8XSUrVb8G8 edbv4HmRlSEuFrvR7+f9D37LUMn5O+WFdREgr+xlMETlzuaKj8YnuIP6A95XVUO8KW8Z eNlZSlw2iFhBkG6aaVJdKiabqzSvZDL0PVj8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=SGgx9xvPd19NSuLTohVQu0pJuldgAt9a4KT1D35r20Fs/VDmKx41FTSsWQZk/4DRFz mrMhao3KPtjUsF4D292+4YjfQLlF9+U9/VDU59n4uZjQfstsY5gGwYGzBXcHIkIo/XYi mM6SqLF9bzGMbVtg2DMVzT1O1yxelgu0/StiY= Original-Received: by 10.231.20.1 with SMTP id d1mr601073ibb.19.1236318452162; Thu, 05 Mar 2009 21:47:32 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62646 Archived-At: I have a vexing problem with buffer ordering. I very frequently use next-buffer and previous-buffer[1] to navigate to buffers. If I am in a buffer and create a few more, I want all of them to be next to each other in the buffer list. I treat the list like a ring (or want to) -- I want the two commands to go in opposite directions on the ring. I don't care where the beginning and end of the buffer list are. But I want buffers that I create or switch to to be *nearby*. And I want the two commands to be *opposites*. Doing one a few times then the other the same number of times should return me to the same buffer. But it doesn't always work like that. Some buffers end up far away from where I am, for no apparent reason. And the commands are not opposites. This is disconcerting. If I am in an org mode buffer (say), and do egg-status, this brings up a buffer with diffs in it. If I then call a function that calls pop-to-buffer or switch-to-buffer, it takes me to a new buffer.[2] so far so good. Yet the egg-status buffer is nowhere to be seen (i.e. very far away on the ring). Any ideas here? P.S. I have also noticed that w3m buffers cluster together. I assume it's unrelated, although it is sometimes annoying. [1] I also tried a raise-buffer I came across many years ago, and bury-buffer. [2] Please disregard windows here. 99% of the time I use a single window. I almost never split them. I have pop-up-windows and same-window-* set to try to enforce this and most of the time they work (except where commands fail to respect pop-up-windows). -- Myalgic encephalomyelitis denialism is causing death (decades early; Jason et al. 2006) and severe suffering (worse than nearly all other diseases studied; e.g. Schweitzer et al. 1995) and *grossly* corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm