From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Window configurations Date: Wed, 30 Jun 2010 08:35:17 +0200 Message-ID: <4C2AE5A5.4070802@gmx.at> References: <4BB4CF6B.2000007@alice.it> <4BC0B692.2000702@alice.it> <4BC0BD6D.3060103@swipnet.se> <4BC0F715.2060605@alice.it> <45EB8DD4-B0F8-4FB3-941F-13FADA4DAD66@swipnet.se> <4BC1854B.2060409@alice.it> <4BC1A9D2.8050607@swipnet.se> <4BC206C0.2010202@alice.it> <87fx2pdvfq.fsf@mail.jurta.org> <87y6gg95ad.fsf@mail.jurta.org> <750140A47B7D4FBD93371813D65478F8@us.oracle.com> <87eii63v4j.fsf@mail.jurta.org> <0840B3F4D9E84706874EDD2CA2CC4236@us.oracle.com> <87vdbhgqgd.fsf@mail.jurta.org> <828BB36311A84C43B96D1F2A559DACAE@us.oracle.com> <87d3xo662u.fsf@mail.jurta.org> <69D40D69CC6F4982A8E91D8D8F0F494F@us.oracle.com> <87r5m4hz39.fsf@mail.jurta.org> <4BD40821.70808@gmx.at> <87zl0rtmqy.fsf@mail.jurta.org> <4C29B675.9000500@gmx.at> <87k4phmxfs.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277879735 19019 80.91.229.12 (30 Jun 2010 06:35:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Jun 2010 06:35:35 +0000 (UTC) Cc: 'Emacs' To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 30 08:35:34 2010 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.69) (envelope-from ) id 1OTqtR-0004M5-U8 for ged-emacs-devel@m.gmane.org; Wed, 30 Jun 2010 08:35:34 +0200 Original-Received: from localhost ([127.0.0.1]:38940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTqtR-0001VE-A1 for ged-emacs-devel@m.gmane.org; Wed, 30 Jun 2010 02:35:33 -0400 Original-Received: from [140.186.70.92] (port=60321 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTqtK-0001Uq-63 for emacs-devel@gnu.org; Wed, 30 Jun 2010 02:35:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTqtJ-0000tn-4M for emacs-devel@gnu.org; Wed, 30 Jun 2010 02:35:26 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:59710) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OTqtI-0000tV-Np for emacs-devel@gnu.org; Wed, 30 Jun 2010 02:35:25 -0400 Original-Received: (qmail invoked by alias); 30 Jun 2010 06:35:21 -0000 Original-Received: from 62-47-56-177.adsl.highway.telekom.at (EHLO [62.47.56.177]) [62.47.56.177] by mail.gmx.net (mp037) with SMTP; 30 Jun 2010 08:35:21 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+FNTofXKSFpXYe9XdE+qlg4V6pPeI3xlhCjkdaSR /MyrF3DW8F3j2v User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87k4phmxfs.fsf@mail.jurta.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.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:126525 Archived-At: > Does this mean that now it's possible to create/restore > window configurations in Elisp? As a matter of fact I expected you to write that. Your proposals in this context were pretty convincing so that I even threw out some routines I wrote earlier (mostly for putting frames into windows and vice versa). So please have a look into what I wrote and tell me what you need to make your code work. We could provide functions like `make-window', `set-window-parent', `set-window-vchild', ... in Elisp and write a C function - say `replace-window' - which replaces an existing (internal) window with an (internal) window constructed by the routines mentioned before. But I'd do that iff your "construct configuration from sexps" approach really profited from it since we'd have to augment the window structure by new_parent, new_vchild, new_sibling, ... fields which is cumbersome. martin