aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2019-07-23 09:19:09 -0700
committerPaul Eggert2019-07-23 09:23:20 -0700
commit8dd5b6ea56c38669bc98104ee2d6b31496624d28 (patch)
tree3c0f5d0259478f97052fd21585cb24d5d105437c /etc
parent29a7d73d195761e8309a4fe23872888758436d1e (diff)
downloademacs-8dd5b6ea56c38669bc98104ee2d6b31496624d28.tar.gz
emacs-8dd5b6ea56c38669bc98104ee2d6b31496624d28.zip
Improve pdumper doc; say unexec is deprecated
Say that pdumping cannot redump unless -batch is used. Say that the traditional unexec dumping method is by default not available, and is deprecated. Don't call dump files "portable", as dump files are not any more portable than the Emacs executables themselves. Just call them "dump files". Similar, prefer "portable dumper" (since the dumper code is portable) to "portable dumping" (since the dump file is not). Be more systematic about calling them "dump files" instead of "dumped images" or whatnot.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS14
-rw-r--r--etc/TODO6
2 files changed, 10 insertions, 10 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 5378e56bca4..7fd22145821 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -92,11 +92,6 @@ and in particular better supports the Address Space Layout
92Randomization (ASLR) feature, a security technique used by most modern 92Randomization (ASLR) feature, a security technique used by most modern
93operating systems. 93operating systems.
94 94
95Portable dumping can be disabled at configure time via the configure
96option '--with-dumping=unexec' (but we don't recommend that, unless
97the portable dumping doesn't work on your system for some
98reason---please report such systems to the Emacs developers as bugs).
99
100When built with the portable dumping support (which is the default), 95When built with the portable dumping support (which is the default),
101Emacs looks for the 'emacs.pdmp' file, generated during the build, in 96Emacs looks for the 'emacs.pdmp' file, generated during the build, in
102its data directory at startup, and loads the dumped state from there. 97its data directory at startup, and loads the dumped state from there.
@@ -104,6 +99,15 @@ The new command-line argument '--dump-file=FILE' allows to specify a
104non-default '.pdmp' file to load the state from; see the node "Initial 99non-default '.pdmp' file to load the state from; see the node "Initial
105Options" in the Emacs manual for more information. 100Options" in the Emacs manual for more information.
106 101
102An Emacs started via a dump file can create a new dump file only if it
103was invoked with the -batch option.
104
105Although the portable dumper has been tested, it may have a bug on
106unusual platforms. If you require traditional unexec dumping you can
107use the configure-time option '--with-dumping=unexec'; however, please
108file a bug report describing the situation, as unexec dumping is
109deprecated.
110
107+++ 111+++
108** The new configure option '--enable-checking=structs' attempts to 112** The new configure option '--enable-checking=structs' attempts to
109check that the portable dumper code has been updated to match the last 113check that the portable dumper code has been updated to match the last
diff --git a/etc/TODO b/etc/TODO
index b2446b0d917..a065763933f 100644
--- a/etc/TODO
+++ b/etc/TODO
@@ -297,11 +297,7 @@ One way of doing this is to start with fx's dynamic loading, and use it
297to implement things like auto-loaded buffer parsers and database 297to implement things like auto-loaded buffer parsers and database
298access in cases which need more than Lisp. 298access in cases which need more than Lisp.
299 299
300** Replace unexec with a more portable form of dumping 300** Fix portable dumping so that you can redump without using -batch.
301See eg https://lists.gnu.org/r/emacs-devel/2014-01/msg01034.html
302 https://lists.gnu.org/r/emacs-devel/2014-06/msg00452.html
303
304One way is to provide portable undumping using mmap (per gerd design).
305 301
306** Imenu could be extended into a file-structure browsing mechanism 302** Imenu could be extended into a file-structure browsing mechanism
307using code like that of customize-groups. 303using code like that of customize-groups.