Variable: nntp-prepare-server-hook

nntp-prepare-server-hook is a variable defined in nntp.el.gz.

Value

nil

Documentation

Hook run before a server is opened.

If can be used to set up a server remotely, for instance. Say you have an account at the machine "other.machine". This machine has access to an NNTP server that you can't access locally. You could then use this hook to rsh to the remote machine and start a proxy NNTP server there that you can connect to. See also nntp-open-connection-function

This is a Gnus server variable. See Info node (gnus)Select Methods.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nntp.el.gz
(defvoo nntp-prepare-server-hook nil
  "Hook run before a server is opened.
If can be used to set up a server remotely, for instance.  Say you
have an account at the machine \"other.machine\".  This machine has
access to an NNTP server that you can't access locally.  You could
then use this hook to rsh to the remote machine and start a proxy NNTP
server there that you can connect to.  See also
`nntp-open-connection-function'")