diff options
| author | Gnus developers | 2010-10-08 23:55:33 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-10-08 23:55:33 +0000 |
| commit | 36d3245fbc0ad82c81da146e0fa21bd6843f2795 (patch) | |
| tree | 0409ed734487810378991a18c4d49a3c1a327a7d /doc/misc | |
| parent | 2187e5bba7722193286a75c43a91bf1a22d9300b (diff) | |
| download | emacs-36d3245fbc0ad82c81da146e0fa21bd6843f2795.tar.gz emacs-36d3245fbc0ad82c81da146e0fa21bd6843f2795.zip | |
shr.el (shr-insert): Don't insert double spaces.
auth.texi (Help for users, GnuPG and EasyPG Assistant Configuration): Update docs.
gnus-registry.el, nnregistry.el: Remove nnregistry refer method auto-install and update docs.
gnus.texi (Finding the Parent, The Gnus Registry, Registry Article Refer Method): Update docs for nnregistry.el.
gnus-demon.el, gnus-group.el, gnus-msg.el, gnus-sum.el, gnus-util.el, gnus.el: Rename `gnus-pull' to `gnus-alist-pull'.
gnus.texi (Article Washing): Add mm-shr.
mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 14 | ||||
| -rw-r--r-- | doc/misc/auth.texi | 61 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 57 |
3 files changed, 119 insertions, 13 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index b06cfe1394b..aa1715551c8 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2010-10-08 Julien Danjou <julien@danjou.info> | ||
| 2 | |||
| 3 | * gnus.texi: add mm-shr | ||
| 4 | |||
| 5 | 2010-10-08 Ludovic Courtès <ludo@gnu.org> | ||
| 6 | |||
| 7 | * gnus.texi (Finding the Parent, The Gnus Registry) | ||
| 8 | (Registry Article Refer Method): Update docs for nnregistry.el. | ||
| 9 | |||
| 10 | 2010-10-08 Daiki Ueno <ueno@unixuser.org> | ||
| 11 | |||
| 12 | * auth.texi (Help for users) | ||
| 13 | (GnuPG and EasyPG Assistant Configuration): Update docs. | ||
| 14 | |||
| 1 | 2010-10-08 Glenn Morris <rgm@gnu.org> | 15 | 2010-10-08 Glenn Morris <rgm@gnu.org> |
| 2 | 16 | ||
| 3 | * cl.texi (Organization, Installation, Old CL Compatibility): | 17 | * cl.texi (Organization, Installation, Old CL Compatibility): |
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi index ed04d98ef92..f7ee7b9f3de 100644 --- a/doc/misc/auth.texi +++ b/doc/misc/auth.texi | |||
| @@ -59,6 +59,7 @@ It is a way for multiple applications to share a single configuration | |||
| 59 | * Help for users:: | 59 | * Help for users:: |
| 60 | * Secret Service API:: | 60 | * Secret Service API:: |
| 61 | * Help for developers:: | 61 | * Help for developers:: |
| 62 | * GnuPG and EasyPG Assistant Configuration:: | ||
| 62 | * Index:: | 63 | * Index:: |
| 63 | * Function Index:: | 64 | * Function Index:: |
| 64 | * Variable Index:: | 65 | * Variable Index:: |
| @@ -176,16 +177,8 @@ for details. | |||
| 176 | 177 | ||
| 177 | If you don't customize @code{auth-sources}, you'll have to live with | 178 | If you don't customize @code{auth-sources}, you'll have to live with |
| 178 | the defaults: any host and any port are looked up in the netrc | 179 | the defaults: any host and any port are looked up in the netrc |
| 179 | file @code{~/.authinfo.gpg}. This is an encrypted file if and only if | 180 | file @code{~/.authinfo.gpg}, which is a GnuPG encrypted file. |
| 180 | you set up EPA, which is strongly recommended. | 181 | @xref{GnuPG and EasyPG Assistant Configuration}. |
| 181 | |||
| 182 | @lisp | ||
| 183 | (require 'epa-file) | ||
| 184 | (epa-file-enable) | ||
| 185 | ;;; VERY important if you want symmetric encryption | ||
| 186 | ;;; irrelevant if you don't | ||
| 187 | (setq epa-file-cache-passphrase-for-symmetric-encryption t) | ||
| 188 | @end lisp | ||
| 189 | 182 | ||
| 190 | The simplest working netrc line example is one without a port. | 183 | The simplest working netrc line example is one without a port. |
| 191 | 184 | ||
| @@ -271,6 +264,54 @@ users' netrc files. | |||
| 271 | 264 | ||
| 272 | @end defun | 265 | @end defun |
| 273 | 266 | ||
| 267 | @node GnuPG and EasyPG Assistant Configuration | ||
| 268 | @appendix GnuPG and EasyPG Assistant Configuration | ||
| 269 | |||
| 270 | In Emacs 23 or later there is an option @code{auto-encryption-mode} to | ||
| 271 | automatically decrypt @code{*.gpg} files and it is enabled by default | ||
| 272 | so there is no setting is needed. If you are using earlier versions | ||
| 273 | of Emacs for some reason, you will need: | ||
| 274 | |||
| 275 | @lisp | ||
| 276 | (require 'epa-file) | ||
| 277 | (epa-file-enable) | ||
| 278 | @end lisp | ||
| 279 | |||
| 280 | If you want your GnuPG passwords to be cached, setup @code{gpg-agent} | ||
| 281 | or EasyPG Assitant | ||
| 282 | @pxref{Caching Passphrases, , Caching Passphrases, epa} | ||
| 283 | |||
| 284 | For those who are using older vesions of Emacs, here are some portion | ||
| 285 | copied from the EasyPG Assitant manual: | ||
| 286 | |||
| 287 | Here are some questions: | ||
| 288 | |||
| 289 | @enumerate | ||
| 290 | @item Do you use GnuPG version 2 instead of GnuPG version 1? | ||
| 291 | @item Do you use symmetric encryption rather than public key encryption? | ||
| 292 | @item Do you want to use gpg-agent? | ||
| 293 | @end enumerate | ||
| 294 | |||
| 295 | Here are configurations depending on your answers: | ||
| 296 | |||
| 297 | @multitable {111} {222} {333} {configuration configuration configuration} | ||
| 298 | @item @b{1} @tab @b{2} @tab @b{3} @tab Configuration | ||
| 299 | @item Yes @tab Yes @tab Yes @tab Nothing to do. | ||
| 300 | @item Yes @tab Yes @tab No @tab You can't, without gpg-agent. | ||
| 301 | @item Yes @tab No @tab Yes @tab Nothing to do. | ||
| 302 | @item Yes @tab No @tab No @tab You can't, without gpg-agent. | ||
| 303 | @item No @tab Yes @tab Yes @tab Set up elisp passphrase cache. | ||
| 304 | @item No @tab Yes @tab No @tab Set up elisp passphrase cache. | ||
| 305 | @item No @tab No @tab Yes @tab Nothing to do. | ||
| 306 | @item No @tab No @tab No @tab You can't, without gpg-agent. | ||
| 307 | @end multitable | ||
| 308 | |||
| 309 | To setup gpg-agent, follow the instruction in GnuPG manual. | ||
| 310 | @pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}. | ||
| 311 | |||
| 312 | To set up elisp passphrase cache, set | ||
| 313 | @code{epa-file-cache-passphrase-for-symmetric-encryption}. | ||
| 314 | |||
| 274 | @node Index | 315 | @node Index |
| 275 | @chapter Index | 316 | @chapter Index |
| 276 | @printindex cp | 317 | @printindex cp |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 1f78e8c563f..74db0e3d620 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -9812,6 +9812,10 @@ Customization, emacs-mime, The Emacs MIME Manual}) to convert the | |||
| 9812 | can use include: | 9812 | can use include: |
| 9813 | 9813 | ||
| 9814 | @table @code | 9814 | @table @code |
| 9815 | @item mm-shr | ||
| 9816 | Use Gnus simple html renderer. | ||
| 9817 | |||
| 9818 | @table @code | ||
| 9815 | @item gnus-article-html | 9819 | @item gnus-article-html |
| 9816 | Use Gnus rendered based on w3m. | 9820 | Use Gnus rendered based on w3m. |
| 9817 | 9821 | ||
| @@ -10989,9 +10993,12 @@ do not do a particularly excellent job at it. That is, @code{nnmbox}, | |||
| 10989 | @code{nnbabyl}, @code{nnmaildir}, @code{nnml}, are able to locate | 10993 | @code{nnbabyl}, @code{nnmaildir}, @code{nnml}, are able to locate |
| 10990 | articles from any groups, while @code{nnfolder}, and @code{nnimap} are | 10994 | articles from any groups, while @code{nnfolder}, and @code{nnimap} are |
| 10991 | only able to locate articles that have been posted to the current | 10995 | only able to locate articles that have been posted to the current |
| 10992 | group. (Anything else would be too time consuming.) @code{nnmh} does | 10996 | group. @code{nnmh} does not support this at all. |
| 10993 | not support this at all. | ||
| 10994 | 10997 | ||
| 10998 | Fortunately, the special @code{nnregistry} back end is able to locate | ||
| 10999 | articles in any groups, regardless of their back end (@pxref{Registry | ||
| 11000 | Article Refer Method, fetching by @code{Message-ID} using the | ||
| 11001 | registry}). | ||
| 10995 | 11002 | ||
| 10996 | @node Alternative Approaches | 11003 | @node Alternative Approaches |
| 10997 | @section Alternative Approaches | 11004 | @section Alternative Approaches |
| @@ -12452,7 +12459,7 @@ section only describes the default method. | |||
| 12452 | @item mm-text-html-renderer | 12459 | @item mm-text-html-renderer |
| 12453 | @vindex mm-text-html-renderer | 12460 | @vindex mm-text-html-renderer |
| 12454 | If set to @code{gnus-article-html}, Gnus will use the built-in method, | 12461 | If set to @code{gnus-article-html}, Gnus will use the built-in method, |
| 12455 | that's based on @code{curl} and @code{w3m}. | 12462 | that's based on @code{w3m}. |
| 12456 | 12463 | ||
| 12457 | @item gnus-blocked-images | 12464 | @item gnus-blocked-images |
| 12458 | @vindex gnus-blocked-images | 12465 | @vindex gnus-blocked-images |
| @@ -25374,6 +25381,13 @@ the sender in addition to the Message-ID. Several strategies are | |||
| 25374 | available. | 25381 | available. |
| 25375 | 25382 | ||
| 25376 | @item | 25383 | @item |
| 25384 | Refer to messages by ID | ||
| 25385 | |||
| 25386 | Commands like @code{gnus-summary-refer-parent-article} can take | ||
| 25387 | advantage of the registry to jump to the referred article, regardless | ||
| 25388 | of the group the message is in. | ||
| 25389 | |||
| 25390 | @item | ||
| 25377 | Store custom flags and keywords | 25391 | Store custom flags and keywords |
| 25378 | 25392 | ||
| 25379 | The registry can store custom flags and keywords for a message. For | 25393 | The registry can store custom flags and keywords for a message. For |
| @@ -25392,6 +25406,7 @@ of all messages matching a particular set of criteria. | |||
| 25392 | @menu | 25406 | @menu |
| 25393 | * Setup:: | 25407 | * Setup:: |
| 25394 | * Fancy splitting to parent:: | 25408 | * Fancy splitting to parent:: |
| 25409 | * Registry Article Refer Method:: | ||
| 25395 | * Store custom flags and keywords:: | 25410 | * Store custom flags and keywords:: |
| 25396 | * Store arbitrary data:: | 25411 | * Store arbitrary data:: |
| 25397 | @end menu | 25412 | @end menu |
| @@ -25468,6 +25483,42 @@ registry will keep. | |||
| 25468 | The file where the registry will be stored between Gnus sessions. | 25483 | The file where the registry will be stored between Gnus sessions. |
| 25469 | @end defvar | 25484 | @end defvar |
| 25470 | 25485 | ||
| 25486 | @node Registry Article Refer Method | ||
| 25487 | @subsection Fetching by @code{Message-ID} Using the Registry | ||
| 25488 | |||
| 25489 | The registry knows how to map each @code{Message-ID} to the group it's | ||
| 25490 | in. This can be leveraged to enhance the ``article refer method'', | ||
| 25491 | the thing that tells Gnus how to look up an article given its | ||
| 25492 | Message-ID (@pxref{Finding the Parent}). | ||
| 25493 | |||
| 25494 | @vindex nnregistry | ||
| 25495 | @vindex gnus-refer-article-method | ||
| 25496 | |||
| 25497 | The @code{nnregistry} refer method does exactly that. It has the | ||
| 25498 | advantage that an article may be found regardless of the group it's | ||
| 25499 | in---provided its @code{Message-ID} is known to the registry. It can | ||
| 25500 | be enabled by augmenting the start-up file with something along these | ||
| 25501 | lines: | ||
| 25502 | |||
| 25503 | @example | ||
| 25504 | ;; Keep enough entries to have a good hit rate when referring to an | ||
| 25505 | ;; article using the registry. Use long group names so that Gnus | ||
| 25506 | ;; knows where the article is. | ||
| 25507 | (setq gnus-registry-max-entries 2500 | ||
| 25508 | gnus-registry-use-long-group-names t) | ||
| 25509 | |||
| 25510 | (gnus-registry-initialize) | ||
| 25511 | |||
| 25512 | (setq gnus-refer-article-method | ||
| 25513 | '(current | ||
| 25514 | (nnregistry) | ||
| 25515 | (nnweb "gmane" (nnweb-type gmane)))) | ||
| 25516 | @end example | ||
| 25517 | |||
| 25518 | The example above instructs Gnus to first look up the article in the | ||
| 25519 | current group, or, alternatively, using the registry, and finally, if | ||
| 25520 | all else fails, using Gmane. | ||
| 25521 | |||
| 25471 | @node Fancy splitting to parent | 25522 | @node Fancy splitting to parent |
| 25472 | @subsection Fancy splitting to parent | 25523 | @subsection Fancy splitting to parent |
| 25473 | 25524 | ||