Mercurial > emacs
view etc/gnus/news-server.ast @ 111018:de901820e0bc
Allow Custom settings to be migrated into a custom theme.
* cus-theme.el (custom-theme--migrate-settings): New var.
(customize-create-theme): Allow editing the `user' theme.
(custom-theme-add-variable, custom-theme-add-var-1)
(custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
to the front of each variable or face widget.
(custom-theme-write): Save theme settings in the correct order.
Optionally, remove saved settings from user customizations.
(custom-theme-write-variables, custom-theme-write-faces): Saved
only the checked widgets.
(customize-themes): Add a link for migrating custom settings.
* custom.el (custom-declare-theme, provide-theme): Use
custom-theme-name-valid-p.
(custom-theme-name-valid-p): Remove checks that are now
unnecessary since themes no longer obey load-path.
* cus-edit.el (custom-variable-value-create): For the simple
style, hide documentation string when hidden.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 16 Oct 2010 20:00:34 -0400 |
parents | a213d79a9aae |
children |
line wrap: on
line source
@title Configuring Gnus for reading news @node Setting up the news server name and port number @variable server :string (or (gnus-getenv-nntpserver) "your-server-here") @variable port :number 119 @validate (or (assistant-validate-connect-to-server server port) (y-or-n-p "Do you want to use the server anyway, although you can't confirm it's valid?")) @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