From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Fri, 02 Mar 2018 13:42:04 +0000 Message-ID: <87sh9i7fwz.fsf@russet.org.uk> References: <20180215224653.GA36004@breton.holly.idiocy.org> <87sh9uf19h.fsf@russet.org.uk> <87efl7vlao.fsf@russet.org.uk> <3c4c370a-fd63-2d4d-5f6c-2a7bdb8487b1@gmail.com> <27af34b6-045e-36ad-1cdd-495c1d486cbb@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1519998063 24571 195.159.176.226 (2 Mar 2018 13:41:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2018 13:41:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 02 14:40:59 2018 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 1erkvf-0005Qm-EX for ged-emacs-devel@m.gmane.org; Fri, 02 Mar 2018 14:40:55 +0100 Original-Received: from localhost ([::1]:35067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erkxh-0002Nk-AD for ged-emacs-devel@m.gmane.org; Fri, 02 Mar 2018 08:43:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erkxY-0002Ml-06 for emacs-devel@gnu.org; Fri, 02 Mar 2018 08:42:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erkxU-0007au-Tn for emacs-devel@gnu.org; Fri, 02 Mar 2018 08:42:52 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:48751) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1erkxU-0007L9-Ko for emacs-devel@gnu.org; Fri, 02 Mar 2018 08:42:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4l4yPqvDMy6mFSDxVKWudrfBdLu1NmeOGnCKuBDw9bc=; b=KVFbEDHxtlrpgUkSHz8rUa0h6z T7xrLNrd82mEFhGrycDuezmRmS71H4tndpUAW7YnFnSmfT2E4l8+uvJz/u+6BKalTAXOqsZC8PrEo siY/6G0HkChY/ePqHU8UVrLbN21pOVonPX1oHVXyOWqIB/YcL8AQ/rltDbDtHSOJzZMNNHeES6lp6 CDttYS9AKC/sfeg/4pGVTHNYvXfF2kpuxqm7lpPY5aqlwg1c3bUBCEtx4bF2cuxNsViBF5KdnZzDa irmw2o8TKJOS3t2ti/GeRsBimNo6c0oPNTDZGoDQYeRjRe2Phcg0YRwhgOVcpWGwupBJ047QJnwhj vwfgutqg==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:37004 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1erkwm-0005su-Jj; Fri, 02 Mar 2018 13:42:04 +0000 In-Reply-To: <27af34b6-045e-36ad-1cdd-495c1d486cbb@dancol.org> (Daniel Colascione's message of "Mon, 26 Feb 2018 08:55:01 -0800") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 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:223219 Archived-At: Daniel Colascione writes: > On 02/26/2018 07:23 AM, Cl=C3=A9ment Pit-Claudel wrote: >> On 2018-02-26 10:10, Phillip Lord wrote: >>> eval: unsupported object type in dump: SAVE_POINTER >> >> You can pass t to dump-emacs-portable to see where the unsupported >> values come from. For me SAVE_POINTERs came from loading dbus, and >> window configurations from loading winner-mode. > > I love when people use features that aren't even properly documented > yet. :-) > > I'm imagining using 'with-wrapper-hook' (or, since it's deprecated, > 'add-function') to give modes a chance to tweak the global lisp > environment that pdumper sees, avoiding some of these > problems. Another option, which isn't necessarily mutually exclusive, > is to provide a list of symbols to dump as nil. > > For now, you're going to get the most reliable results dumping a > -batch Emacs. I assumed that this was the case. Do you want bug reports about dumping a non-batch? I think the use case of speeding up start up is a good one to address, but I am aware that it's an add-on that Emacs doesn't support at the moment. Getting the dumper stable for normal development use is the main thing. Phil