From 274f5de608fd1a4dd99c2f9e4e9214579554f437 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 13 Nov 2012 00:14:15 -0800 Subject: [PATCH] Document erc-lurker-hide-list * doc/misc/erc.texi (Options): Make a start by adding erc-hide-list, erc-lurker-hide-list. * etc/NEWS: Related edit. --- doc/misc/ChangeLog | 1 + doc/misc/erc.texi | 18 ++++++++++++++++-- etc/NEWS | 4 +++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 0a837320b43..1ec8a3d56ff 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -3,6 +3,7 @@ * erc.texi (Modules): Undocument obsolete "hecomplete". Add "notifications". (Connecting): Add brief section on passwords. + (Options): Make a start by adding erc-hide-list, erc-lurker-hide-list. 2012-11-12 Glenn Morris diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi index ea315cd86fa..4be94df4b45 100644 --- a/doc/misc/erc.texi +++ b/doc/misc/erc.texi @@ -737,10 +737,24 @@ stuff, to the current ERC buffer." @c PRE5_4: (Node) Document every ERC option (module options go in @c previous chapter) -This section has not yet been written. For now, the easiest way to -check out the available options for ERC is to do +This section is extremely incomplete. For now, the easiest way to +check out all the available options for ERC is to do @kbd{M-x customize-group erc RET}. +@defopt erc-hide-list +If non, @code{nil}, this is a list of IRC message types to hide, e.g. + +@example +(setq erc-hide-list '("JOIN" "PART" "QUIT")) +@end example +@end defopt + +@defopt erc-lurker-hide-list +Like @code{erc-hide-list}, but only applies to messages sent by +lurkers. The function @code{erc-lurker-p} determines whether a given +nickname is considerd a lurker. +@end defopt + @node Getting Help and Reporting Bugs @chapter Getting Help and Reporting Bugs diff --git a/etc/NEWS b/etc/NEWS index ca20c4dcff1..9fcb2d13565 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -442,7 +442,9 @@ 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 ++++ +*** New option `erc-lurker-hide-list', similar to `erc-hide-list', but +only applies to messages sent by lurkers. +++ ** Flymake uses fringe bitmaps to indicate errors and warnings. -- 2.39.2