From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hannu Koivisto Newsgroups: gmane.emacs.bugs Subject: Dumping doesn't work Date: Sun, 24 Mar 2002 14:39:55 +0200 Organization: NOYB Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87eliacf6s.fsf_-_@lynx.ionific.com> References: <87lmcidcj6.fsf@lynx.ionific.com> <3C9D5566.F521071C@is.elta.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016979135 21642 127.0.0.1 (24 Mar 2002 14:12:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 24 Mar 2002 14:12:15 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16p8jG-0005cx-00 for ; Sun, 24 Mar 2002 15:12:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16p8jE-0002mw-00; Sun, 24 Mar 2002 09:12:12 -0500 Original-Received: from sjc3-1.relay.mail.uu.net ([199.171.54.122]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16p8hc-0002PK-00 for ; Sun, 24 Mar 2002 09:10:32 -0500 Original-Received: from news.cc.tut.fi by sjc3sosrv11.alter.net with ESMTP (peer crosschecked as: news.cc.tut.fi [130.230.10.15]) id QQmhoq05727 for ; Sun, 24 Mar 2002 14:10:28 GMT Original-Received: (from news@localhost) by news.cc.tut.fi (8.12.1/8.12.1) id g2OCdu8P026447 for gnu-emacs-bug@moderators.isc.org; Sun, 24 Mar 2002 14:39:56 +0200 (EET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 48 Original-NNTP-Posting-Host: kaarne.cs.tut.fi Original-X-Trace: news.cc.tut.fi 1016973595 23777 130.230.4.11 (24 Mar 2002 12:39:55 GMT) Original-X-Complaints-To: abuse@tut.fi Original-NNTP-Posting-Date: Sun, 24 Mar 2002 12:39:55 +0000 (UTC) User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:kraN3TFzbh9KEsS/ZGtK2BW6Hpw= Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:124 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:124 Eli Zaretskii 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 >> >> 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