Make gnus-nntp-server and gnus-secondary-servers obsolete
authorJulien Danjou <julien@danjou.info>
Fri, 29 Oct 2010 14:00:09 +0000 (16:00 +0200)
committerJulien Danjou <julien@danjou.info>
Fri, 29 Oct 2010 14:00:09 +0000 (16:00 +0200)
Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/ChangeLog
lisp/gnus.el
texi/ChangeLog
texi/gnus.texi

index bac4012..f3da571 100644 (file)
@@ -1,6 +1,8 @@
 2010-10-29  Julien Danjou  <julien@danjou.info>
 
        * gnus.el: Remove `gnus-nntp-service' variable.
+       (gnus-secondary-servers): Make obsolete.
+       (gnus-nntp-server): Make obsolete.
 
        * gnus-start.el (gnus-1): Remove x-splash calls.
 
index 556da8f..5d95bb1 100644 (file)
@@ -1367,14 +1367,14 @@ To make Gnus query you for a server, you have to give `gnus' a
 non-numeric prefix - `C-u M-x gnus', in short."
   :group 'gnus-server
   :type '(repeat string))
+(make-obsolete-variable 'gnus-secondary-servers 'gnus-select-method "24.1")
 
 (defcustom gnus-nntp-server nil
-  "*The name of the host running the NNTP server.
-This variable is semi-obsolete.  Use the `gnus-select-method'
-variable instead."
+  "The name of the host running the NNTP server."
   :group 'gnus-server
   :type '(choice (const :tag "disable" nil)
                 string))
+(make-obsolete-variable 'gnus-nntp-server 'gnus-select-method "24.1")
 
 (defcustom gnus-secondary-select-methods nil
   "A list of secondary methods that will be used for reading news.
index 31fd62e..2fff53a 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-29  Julien Danjou  <julien@danjou.info>
+
+       * gnus.texi (Finding the News): Remove references to obsoletes
+       variables `gnus-nntp-server' and `gnus-secondary-servers'.
+
 2010-10-22  Juanma Barranquero  <lekktu@gmail.com>
 
        * gnus.texi (Group Parameters, Buttons): Fix typos.
index 4bbba00..85f194c 100644 (file)
@@ -1020,22 +1020,6 @@ Gnus will see whether @code{gnus-nntpserver-file}
 If that fails as well, Gnus will try to use the machine running Emacs
 as an @acronym{NNTP} server.  That's a long shot, though.
 
-@vindex gnus-nntp-server
-If @code{gnus-nntp-server} is set, this variable will override
-@code{gnus-select-method}.  You should therefore set
-@code{gnus-nntp-server} to @code{nil}, which is what it is by default.
-
-@vindex gnus-secondary-servers
-@vindex gnus-nntp-server
-You can also make Gnus prompt you interactively for the name of an
-@acronym{NNTP} server.  If you give a non-numerical prefix to @code{gnus}
-(i.e., @kbd{C-u M-x gnus}), Gnus will let you choose between the servers
-in the @code{gnus-secondary-servers} list (if any).  You can also just
-type in the name of any server you feel like visiting.  (Note that this
-will set @code{gnus-nntp-server}, which means that if you then @kbd{M-x
-gnus} later in the same Emacs session, Gnus will contact the same
-server.)
-
 @findex gnus-group-browse-foreign-server
 @kindex B (Group)
 However, if you use one @acronym{NNTP} server regularly and are just
@@ -30102,11 +30086,11 @@ that means:
 (setq gnus-read-active-file 'some)
 @end lisp
 
-On the other hand, if the manual says ``set @code{gnus-nntp-server} to
-@samp{nntp.ifi.uio.no}'', that means:
+On the other hand, if the manual says ``set @code{gnus-nntp-server-file} to
+@samp{/etc/nntpserver}'', that means:
 
 @lisp
-(setq gnus-nntp-server "nntp.ifi.uio.no")
+(setq gnus-nntp-server-file "/etc/nntpserver")
 @end lisp
 
 So be careful not to mix up strings (the latter) with symbols (the