From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Infrastructural complexity. Date: Wed, 22 Jul 2009 04:24:09 +0200 Message-ID: References: <20090712180623.GA1009@muc.de> <87vdlstkg4.fsf@mail.jurta.org> <87skgwb9na.fsf@stupidchicken.com> <87ab34ti2o.fsf@mail.jurta.org> <4A61D2A5.8080504@gmx.at> <87vdlpfun0.fsf@mail.jurta.org> <4A62F79A.90001@gmx.at> <873a8s5wwm.fsf@mail.jurta.org> <4A6439FE.8000204@gmx.at> <8763dlmr82.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248229469 13067 80.91.229.12 (22 Jul 2009 02:24:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jul 2009 02:24:29 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 22 04:24:21 2009 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 1MTRVE-0003VD-El for ged-emacs-devel@m.gmane.org; Wed, 22 Jul 2009 04:24:21 +0200 Original-Received: from localhost ([127.0.0.1]:46463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTRVC-0003rX-Ss for ged-emacs-devel@m.gmane.org; Tue, 21 Jul 2009 22:24:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTRV9-0003rS-Ss for emacs-devel@gnu.org; Tue, 21 Jul 2009 22:24:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTRV4-0003qo-H1 for emacs-devel@gnu.org; Tue, 21 Jul 2009 22:24:14 -0400 Original-Received: from [199.232.76.173] (port=36786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTRV4-0003ql-Aw for emacs-devel@gnu.org; Tue, 21 Jul 2009 22:24:10 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.250]:53040) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTRV4-0006NN-2c for emacs-devel@gnu.org; Tue, 21 Jul 2009 22:24:10 -0400 Original-Received: by an-out-0708.google.com with SMTP id b6so3412452ana.21 for ; Tue, 21 Jul 2009 19:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MiPaM4snqLgRLYnI6ofLz02TdXqP6/JmUE7M3ZWeN4o=; b=fD4vmjAZ38lYPS97CIjqoT0kl91dDmOTasQXaRFyzdgG2sgcs0yvwYabT1llOYsbMX 0nc/IWlnb4GiFWKKEUectBodE0aoeT07ubT0wUkiUz2MWKAXNu2GPBZ/Gikw4rtuD/Ab 2cW3tiTspWmRSlCIyv2JZBnOVPFRHHNVs2dBM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rr28g07rZ2OZFS/j9eQ7pdueXsDGzeJyLPTQb1OUxkH8rXmqPRp1D2WyrdACAAbEiL 32x7524xgAdMpzVgVsPE3/P0vq2HgFPZAv+2TzUAqwz0r40++kl7mLaBlno4pS3HptA/ xvWlr8dQFEbSDNcVl7ZN486bsahI8ReUyUCH0= Original-Received: by 10.100.41.9 with SMTP id o9mr500985ano.155.1248229449313; Tue, 21 Jul 2009 19:24:09 -0700 (PDT) In-Reply-To: <8763dlmr82.fsf@mail.jurta.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:112977 Archived-At: On Wed, Jul 22, 2009 at 2:38 AM, Juri Linkov wrote: >> Did anyone ever specify what the "useful sense" of saving a frame >> configuration is? > > I guess "useful" means an ability to restore a frame configuration > to the state that was before saving. As you notice below > ECB layouts are too specific to the code browser and can't be used > stand-alone that would be a useful feature. =C2=A0But there are many good > ideas in ECB. =C2=A0It uses procedural definitions for layouts like: > > (ecb-layout-define "left1" left > =C2=A0(ecb-set-directories-buffer) > =C2=A0(ecb-split-ver 0.3) > =C2=A0(ecb-set-sources-buffer) ... > =C2=A0(select-window (next-window (next-window)))) > > Such procedural definitions insure that created and restored > window trees will be the same. =C2=A0Maybe desktop.el should try > saving window trees with similar procedural structures where > content of each restored window will be filled with either > a file or the result of `desktop-buffer-mode-handlers'. Is there any other way? But perhaps you mean saving the commands that lead to this structure and then the replay them? > I mean replacing `ecb-set-directories-buffer', `ecb-set-sources-buffer', > `ecb-set-methods-buffer' in the example above with a single call > to `desktop-create-buffer'. > > -- > Juri Linkov > http://www.jurta.org/emacs/ > > >