From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Mon, 28 Nov 2016 12:44:50 -0800 Message-ID: References: <047a67ec-9e29-7e4e-0fb0-24c3e59b5886@dancol.org> <83zikjxt1j.fsf@gnu.org> <727ccd66-3bc3-2a41-7d1d-ef6dae9f0d1e@dancol.org> <7A914757-B1A4-4EEE-9DF0-68EFDDA9A5DB@autodesk.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1480365931 19319 195.159.176.226 (28 Nov 2016 20:45:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2016 20:45:31 +0000 (UTC) User-Agent: K-9 Mail for Android Cc: Eli Zaretskii , "emacs-devel@gnu.org" To: Burton Samograd Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 21:45:27 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBSnj-0003rX-Qe for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2016 21:45:24 +0100 Original-Received: from localhost ([::1]:32973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBSnn-0000pk-IQ for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2016 15:45:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBSnI-0000pf-Do for emacs-devel@gnu.org; Mon, 28 Nov 2016 15:44:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBSnH-000547-MF for emacs-devel@gnu.org; Mon, 28 Nov 2016 15:44:56 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:37958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBSnG-00052x-3p; Mon, 28 Nov 2016 15:44:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Message-ID:CC:To:Date:From:Subject:Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To; bh=7ZguSmrH7bm1cB3eCf8dBnvDz0etrrcGEEfOalPCDV4=; b=T9wqah8ge2VxQwpg9m6+93TjXmMtY5zzsSGUnMveh3OXzpi+9BRkBwsYQBzd6TXuZq8ZTV/1w+CCgRVKGS0zxzC/aWNW1+ez9YACqY8fh9IA3Mje5HDncE9gOQq2uRbTVJhF5j+jDxhZqpwb+5NoTB6a5IoE9qxU+oIAQVWlraDjaqJ28MWOomZKfB2M5L6b/Upuh314eQMALQc0xQ437x8fMFUB7mniASO7BD43zJ4dJcjtoDvoTGIAtybxisw4b2K3X14i48lewr8C/wWXBYgS4KK97G6opF/Bv41RO/eTxQZ5tjB+YouMt1ZlE3FQpl3W5R2y+mi15ha0Gpl2lw==; Original-Received: from [2601:602:9802:d9d1:9925:59c:b4a0:4e12] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cBSnE-0008SX-Hl; Mon, 28 Nov 2016 12:44:52 -0800 In-Reply-To: <7A914757-B1A4-4EEE-9DF0-68EFDDA9A5DB@autodesk.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:209698 Archived-At: On November 28, 2016 12:37:52 PM PST, Burton Samograd wrote: > >> It's also possible to dump arbitrarily already-loaded Emacs >processes, which you don't get with a merged ELC, so that's a >functionality difference. > >You can dump a running process and have it come back exactly, GUI and >everything? That would be a godsend, but given the dependency on lower >level libraries written in C, I’m having a hard time seeing how this >would work. Frame and window objects come back dead after being restored from the dump. Buffers are intact though. If you want to preserve window configuration, you can layer saving and restoring of layout on top, just like desktop.el does. > >— >Burton Samograd