diff options
| author | Stefan Kangas | 2022-08-13 17:29:36 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-08-13 17:29:36 +0200 |
| commit | 9d6d3b0edb14df42a46bb4bcf1525c47006ead9b (patch) | |
| tree | d3e4c328a5f5adcc07290459800dd23d9b2e217b | |
| parent | 3fcbcc61db31e316115364cf6275effcbfdebc6f (diff) | |
| download | emacs-9d6d3b0edb14df42a46bb4bcf1525c47006ead9b.tar.gz emacs-9d6d3b0edb14df42a46bb4bcf1525c47006ead9b.zip | |
Make many gnus version variables obsolete
Many haven't been bumped since 1997, others not since 2004.
* lisp/gnus/deuglify.el (gnus-outlook-deuglify-version):
* lisp/gnus/gnus-diary.el (gnus-diary-version):
* lisp/gnus/nnagent.el (nnagent-version):
* lisp/gnus/nnbabyl.el (nnbabyl-version):
* lisp/gnus/nndiary.el (nndiary-version):
* lisp/gnus/nndir.el (nndir-version):
* lisp/gnus/nndoc.el (nndoc-version):
* lisp/gnus/nndraft.el (nndraft-version):
* lisp/gnus/nneething.el (nneething-version):
* lisp/gnus/nnfolder.el (nnfolder-version):
* lisp/gnus/nnmaildir.el (nnmaildir-version):
* lisp/gnus/nnmbox.el (nnmbox-version):
* lisp/gnus/nnmh.el (nnmh-version):
* lisp/gnus/nnml.el (nnml-version):
* lisp/gnus/nnrss.el (nnrss-version):
* lisp/gnus/nnspool.el (nnspool-version):
* lisp/gnus/nntp.el (nntp-version):
* lisp/gnus/nnvirtual.el (nnvirtual-version): Make obsolete in
favor of emacs-version.
| -rw-r--r-- | lisp/gnus/deuglify.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/gnus-diary.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnagent.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnbabyl.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nndiary.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nndir.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nndoc.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nndraft.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nneething.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnfolder.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnmaildir.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnmbox.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnmh.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnml.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnrss.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnspool.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nntp.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/nnvirtual.el | 1 |
18 files changed, 22 insertions, 2 deletions
diff --git a/lisp/gnus/deuglify.el b/lisp/gnus/deuglify.el index 732c6062b8b..41fc2d83ac3 100644 --- a/lisp/gnus/deuglify.el +++ b/lisp/gnus/deuglify.el | |||
| @@ -223,6 +223,7 @@ | |||
| 223 | 223 | ||
| 224 | (defconst gnus-outlook-deuglify-version "1.5 Gnus version" | 224 | (defconst gnus-outlook-deuglify-version "1.5 Gnus version" |
| 225 | "Version of gnus-outlook-deuglify.") | 225 | "Version of gnus-outlook-deuglify.") |
| 226 | (make-obsolete-variable 'gnus-outlook-deuglify-version 'emacs-version "29.1") | ||
| 226 | 227 | ||
| 227 | ;;; User Customizable Variables: | 228 | ;;; User Customizable Variables: |
| 228 | 229 | ||
diff --git a/lisp/gnus/gnus-diary.el b/lisp/gnus/gnus-diary.el index cd2b53064b9..6028d4fcb2f 100644 --- a/lisp/gnus/gnus-diary.el +++ b/lisp/gnus/gnus-diary.el | |||
| @@ -65,8 +65,9 @@ There are currently two built-in format functions: | |||
| 65 | (const :tag "french" gnus-diary-delay-format-french) | 65 | (const :tag "french" gnus-diary-delay-format-french) |
| 66 | (symbol :tag "other"))) | 66 | (symbol :tag "other"))) |
| 67 | 67 | ||
| 68 | (defconst gnus-diary-version nndiary-version | 68 | (defconst gnus-diary-version "0.2-b14" |
| 69 | "Current Diary back end version.") | 69 | "Current Diary back end version.") |
| 70 | (make-obsolete-variable 'gnus-diary-version 'emacs-version "29.1") | ||
| 70 | 71 | ||
| 71 | 72 | ||
| 72 | ;; Compatibility functions ================================================== | 73 | ;; Compatibility functions ================================================== |
| @@ -377,8 +378,9 @@ If ARG (or prefix) is non-nil, force prompting for all fields." | |||
| 377 | 378 | ||
| 378 | (defun gnus-diary-version () | 379 | (defun gnus-diary-version () |
| 379 | "Current Diary back end version." | 380 | "Current Diary back end version." |
| 381 | (declare (obsolete emacs-version "29.1")) | ||
| 380 | (interactive) | 382 | (interactive) |
| 381 | (message "NNDiary version %s" nndiary-version)) | 383 | (message "NNDiary version %s" gnus-diary-version)) |
| 382 | 384 | ||
| 383 | (provide 'gnus-diary) | 385 | (provide 'gnus-diary) |
| 384 | 386 | ||
diff --git a/lisp/gnus/nnagent.el b/lisp/gnus/nnagent.el index 60140a46411..d7e32e45809 100644 --- a/lisp/gnus/nnagent.el +++ b/lisp/gnus/nnagent.el | |||
| @@ -35,6 +35,7 @@ | |||
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | (defconst nnagent-version "nnagent 1.0") | 37 | (defconst nnagent-version "nnagent 1.0") |
| 38 | (make-obsolete-variable 'nnagent-version 'emacs-version "29.1") | ||
| 38 | 39 | ||
| 39 | (defvoo nnagent-directory nil | 40 | (defvoo nnagent-directory nil |
| 40 | "Internal variable." | 41 | "Internal variable." |
diff --git a/lisp/gnus/nnbabyl.el b/lisp/gnus/nnbabyl.el index ff0dea8ecdd..5f9903a5b06 100644 --- a/lisp/gnus/nnbabyl.el +++ b/lisp/gnus/nnbabyl.el | |||
| @@ -55,6 +55,7 @@ | |||
| 55 | 55 | ||
| 56 | (defconst nnbabyl-version "nnbabyl 1.0" | 56 | (defconst nnbabyl-version "nnbabyl 1.0" |
| 57 | "nnbabyl version.") | 57 | "nnbabyl version.") |
| 58 | (make-obsolete-variable 'nnbabyl-version 'emacs-version "29.1") | ||
| 58 | 59 | ||
| 59 | (defvoo nnbabyl-mbox-buffer nil) | 60 | (defvoo nnbabyl-mbox-buffer nil) |
| 60 | (defvoo nnbabyl-current-group nil) | 61 | (defvoo nnbabyl-current-group nil) |
diff --git a/lisp/gnus/nndiary.el b/lisp/gnus/nndiary.el index bd60c43f59d..14540ac7e87 100644 --- a/lisp/gnus/nndiary.el +++ b/lisp/gnus/nndiary.el | |||
| @@ -234,9 +234,11 @@ all. This may very well take some time.") | |||
| 234 | 234 | ||
| 235 | (defconst nndiary-version "0.2-b14" | 235 | (defconst nndiary-version "0.2-b14" |
| 236 | "Current Diary back end version.") | 236 | "Current Diary back end version.") |
| 237 | (make-obsolete-variable 'nndiary-version 'emacs-version "29.1") | ||
| 237 | 238 | ||
| 238 | (defun nndiary-version () | 239 | (defun nndiary-version () |
| 239 | "Current Diary back end version." | 240 | "Current Diary back end version." |
| 241 | (declare (obsolete emacs-version "29.1")) | ||
| 240 | (interactive) | 242 | (interactive) |
| 241 | (message "NNDiary version %s" nndiary-version)) | 243 | (message "NNDiary version %s" nndiary-version)) |
| 242 | 244 | ||
diff --git a/lisp/gnus/nndir.el b/lisp/gnus/nndir.el index 2ca25534ce1..75a6ace107a 100644 --- a/lisp/gnus/nndir.el +++ b/lisp/gnus/nndir.el | |||
| @@ -48,6 +48,7 @@ | |||
| 48 | 48 | ||
| 49 | (defvoo nndir-status-string "" nil nnmh-status-string) | 49 | (defvoo nndir-status-string "" nil nnmh-status-string) |
| 50 | (defconst nndir-version "nndir 1.0") | 50 | (defconst nndir-version "nndir 1.0") |
| 51 | (make-obsolete-variable 'nndir-version 'emacs-version "29.1") | ||
| 51 | 52 | ||
| 52 | 53 | ||
| 53 | 54 | ||
diff --git a/lisp/gnus/nndoc.el b/lisp/gnus/nndoc.el index 19ccce47b50..cdff7c9accf 100644 --- a/lisp/gnus/nndoc.el +++ b/lisp/gnus/nndoc.el | |||
| @@ -218,6 +218,7 @@ from the document.") | |||
| 218 | 218 | ||
| 219 | (defconst nndoc-version "nndoc 1.0" | 219 | (defconst nndoc-version "nndoc 1.0" |
| 220 | "nndoc version.") | 220 | "nndoc version.") |
| 221 | (make-obsolete-variable 'nndoc-version 'emacs-version "29.1") | ||
| 221 | 222 | ||
| 222 | 223 | ||
| 223 | 224 | ||
diff --git a/lisp/gnus/nndraft.el b/lisp/gnus/nndraft.el index fa88b8a87e0..f21e4faf559 100644 --- a/lisp/gnus/nndraft.el +++ b/lisp/gnus/nndraft.el | |||
| @@ -56,6 +56,7 @@ are generated if and only if they are also in `message-draft-headers'." | |||
| 56 | (defvoo nndraft-current-directory nil nil nnmh-current-directory) | 56 | (defvoo nndraft-current-directory nil nil nnmh-current-directory) |
| 57 | 57 | ||
| 58 | (defconst nndraft-version "nndraft 1.0") | 58 | (defconst nndraft-version "nndraft 1.0") |
| 59 | (make-obsolete-variable 'nndraft-version 'emacs-version "29.1") | ||
| 59 | (defvoo nndraft-status-string "" nil nnmh-status-string) | 60 | (defvoo nndraft-status-string "" nil nnmh-status-string) |
| 60 | 61 | ||
| 61 | 62 | ||
diff --git a/lisp/gnus/nneething.el b/lisp/gnus/nneething.el index 0c565a8230c..ff72842a2ee 100644 --- a/lisp/gnus/nneething.el +++ b/lisp/gnus/nneething.el | |||
| @@ -57,6 +57,7 @@ included.") | |||
| 57 | 57 | ||
| 58 | (defconst nneething-version "nneething 1.0" | 58 | (defconst nneething-version "nneething 1.0" |
| 59 | "nneething version.") | 59 | "nneething version.") |
| 60 | (make-obsolete-variable 'nneething-version 'emacs-version "29.1") | ||
| 60 | 61 | ||
| 61 | (defvoo nneething-current-directory nil | 62 | (defvoo nneething-current-directory nil |
| 62 | "Current news group directory.") | 63 | "Current news group directory.") |
diff --git a/lisp/gnus/nnfolder.el b/lisp/gnus/nnfolder.el index c3f7073a7b8..a2b461c15f0 100644 --- a/lisp/gnus/nnfolder.el +++ b/lisp/gnus/nnfolder.el | |||
| @@ -91,6 +91,7 @@ message, a huge time saver for large mailboxes.") | |||
| 91 | 91 | ||
| 92 | (defconst nnfolder-version "nnfolder 2.0" | 92 | (defconst nnfolder-version "nnfolder 2.0" |
| 93 | "nnfolder version.") | 93 | "nnfolder version.") |
| 94 | (make-obsolete-variable 'nnfolder-version 'emacs-version "29.1") | ||
| 94 | 95 | ||
| 95 | (defconst nnfolder-article-marker "X-Gnus-Article-Number: " | 96 | (defconst nnfolder-article-marker "X-Gnus-Article-Number: " |
| 96 | "String used to demarcate what the article number for a message is.") | 97 | "String used to demarcate what the article number for a message is.") |
diff --git a/lisp/gnus/nnmaildir.el b/lisp/gnus/nnmaildir.el index 3dc74c95fb3..4d1ecbf8642 100644 --- a/lisp/gnus/nnmaildir.el +++ b/lisp/gnus/nnmaildir.el | |||
| @@ -62,6 +62,7 @@ | |||
| 62 | (require 'subr-x)) | 62 | (require 'subr-x)) |
| 63 | 63 | ||
| 64 | (defconst nnmaildir-version "Gnus") | 64 | (defconst nnmaildir-version "Gnus") |
| 65 | (make-obsolete-variable 'nnmaildir-version 'emacs-version "29.1") | ||
| 65 | 66 | ||
| 66 | (defconst nnmaildir-flag-mark-mapping | 67 | (defconst nnmaildir-flag-mark-mapping |
| 67 | '((?F . tick) | 68 | '((?F . tick) |
diff --git a/lisp/gnus/nnmbox.el b/lisp/gnus/nnmbox.el index 96ecc34e156..5735c97805e 100644 --- a/lisp/gnus/nnmbox.el +++ b/lisp/gnus/nnmbox.el | |||
| @@ -52,6 +52,7 @@ | |||
| 52 | 52 | ||
| 53 | (defconst nnmbox-version "nnmbox 1.0" | 53 | (defconst nnmbox-version "nnmbox 1.0" |
| 54 | "nnmbox version.") | 54 | "nnmbox version.") |
| 55 | (make-obsolete-variable 'nnmbox-version 'emacs-version "29.1") | ||
| 55 | 56 | ||
| 56 | (defvoo nnmbox-current-group nil | 57 | (defvoo nnmbox-current-group nil |
| 57 | "Current nnmbox news group directory.") | 58 | "Current nnmbox news group directory.") |
diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el index 3902af7d2f6..bced527d03f 100644 --- a/lisp/gnus/nnmh.el +++ b/lisp/gnus/nnmh.el | |||
| @@ -55,6 +55,7 @@ as unread by Gnus.") | |||
| 55 | 55 | ||
| 56 | (defconst nnmh-version "nnmh 1.0" | 56 | (defconst nnmh-version "nnmh 1.0" |
| 57 | "nnmh version.") | 57 | "nnmh version.") |
| 58 | (make-obsolete-variable 'nnmh-version 'emacs-version "29.1") | ||
| 58 | 59 | ||
| 59 | (defvoo nnmh-current-directory nil | 60 | (defvoo nnmh-current-directory nil |
| 60 | "Current news group directory.") | 61 | "Current news group directory.") |
diff --git a/lisp/gnus/nnml.el b/lisp/gnus/nnml.el index 7fe2b516cce..ae726ba0f7b 100644 --- a/lisp/gnus/nnml.el +++ b/lisp/gnus/nnml.el | |||
| @@ -89,6 +89,7 @@ non-nil.") | |||
| 89 | 89 | ||
| 90 | (defconst nnml-version "nnml 1.0" | 90 | (defconst nnml-version "nnml 1.0" |
| 91 | "nnml version.") | 91 | "nnml version.") |
| 92 | (make-obsolete-variable 'nnml-version 'emacs-version "29.1") | ||
| 92 | 93 | ||
| 93 | (defvoo nnml-nov-file-name ".overview") | 94 | (defvoo nnml-nov-file-name ".overview") |
| 94 | 95 | ||
diff --git a/lisp/gnus/nnrss.el b/lisp/gnus/nnrss.el index 8c96d3e0678..99e7b2a6f3f 100644 --- a/lisp/gnus/nnrss.el +++ b/lisp/gnus/nnrss.el | |||
| @@ -71,6 +71,7 @@ this variable to the list of fields to be ignored.") | |||
| 71 | (defvoo nnrss-status-string "") | 71 | (defvoo nnrss-status-string "") |
| 72 | 72 | ||
| 73 | (defconst nnrss-version "nnrss 1.0") | 73 | (defconst nnrss-version "nnrss 1.0") |
| 74 | (make-obsolete-variable 'nnrss-version 'emacs-version "29.1") | ||
| 74 | 75 | ||
| 75 | (defvar nnrss-group-alist '() | 76 | (defvar nnrss-group-alist '() |
| 76 | "List of RSS addresses.") | 77 | "List of RSS addresses.") |
diff --git a/lisp/gnus/nnspool.el b/lisp/gnus/nnspool.el index 39b89abb88a..e5eb4b81604 100644 --- a/lisp/gnus/nnspool.el +++ b/lisp/gnus/nnspool.el | |||
| @@ -114,6 +114,7 @@ there.") | |||
| 114 | 114 | ||
| 115 | (defconst nnspool-version "nnspool 2.0" | 115 | (defconst nnspool-version "nnspool 2.0" |
| 116 | "Version numbers of this version of NNSPOOL.") | 116 | "Version numbers of this version of NNSPOOL.") |
| 117 | (make-obsolete-variable 'nnspool-version 'emacs-version "29.1") | ||
| 117 | 118 | ||
| 118 | (defvoo nnspool-current-directory nil | 119 | (defvoo nnspool-current-directory nil |
| 119 | "Current news group directory.") | 120 | "Current news group directory.") |
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 29570fa8c9f..6fa424a1555 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el | |||
| @@ -259,6 +259,7 @@ update their active files often, this can help.") | |||
| 259 | (defvoo nntp-connection-alist nil) | 259 | (defvoo nntp-connection-alist nil) |
| 260 | (defvoo nntp-status-string "") | 260 | (defvoo nntp-status-string "") |
| 261 | (defconst nntp-version "nntp 5.0") | 261 | (defconst nntp-version "nntp 5.0") |
| 262 | (make-obsolete-variable 'nntp-version 'emacs-version "29.1") | ||
| 262 | (defvoo nntp-inhibit-erase nil) | 263 | (defvoo nntp-inhibit-erase nil) |
| 263 | (defvoo nntp-inhibit-output nil) | 264 | (defvoo nntp-inhibit-output nil) |
| 264 | 265 | ||
diff --git a/lisp/gnus/nnvirtual.el b/lisp/gnus/nnvirtual.el index ae4265de7fb..7b192aa1d2e 100644 --- a/lisp/gnus/nnvirtual.el +++ b/lisp/gnus/nnvirtual.el | |||
| @@ -57,6 +57,7 @@ component group will show up when you enter the virtual group.") | |||
| 57 | 57 | ||
| 58 | 58 | ||
| 59 | (defconst nnvirtual-version "nnvirtual 1.1") | 59 | (defconst nnvirtual-version "nnvirtual 1.1") |
| 60 | (make-obsolete-variable 'nnvirtual-version 'emacs-version "29.1") | ||
| 60 | 61 | ||
| 61 | (defvoo nnvirtual-current-group nil) | 62 | (defvoo nnvirtual-current-group nil) |
| 62 | 63 | ||