all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Frame ordering
Date: Fri, 11 Jun 2010 08:29:23 -0400	[thread overview]
Message-ID: <8F18E079-3351-4398-B76B-6CF9169ACE9E@gmail.com> (raw)
In-Reply-To: E9FAA849-1E93-4DD7-AE9D-5E644D990202@univie.ac.at

Currently, frames seem to be selected in order of their creation; deleting a frame does not select the previously created frame, but the frame that was created before it.  Many users (e.g., see below) find this annoying, and so do I.

So, I've experimented with simply moving the frame to the end of Vframe_list in do_switch_frame:

if (XINT (Flength (Vframe_list)) > 1)
    {
      Vframe_list = Fdelete (frame, Vframe_list);
      Vframe_list = nconc2 (Vframe_list, tem);
    }

However, this results in hangs in redisplay or in outright crashes, depending on the variant of the above (sometimes in garbage collection).  What am I doing wrong?




Begin forwarded message:

> From: Konrad Podczeck <konrad.podczeck@univie.ac.at>
> 
> I start Aquamacs, then, via "Open Recent", I open a file, say one.tex, and then another file, say second.tex. Then, via "Menu>Window", I make the frame with one.tex again the active one. Then I invoke "occur" to get a new frame containing an occur buffer. Now if I close the occur buffer, suddenly the frame with second.tex becomes active, which is not the frame from which I called "occur". Similar effects with latex output buffers.




       reply	other threads:[~2010-06-11 12:29 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E9FAA849-1E93-4DD7-AE9D-5E644D990202@univie.ac.at>
2010-06-11 12:29 ` David Reitter [this message]
2010-06-11 13:22   ` Frame ordering martin rudalics
2010-06-11 13:55     ` David Reitter
2010-06-11 17:13       ` martin rudalics
2010-06-11 21:04         ` David Reitter
2010-06-12  8:01           ` martin rudalics
2010-06-13 20:16             ` David Reitter
2010-06-14  0:30               ` Stefan Monnier
2010-06-14  2:42                 ` David Reitter
2010-06-14  3:30                   ` YAMAMOTO Mitsuharu
2010-06-14  6:50                     ` martin rudalics
2010-06-14  6:55                       ` Lennart Borgman
2010-06-14  7:35                       ` YAMAMOTO Mitsuharu
2010-06-14  8:24                         ` martin rudalics
2010-06-14  8:31                           ` YAMAMOTO Mitsuharu
2010-06-14  9:20                             ` martin rudalics
2010-06-14  9:28                               ` YAMAMOTO Mitsuharu
2010-06-14 13:29                                 ` Stefan Monnier
2010-06-14  3:52                   ` YAMAMOTO Mitsuharu
2010-06-14 15:52                     ` David Reitter
2010-06-14 16:05                       ` Lennart Borgman
2010-06-14 16:29                         ` David Reitter
2010-06-14 16:47                           ` Lennart Borgman
2010-06-14 17:10                             ` Jan Djärv
2010-06-14 17:15                               ` Lennart Borgman
2010-06-14 17:14                             ` David Reitter
2010-06-14 17:19                               ` Lennart Borgman
2010-06-14 18:49                           ` Stefan Monnier
2010-06-15  3:54                             ` David Reitter
2010-06-15 13:25                               ` Stefan Monnier
2010-06-15 14:33                                 ` David Reitter
2010-06-15  9:24                       ` YAMAMOTO Mitsuharu
2010-06-14  6:50                   ` martin rudalics
2010-06-12  4:12         ` David Reitter
2010-06-12  5:42   ` YAMAMOTO Mitsuharu

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8F18E079-3351-4398-B76B-6CF9169ACE9E@gmail.com \
    --to=david.reitter@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.