From: Glenn Morris Date: Tue, 13 Nov 2012 08:05:42 +0000 (-0800) Subject: * doc/misc/erc.texi (Connecting): Add brief section on passwords. X-Git-Tag: emacs-24.2.90~91 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f925b109e76f36081d9495252fcee204deb4c1fb;p=emacs.git * doc/misc/erc.texi (Connecting): Add brief section on passwords. * etc/NEWS: Related edit. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 82e0cd0f856..0a837320b43 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -2,6 +2,7 @@ * erc.texi (Modules): Undocument obsolete "hecomplete". Add "notifications". + (Connecting): Add brief section on passwords. 2012-11-12 Glenn Morris diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi index b5c0dd3c718..ea315cd86fa 100644 --- a/doc/misc/erc.texi +++ b/doc/misc/erc.texi @@ -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 diff --git a/etc/NEWS b/etc/NEWS index 80c1e5ff4ad..ca20c4dcff1 100644 --- 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