Olivier Galibert <galibert(a)pobox.com> wrote:
On Mon, Sep 12, 2005 at 05:27:42PM +0200,
clemens(a)ghanima.endorphin.org wrote
:
> Still, not having any pdump_root_lisp_objects is clearly a bug.
No, it isn't. Dumping is currently designed to work only from a
non-preloaded xemacs (traditionally called temacs). Makeing it work
from a preloaded xemacs may be doable, but definitively non-trivial.
There is a number of structures (buffers, devices...) I don't think
we're able to dump into the image.
Yes, I took a quick look at doing this, a month or two back, and I
quickly ran into the problem of not being able to dump out window
structures ;-(. Darn. It would have been soooo cool to be able to
redump from a running XEmacs.
Arguably, the next best approach is to use the portable dumper, and
allow optionally specifying an arbitrary dump file (i.e, the standard
dump file would normally be used, but the user could make a new dump and
then use that dumpfile). By using the portable dumper, you don't need
to keep temacs around. I modified my local XEmacs to allow the optional
specification of pdump files (via a command-line option), but my changes
are currently intertwined with lots of pdump debugging code (which you
don't want).
--
Darryl Okahata
darrylo(a)soco.agilent.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Agilent Technologies, or
of the little green men that have been following him all day.