Mercurial > emacs
view etc/gnus/news-server.ast @ 97137:c33982d8abdc
(normal-mode): Move call to hack-project-variables into
hack-local-variables.
(file-local-variables-alist, before-hack-local-variables-hook):
New vars.
(ignored-local-variables): Add file-local-variables-alist.
(hack-local-variables-filter): Renamed from
hack-local-variables-apply. Add the result to
file-local-variables-alist, without applying them.
(hack-local-variables): Set file-local-variables-alist to nil.
Call hack-project-variables and before-hack-local-variables-hook.
Apply variables here, instead of hack-local-variables-apply.
Based on a patch by Alan Mackenzie.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 31 Jul 2008 01:22:54 +0000 |
parents | a3c27999decb |
children | a213d79a9aae |
line wrap: on
line source
@title Configuring Gnus for reading news @node Setting up the news server name and port number @variable server :string (gnus-getenv-nntpserver) @variable port :number 119 @validate (assistant-validate-connect-to-server server port) @result gnus-select-method (list 'nntp server (list 'nntp-server port)) @text Usenet news is usually read from your Internet service prodider's news server. If you don't know the name of this server, contact your ISP. As a guess, the name of the server might be news.yourisp.com. Server name: @variable{server} Port number: @variable{port} @end text @next t "User name and password" @node User name and password @type interstitial @next (if (assistant-password-required-p) "Enter user name and password" "Want user name and password?") @end next @node Want user name and password? @variable passwordp (:radio ((item "Yes") (item "No"))) "No" @text Some news servers require that you enter a user name and a password. It doesn't look like your news server is one of them. Do you want to enter user name and password anyway? @variable{passwordp} @end text @next (equal passwordp "No") finish @next (not (equal passwordp "No")) "Enter user name and password" @node Enter user name and password @variable user-name :string (user-login-name) @variable password :password (or (assistant-authinfo-data server port 'password) "") @text It looks like your news server requires you to enter a user name and a password: User name: @variable{user-name} Password: @variable{user-name} @end text @c Local variables: @c mode: texinfo @c End: @c arch tag is missing