emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14120: closed (invalid load-history in emacsen tha


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14120: closed (invalid load-history in emacsen that CANNOT_DUMP)
Date: Fri, 06 Sep 2019 00:10:03 +0000

Your message dated Thu, 05 Sep 2019 20:09:52 -0400
with message-id <address@hidden>
and subject line Re: bug#14120: invalid load-history in emacsen that CANNOT_DUMP
has caused the debbugs.gnu.org bug report #14120,
regarding invalid load-history in emacsen that CANNOT_DUMP
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
14120: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14120
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: invalid load-history in emacsen that CANNOT_DUMP Date: Mon, 01 Apr 2013 18:47:09 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
"loadup.el" sets `current-load-list' to nil, apparently so that it will
have that value when restarting a dumped emacs. However, when Emacs is
built with CANNOT_DUMP defined, "loadup.el" evaluates `top-level'
instead of dumping. This can lead to invalid entries in `load-history'
if something is defined, required, etc. during evaluation of that form.

For example, load-history will contain `((require . tetris))' if
~/.emacs defines this hook:

(add-hook 'lisp-interaction-mode-hook
          (lambda () (require 'tetris)))

For `require', the problem can be fixed by also setting
`load-in-progress' to nil in "loadup.el", but this doesn't fix the bug
for other functions that change the load history.

-- 
Inteligenta persono lernas la lingvon Esperanton rapide kaj facile.
Esperanto estas moderna, kultura lingvo por la mondo. Simpla, fleksebla,
belsona, Esperanto estas la praktika solvo de la problemo de universala
interkompreno. Lernu la interlingvon Esperanton!



--- End Message ---
--- Begin Message --- Subject: Re: bug#14120: invalid load-history in emacsen that CANNOT_DUMP Date: Thu, 05 Sep 2019 20:09:52 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 27.1

The CANNOT_DUMP option no longer exists, and Emacs now uses a portable
dumper by default.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]