From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Buffers relative order Date: Tue, 21 Jun 2011 00:16:03 +0200 Message-ID: <4DFFC6A3.5010506@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308608729 17327 80.91.229.12 (20 Jun 2011 22:25:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2011 22:25:29 +0000 (UTC) To: emacs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 00:25:25 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QYmuL-0000lP-49 for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 00:25:25 +0200 Original-Received: from localhost ([::1]:46126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYmuJ-0000vW-P8 for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2011 18:25:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYmqm-00008q-AF for emacs-devel@gnu.org; Mon, 20 Jun 2011 18:21:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYmqj-0004I3-7i for emacs-devel@gnu.org; Mon, 20 Jun 2011 18:21:43 -0400 Original-Received: from smtp209.alice.it ([82.57.200.105]:42505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYmqi-0004Hb-Nl for emacs-devel@gnu.org; Mon, 20 Jun 2011 18:21:41 -0400 Original-Received: from [192.168.1.101] (82.53.172.129) by smtp209.alice.it (8.5.124.08) id 4DE658F801D2A3C6 for emacs-devel@gnu.org; Tue, 21 Jun 2011 00:16:04 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140745 Archived-At: With recent changes in trunk, it seems that buffers relative order is different between sessions (desktop save on). Suppose I start Emacs without any desktop file, and visit some buffer: C-x C-f A C-x C-f B C-x C-f C C-x C-f D So D is what I see in the frame. Now suppose I click mouse-1 (previous buffer) on the buffer name in status bar. I get: mouse-1 --> C mouse-1 --> B mouse-1 --> A mouse-1 --> Scratch mouse-1 --> Messages mouse-1 --> D Still D in the frame... A B C D <---- previous If now I save desktop and exit, when restart Emacs I find D mouse-1 --> A mouse-1 --> B mouse-1 --> C mouse-1 --> Scratch mouse-1 --> Messages mouse-1 --> D C B A D <---- previous This is a different (cyclic) sequence. If one exits Emacs from Scratch or Messages or from another buffer, one gets a permutation of ABCD, say DBAC... Now, usually I want to preserve the relative order of buffers I am working on, mainly because they are "linked" with some logic (.c,.cxx,.h project 1; .f90 proj. 2; .sh proj. 3 etc.) With this new behavior, after a few start/exit Emacs, it is difficult to work, the order is lost (header files are "far" from .c/.cxx etc.) Is this a something with which we will have to do in Emacs24? Ciao, Angelo.