unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Reitter <david.reitter@gmail.com>
Subject: next-frame / cycle through all frames?
Date: Fri, 7 Apr 2006 18:52:39 +0100	[thread overview]
Message-ID: <97C266D3-2333-48C1-9D9E-15F3F7D6AA6B@gmail.com> (raw)

What's a good way to cycle through all frames?

I have defined

(defun switch-to-next-frame ()
   (interactive)
   (select-frame-set-input-focus (next-frame)))

which lets me switch to the next frame. But unfortunately, at least  
in current CVS versions, it seems to be adding the current frame to  
the top of the list so that the next call to  `next-frame' will  
return the previously selected frame. In other words, if you have  
three frames open, it'll only let you cycle between two of them.

Is that actually the intended behavior? (It might be analogous to  
windows.)

If that's so, what's the easiest way to cycle between all frames?

Thanks for your help!

             reply	other threads:[~2006-04-07 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-07 17:52 David Reitter [this message]
     [not found] <mailman.175.1144432367.9609.help-gnu-emacs@gnu.org>
2006-04-07 19:16 ` next-frame / cycle through all frames? Johan Bockgård
2006-04-08 11:52 ` Alan Mackenzie

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=97C266D3-2333-48C1-9D9E-15F3F7D6AA6B@gmail.com \
    --to=david.reitter@gmail.com \
    /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.
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).