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: desktop.el: Add frames and windows configuration save&restore Date: Wed, 18 Jan 2012 23:30:25 +0100 Message-ID: References: <8762g8vq53.fsf@Apollo.jerryland.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326925859 12293 80.91.229.12 (18 Jan 2012 22:30:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2012 22:30:59 +0000 (UTC) Cc: =?UTF-8?B?SsOpcsOpbXkgQ29tcG9zdGVsbGE=?= , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 18 23:30:55 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rne1u-0002Q0-Fx for ged-emacs-devel@m.gmane.org; Wed, 18 Jan 2012 23:30:54 +0100 Original-Received: from localhost ([::1]:40997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rne1u-0007L4-2u for ged-emacs-devel@m.gmane.org; Wed, 18 Jan 2012 17:30:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rne1q-0007Ko-Gk for emacs-devel@gnu.org; Wed, 18 Jan 2012 17:30:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rne1o-0000al-90 for emacs-devel@gnu.org; Wed, 18 Jan 2012 17:30:50 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:49090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rne1o-0000aQ-3P for emacs-devel@gnu.org; Wed, 18 Jan 2012 17:30:48 -0500 Original-Received: by lagw12 with SMTP id w12so1669113lag.0 for ; Wed, 18 Jan 2012 14:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=yiAikdsbQ9KHWWqEOt44vSZhChbP0T6mU0WtBk7cGEQ=; b=JahEpHbqBMhX0pcY2glw34XoMIgbg14vs0TTo/xX3tXVlfaYzXmE/dY/ZOKYqArNEs AZ7IchvtbqmLuQCR21EqGKtviOc4t1LWRVZwi9inPktYEyNYG2dXL44Mb6u5brq3hv7C ztP5njnhzVGg8FKLtDYkGQcBd462vYPM5A1HQ= Original-Received: by 10.112.25.35 with SMTP id z3mr5853436lbf.52.1326925846183; Wed, 18 Jan 2012 14:30:46 -0800 (PST) Original-Received: by 10.112.29.194 with HTTP; Wed, 18 Jan 2012 14:30:25 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147717 Archived-At: On Wed, Jan 18, 2012 at 22:20, Stefan Monnier wr= ote: >> The attached patch provides the desktop frame and windows configuration >> save&restore feature : the desktop module saves all the frame and their > > Thanks. =C2=A0Since we're in feature freeze, this will have to wait. > In the mean time, you may want to check the new window-state-get and > window-state-put functions which should provide you with a form of > window configuration which you can directly print&read, hence > simplifying your code. Sounds very nice it is finally going to make its way into Emacs. Jeremy, you may perhaps want to compare to the same functionality included in nXhtml to see if you find something there you like to incorporate. (It has been there for some years now, but I have actually stopped using it myself since I work in a different way now... ;-)