From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: window-list Date: Tue, 17 Aug 2004 10:25:20 -0700 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: Reply-To: quarl+dated+1093194046.34955e@nospam.quarl.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092763568 32068 80.91.224.253 (17 Aug 2004 17:26:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Aug 2004 17:26:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 17 19:25:55 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 1Bx7ic-0006p3-00 for ; Tue, 17 Aug 2004 19:25:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bx7mm-0000D0-Fb for ged-emacs-devel@m.gmane.org; Tue, 17 Aug 2004 13:30:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bx7mW-0000CM-OO for emacs-devel@gnu.org; Tue, 17 Aug 2004 13:29:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bx7mU-00009g-4I for emacs-devel@gnu.org; Tue, 17 Aug 2004 13:29:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bx7mU-00009Z-0A for emacs-devel@gnu.org; Tue, 17 Aug 2004 13:29:54 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bx7i9-0000ca-Ff for emacs-devel@gnu.org; Tue, 17 Aug 2004 13:25:25 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bx7i8-00048E-00 for ; Tue, 17 Aug 2004 19:25:24 +0200 Original-Received: from hkn.eecs.berkeley.edu ([128.32.47.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Aug 2004 19:25:24 +0200 Original-Received: from quarl by hkn.eecs.berkeley.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Aug 2004 19:25:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: hkn.eecs.berkeley.edu X-Quack-Archive: 1 Gmane-From: 1 User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:WkwN7h+5z1QO3rWrQuFEoQKb6Cs= 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:26284 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26284 There's been a change in window-list that removes available functionality: getting the list of windows in canonical order, starting with the first window. This is important functionality that I depend on; I don't see any way to get it now through only ELisp. I propose the following change to window-list: WINDOW t means return the list unrotated (in canonical order) Due to the call to decode_next_window_args() which should not allow WINDOW t, the patch would be more than 2 or 3 lines if decode_next_window_args() and the call to it from window_list_1() were not changed. Relevant ChangeLog entry: 2004-07-17 Richard M. Stallman * window.c ... (window_list_1): Rotate the list to start with WINDOW. -- Karl 2004-08-17 10:00