From: Angelo Graziosi <angelo.graziosi@alice.it>
To: emacs <emacs-devel@gnu.org>
Subject: Buffers relative order
Date: Tue, 21 Jun 2011 00:16:03 +0200 [thread overview]
Message-ID: <4DFFC6A3.5010506@alice.it> (raw)
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.
next reply other threads:[~2011-06-20 22:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-20 22:16 Angelo Graziosi [this message]
2011-06-21 13:38 ` Buffers relative order 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DFFC6A3.5010506@alice.it \
--to=angelo.graziosi@alice.it \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).