src/xdisp.c (single_display_spec_string): Correct a FIXME comment.
[emacs.git] / etc / ERC-NEWS
blob17bf4fc38777a880df41141d896c78361764f3ac
1 ERC NEWS                                                       -*- outline -*-
3 Copyright (C) 2006-2011  Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 * Changes in ERC 5.3
8 ** New function `erc-tls' is to be used for connecting to a server via TLS.
9 It requires the tls.el library.
11 ** The function `erc-ssl' will now always use ssl.el, even in the version
12 of ERC that comes with Emacs.
14 ** Type `C-u' before `C-c C-j' to prompt for a channel key
15 `erc-join-channel' now accepts a prefix-argument to prompt for the key
16 when channels are protected by keywords.
18 ** ERC will now automatically determine which nick prefixes are valid
19 when joining a server.
21 ** Figure out which directory contains startup files when looking for
22 .erc.el.  For Emacs this is usually ~/.emacs.d, and for XEmacs this is
23 usually ~/.xemacs.
25 ** Fix bug with view-mode when running erc-toggle-debug-irc-protocol.
27 ** Permit several commands to be run even when the server connection is dead.
28 This includes /CLEAR, /COUNTRY, /HELP, /LASTLOG, /QUIT, /GQUIT,
29 /RECONNECT, /SERVER, and /SET.
31 ** Make /RECONNECT work better when the server connection is dead.
32 Also, handle case where the server buffer has been killed.
34 ** Better handle interaction with /RECONNECT and indefinite reconnect
35 attempts.  Display message which tells the user that they can stop the
36 reconnect attempts by killing the server buffer.
38 ** New option `erc-reuse-frames' determines whether new frames are always
39 created.  It defaults to not creating a new frame for an ERC buffer if
40 there is already a window displaying it.  This only has an effect when
41 the `erc-join-buffer' option is set to 'frame.
43 ** New command /ME'S handles the case where someone types "/me's" in an
44 ERC buffer.  It concatenates the text " 's" to the beginning of the
45 input and then sends the result like a normal /ME command.
47 ** Fix bug where some messages were being sent to the server too soon.
48 In the past, this may have resulted in strange problems like seeing
49 the connection attempt stall, which may have especially affected
50 spotty or traffic-shaped connections.
52 ** Handle 307 (nick has identified) responses from the server.
54 ** Display a less-confusing message if the connection attempt fails.
56 ** On a tty, make sure that notices are displayed in blue rather than pink.
58 ** By default, open query buffers that are initiated by others in a new
59 unselected window.  This may be changed by customizing the
60 `erc-auto-query' option.  This should make ERC more friendly to new
61 users.
63 ** New option `erc-query-display' indicates how to display a query buffer
64 that is made using the /QUERY command.  The default is to display the
65 query in a new selected window.
67 ** By default, display network name rather than server name in the modeline.
68 This should ERC use less space in the modeline.  To get the old
69 behavior back, set `erc-mode-line-format' to "%s %a".
71 ** New option `erc-remove-parsed-property' determines whether to remove
72 the 'erc-parsed property.  This should save some memory in channels
73 with large amounts of text on screen.  It is enabled by default.
75 ** Modules newly enabled by default
77 *** move-to-prompt: Move to the prompt when typing text.
78 *** networks: Provide data about IRC networks.
80 ** New formatting variables allowed in `erc-format-network':
82 *** `%N': the name of the network.
83 *** `%S': much like %s, but let the network name trump the server name.
85 ** Compatibility with old releases
87 *** In `erc-server-coding-system' and `erc-coding-system-for-target', pass
88 the `target' argument as the first and only argument to the function
89 named by these options.
91 *** In `erc-track-faces-priority-list', permit list entries to be lists of
92 faces.  This can be used to differentiate between, for example,
93 buttons in default text and buttons in notices.
95 *** The `erc-assert' function has been removed in favor of using `assert'
96 from cl-macs.el.
98 *** If your application uses the 'erc-parsed text property outside of
99 the insert hooks, you will need to set `erc-remove-parsed-property'
100 to nil.
102 ** Changes and additions to modules
104 *** BBDB (erc-bbdb.el)
106 **** Work around bug in XEmacs 21.4 that causes an error to be thrown when
107 the first argument to `run-at-time' is nil.
109 *** Button (erc-button.el)
111 **** Recognize parentheses that are part of URLs.
113 **** When in a channel, only buttonize nicks from that channel.
115 *** DCC support (erc-dcc.el)
117 **** Turn this into the "dcc" module for ERC, so that it can be more
118 easily enabled.
120 **** New option `erc-dcc-listen-host' determines which IP address to listen
121 on for outside connection attempts.
123 **** New option `erc-dcc-public-host' determines which IP address to advertise
124 when sending a file.  This is useful for people who are on a local
125 subnet.  Together, these two options replace the `erc-dcc-host'
126 option.
128 **** New option `erc-dcc-receive-cache' indicates how much of a received
129 file to store in an Emacs buffer before flushing it to disk.  The
130 default is 0.5 MB.
132 **** Save only parts of received files in buffers, writing repeatedly to
133 disk after we get at least `erc-dcc-receive-cache' bytes.  This allows
134 users to receive very large files without running out of memory.
136 **** Rename `erc-verbose-dcc' option to `erc-dcc-verbose' and also
137 default it to nil.
139 **** Fix edge case in erc-dcc-send-sentinel.
141 **** If client confirms too much, then display byte count and kill the
142 file buffer.
144 *** Goodies (erc-goodies.el)
146 **** New module move-to-prompt causes the point to be moved to the prompt
147 if a user tries to type elsewhere in the buffer, and then inserts
148 their keystrokes after the prompt.  It is enabled by default.
150 **** New module keep-place keeps your place in unvisited ERC buffers
151 when new messages arrive.
153 **** Enable scroll-to-bottom in all ERC buffers when the module is enabled,
154 rather than having the user do it manually.
156 **** Fix bug with buffer ordering and scroll-to-bottom module.
158 **** In the unmorse module, handle the morse code style that has "/ " at
159 the end of every letter.
161 *** Identd (erc-identd.el)
163 **** Fix bad behavior when closing the identd process.
165 *** Channel lists (erc-list.el)
167 **** Replace the old module with a rewritten one, so that we can include
168 it with Emacs.  The old version of erc-list.el has been renamed to
169 erc-list-old.el, and is available as the list-old module.
171 The new version does not yet have support for XEmacs.
173 **** Don't display lots of output in the server buffer when running /LIST.
175 *** Logging (erc-log.el)
177 **** Permit the `erc-log-channels-directory' option to be set to a function
178 name.  This makes it easier to write custom functions that determine
179 where log files should be placed.
181 **** New option `erc-log-filter-function' specifies the function to call
182 for filtering text before writing it to a log file.  By default, no
183 filtering is performed.
185 *** Networks (erc-networks.el)
187 **** Turn this into the "networks" module for ERC, so that it can be more
188 easily enabled.  Enable it by default.
190 **** Add support for Rizon.
192 *** Internet services / Nickserv (erc-services.el)
194 **** New hook option `erc-nickserv-identified-hook' is run after NickServ
195 acknowledges a successful identification.
197 **** Add support for the GRnet and Rizon networks.
199 *** Timestamps (erc-stamp.el)
201 **** By default, place timestamps on both the left and the right.
202 The left timestamps appear once a day, and the right timestamps appear
203 once a minute when new messages arrive.  To change this, customize the
204 `erc-insert-timestamp-function' and
205 `erc-insert-away-timestamp-function' options.
207 *** Channel tracking (erc-track.el)
209 **** If `erc-track-position-in-mode-line' is set to nil, the tracking
210 information won't be shown in the mode line, which is a change from
211 the previous behavior of showing it "After all other information".
213 If this variable is set to t, then the information will be added to
214 the very end of the mode line.
216 **** New option `erc-track-remove-disconnected-buffers' controls whether
217 buffers associated with a server that is disconnected should be
218 removed from the modified buffers list.  The default is to keep them
219 in the list.
221 **** New hook option `erc-track-list-changed-hook' is run whenever the
222 contents of the modified channels list changes.  It is useful for
223 people who use a separate mechanism to provide notification of channel
224 activity.
226 **** The `erc-track-switch-direction' option now can be set to the value
227 'importance.  If set to this value, ERC will switch to channels in
228 order of importance, which is determined by the position of the
229 channel's face in `erc-track-faces-priority-list'.
231 **** Activate erc-track-minor-mode earlier in the connection process.
233 **** Don't track buttons in notices.
235 **** Get a rough idea for which channels are currently active by
236 switching between several normal conversation faces in the modeline.
237 This behavior can be modified by changing the new
238 `erc-track-faces-normal-list' option.
240 **** Ignore display of who set the default channel topic and listing of
241 users on the current channel.  Customize the `erc-track-exclude-types'
242 option to indicate the types of messages to exclude.  These two
243 message types are "333" and "353", respectively.
245 *** Support for acting as an XDCC file-server (erc-xdcc.el)
247 **** Turn this into the "xdcc" module for ERC, so that it can be more
248 easily enabled.
250 * Changes in ERC 5.2
252 ** M-x erc RET now starts ERC.
253 `erc-select' has been changed to `erc'.  `erc-select' still remains as
254 an alias of `erc'. Likewise, `erc-select-ssl' has been renamed to
255 `erc-ssl' with `erc-select-ssl' as its alias.  The function that was
256 known as `erc' is now `erc-open'.
258 ** Open query buffers by default when private messages are received.
259 The default value of `erc-auto-query' has been changed to 'bury.
261 ** New command: /RECONNECT
262 This command tries to reconnect to the current IRC server exactly
263 once.  It does not work in server buffers (throws an error before the
264 command is run), but works in query and channel buffers.
266 ** In MS-DOS environments, look for _ercrc.el rather than .ercrc.el.
268 ** Fix buggy interaction with multi-tty Emacs.
270 ** After running /QUIT, make sure that the IRC process is killed within
271 4 seconds.  Freenode, in particular, needs this at times.
273 ** If the IRC process has not responded to our PINGs within a certain
274 time, kill it and restart the connection.  See
275 `erc-server-auto-reconnect', `erc-server-reconnect-attempts',
276 `erc-server-reconnect-timeout', `erc-server-send-ping-interval', and
277 `erc-server-send-ping-timeout' to fine-tune ERC's behavior.
279 ** Avoid getting into an infinite connection loop.
280 Previously, this could happen if your nick was banned, you were using
281 Tor, incorrect information was entered, or the connection was bad.
283 ** Make ban messages less confusing.
285 ** Restore the point correctly when reconnecting to an IRC server.
287 ** Make /IGNORE and /UNIGNORE prompt to determine whether their
288 argument is a user or a regexp.  This results in less-confusing
289 behavior when trying to ignore someone who has a bracket in their
290 nick.
292 ** Make the default port "6667" rather than "ircd", because some
293 operating systems don't know what port "ircd" maps to.
295 ** Fix several bugs in erc-iswitchb (C-c C-b).
297 ** Clean up internal documentation.
298 Special thanks go to Juanma Barranquero for the thorough vetting of
299 ERC's internal documentation.
301 ** Display a more informative message when a module is not found.
303 ** Fix a bug where paths were being colored like IRC commands.
305 ** In the customize interface for `erc-modules', add the name of the module.
306 This makes it easier to find modules by name.
308 ** erc-server-send-ping-interval: Change to use a default of 30 seconds.
310 ** Some files which are included with the release of ERC 5.2 will not
311 appear in the version of ERC that is bundled with Emacs 22.  These
312 extras files may be found at:
314  o http://ftp.gnu.org/gnu/erc/erc-5.2-extras.tar.gz, or
315  o http://ftp.gnu.org/gnu/erc/erc-5.2-extras.zip.
317 ** Renamed files
319 Several files were renamed so as to make them distinct to users of the
320 MS-DOS operating system.
322  o erc-autojoin.el -> erc-join.el
323  o erc-complete.el -> erc-hecomplete.el
324  o erc-nickserv.el -> erc-services.el
325  o ChangeLog.NNNN -> ChangeLog.NN
327 ** Header line changes
329 *** Remove "[IRC]" from the header line.
331 *** Add the %l format character to `erc-header-line-format',
333 *** Document how to remove the header line.
334 Namely: (setq erc-header-line-format nil).
336 ** New options
338 *** erc-server-reconnect-attempts: Determines the number of
339 reconnection attempts that ERC will make per server.
341 *** erc-server-reconnect-timeout: Determines the amount of time,
342 in seconds, that ERC will wait between successive reconnect attempts.
344 *** erc-server-send-ping-timeout: Determines when to consider a connection
345 stalled and restart it.  The default is after 120 seconds.
347 *** erc-system-name: Determines the system name to use when logging in.
348 The default is to figure this out by calling `system-name'.
350 ** New face: `erc-my-nick-face'
351 This helps make it easier to distinguish messages sent by yourself
352 from messages sent by other users when the value of the variable
353 `erc-show-my-nick' is non-nil.
355 ** Namespace changes
357 *** New macro: `erc-with-server-buffer'
358 Switches to the current ERC server buffer and runs some code.  If no
359 server buffer is available, return nil.  This is a useful way to
360 access variables in the server buffer.
362 *** New function: `erc-open-server-buffer-p'
363 Returns non-nil if the given buffer is an ERC server buffer that has
364 an open IRC process.
366 *** New function: `erc-format-lag-time'
367 Returns the estimated lag time to server, `erc-server-lag'.
369 *** Renamed items
371  o `erc-server-setup-periodical-server-ping' is now
372    `erc-server-setup-periodical-ping'
374  o `erc-away-p' is now `erc-away-time'
376 ** Changes to the ERC manual
378 *** New section: Sample Session.
379 Describes a sample ERC session for connecting to the #emacs channel on
380 Freenode.  Also mention the #erc channel.
382 *** New section: Special Features.
383 Describes some of the special features of ERC.
385 *** Getting Started: Mention ~/.emacs.d/.ercrc.el and the Customize
386 interface.
388 *** Development: Mention ErcDevelopment page on emacswiki.org.
390 *** Tips and Tricks: Remove empty section for now.
392 *** Options: Mention how to see available ERC options.
394 *** Sample Configuration: Add an example of how to configure ERC.
396 ** New modules
398 *** Autoaway (erc-autoaway.el)
400 **** Make this much more reliable.
402 **** Avoid duplicate messages when coming back from being away.
404 **** Fix bug where autoaway was enabled just by loading the file.
406 *** BBDB (erc-bbdb.el)
408 **** Display information on how to cancel merging of info or how to
409 create a new John Doe record.
411 **** Make it so that information from /whois continues to come in, even
412 while prompting for a record to merge.
414 **** Make hitting C-g correctly abort merging the record.
416 *** Capab identify (erc-capab.el)
417 Mark users who haven't identified to NickServ on servers supporting
418 CAPAB IDENTIFY-MSG.
420 ** Changes and additions to modules
422 *** Button (erc-button.el)
424 **** Make <backtab> go to the previous button.
426 *** Channel tracking (erc-track.el)
428 **** Use mouse-face and help-echo for channel names in the mode-line.
429 This helps people using a mouse know that they are buttons and can be
430 clicked on.
432 **** Fix issue where C-c C-SPC could conflict with user-defined keybindings.
433 This is accomplished by moving these bindings to their own global
434 minor mode.  Now the default is to check whether the user has bound
435 something to C-c C-SPC or C-c C-@.  If they have, prompt them about
436 whether to really override that binding.  This also has the effect of
437 preventing ERC from clobbering rcirc's keybinding, unless this is
438 desired.  See `erc-track-enable-keybindings' for more details.
440 **** New option: erc-track-enable-keybindings.
441 Determine whether or not to enable the C-c C-SPC and C-c C-@
442 keybindings.  The default is to ask whether to do this if a binding to
443 these keys already exists.  It can also be set to t or nil to always
444 bind or never bind, respectively.
446 **** Remove `track-when-inactive' module.
447 See `erc-track-when-inactive' for further details.
449 **** New option: erc-track-when-inactive.
450 This option replaces the track-when-inactive module.  Set it to
451 non-nil to track activity even in visible buffers when inactive.  The
452 default is nil.
454 **** Remove the `track-modified-channels' alias for the `track' module.
456 *** DCC support (erc-dcc.el)
458 **** Add Usage section to Commentary.
460 **** Fix a bug in the server message output.
462 *** Filling (erc-fill.el)
464 **** Fix bug involving messages that start with one or more blank lines.
466 *** Identd (erc-identd.el)
468 **** New option `erc-identd-port'
469 Specifies the port to use if none is given as an argument to
470 `erc-identd-start'.  This is placed in the new customization group
471 `erc-identd'.
473 **** New function: `erc-identd-quickstart'
474 Ignores any arguments and calls `erc-identd-start'.
476 *** Channel lists (erc-list.el)
478 **** Enable by default, except in the version of ERC bundled with Emacs 22.
480 *** Logging (erc-log.el)
482 **** Make sure filenames are safe to use before writing to them.
484 **** Save all log buffers when exiting Emacs.
486 **** erc-generate-log-file-name-function: Add option for
487 `erc-generate-log-file-name-network', which is a new function that
488 uses the network name rather than the server name when possible.
490 *** Menu (erc-menu.el)
492 **** Name the menu "ERC" instead of "IRC" to avoid confusion with rcirc
493 and other clients.
495 **** Make this into a proper module and load it by default.
497 **** Add "Current channel" submenu.
499 *** Networks (erc-networks.el)
501 **** Add support for Ars OpenIRC, LinuxChix, and OFTC networks.
503 **** Escape periods in Konfido.Net and Kewl.Org.
505 *** Internet services / Nickserv (erc-nickserv.el)
507 **** Add new 'both method for the `erc-nickserv-identify-mode' option
508 and make it the default.  This tries to do the right thing both when a
509 known nickserv message exists for an IRC network, and when it does
510 not.
512 **** Support nickserv authentication on OFTC, Azzurra, Ars, and QuakeNet.
514 **** Support authentication on BitlBee.
516 **** Make source code easier to understand by using accessor functions.
518 *** Sound support (erc-sound.el)
520 **** Make this work with both Emacs 21 and Emacs 22.
522 *** Timestamps (erc-stamp.el)
524 **** Exclude the newline from the erc-timestamp field.
526 **** New function: `erc-toggle-timestamps'.
527 Toggles display of timestamps.
529 * Changes in ERC 5.1.4
531 ** Make find-function and find-variable work in Emacs 22 for
532 names that are constructed by `define-erc-module'.
534 ** Fix bug introduced in ERC 5.1.3 that caused messages to go the
535 wrong buffer.
537 ** Changes and additions to modules
539 *** Highlighting (erc-match.el)
541 **** Don't activate view-mode.
543 *** Logging (erc-log.el)
545 **** When this module is activated, make sure logging is enabled on
546 already-opened buffers.  Ditto for disabling logging when the module
547 is deactivated.
549 **** Fix some errors that occur when exiting Emacs without first
550 quitting open IRC servers.
552 * Changes in ERC 5.1.3
554 ** Fix use of /quote command with no initial whitespace.
556 ** Make it possible to customize the colorization of the header line.
557 The `erc-header-line' face is used to color the header line.
558 The `erc-header-line-face-method' determines the method to use when
559 colorizing the header line.
561 ** Add the new function `erc-handle-irc-url', which is a suitable
562 candidate to use for `url-irc-function'.  This permits some
563 integration of url.el and ERC.
565 ** Fix several errors that occur when server or channel buffers are killed
566 prematurely.
568 ** Fix toggling of flood control.
570 ** Match the patterns in `erc-encoding-coding-alist' as regexps,
571 instead of verbatim text.  Also, match case-insensitively.
573 ** The /SMV command has been removed, since we no longer have
574 meaningful module-specific version information.
576 ** Fix a "(stringp nil)" error that can happen when doing /PART.
578 ** Use a better example in the `erc-part-reason-various-alist'
579 documentation.
581 ** When using `erc-quit-reason-various' and `erc-part-reason-various'
582 and no matches are found, default to using the ERC version string
583 rather than "nil".
585 ** Add the `list' and `page' modules to the `erc-modules' customize
586 interface.
588 ** Changes to the ERC manual
590 *** Update the list of available modules.
592 *** Revise information about releases and development.
594 *** Provide a simpler example in the "Getting Started" chapter.
596 *** Fully document how to connect to an IRC server in the new
597 "Connecting" chapter.
599 ** Changes and additions to modules
601 *** Autoaway (erc-autoaway.el)
603 **** Rename the `erc-autoaway-use-emacs-idle' option to
604 `erc-autoaway-idle-method'.
606 **** Add support for autoaway based on user idle time.
607 This is now the default.
609 **** If you set the AWAY status yourself, erc-autoaway will not
610 interfere by un-setting AWAY prematurely.
612 **** If you are set away while visiting a non-ERC buffer,
613 erc-autoaway used to fail in bringing the user back.  This is now
614 fixed.
616 *** BBDB (erc-bbdb.el)
618 **** Add new option `erc-bbdb-electric-p', which determines whether
619 to make the BBDB buffer electric.  This defaults to not electric.
621 *** Button (erc-button.el)
623 **** Use <backtab> instead of <C-tab> for `erc-button-previous'.
625 *** Identd (erc-identd.el)
627 **** Fix a bug that involves starting the identd server.
629 **** Make this work with Emacs 22.
631 **** Provide a real ERC module named `identd'.
633 **** Don't create an extra buffer for the identd process.
635 *** Channel lists (erc-list.el)
637 **** Enable by default, except in the version of ERC bundled with Emacs 22.
639 *** Logging (erc-log.el)
641 **** By default, don't insert old logs when opening an ERC buffer.
642 This may be changed by customizing `erc-log-insert-log-on-open'.
644 **** New option `erc-log-write-after-send' determines whether the
645 log file will be written to after every sent message.  The default is
646 not to do this.
648 **** New option `erc-log-write-after-insert' determines whether the
649 log file will be written to when new text is added to a logged ERC
650 buffer.  The default is not to do this.  With this option and the
651 previous option, logging should no longer slow down ERC as much.
653 **** Default to saving buffers and queries on quit.
654 This may be changed by customizing the `erc-save-buffer-on-quit' and
655 `erc-save-queries-on-quit' options, respectively.
657 **** Only perform logging when the `logging' module is added to
658 `erc-modules'.  This prevents logging from being activated just by
659 loading the erc-log.el file, and makes logging act like other ERC
660 modules.
662 *** Programmable completion (erc-pcomplete.el)
664 **** Don't complete the user's current nickname.
666 * Changes in ERC 5.1.2
668 ** Fix compiler errors in erc-autojoin.el and erc-dcc.el.
670 ** Move to end of prompt when ERC reconnects to a server.
672 ** Changes and additions to modules
674 *** Spell-checking (erc-spelling.el)
676 **** Don't spell-check nicks or words that are prefixed with '/'.
678 **** Remove flyspell properties from words we shouldn't spell-check.
680 **** Fix an issue that caused the ispell process to reload every time
681 we switch to an ERC buffer.
683 *** Timestamps (erc-stamp.el)
685 **** Fix an inconsistency in calculating width of right timestamps.
687 **** Rename option `erc-timestamp-right-align-by-pixel' to
688 `erc-timestamp-use-align-to'.  This controls whether to use the more
689 fail-proof method of aligning right timestamps, as mentioned below.
691 **** Fix a right timestamp spacing problem that used to occur when
692 erc-stamp.el was byte-compiled.  Now that this is fixed, it is safe to
693 use the method that aligns right timestamps perfectly in Emacs22 with
694 X.  If the current version of Emacs doesn't support this method, use
695 the simpler method, which is prone to alignment issues for math
696 symbols and other variable-width text.
698 A side effect of using this new method is that there will only be one
699 space before a right timestamp in any saved logs.  If this is
700 unacceptable, set `erc-timestamp-use-align-to' to nil.
702 * Changes in ERC 5.1.1
704 ** Fix a requirement on cl.el.
706 ** Use tls.el for SSL connections, rather than ssl.el.
708 ** Changes and additions to modules
710 *** ibuffer integration (erc-ibuffer.el)
712 **** Update this to work with the version of ibuffer.el that comes with
713 recent Emacs variants.
715 *** Old completion (erc-complete.el)
717 **** Fix a few errors.
719 *** Speedbar (erc-speedbar.el)
721 **** Make this work with the version of speedbar.el that comes with
722 recent Emacs variants.
724 *** Timestamps (erc-stamp.el)
726 **** By default, use a more failsafe method of displaying right timestamps.
727 To get right timestamps to align perfectly in Emacs22 using X, set the
728 new `erc-timestamp-right-align-by-pixel' option to non-nil.
730 *** Viper compatibility (erc-viper.el)
732 **** Since most of these changes are now merged into Emacs22, detect
733 whether we need these changes and install them only if necessary.
735 * Changes in ERC 5.1
737 ** Improve XEmacs compatibility.
739 ** Namespace changes
741 *** Now ERC doesn't use global variable space.
742 Renamed all variables that didn't start with "erc-".
744   o `away' is now `erc-away'
746   o `current-nick' is now `erc-server-current-nick'
748   o `last-peers' is now `erc-server-last-peers'
750   o `last-ping-time' is now `erc-server-last-ping-time'
752   o `last-sent-time' is now `erc-server-last-sent-time'
754   o `lines-sent' is now `erc-server-lines-sent'
756   o `quitting' is now `erc-server-quitting'
758 *** Remove the `with-erc-channel-buffer' function.
760 ** Bugfixes
762 *** Don't inadvertently destroy face properties.
764 *** Load erc scripts in a safer way.
766 *** Don't insert a timestamp if text at point is invisible.
768 *** Don't hide messages from those in `erc-fools' by default.
769 Color their nicks instead.
771 *** Use a more foolproof method of encoding and decoding strings
772 before sending to a channel.
774 ** Backend changes
776 *** Renamed some server-specific variables
778   o `erc-announced-server-name' is now `erc-server-announced-name'
780   o `erc-auto-reconnect' is now `erc-server-auto-reconnect'
782   o `erc-connect-function' is now `erc-server-connect-function'
784   o `erc-default-coding-system' is now `erc-server-coding-system'
786   o `erc-duplicate-timeout' is now `erc-server-duplicate-timeout'
788   o `erc-duplicates' is now `erc-server-duplicates'
790   o `erc-lag' is now `erc-server-lag'
792   o `erc-prevent-duplicates' is now `erc-server-prevent-duplicates'
794   o `erc-previous-read' is now `erc-server-filter-data'
796   o `erc-process' is now `erc-server-process'
798   o `erc-ping-handler' is now `erc-server-send-ping-handler'
800   o `erc-ping-interval' is now `erc-server-send-ping-interval'
802 *** Renamed some functions
804   o `erc-connect' is now `erc-server-connect'
806   o `erc-process-filter' is now `erc-server-filter-function'
808   o `erc-send-command' is now `erc-server-send'
810   o `erc-send-single-line' is now `erc-send-input'
812   o `erc-setup-periodical-server-ping' is now
813     `erc-server-setup-periodical-server-ping'
815   o `erc-split-command is now `erc-split-line'
817 *** New options
819   o erc-server-flood-margin, erc-server-flood-penalty: New options
820     that allow tweaking of flood control.
822   o erc-split-line-length: The maximum line length of a single
823     message.
825 *** New variables
827   o erc-server-flood-last-message, erc-server-flood-queue,
828     erc-server-flood-timer: Flood control.
830   o erc-server-processing-p: Indicate when we're currently processing
831     a message.
833 *** Remove some options
835   o `erc-flood-limit'
836   o `erc-flood-limit2'
838 ** New customization group `erc-server' for dealing with IRC servers.
840 ** ERC can now be installed by doing `make install' from the command line.
842 ** ERC now has a manual in erc.texi.
843 Type `make doc' to generate HTML and Info versions of it.
845 ** ERC no longer depends on cl.el.
846 Only the macros in cl-macs.el are used.
848 ** Fix an edge case when quitting as new messages come in.
850 ** Make flood protection toggle-able as on/off, removing the 'strict option.
852 ** If possible, re-use channel buffers when reconnecting to a server.
854 ** Text in ERC buffers is now read-only by default.
855 To get the previous behavior, 
857 ** Changes and additions to modules
859 *** Auto-join (erc-autojoin.el)
861 **** Recognize the Azzurra server.
863 *** BBDB (erc-bbdb.el)
865 **** When the user types /WHOIS, ask for a record to merge to.
867 **** Store the displayed name of a BitlBee contact.
868 The new `erc-bbdb-bitlbee-name-field' option specifies the field to use
869 to store this information.
871 **** Don't prompt for a name on /JOIN or /NICK.
873 *** Button (erc-button.el)
875 **** Fix customization of `erc-button-alist'
877 **** New option `erc-button-nickname-face' determines the face to use
878 when coloring ERC nicknames.
880 *** Channel tracking (erc-track.el)
882 **** Remove channels from the modified channels list if not currently
883 connected.  This should remove residue from the mode line after
884 quitting ERC.
886 **** Recognize buttonized text
888 *** Highlighting (erc-match.el)
890 **** Highlight current nickname by default.
892 **** Added the option of beeping when certain matches occur.
893 Add `erc-beep-on-match' to `erc-text-matched-hook' to enable
894 beeping.  Set the new variable `erc-beep-match-types' which match
895 types that make beeps.
897 *** Nicklist (erc-nicklist.el)
899 **** Fix a couple of errors.
901 **** Make sure a stray mouse click doesn't trigger an error.
903 **** Insert icons from the /images directory next to nicks.
904 This indicates their away status.  The location is customizable via
905 the new `erc-nicklist-icons-directory' option.
907 If you do not want these icons, set `erc-nicklist-use-icons' to nil.
909 *** Nickserv identification (erc-nickserv.el)
911 **** Recognize Azzurra and OFTC networks.
913 *** Old completion (erc-complete.el)
915 **** Disable by default.
917 *** Programmable completion (erc-pcomplete.el)
919 **** Enable by default.
921 *** Timestamps (erc-stamp.el)
923 **** On Emacs22, align right timestamps perfectly, even if variable-width
924 characters are used.  If we aren't using Emacs22, move text farther
925 away from the right margin when variable-width characters are used.
926 It is considered better to misalign the stamp by a bit than to go past
927 the right margin.
929 **** Enable by default
931 ** New modules
933 *** Spell-checking (erc-spelling.el)
935 **** Use flyspell in ERC.
937 *** Viper compatibility (erc-viper.el)
939 **** Helps ERC work correctly in viper-mode.
941 * Changes in ERC 5.0.4
943 ** Fix a problem with undo in channels.
945 * Changes in ERC 5.0.3
947 ** Fix typo in the `ctcp-request-to' entry of the English catalog.
949 ** Debugging with edegug has been made easier in all of the
950 erc-with-* and with-erc* macros.
952 ** Non-ASCII character sets should be better supported when sending
953 and processing messages.
955 ** A load failure with erc-autoaway.el and Emacs21 has been fixed.
957 ** A few XEmacs warnings were fixed.
959 ** Changes and additions to modules
961 *** Backend (erc-backend.el)
963 **** Move the check for hidden messages into `erc-display-message'
964 so there isn't so much replicated code.
966 **** Add `definition-name' property to constructed symbols so that
967 `find-function' and `find-variable' will be able to locate them.
969 **** Make sure logs are inserted info the correct channel buffers.
970 There was previously an error when using `erc-insert-log-on-open' in
971 combination with autojoin to multiple channels.
973 *** Button (erc-button.el)
975 **** The layering of `erc-button-face' on other faces in ERC buffers
976 has been improved.
978 *** Channel tracking (erc-track.el)
980 **** Use optimal amount of whitespace around modified channels
981 indicator.  Previously, there was an additional unnecessary space.
983 **** Fix an error that occurred when unchecked buffers existed when
984 invoking /QUIT.
986 * Changes in ERC 5.0.2
988 ** If a channel key is required for a certain channel, ERC will prompt
989 for one if `erc-prompt-for-channel-key' is non-nil.
991 ** ERC doesn't try to reconnect if the network connection is refused
992 when using `open-network-stream-nowait' as the `erc-connect-function'.
994 ** Messages from multiple servers will not go to the currently active
995 buffer.  The messages from each server will be contained in the most
996 recently active channel/server buffer that corresponds with the
997 server.
999 ** Some text messages were cleaned up slightly.
1001 ** Button faces should no longer "cover" other faces.
1003 ** Made some XEmacs compatibility fixes.
1005 ** Nicknames containing a backslash are now correctly highlighted as
1006 current-nick and buttonized as nicks.
1008 ** `erc-server-select' doesn't offer networks without servers as a
1009 choice anymore.
1011 ** Non-ASCII character support has been improved.
1013 ** Changes and additions to modules
1015 *** Menu (erc-menu.el)
1017 **** You can now save logs and truncate buffers from the menu-bar.
1019 * Changes in ERC 5.0.1
1021 ** Narrowing in ERC buffers no longer causes formatting errors.
1023 ** The BBDB module now loads correctly when customizing `erc-modules'.
1025 ** The value of `erc-button-face' is now respected.
1027 ** Fixed a bug which caused a read-only error during connection.
1029 ** Server buffers are now tracked correctly.
1030 This means that `erc-track-priority-faces-only', `erc-track-exclude',
1031 and `erc-track-exclude-types' now work with server buffers.
1033 * Changes in ERC 5.0
1035 ** Channel members are now stored as a hash-table.
1036 `erc-server-users' and `erc-channel-users' are now hash-tables, rather
1037 than alists.  This significantly increases performance, especially in
1038 large channels.  Each channel member is stored as an `erc-server-user'
1039 struct, with additional information about the channels they are on
1040 stored in an `erc-channel-user' struct.  Code using old alist-style
1041 channel members needs to be updated to work with hash-tables.
1042 This new code also removes the need for erc-members.el, which has been
1043 removed.
1045 ** The way ERC deals with input from the server has changed.
1046 All server response code is now in a new file, erc-backend.el.  There
1047 should be no real user visible changes.  There are, however, a few
1048 major changes for implementers, and module writers:
1050 *** The PARSED response that all handlers get called with is
1051     no longer a vector, but an `erc-response' struct.
1053     This means LESS MAGIC NUMBERS in the ERC source code, but a few
1054     changes in how you get at parsed responses.
1056     The sender is accessed via `erc-response.sender'.
1058     The command is accessed via `erc-response.command'.
1060     The arguments to the command (everything after the command and
1061     before the colon) are accessed via `erc-response.command-args'.
1062     This is a /list/ of arguments in the order they appear in the
1063     unparsed response.
1065     The contents of the response is accessed via
1066     `erc-response.contents'.
1068     Should, for some reason, you want to do something with the
1069     /unparsed/ response, you can get it via `erc-response.unparsed'.
1071 *** The `erc-server-hook-list' mechanism is gone.
1073     All server response handlers should be defined with
1074     `define-erc-response-handler'.  This defines functions and
1075     corresponding hook variables.
1077     The mapping of server commands to hook variables is no longer
1078     done via `erc-event-to-hook', but through an #'equal hashtable,
1079     `erc-server-responses'.  In order to find a hook you do:
1081     (erc-get-hook command)
1083     See the docstring of `define-erc-response-handler' for more
1084     information.
1086 *** ALL hook variables have been renamed.
1088     In accordance with recommendations in the Emacs Lisp manual,
1089     the hook variables are no longer called `erc-server-FOO-hook',
1090     but rather `erc-server-FOO-functions'.  This is to indicate
1091     that the functions they call take arguments.
1093     All the modules in ERC have been updated to reflect this change,
1094     but external module authors should beware.
1096 ** The values of `erc-mode-line-format' and `erc-header-line-format'
1097 are now defined as strings to be formatted using `format-spec'.
1098 `erc-mode-line-format' does not replace the whole mode-line anymore,
1099 only `mode-line-buffer-identification' is set.  This way, personal
1100 mode-line configurations are not modified and all key bindings work as
1101 expected.  The process status (connecting, closed) is now shown in
1102 `mode-line-process'.
1104 ** Customization of ERC variables has been made easier.  Variables
1105 have been split into more groups for better organization.
1107 ** New variables
1109   o `erc-send-whitespace-lines' - Set this to send lines even if they
1110     are empty.
1112   o `erc-manual-set-nick-on-bad-nick-p' - If the nickname you chose is
1113     already taken or not allowed, your nick is not changed and you can
1114     try again manually if this is non-nil.
1116   o `erc-mode-line-away-status-format' - You can now set what is shown
1117     in the mode-line when you are away.
1119   o `erc-header-line-uses-help-echo-p' - The header-line now uses the
1120     help-echo property. You can set this to nil to disable it.
1122   o `erc-format-query-as-channel-p' - Set this to nil to have messages
1123     in the query buffer formatted like private messages.
1125   o `erc-show-channel-key-p' - The channel key is now shown with the
1126     other channel modes in the header line. Set this to nil if you
1127     want it hidden.
1129   o `erc-prompt-for-channel-key' - Set this if you want to be prompted
1130     for the channel key (channel's mode is +k) when you call
1131     `erc-join-channel' interactively.
1133   o `erc-kill-server-buffer-on-quit' - If non-nil, kill the server
1134     buffer automatically when you quit.
1136 ** New hooks
1138   o `erc-join-hook' - Called when you join a channel.
1140   o `erc-kick-hook' - Called when you are kicked from a channel. The
1141     channel's buffer is sent as an argument to functions called from
1142     this hook.
1144   o `erc-nick-changed-functions' - Whenever your nickname changes
1145     successfully, the functions in this hook are run with the
1146     arguments NEW-NICK and OLD-NICK.
1148 ** New command /WHOAMI - Do a /WHOIS on your current nickname.
1150 ** The key binding for changing channel modes is now C-c C-o.
1152 ** Removed variables
1154   o `erc-echo-notices-in-minibuffer-flag' and
1155     `erc-echo-notices-in-current-buffer' - You should use
1156     `erc-echo-notice-hook' and `erc-echo-notice-always-hook' instead.
1158   o `erc-prompt-interactive-input' has been removed (commented out)
1159     because nickname completion does not work with it.
1161   o All INFO buffer-related variables and functions have been removed.
1163 ** You can now disable modules by setting `erc-modules' with the
1164 customization interface.
1166 ** Changes and additions to modules
1168 *** Autoaway (erc-autoaway.el)
1170 **** New variable `erc-autoaway-no-auto-back-regexp' - Add text which,
1171 when you type anything matching it, will not automatically discard
1172 your away status when `erc-auto-discard-away' is non-nil.
1174 *** Filling (erc-fill.el)
1176 **** New variable `erc-fill-variable-maximum-indentation' - Don't
1177 indent more than this many characters when indenting a message from a
1178 user with a long nickname.
1180 *** Goodies (erc-goodies.el)
1182 **** Miscellaneous small modules have been moved from erc.el.
1183 The functions erc-add-scroll-to-bottom, erc-make-read-only,
1184 erc-send-distinguish-noncommands, erc-interpret-controls, erc-unmorse,
1185 erc-smiley, and erc-occur, which were defined in the main erc.el file
1186 have been moved to erc-goodies.el and have mostly been translated to
1187 the modules scrolltobottom, readonly, noncommands, irccontrols, smiley
1188 and unmorse.
1190 **** New variables
1192   o `erc-input-line-position' - The line number to use with
1193     `erc-scroll-to-bottom'.
1195   o `erc-beep-p' - Beep if there is a \C-g control character in a
1196     message.
1198 *** Channel lists (erc-list.el)
1200 **** New variable `erc-chanlist-highlight-face' - A face used for
1201 highlighting the current line.
1203 *** Highlighting (erc-match.el)
1205 **** `erc-current-nick-highlight-type' has new options: 'keyword and
1206 'nick-or-keyword.
1208 *** Menu (erc-menu.el)
1210 **** The `IRC' menu is now automatically added to `erc-mode' buffers.
1212 *** Networks (erc-nets.el)
1214 **** The functions for determining current network are in this file.
1215 There were a couple of functions spread about in different files which
1216 each had a different way of determining the current network.  The
1217 methods have been combined, and the big list of known networks
1218 (`erc-networks-alist') is being put to use.  You can access the
1219 network's name by calling the new function `erc-network'.  This
1220 returns the name of the current network as a symbol or 'Unknown if it
1221 could not determine which network it is.
1223 *** Nicklist (erc-nicklist.el)
1225 **** ERC has a new way of displaying nicknames in a channel.
1226 The new file erc-nicklist.el defines a new command `erc-nicklist'
1227 which pops up a small Emacs window showing the nicknames of all
1228 members of the current channel.  The implementation is not complete
1229 and is rather proof-of-concept for now.  The result is something a bit
1230 like erc-speedbar, but not quite as invasive, and doesn't require use
1231 of a new frame.
1233 *** Internet services / Nickserv (erc-nickserv.el)
1235 **** Network detection is now taken care of by erc-nets.el.
1236 The function `erc-current-network' is deprecated, use `erc-network'
1237 instead.  The variable `erc-networks' has been removed, use
1238 `erc-networks-alist'.  The network symbols used in
1239 `erc-nickserv-alist' now match those in `erc-networks-alist'.
1241 **** New variable `erc-nickserv-identify-mode' - Choose which method
1242 to use for automatic identification: you can wait for Nickserv to ask
1243 you to identify (the default), or send an identify message
1244 automatically after you change your nickname.
1246 *** Speedbar (erc-speedbar.el)
1248 **** New variable `erc-speedbar-sort-users-type' - Sort users in a
1249 channel by activity, alphabetically, or not at all.
1251 *** Timestamps (erc-stamp.el)
1253 **** `erc-timestamp-only-if-changed-flag' now works when
1254 `erc-insert-timestamp-function' is set to 'erc-insert-timestamp-left.
1256 **** New variable `erc-timestamp-intangible' - Set this to nil if
1257 timestamps should not have the 'intangible property.
1259 *** Channel tracking (erc-track.el)
1261 **** Using faces to indicate channel activity in the modeline now works
1262 in XEmacs.
1264 **** New variables
1266   o `erc-track-priority-faces-only' - Ignore changes in a channel
1267     unless there is a face from the `erc-track-faces-priority-list' in
1268     the message.
1270   o `erc-track-exclude-server-buffer' - Ignore changes in the server
1271     buffer.
1273   o `erc-track-position-in-mode-line' - Set the position in the
1274     mode-line where modified channels are shown (only works in GNU
1275     Emacs versions above 21.3).
1277 * Changes in ERC 4.0
1279 ** The module system has again changed a lot.  You can now customize
1280   the variable `erc-modules' and define once and for all which
1281   extension modules you want to use.  This unfortunately may require
1282   you to change your current erc initialisation code a bit, if you
1283   have some existing customsations.  On the other hand, this change
1284   makes the configuration of extension modules a lot easier for new
1285   users.  In theory, you should be able to configure all aspects of
1286   ERC by using the customize interface, you should no longer really
1287   need to write Lisp code for trivial customizations.
1289   By default, the following modules are now loaded: (pcomplete
1290   netsplit fill track ring button autojoin)
1292   Please use M-x customize-variable RET erc-modules RET to change the
1293   default if it does not suite your needs.
1295 ** THe symbol used in `erc-nickserv-passwords' for debian.org IRC servers
1296   (formerly called OpenProjects, now FreeNode) has changed from
1297   openprojects to freenode.  You may need to update your configuration
1298   for a successful automatic nickserv identification.
1300 * Changes in ERC 3.0.cvs.20030119
1302 ** New module erc-dcc:
1304 This finally implements DCC.  It requires server sockets to fully work
1305 in both directions.  This feature is currently only available in Emacs
1306 21.3.50 (CVS). Here is a short list of what should work though.
1308 ** Compatibility:
1309   * Emacs 21.2, DCC get, and accepting DCC chat offers.
1310   * XEmacs 21, Only accepting DCC chat offers.
1312 ** erc is switching to global-minor-modes for activation of submodules.
1314 This allows you to customize such a mode and get automatic loading of
1315 the module.  No longer putting a lot of require statements in .emacs.
1316 At least this is the long-term plan, not all modules are converted yet.
1318 ** The most important user visible change is that you now need to activate
1319 erc-completion-mode, to get TAB completion.  The new completion code
1320 is based on pcomplete.  To get the old code, manually load
1321 erc-complete and bind TAB to erc-complete in erc-mode-map.
1323 To activate completion on startup, put (erc-completion-mode 1) in your
1324 .emacs file.
1326 Same applies to timestamps.  You no longer need to (require
1327 'erc-stamp), you can customize the variable `erc-timestamp-mode', and
1328 the rest should be automatic.
1331 This file is part of GNU Emacs.
1333 GNU Emacs is free software: you can redistribute it and/or modify
1334 it under the terms of the GNU General Public License as published by
1335 the Free Software Foundation, either version 3 of the License, or
1336 (at your option) any later version.
1338 GNU Emacs is distributed in the hope that it will be useful,
1339 but WITHOUT ANY WARRANTY; without even the implied warranty of
1340 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1341 GNU General Public License for more details.
1343 You should have received a copy of the GNU General Public License
1344 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.