aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReiner Steib2007-01-05 11:47:28 +0000
committerReiner Steib2007-01-05 11:47:28 +0000
commitd84c37376d5ed7fd88b1db3bf8bca2e9f68f60a8 (patch)
treec13361ac77bc0792f173dcec38a0c580bccaaeb7
parent1675bac73f18d8affc8e53c346f57d4ba8608e6e (diff)
downloademacs-d84c37376d5ed7fd88b1db3bf8bca2e9f68f60a8.tar.gz
emacs-d84c37376d5ed7fd88b1db3bf8bca2e9f68f60a8.zip
(gnus-soup): New custom group. Make user variables customizable.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-soup.el62
2 files changed, 46 insertions, 21 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index b6b8b1b9bac..ec7476b8758 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12007-01-05 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * gnus-soup.el (gnus-soup): New custom group. Make user variables
4 customizable.
5
12006-12-30 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> 62006-12-30 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
2 7
3 * gnus-sum.el (gnus-summary-insert-dormant-articles): Fix typo in 8 * gnus-sum.el (gnus-summary-insert-dormant-articles): Fix typo in
diff --git a/lisp/gnus/gnus-soup.el b/lisp/gnus/gnus-soup.el
index 31c721d9f1f..31074cb8c77 100644
--- a/lisp/gnus/gnus-soup.el
+++ b/lisp/gnus/gnus-soup.el
@@ -36,36 +36,56 @@
36(require 'gnus-start) 36(require 'gnus-start)
37(require 'gnus-range) 37(require 'gnus-range)
38 38
39(defgroup gnus-soup nil
40 "SOUP packet writing support for Gnus."
41 :group 'gnus)
42
39;;; User Variables: 43;;; User Variables:
40 44
41(defvar gnus-soup-directory (nnheader-concat gnus-home-directory "SoupBrew/") 45(defcustom gnus-soup-directory (nnheader-concat gnus-home-directory "SoupBrew/")
42 "*Directory containing an unpacked SOUP packet.") 46 "Directory containing an unpacked SOUP packet."
47 :version "22.1" ;; Gnus 5.10.9
48 :type 'directory)
43 49
44(defvar gnus-soup-replies-directory 50(defcustom gnus-soup-replies-directory
45 (nnheader-concat gnus-soup-directory "SoupReplies/") 51 (nnheader-concat gnus-soup-directory "SoupReplies/")
46 "*Directory where Gnus will do processing of replies.") 52 "Directory where Gnus will do processing of replies."
53 :version "22.1" ;; Gnus 5.10.9
54 :type 'directory)
47 55
48(defvar gnus-soup-prefix-file "gnus-prefix" 56(defcustom gnus-soup-prefix-file "gnus-prefix"
49 "*Name of the file where Gnus stores the last used prefix.") 57 "Name of the file where Gnus stores the last used prefix."
58 :version "22.1" ;; Gnus 5.10.9
59 :type 'file)
50 60
51(defvar gnus-soup-packer "tar cf - %s | gzip > $HOME/Soupout%d.tgz" 61(defcustom gnus-soup-packer "tar cf - %s | gzip > $HOME/Soupout%d.tgz"
52 "Format string command for packing a SOUP packet. 62 "Format string command for packing a SOUP packet.
53The SOUP files will be inserted where the %s is in the string. 63The SOUP files will be inserted where the %s is in the string.
54This string MUST contain both %s and %d. The file number will be 64This string MUST contain both %s and %d. The file number will be
55inserted where %d appears.") 65inserted where %d appears."
56 66 :version "22.1" ;; Gnus 5.10.9
57(defvar gnus-soup-unpacker "gunzip -c %s | tar xvf -" 67 :type 'string)
58 "*Format string command for unpacking a SOUP packet. 68
59The SOUP packet file name will be inserted at the %s.") 69(defcustom gnus-soup-unpacker "gunzip -c %s | tar xvf -"
60 70 "Format string command for unpacking a SOUP packet.
61(defvar gnus-soup-packet-directory gnus-home-directory 71The SOUP packet file name will be inserted at the %s."
62 "*Where gnus-soup will look for REPLIES packets.") 72 :version "22.1" ;; Gnus 5.10.9
63 73 :type 'string)
64(defvar gnus-soup-packet-regexp "Soupin" 74
65 "*Regular expression matching SOUP REPLIES packets in `gnus-soup-packet-directory'.") 75(defcustom gnus-soup-packet-directory gnus-home-directory
66 76 "Where gnus-soup will look for REPLIES packets."
67(defvar gnus-soup-ignored-headers "^Xref:" 77 :version "22.1" ;; Gnus 5.10.9
68 "*Regexp to match headers to be removed when brewing SOUP packets.") 78 :type 'directory)
79
80(defcustom gnus-soup-packet-regexp "Soupin"
81 "Regular expression matching SOUP REPLIES packets in `gnus-soup-packet-directory'."
82 :version "22.1" ;; Gnus 5.10.9
83 :type 'regexp)
84
85(defcustom gnus-soup-ignored-headers "^Xref:"
86 "Regexp to match headers to be removed when brewing SOUP packets."
87 :version "22.1" ;; Gnus 5.10.9
88 :type 'regexp)
69 89
70;;; Internal Variables: 90;;; Internal Variables:
71 91