-;; All gnus-uu commands start with `C-c C-v'.
-;;
-;; Typing `C-c C-v C-v' (gnus-uu-decode-and-view) in the summary
-;; buffer will try to find all articles in the same series, uudecode
-;; them and view the resulting file(s).
-;;
-;; gnus-uu guesses what articles are in the series according to the
-;; following simple rule: The subjects must be identical, except for
-;; the last two numbers of the line.
-;;
-;; For example: If you choose a subject called "cat.gif (2/3)" gnus-uu
-;; will find all the articles that matches "^cat.gif
-;; ([0-9]+/[0-9]+).*$". Subjects that are nonstandard, like "cat.gif
-;; (2/3) Part 6 of a series", will not be properly recognized by 'C-c
-;; C-v C-v', and you have to mark the articles manually with '#'.
-;;
-;; Typing `C-c C-v v' (gnus-uu-decode-and-save) will do the same as
-;; `C-c C-v C-v', except that it will not display the resulting file, but
-;; save it instead.
-;;
-;; Typing `C-c C-v s' (gnus-uu-shar-and-save) does the same as `C-c
-;; C-v v', and `C-c C-v C-s' (gnus-uu-shar-and-view) does the same as
-;; `C-c C-v C-v', except that they unshar files instead, i. e. run
-;; them through /bin/sh. Most shar files can be viewed and/or saved
-;; with the normal uudecode commands, which is much safer, as no
-;; foreign code is run.
-;;
-;; `#' (gnus-uu-mark-article) marks an article for later
-;; decoding/unsharing/saving/viewing. The files will be decoded in the
-;; sequence they were marked. To decode the files after you've marked
-;; the articles you are interested in, type the corresponding key
-;; strokes as the normal decoding commands, but put a `M-' in the last
-;; keystroke. For instance, to perform a standard uudecode and view,
-;; you would type `C-c C-v C-v'. To perform a marked uudecode and
-;; view, say `C-v C-v M-C-v'. All the other view and save commands are
-;; handled the same way; marked uudecode and save is then `C-c C-v
-;; M-v'.
-;;
-;; `M-#' (gnus-uu-unmark-article) will remove the mark from a
-;; previosly marked article.
-;;
-;; `C-c C-v C-u' (gnus-uu-unmark-all-articles) will remove the mark from
-;; all marked articles.
-;;
-;; `C-c C-v C-r' (gnus-uu-mark-by-regexp) will prompt for a regular
-;; expression and mark (forward) all articles matching that regular
-;; expression.
-;;
-;; There's an additional way to reach the decoding functions to make
-;; future expansions easier: `C-c C-v C-m'
-;; (gnus-uu-multi-decode-and-view) and the corresponding save, marked
-;; view and marked save keystrokes, `C-c C-v m', `C-c C-v M-C-m' and
-;; `C-c C-v M-m' respectively. You will be prompted for decoding
-;; method, like uudecode, shar, binhex or plain save. Note that
-;; methods like binhex and save doesn't have view modes; even if you
-;; issue a view command (`C-c C-v C-m' and "binhex"), gnus-uu will
-;; just save the resulting binhex file.
-;;
-;; `C-c C-v C-b' (gnus-uu-decode-and-show-in-buffer) will decode the
-;; current article and display the results in an emacs buffer. This
-;; might be useful if there's jsut some text in the current article
-;; that has been uuencoded by some perverse poster.
-;;
-;; `C-c C-v a' (gnus-uu-decode-and-save-all-articles) looks at all the
-;; articles in the current newsgroup and tries to uudecode everything
-;; it can find. The user will be prompted for a directory where the
-;; resulting files (if any) will be stored. `C-c C-v M-a' only looks
-;; at unread article. `C-c C-v w' does the same as `C-c C-v a', but
-;; also marks as read all articles it has peeked through, even if they
-;; weren't uuencoded articles. `C-c C-v M-w' is, as you might have
-;; guessed, similar to `C-c C-v M-a'.
-;;
-;; `C-c C-v C-l' (gnus-uu-edit-begin-line) lets you edit the begin
-;; line of the current buffer. Useful to change an incorrect suffix or
-;; an incorrect begin line.
-;;
-;;
-;; When using the view commands, `C-c C-v C-v' for instance, gnus-uu
-;; will (normally, see below) try to view the file according to the
-;; rules given in gnus-uu-default-view-rules and
-;; gnus-uu-user-view-rules. If it recognises the file, it will display
-;; it immediately. If the file is some sort of archive, gnus-uu will
-;; attempt to unpack the archive and see if any of the files in the
-;; archive can be viewed. For instance, if you have a gzipped tar file
-;; "pics.tar.gz" containing the files "pic1.jpg" and "pic2.gif",
-;; gnus-uu will uncompress and detar the main file, and then view the
-;; two pictures. This unpacking process is recursive, so if the
-;; archive contains archives of archives, it'll all be unpacked.
-;;
-;; If the view command doesn't recognise the file type, or can't view
-;; it because you don't have the viewer, or can't view *any* of the
-;; files in the archive, the user will be asked if she wishes to have
-;; the file saved somewhere. Note that if the decoded file is an
-;; archive, and gnus-uu manages to view some of the files in the
-;; archive, it won't tell the user that there were some files that
-;; were unviewable. See "Interactive view" for a different approach.
-;;
-;;
-;; Note that gnus-uu adds a function to `gnus-exit-group-hook' to
-;; clear the list of marked articles and check for any generated files
-;; that might have escaped deletion if the user typed `C-g'.
-;;
-;;
-;; `C-c C-v C-a' (gnus-uu-toggle-asynchronous) toggles the
-;; gnus-uu-asynchronous variable. See below for explanation.
-;;
-;; `C-c C-v C-q' (gnus-uu-toggle-query) toggles the
-;; gnus-uu-ask-before-view variable. See below for explanation.
-;;
-;; `C-c C-v C-p' (gnus-uu-toggle-always-ask) toggles the
-;; gnus-uu-view-and-save variable. See below for explanation.
-;;
-;; `C-c C-v C-k' (gnus-uu-toggle-kill-carriage-return) toggles the
-;; gnus-uu-kill-carriage-return variable. See below for explanation.
-;;
-;; `C-c C-v C-i' (gnus-uu-toggle-interactive-view) toggles interactive
-;; mode. If it is turned on, gnus-uu won't view files immediately but
-;; give you a buffer with the default commands and files and lets you
-;; edit the commands and execute them at leisure.
-;;
-;; `C-c C-v C-t' (gnus-uu-toggle-any-variable) is an interface to the
-;; five toggle commands listed above.
-;;
-;; gnus-uu-toggle-correct-stripped-articles toggles whether to check
-;; and correct uuencoded articles that may have had trailing spaces
-;; stripped by mailers.
-;;
-;;
-;; Customization
-;;
-;; To load this file when starting gnus, put sumething like the
-;; following in your .emacs file:
-;;
-;; (setq gnus-group-mode-hook
-;; '(lambda () (load "gnus-uu")))
-;;
-;; To make gnus-uu use, for instance, "xli" to view JPEGs and GIFs,
-;; put this in your .emacs file:
-;;
-;; (setq gnus-uu-user-view-rules
-;; (list
-;; '("jpg$\\|gif$" "xli")
-;; ))
-;;
-;; This variable is a list where each list item is a list containing
-;; two strings. The first string is a regular expression. If the file
-;; name is matched by this expression, the command given in the
-;; second string is executed on this file. If the command contains
-;; "%s", the file will be inserted there in the command string. Eg.
-;; "giftoppm %s | xv -" will result in the file name being inserted at
-;; the "%s".
-;;
-;; If you don't want to display certain file types, like if you
-;; haven't got sound capabilities, you could put something like
-;;
-;; (setq gnus-uu-user-view-rules
-;; (list
-;; '("au$\\|voc$\\|wav$" nil)
-;; ))
-;;
-;; in your .emacs file.
-;;
-;; There's a similar variable called 'gnus-uu-user-archive-rules'
-;; which gives a list of unarcers to use when looking inside archives
-;; for files to display.
-;;
-;; If you don't want gnus-uu to look inside archives for files to
-;; display, say
-;;
-;; (setq gnus-uu-do-not-unpack-archives t)
-;;
-;;
-;; If you want gnus-uu to ask you if you want to save a file after
-;; viewing, say
-;;
-;; (setq gnus-uu-view-and-save t)
-;;
-;;
-;; If you don't want to wait for the viewing command to finish before
-;; returning to emacs, say
-;;
-;; (setq gnus-uu-asynchronous t)
-;;
-;;
-;; This can be useful if you're viewing long .mod files, for instance,
-;; which often takes several minutes. Note, however, that since
-;; gnus-uu doesn't ask, and if you are viewing an archive with lots of
-;; viewable files, you'll get them all up more or less at once, which
-;; can be confusing, to say the least. To get gnus-uu to ask you
-;; before viewing a file, say
-;;
-;; (setq gnus-uu-ask-before-view t)
-;;
-;; You can set this variable even if you're not using asynchronous
-;; viewing, of course.
-;;
-;; If the articles has been posted by some numbscull with a PC (isn't
-;; that a bit redundant, though?) and there's lots of carriage returns
-;; everywhere, say
-;;
-;; (setq gnus-uu-kill-carriage-return t)
-;;
-;; If you want gnus-uu to ignore the default file rules when viewing,
-;; for instance if there's several file types that you can't view, set
-;; `gnus-uu-ignore-default-view-rules' to `t'. There's a similar
-;; variable to disable the default unarchive rule list,
-;; `gnus-uu-ignore-default-archive-rules'.
-;;
-;; If you want a more interactive approach to file viewing, say
-;;
-;; (setq gnus-uu-use-interactive-view t)
-;;
-;; If this variable is set, whenever you type `C-c C-v C-v' (or any of
-;; the other view commands), gnus-uu will present you with a buffer
-;; with the default actions and file names after decoding. You can
-;; edit the command lines and execute them in a convenient fashion.
-;; The output from the commands will be displayed in a small window at
-;; the bottom of the emacs window. End interactive mode by typing `C-c
-;; C-c' in the view window.
-;;
-;; If you want gnus-uu to unmark articles that you have asked to
-;; decode, but can't be decoded (if, for instance, the articles aren't
-;; uuencoded files or the posting is incomplete), say
-;;
-;; (setq gnus-uu-unmark-articles-not-decoded t)
-;;
-;;
-;; History
-;;
-;; v1.0: First version released Oct 2 1992.
-;;
-;; v1.1: Changed `C-c C-r' to `C-c C-e' and `C-c C-p' to `C-c C-k'.
-;; Changed (setq gnus-exit-group-hook) to (add-hook). Removed
-;; checking for "Re:" for finding parts.
-;;
-;; v2.2: Fixed handling of currupted archives. Changed uudecoding to
-;; an asynchronous process to avoid loading tons of data into emacs
-;; buffers. No longer reads articles emacs already have aboard. Fixed
-;; a firmer support for shar files. Made regexp searches for files
-;; more convenient. Added `C-c C-l' for editing uucode begin
-;; lines. Added multi-system decoder entry point. Added interactive
-;; view mode. Added function for decoding and saving all uuencoded
-;; articles in the current newsgroup.
-;;
-;; v2.3: After suggestions I have changed all the gnus-uu key bindings
-;; to avoid hogging all the user keys (C-c LETTER). Also added
-;; (provide) and fixed some saving stuff. First posted version to
-;; gnu.emacs.sources.
-;;
-;; v2.4: Fixed some more in the save-all category. Automatic fixing of
-;; uucode "begin" lines: names on the form of "dir/file" are
-;; translated into "dir-file". Added a function for fixing stripped
-;; uucode articles. Added binhex save.
-;;
-;;
-;; Keymap overview:
-;;
-;; All commands start with `C-c C-v'. The difference is in the third
-;; keystroke. All view commands are `C-LETTER'. All save commands are
-;; just `LETTER'. All marked commands are the same as the unmarked
-;; commands, except that they have `M-' before in the last keystroke.
-;;
-;; `C-c C-v C-v' gnus-uu-decode-and-view
-;; `C-c C-v v' gnus-uu-decode-and-save
-;; `C-c C-v C-s' gnus-uu-shar-and-view
-;; `C-c C-v s' gnus-uu-shar-and-save
-;; `C-c C-v C-m' gnus-uu-multi-decode-and-view
-;; `C-c C-v m' gnus-uu-multi-decode-and-save
-;;
-;; `C-c C-v C-b' gnus-uu-decode-and-show-in-buffer
-;; `C-c C-v C-l' gnus-uu-edit-begin-line
-;; `C-c C-v M-a' gnus-uu-decode-and-save-all-unread-articles
-;; `C-c C-v a' gnus-uu-decode-and-save-all-articles
-;; `C-c C-v M-w' gnus-uu-decode-and-save-all-unread-articles-and-mark
-;; `C-c C-v w' gnus-uu-decode-and-save-all-articles-and-mark
-;;
-;; `#' gnus-uu-mark-article
-;; `M-#' gnus-uu-unmark-article
-;; `C-c C-v C-u' gnus-uu-unmark-all-articles
-;; `C-c C-v C-r' gnus-uu-mark-by-regexp
-;; `C-c C-v M-C-v' gnus-uu-marked-decode-and-view
-;; `C-c C-v M-v' gnus-uu-marked-decode-and-save
-;; `C-c C-v M-C-s' gnus-uu-marked-shar-and-view
-;; `C-c C-v M-s' gnus-uu-marked-shar-and-save
-;; `C-c C-v M-C-m' gnus-uu-marked-multi-decode-and-view
-;; `C-c C-v M-m' gnus-uu-marked-multi-decode-and-save
-;;
-;; `C-c C-v C-a' gnus-uu-toggle-asynchronous
-;; `C-c C-v C-q' gnus-uu-toggle-query
-;; `C-c C-v C-p' gnus-uu-toggle-always-ask
-;; `C-c C-v C-k' gnus-uu-toggle-kill-carriage-return
-;; `C-c C-v C-i' gnus-uu-toggle-interactive-view
-;; `C-c C-v C-t' gnus-uu-toggle-any-variable
-