diff options
| author | Ivan Shmakov | 2014-11-23 16:44:22 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2014-11-23 16:44:22 +0100 |
| commit | e791d4dfb2e65efa9362d77f4d5853df51e3b503 (patch) | |
| tree | 5a8c728912c9e072a2db6f8e98b5be91f0ea1681 | |
| parent | 0445aff69108da12e5e445cb2bd11fac16d84945 (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/eww.texi | 34 | ||||
| -rw-r--r-- | etc/NEWS | 3 |
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 @@ | |||
| 1 | 2014-11-23 Ivan Shmakov <ivan@siamics.net> | ||
| 2 | |||
| 3 | * eww.texi (Advanced): Mention the Desktop stuff (bug#18010). | ||
| 4 | |||
| 1 | 2014-11-23 Michael Albinus <michael.albinus@gmx.de> | 5 | 2014-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 | |||
| 219 | variables @code{shr-color-visible-distance-min} and | 219 | variables @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 | ||
| 225 | save the partial state of its buffers (the URIs and the titles of the | ||
| 226 | pages visited) in the desktop file if one is used. @xref{Saving Emacs | ||
| 227 | Sessions, , emacs, The GNU Emacs Manual} | ||
| 228 | |||
| 229 | @vindex eww-desktop-remove-duplicates | ||
| 230 | EWW history may sensibly contain multiple entries for the same page | ||
| 231 | URI. At run-time, these entries may still have different associated | ||
| 232 | point positions or the actual Web page contents. | ||
| 233 | The latter, however, tend to be overly large to preserve in the | ||
| 234 | desktop file, so they get omitted, thus rendering the respective | ||
| 235 | entries entirely equivalent. By default, such duplicate entries are | ||
| 236 | not saved. Setting @code{eww-desktop-remove-duplicates} to nil will | ||
| 237 | force EWW to save them anyway. | ||
| 238 | |||
| 239 | @vindex eww-restore-desktop | ||
| 240 | Restoring EWW buffers' contents may prove to take too long to | ||
| 241 | finish. When the @code{eww-restore-desktop} variable is set to | ||
| 242 | @code{nil} (the default), EWW will not try to reload the last visited | ||
| 243 | Web page when the buffer is restored from the desktop file, thus | ||
| 244 | allowing for faster Emacs start-up times. When set to @code{t}, | ||
| 245 | restoring 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 | ||
| 249 | will contain a prompt, as specified by the | ||
| 250 | @code{eww-restore-reload-prompt} variable. The value of this variable | ||
| 251 | will be passed through @code{substitute-command-keys} upon each use, | ||
| 252 | thus 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 | ||
| @@ -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 |
| 178 | buffers you want to keep separate. | 178 | buffers you want to keep separate. |
| 179 | 179 | ||
| 180 | *** Partial state of the eww buffers (the URIs and the titles of the | ||
| 181 | pages 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 |
| 181 | the data in the buffer. | 184 | the data in the buffer. |
| 182 | 185 | ||