unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* next-frame / cycle through all frames?
@ 2006-04-07 17:52 David Reitter
  0 siblings, 0 replies; 3+ messages in thread
From: David Reitter @ 2006-04-07 17:52 UTC (permalink / 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!

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.175.1144432367.9609.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2006-04-08 11:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07 17:52 next-frame / cycle through all frames? David Reitter
     [not found] <mailman.175.1144432367.9609.help-gnu-emacs@gnu.org>
2006-04-07 19:16 ` Johan Bockgård
2006-04-08 11:52 ` Alan Mackenzie

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).