aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Shmakov2014-11-23 16:44:22 +0100
committerLars Magne Ingebrigtsen2014-11-23 16:44:22 +0100
commite791d4dfb2e65efa9362d77f4d5853df51e3b503 (patch)
tree5a8c728912c9e072a2db6f8e98b5be91f0ea1681
parent0445aff69108da12e5e445cb2bd11fac16d84945 (diff)
downloademacs-e791d4dfb2e65efa9362d77f4d5853df51e3b503.tar.gz
emacs-e791d4dfb2e65efa9362d77f4d5853df51e3b503.zip
Document the eww Desktop stuff
Fixes: debbugs:18010 * eww.texi (Advanced): Mention the Desktop stuff (bug#18010).
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/eww.texi34
-rw-r--r--etc/NEWS3
3 files changed, 41 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index e9029d59c20..76545b260bd 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12014-11-23 Ivan Shmakov <ivan@siamics.net>
2
3 * eww.texi (Advanced): Mention the Desktop stuff (bug#18010).
4
12014-11-23 Michael Albinus <michael.albinus@gmx.de> 52014-11-23 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * tramp.texi (Remote processes): Let-bind environment variables to 7 * tramp.texi (Remote processes): Let-bind environment variables to
diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index 35298833c3a..8261b27354d 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -219,6 +219,40 @@ contrast. If that is still too low for you, you can customize the
219variables @code{shr-color-visible-distance-min} and 219variables @code{shr-color-visible-distance-min} and
220@code{shr-color-visible-luminance-min} to get a better contrast. 220@code{shr-color-visible-luminance-min} to get a better contrast.
221 221
222@cindex Desktop Support
223@cindex Saving Sessions
224 In addition to maintaining the history at run-time, EWW will also
225save the partial state of its buffers (the URIs and the titles of the
226pages visited) in the desktop file if one is used. @xref{Saving Emacs
227Sessions, , emacs, The GNU Emacs Manual}
228
229@vindex eww-desktop-remove-duplicates
230 EWW history may sensibly contain multiple entries for the same page
231URI. At run-time, these entries may still have different associated
232point positions or the actual Web page contents.
233The latter, however, tend to be overly large to preserve in the
234desktop file, so they get omitted, thus rendering the respective
235entries entirely equivalent. By default, such duplicate entries are
236not saved. Setting @code{eww-desktop-remove-duplicates} to nil will
237force EWW to save them anyway.
238
239@vindex eww-restore-desktop
240 Restoring EWW buffers' contents may prove to take too long to
241finish. When the @code{eww-restore-desktop} variable is set to
242@code{nil} (the default), EWW will not try to reload the last visited
243Web page when the buffer is restored from the desktop file, thus
244allowing for faster Emacs start-up times. When set to @code{t},
245restoring the buffers will also initiate the reloading of such pages.
246
247@vindex eww-restore-reload-prompt
248 The EWW buffer restored from the desktop file but not yet reloaded
249will contain a prompt, as specified by the
250@code{eww-restore-reload-prompt} variable. The value of this variable
251will be passed through @code{substitute-command-keys} upon each use,
252thus allowing for the use of the usual substitutions, such as
253@code{\[eww-reload]} for the current key binding of the
254@code{eww-reload} command.
255
222@node History and Acknowledgments 256@node History and Acknowledgments
223@appendix History and Acknowledgments 257@appendix History and Acknowledgments
224 258
diff --git a/etc/NEWS b/etc/NEWS
index a88902a675e..da2edb66e42 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -177,6 +177,9 @@ the like off the page.
177*** You can now use several eww buffers in parallel by renaming eww 177*** You can now use several eww buffers in parallel by renaming eww
178buffers you want to keep separate. 178buffers you want to keep separate.
179 179
180*** Partial state of the eww buffers (the URIs and the titles of the
181pages visited) is now preserved in the desktop file.
182
180*** `eww-after-render-hook' is now called after eww has rendered 183*** `eww-after-render-hook' is now called after eww has rendered
181the data in the buffer. 184the data in the buffer.
182 185