From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=E9r=E9my_Compostella?= Newsgroups: gmane.emacs.devel Subject: Re: desktop.el: Add frames and windows configuration save&restore Date: Thu, 19 Jan 2012 14:07:51 +0100 Message-ID: References: <8762g8vq53.fsf@Apollo.jerryland.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f5038b6a6fac004b6e14198 X-Trace: dough.gmane.org 1326978549 14178 80.91.229.12 (19 Jan 2012 13:09:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2012 13:09:09 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 19 14:08:27 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 1Rnrj8-0007aO-CF for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2012 14:08:26 +0100 Original-Received: from localhost ([::1]:54684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnrj7-0000Qj-Qa for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2012 08:08:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnrj0-0000Qb-Pd for emacs-devel@gnu.org; Thu, 19 Jan 2012 08:08:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rnriu-0000n8-SZ for emacs-devel@gnu.org; Thu, 19 Jan 2012 08:08:18 -0500 Original-Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:47205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnriu-0000n3-NJ for emacs-devel@gnu.org; Thu, 19 Jan 2012 08:08:12 -0500 Original-Received: by obbta7 with SMTP id ta7so6796113obb.0 for ; Thu, 19 Jan 2012 05:08:12 -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; bh=nQEt3DMZredCAT74Ndxg/9Ax555LgQEKydPS2CYGJIs=; b=Zh6z1S6ivgalbbYOTlN8fdU3U2FVRUxw3k/3yFC6IA4lwwV3furXCVmM3Dw0fryIR2 ffGEussYPQsjQm2E99FFkjlHSS2oFepKwhr4fHFNpLXrZy48mSxvQqcNHboRreLrjI+E yNRMrItY/BDVAdoAmAo7cGt4QXft+UsPvx9SA= Original-Received: by 10.182.212.105 with SMTP id nj9mr22673692obc.62.1326978492201; Thu, 19 Jan 2012 05:08:12 -0800 (PST) Original-Received: by 10.60.49.103 with HTTP; Thu, 19 Jan 2012 05:07:51 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 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:147726 Archived-At: --e89a8f5038b6a6fac004b6e14198 Content-Type: text/plain; charset=ISO-8859-1 2012/1/18 Lennart Borgman > On Wed, Jan 18, 2012 at 22:20, Stefan Monnier > wrote: > >> The attached patch provides the desktop frame and windows configuration > >> save&restore feature : the desktop module saves all the frame and their > > > > Thanks. Since 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. > I haven't seen these two function functions. As you propose, I will try to use them. Thanks. 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... ;-) > It sounds interesting but I don't know anything about this nxhtml package, could you please give me some entry point for the feature we are talking about like one or two function name ? :) -- One Emacs to rule them all --e89a8f5038b6a6fac004b6e14198 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2012/1/18 Lennart Borgman <= lennart.borgman@gmail.com&= gt;
On Wed, Jan 18, 2012 at 22:20, Stef= an Monnier <monnier@iro.umon= treal.ca> wrote:
>> The attached patch provides the desktop frame and windows configur= ation
>> save&restore feature : the desktop module saves all the frame = and their
>
> Thanks. =A0Since we're in feature freeze, this will have to wait.<= br> > 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.
I haven't = seen these two function functions. As you propose, I will try=A0
= to use them. Thanks.

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... ;-)
It sounds=A0interesting=A0but I don't k= now anything about this nxhtml package,
could you please give=A0m= e some entry point for the feature we are talking
about like one = or two function name ? :)

--
One Emacs to rule them all
--e89a8f5038b6a6fac004b6e14198--