From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: window-list Date: 19 Aug 2004 11:50:09 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200408181803.i7II3eo23397@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092909080 907 80.91.224.253 (19 Aug 2004 09:51:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2004 09:51:20 +0000 (UTC) Cc: quarl+dated+1093194046.34955e@nospam.quarl.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 19 11:51:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BxjZe-0003YG-00 for ; Thu, 19 Aug 2004 11:51:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bxjdu-0005En-2a for ged-emacs-devel@m.gmane.org; Thu, 19 Aug 2004 05:55:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BxjdC-0005DK-BF for emacs-devel@gnu.org; Thu, 19 Aug 2004 05:54:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BxjdA-0005CT-UX for emacs-devel@gnu.org; Thu, 19 Aug 2004 05:54:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BxjdA-0005CE-1J for emacs-devel@gnu.org; Thu, 19 Aug 2004 05:54:48 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1BxjYb-0006TL-WE for emacs-devel@gnu.org; Thu, 19 Aug 2004 05:50:06 -0400 Original-Received: (qmail 34186 invoked from network); 19 Aug 2004 09:49:14 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 19 Aug 2004 09:49:14 -0000 Original-To: Luc Teirlinck In-Reply-To: <200408181803.i7II3eo23397@raven.dms.auburn.edu> Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26312 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26312 Luc Teirlinck writes: > Kim Storm wrote: > > I don't recall any discussion about the need for that change, but > I guess there was a reason.... > > To make the function do what both its docstring and the documentation > in the Elisp manual claim it does: > > -- Function: window-list &optional frame minibuf window > This function returns a list of the windows on FRAME, starting > with WINDOW. If FRAME is `nil' or omitted, the selected frame is > used instead; if WINDOW is `nil' or omitted, the selected window > is used instead. > > So I do not believe that there _has_ been a change in documented > behavior. The documentation was changed quite a while ago, for > "compatibility with XEmacs". (Revision 1.322 to window.c on Nov 19, > 2000, by Gerd.) I guess the change must have been discussed back > then. The new behavior was never correctly implemented, until > Richard's change. Thank you for clarifying that. > > As I already pointed out, unless I am misunderstanding, one can get > the behavior Karl wants, from Elisp, using: > > (window-list frame minibuf (frame-first-window frame)) Would it be an idea to mention that in the manual? -- Kim F. Storm http://www.cua.dk