* doc/misc/erc.texi (Connecting): Add brief section on passwords.
authorGlenn Morris <rgm@gnu.org>
Tue, 13 Nov 2012 08:05:42 +0000 (00:05 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 13 Nov 2012 08:05:42 +0000 (00:05 -0800)
* etc/NEWS: Related edit.

doc/misc/ChangeLog
doc/misc/erc.texi
etc/NEWS

index 82e0cd0..0a83732 100644 (file)
@@ -2,6 +2,7 @@
 
        * erc.texi (Modules): Undocument obsolete "hecomplete".
        Add "notifications".
+       (Connecting): Add brief section on passwords.
 
 2012-11-12  Glenn Morris  <rgm@gnu.org>
 
index b5c0dd3..ea315cd 100644 (file)
@@ -604,6 +604,30 @@ ERC should automatically attempt to connect with another nickname.
 You can manually set another nickname with the /NICK command.
 @end defopt
 
+@subheading Password
+@cindex password
+
+@defopt erc-prompt-for-password
+If non-@code{nil} (the default), @kbd{M-x erc} prompts for a password.
+@end defopt
+
+If you prefer, you can set this option to @code{nil} and use the
+@code{auth-source} mechanism to store your password.  For instance, if
+you use @file{~/.authinfo} as your auth-source backend, then put
+something like the following in that file:
+
+@example
+machine irc.example.net login "#fsf" password sEcReT
+@end example
+
+@noindent
+ERC also consults @code{auth-source} to find any channel keys required
+for the channels that you wish to autojoin, as specified by the
+variable @code{erc-autojoin-channels-alist}.
+
+For more details, @pxref{Top,,auth-source, auth, Emacs auth-source Library}.
+
+
 @subheading Full name
 
 @defun erc-compute-full-name &optional full-name
index 80c1e5f..ca20c4d 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -438,9 +438,12 @@ The global binding for `M-=', `count-words-region' is in effect.
 *** New module "notifications", which can send a notification when you
 receive a private message or your nickname is mentioned.
 
++++
 *** ERC will look up server/channel names via auth-source and use any
 channel keys found.
 
+*** FIXME erc-lurker-hide-list
+
 +++
 ** Flymake uses fringe bitmaps to indicate errors and warnings.
 See `flymake-fringe-indicator-position', `flymake-error-bitmap' and