unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Buffers relative order
@ 2011-06-20 22:16 Angelo Graziosi
  2011-06-21 13:38 ` martin rudalics
  0 siblings, 1 reply; 10+ messages in thread
From: Angelo Graziosi @ 2011-06-20 22:16 UTC (permalink / raw)
  To: emacs

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.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-27  7:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 22:16 Buffers relative order Angelo Graziosi
2011-06-21 13:38 ` martin rudalics
2011-06-21 17:59   ` Angelo Graziosi
2011-06-22 12:33     ` martin rudalics
2011-06-22 17:49       ` Angelo Graziosi
2011-06-23  9:48         ` martin rudalics
2011-06-25 13:26           ` Stefan Monnier
2011-06-25 14:27             ` martin rudalics
2011-06-27  1:10               ` Stefan Monnier
2011-06-27  7:00                 ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).