all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: michael_heerdegen@web.de
Cc: 7492@debbugs.gnu.org
Subject: bug#7492: 23.2; cl loop over the windows: infinite loop, info doc
Date: Mon, 29 Nov 2010 19:29:26 -0500	[thread overview]
Message-ID: <huipzf3b89.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <874ob3lt1j.fsf@web.de>

Michael Heerdegen wrote:

> For looping over "the windows", it only says:
>
> `for VAR being the windows [of FRAME]'
>      This clause iterates over the windows (in the Emacs sense) of the
>      current frame, or of the specified FRAME.
>
> It's not clear if/when the minibuffer window is included and in which
> order the iteration is done.

By experiment, the minibuffer is not included, which is why it loops
forever if you force it to start there. Does the order matter? Anyway,
it's the order that `next-window' gives.

`loop' can probably be improved, but I suggest using `walk-windows'
(which has well-defined, flexible behaviour wrt the minibuffer)
instead and will add a note to cl.texi to this effect.





  reply	other threads:[~2010-11-30  0:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 20:38 bug#7492: 23.2; cl loop over the windows: infinite loop, info doc Michael Heerdegen
2010-11-30  0:29 ` Glenn Morris [this message]
2010-12-02 17:47   ` Glenn Morris

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=huipzf3b89.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=7492@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.