all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hannu Koivisto <azure@iki.fi>
Subject: Dumping doesn't work
Date: Sun, 24 Mar 2002 14:39:55 +0200	[thread overview]
Message-ID: <87eliacf6s.fsf_-_@lynx.ionific.com> (raw)
In-Reply-To: 3C9D5566.F521071C@is.elta.co.il

Eli Zaretskii <eliz@is.elta.co.il> writes:

[From the discussion in gnu.emacs.help]

> Hannu Koivisto wrote:
>> 
>> Should it be possible to dump an already dumped and installed
>> Emacs?
>
> Yes.
>
>> I tried...
>> 
>> /usr/bin/emacs-21.1 --no-site-file -q -batch \
>>   -eval '(dump-emacs "./kala" "/usr/bin/emacs-21.1")'
>> 
>> ...in my Debian GNU/Linux x86 unstable system but the created
>> executable "kala" doesn't work; all I get is:
>> 
>> * ./kala
>> --11:---F1<cursor here>
>> 
>> If I hit RET at that point, I get "End of file during parsing" and
>> end up back to the shell prompt.
>
> Sounds like a bug.  Please report it.  If you can step with a debugger
> through the startup code of the redumped Emacs and see what's different
> there from a ``normal'' Emacs startup, that would be really nice.

I'm sorry but I can't do that right now (I've got a thesis to
finish), perhaps in few weeks or so.

Some new information, though:

If I try to run my dumped "kala" executable with -nw argument (I
have DISPLAY set so the failed invocation described above should
have opened an X window), it starts.  It doesn't do anything like
read my init file or the system wide init file (perhaps this is a
feature?), but I get a *scratch* buffer, minibuffer displays "Back
to top level." and I can evaluate stuff, open files, etc.  Also, it
does not seem to process all command line arguments.  At least
-eval and -batch have no effect whatsoever.

FWIW, I verified that I get the same behaviour also with 21.2 in
Debian GNU/Linux x86 stable.

-- 
Hannu

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs


       reply	other threads:[~2002-03-24 12:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87lmcidcj6.fsf@lynx.ionific.com>
     [not found] ` <3C9D5566.F521071C@is.elta.co.il>
2002-03-24 12:39   ` Hannu Koivisto [this message]
2002-03-26 13:48     ` Dumping doesn't work -- fixed! Hannu Koivisto
2002-03-26 14:41       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eliacf6s.fsf_-_@lynx.ionific.com \
    --to=azure@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.