From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Window configuration UI Date: Wed, 26 Mar 2008 22:14:30 -0400 Message-ID: References: <873aqia0eh.fsf@stupidchicken.com> <47EA1A50.3030101@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206584091 12605 80.91.229.12 (27 Mar 2008 02:14:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2008 02:14:51 +0000 (UTC) Cc: pmr@pajato.com, cyd@stupidchicken.com, paul.r.ml@gmail.com, "Lennart Borgman \(gmail\)" , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 27 03:15:21 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JeheB-00060a-RO for ged-emacs-devel@m.gmane.org; Thu, 27 Mar 2008 03:15:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jehda-0000Jn-88 for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2008 22:14:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JehdW-0000JI-RO for emacs-devel@gnu.org; Wed, 26 Mar 2008 22:14:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JehdU-0000Hv-2R for emacs-devel@gnu.org; Wed, 26 Mar 2008 22:14:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JehdT-0000Hs-Si for emacs-devel@gnu.org; Wed, 26 Mar 2008 22:14:35 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JehdQ-0008KX-7E; Wed, 26 Mar 2008 22:14:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuAEAAOg6kdMCrTo/2dsb2JhbACBWqlx X-IronPort-AV: E=Sophos;i="4.25,562,1199682000"; d="scan'208";a="16929496" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 26 Mar 2008 22:14:31 -0400 Original-Received: from pastel.home ([76.10.180.232]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id HFP03931; Wed, 26 Mar 2008 22:14:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 97CC47F9E; Wed, 26 Mar 2008 22:14:30 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Wed, 26 Mar 2008 18:26:42 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93598 Archived-At: > It would be interesting to try replacing the current > window-configuration code with winsav.el, to see if it is fast enough. > It seems to me that `winsav-get-window-tree' could be made a lot > faster, especially by writing it in C. But I don't know if it needs > to be any faster. It doesn't seem to be noticeably slow. But it does not provide a 100% replacement for the window-configuration functions (mostly because of the issue of preserving window-identity vs. creating new windows). Not sure how important it is. IIUC XEmacs has switched to such an Elisp-only implementation of window-configurations so they probably know more about the impact of this incompatibility. > How does winsav deal with the tree structure of non-leaf windows? I > think that it does not know about non-leaf windows; is that correct? > If so, it is something we need to fix, and that probably > requires changes at the C level. It uses `window-tree' so it does know about non-leaf windows. Stefan