Commit | Line | Data |
---|---|---|
597993cf MB |
1 | ERC NEWS -*- outline -*- |
2 | ||
c2e309f2 | 3 | Copyright (C) 2006, 2007 Free Software Foundation, Inc. |
5b87ad55 | 4 | See the end of the file for license conditions. |
c2e309f2 | 5 | |
526dc846 MO |
6 | * Changes in ERC 5.3 |
7 | ||
8 | ** New function `erc-tls' is to be used for connecting to a server via TLS. | |
c10b0597 MO |
9 | It requires the tls.el library. |
10 | ||
11 | ** The function `erc-ssl' will now always use ssl.el, even in the version | |
12 | of ERC that comes with Emacs. | |
526dc846 MO |
13 | |
14 | ** Changes and additions to modules | |
15 | ||
16 | *** Channel tracking (erc-track.el) | |
17 | ||
18 | If erc-track-position-in-mode-line is set to nil, the tracking | |
19 | information won't be shown in the mode line, which is a change | |
20 | from the previous behavior of showing it "After all other | |
21 | information". | |
22 | ||
ff59d266 | 23 | * Changes in ERC 5.2 |
83dc6995 MB |
24 | |
25 | ** M-x erc RET now starts ERC. | |
26 | `erc-select' has been changed to `erc'. `erc-select' still remains as | |
27 | an alias of `erc'. Likewise, `erc-select-ssl' has been renamed to | |
28 | `erc-ssl' with `erc-select-ssl' as its alias. The function that was | |
29 | known as `erc' is now `erc-open'. | |
30 | ||
ff59d266 MB |
31 | ** Open query buffers by default when private messages are received. |
32 | The default value of `erc-auto-query' has been changed to 'bury. | |
33 | ||
10dc9f9e MB |
34 | ** New command: /RECONNECT |
35 | This command tries to reconnect to the current IRC server exactly | |
36 | once. It does not work in server buffers (throws an error before the | |
37 | command is run), but works in query and channel buffers. | |
38 | ||
ff59d266 MB |
39 | ** In MS-DOS environments, look for _ercrc.el rather than .ercrc.el. |
40 | ||
41 | ** Fix buggy interaction with multi-tty Emacs. | |
42 | ||
43 | ** After running /QUIT, make sure that the IRC process is killed within | |
44 | 4 seconds. Freenode, in particular, needs this at times. | |
45 | ||
46 | ** If the IRC process has not responded to our PINGs within a certain | |
47 | time, kill it and restart the connection. See | |
48 | `erc-server-auto-reconnect', `erc-server-reconnect-attempts', | |
49 | `erc-server-reconnect-timeout', `erc-server-send-ping-interval', and | |
50 | `erc-server-send-ping-timeout' to fine-tune ERC's behavior. | |
51 | ||
52 | ** Avoid getting into an infinite connection loop. | |
53 | Previously, this could happen if your nick was banned, you were using | |
54 | Tor, incorrect information was entered, or the connection was bad. | |
55 | ||
56 | ** Make ban messages less confusing. | |
57 | ||
58 | ** Restore the point correctly when reconnecting to an IRC server. | |
59 | ||
60 | ** Make /IGNORE and /UNIGNORE prompt to determine whether their | |
61 | argument is a user or a regexp. This results in less-confusing | |
62 | behavior when trying to ignore someone who has a bracket in their | |
63 | nick. | |
64 | ||
65 | ** Make the default port "6667" rather than "ircd", because some | |
66 | operating systems don't know what port "ircd" maps to. | |
67 | ||
68 | ** Fix several bugs in erc-iswitchb (C-c C-b). | |
69 | ||
70 | ** Clean up internal documentation. | |
71 | Special thanks go to Juanma Barranquero for the thorough vetting of | |
72 | ERC's internal documentation. | |
73 | ||
74 | ** Display a more informative message when a module is not found. | |
75 | ||
76 | ** Fix a bug where paths were being colored like IRC commands. | |
77 | ||
78 | ** In the customize interface for `erc-modules', add the name of the module. | |
79 | This makes it easier to find modules by name. | |
80 | ||
81 | ** erc-server-send-ping-interval: Change to use a default of 30 seconds. | |
82 | ||
83 | ** Some files which are included with the release of ERC 5.2 will not | |
84 | appear in the version of ERC that is bundled with Emacs 22. These | |
85 | extras files may be found at: | |
86 | ||
87 | o http://ftp.gnu.org/gnu/erc/erc-5.2-extras.tar.gz, or | |
88 | o http://ftp.gnu.org/gnu/erc/erc-5.2-extras.zip. | |
89 | ||
90 | ** Renamed files | |
91 | ||
92 | Several files were renamed so as to make them distinct to users of the | |
93 | MS-DOS operating system. | |
94 | ||
95 | o erc-autojoin.el -> erc-join.el | |
96 | o erc-complete.el -> erc-hecomplete.el | |
97 | o erc-nickserv.el -> erc-services.el | |
98 | o ChangeLog.NNNN -> ChangeLog.NN | |
99 | ||
100 | ** Header line changes | |
101 | ||
102 | *** Remove "[IRC]" from the header line. | |
103 | ||
104 | *** Add the %l format character to `erc-header-line-format', | |
105 | ||
106 | *** Document how to remove the header line. | |
107 | Namely: (setq erc-header-line-format nil). | |
108 | ||
10dc9f9e MB |
109 | ** New options |
110 | ||
111 | *** erc-server-reconnect-attempts: Determines the number of | |
112 | reconnection attempts that ERC will make per server. | |
113 | ||
ff59d266 MB |
114 | *** erc-server-reconnect-timeout: Determines the amount of time, |
115 | in seconds, that ERC will wait between successive reconnect attempts. | |
116 | ||
117 | *** erc-server-send-ping-timeout: Determines when to consider a connection | |
118 | stalled and restart it. The default is after 120 seconds. | |
119 | ||
120 | *** erc-system-name: Determines the system name to use when logging in. | |
121 | The default is to figure this out by calling `system-name'. | |
10dc9f9e | 122 | |
6904f7fe MB |
123 | ** New face: `erc-my-nick-face' |
124 | This helps make it easier to distinguish messages sent by yourself | |
125 | from messages sent by other users when the value of the variable | |
126 | `erc-show-my-nick' is non-nil. | |
127 | ||
ff59d266 MB |
128 | ** Namespace changes |
129 | ||
130 | *** New macro: `erc-with-server-buffer' | |
131 | Switches to the current ERC server buffer and runs some code. If no | |
132 | server buffer is available, return nil. This is a useful way to | |
133 | access variables in the server buffer. | |
134 | ||
135 | *** New function: `erc-open-server-buffer-p' | |
136 | Returns non-nil if the given buffer is an ERC server buffer that has | |
137 | an open IRC process. | |
138 | ||
139 | *** New function: `erc-format-lag-time' | |
140 | Returns the estimated lag time to server, `erc-server-lag'. | |
141 | ||
142 | *** Renamed items | |
143 | ||
144 | o `erc-server-setup-periodical-server-ping' is now | |
145 | `erc-server-setup-periodical-ping' | |
146 | ||
147 | o `erc-away-p' is now `erc-away-time' | |
148 | ||
149 | ** Changes to the ERC manual | |
150 | ||
151 | *** New section: Sample Session. | |
152 | Describes a sample ERC session for connecting to the #emacs channel on | |
153 | Freenode. Also mention the #erc channel. | |
154 | ||
155 | *** New section: Special Features. | |
156 | Describes some of the special features of ERC. | |
157 | ||
158 | *** Getting Started: Mention ~/.emacs.d/.ercrc.el and the Customize | |
159 | interface. | |
160 | ||
161 | *** Development: Mention ErcDevelopment page on emacswiki.org. | |
162 | ||
163 | *** Tips and Tricks: Remove empty section for now. | |
164 | ||
165 | *** Options: Mention how to see available ERC options. | |
166 | ||
167 | *** Sample Configuration: Add an example of how to configure ERC. | |
168 | ||
6904f7fe MB |
169 | ** New modules |
170 | ||
ff59d266 MB |
171 | *** Autoaway (erc-autoaway.el) |
172 | ||
173 | **** Make this much more reliable. | |
174 | ||
175 | **** Avoid duplicate messages when coming back from being away. | |
176 | ||
177 | **** Fix bug where autoaway was enabled just by loading the file. | |
178 | ||
179 | *** BBDB (erc-bbdb.el) | |
180 | ||
181 | **** Display information on how to cancel merging of info or how to | |
182 | create a new John Doe record. | |
183 | ||
184 | **** Make it so that information from /whois continues to come in, even | |
185 | while prompting for a record to merge. | |
186 | ||
187 | **** Make hitting C-g correctly abort merging the record. | |
188 | ||
6904f7fe MB |
189 | *** Capab identify (erc-capab.el) |
190 | Mark users who haven't identified to NickServ on servers supporting | |
191 | CAPAB IDENTIFY-MSG. | |
192 | ||
83dc6995 MB |
193 | ** Changes and additions to modules |
194 | ||
ff59d266 | 195 | *** Button (erc-button.el) |
cb0a26d3 | 196 | |
ff59d266 | 197 | **** Make <backtab> go to the previous button. |
cb0a26d3 | 198 | |
83dc6995 MB |
199 | *** Channel tracking (erc-track.el) |
200 | ||
201 | **** Use mouse-face and help-echo for channel names in the mode-line. | |
202 | This helps people using a mouse know that they are buttons and can be | |
203 | clicked on. | |
204 | ||
ff59d266 MB |
205 | **** Fix issue where C-c C-SPC could conflict with user-defined keybindings. |
206 | This is accomplished by moving these bindings to their own global | |
207 | minor mode. Now the default is to check whether the user has bound | |
208 | something to C-c C-SPC or C-c C-@. If they have, prompt them about | |
209 | whether to really override that binding. This also has the effect of | |
210 | preventing ERC from clobbering rcirc's keybinding, unless this is | |
211 | desired. See `erc-track-enable-keybindings' for more details. | |
212 | ||
213 | **** New option: erc-track-enable-keybindings. | |
214 | Determine whether or not to enable the C-c C-SPC and C-c C-@ | |
215 | keybindings. The default is to ask whether to do this if a binding to | |
216 | these keys already exists. It can also be set to t or nil to always | |
217 | bind or never bind, respectively. | |
218 | ||
219 | **** Remove `track-when-inactive' module. | |
220 | See `erc-track-when-inactive' for further details. | |
221 | ||
222 | **** New option: erc-track-when-inactive. | |
223 | This option replaces the track-when-inactive module. Set it to | |
224 | non-nil to track activity even in visible buffers when inactive. The | |
225 | default is nil. | |
226 | ||
227 | **** Remove the `track-modified-channels' alias for the `track' module. | |
228 | ||
229 | *** DCC support (erc-dcc.el) | |
230 | ||
231 | **** Add Usage section to Commentary. | |
232 | ||
233 | **** Fix a bug in the server message output. | |
234 | ||
235 | *** Filling (erc-fill.el) | |
236 | ||
237 | **** Fix bug involving messages that start with one or more blank lines. | |
238 | ||
239 | *** Identd (erc-identd.el) | |
240 | ||
241 | **** New option `erc-identd-port' | |
242 | Specifies the port to use if none is given as an argument to | |
243 | `erc-identd-start'. This is placed in the new customization group | |
244 | `erc-identd'. | |
245 | ||
246 | **** New function: `erc-identd-quickstart' | |
247 | Ignores any arguments and calls `erc-identd-start'. | |
248 | ||
249 | *** Channel lists (erc-list.el) | |
250 | ||
251 | **** Enable by default, except in the version of ERC bundled with Emacs 22. | |
252 | ||
253 | *** Logging (erc-log.el) | |
254 | ||
255 | **** Make sure filenames are safe to use before writing to them. | |
256 | ||
257 | **** Save all log buffers when exiting Emacs. | |
258 | ||
259 | **** erc-generate-log-file-name-function: Add option for | |
260 | `erc-generate-log-file-name-network', which is a new function that | |
261 | uses the network name rather than the server name when possible. | |
262 | ||
263 | *** Menu (erc-menu.el) | |
264 | ||
265 | **** Name the menu "ERC" instead of "IRC" to avoid confusion with rcirc | |
266 | and other clients. | |
267 | ||
268 | **** Make this into a proper module and load it by default. | |
269 | ||
270 | **** Add "Current channel" submenu. | |
271 | ||
272 | *** Networks (erc-networks.el) | |
273 | ||
274 | **** Add support for Ars OpenIRC, LinuxChix, and OFTC networks. | |
275 | ||
276 | **** Escape periods in Konfido.Net and Kewl.Org. | |
277 | ||
278 | *** Internet services / Nickserv (erc-nickserv.el) | |
279 | ||
280 | **** Add new 'both method for the `erc-nickserv-identify-mode' option | |
281 | and make it the default. This tries to do the right thing both when a | |
282 | known nickserv message exists for an IRC network, and when it does | |
283 | not. | |
284 | ||
285 | **** Support nickserv authentication on OFTC, Azzurra, Ars, and QuakeNet. | |
286 | ||
287 | **** Support authentication on BitlBee. | |
288 | ||
289 | **** Make source code easier to understand by using accessor functions. | |
290 | ||
291 | *** Sound support (erc-sound.el) | |
292 | ||
293 | **** Make this work with both Emacs 21 and Emacs 22. | |
294 | ||
295 | *** Timestamps (erc-stamp.el) | |
296 | ||
297 | **** Exclude the newline from the erc-timestamp field. | |
298 | ||
299 | **** New function: `erc-toggle-timestamps'. | |
300 | Toggles display of timestamps. | |
301 | ||
2e3ef421 MB |
302 | * Changes in ERC 5.1.4 |
303 | ||
304 | ** Make find-function and find-variable work in Emacs 22 for | |
305 | names that are constructed by `define-erc-module'. | |
306 | ||
307 | ** Fix bug introduced in ERC 5.1.3 that caused messages to go the | |
308 | wrong buffer. | |
309 | ||
310 | ** Changes and additions to modules | |
311 | ||
312 | *** Highlighting (erc-match.el) | |
313 | ||
314 | **** Don't activate view-mode. | |
315 | ||
316 | *** Logging (erc-log.el) | |
317 | ||
318 | **** When this module is activated, make sure logging is enabled on | |
319 | already-opened buffers. Ditto for disabling logging when the module | |
320 | is deactivated. | |
321 | ||
322 | **** Fix some errors that occur when exiting Emacs without first | |
323 | quitting open IRC servers. | |
d8bd1ad4 | 324 | |
0b6bb130 MB |
325 | * Changes in ERC 5.1.3 |
326 | ||
327 | ** Fix use of /quote command with no initial whitespace. | |
328 | ||
329 | ** Make it possible to customize the colorization of the header line. | |
330 | The `erc-header-line' face is used to color the header line. | |
331 | The `erc-header-line-face-method' determines the method to use when | |
332 | colorizing the header line. | |
333 | ||
334 | ** Add the new function `erc-handle-irc-url', which is a suitable | |
335 | candidate to use for `url-irc-function'. This permits some | |
336 | integration of url.el and ERC. | |
337 | ||
338 | ** Fix several errors that occur when server or channel buffers are killed | |
339 | prematurely. | |
340 | ||
341 | ** Fix toggling of flood control. | |
342 | ||
343 | ** Match the patterns in `erc-encoding-coding-alist' as regexps, | |
344 | instead of verbatim text. Also, match case-insensitively. | |
345 | ||
346 | ** The /SMV command has been removed, since we no longer have | |
347 | meaningful module-specific version information. | |
348 | ||
349 | ** Fix a "(stringp nil)" error that can happen when doing /PART. | |
350 | ||
351 | ** Use a better example in the `erc-part-reason-various-alist' | |
352 | documentation. | |
353 | ||
354 | ** When using `erc-quit-reason-various' and `erc-part-reason-various' | |
355 | and no matches are found, default to using the ERC version string | |
356 | rather than "nil". | |
357 | ||
358 | ** Add the `list' and `page' modules to the `erc-modules' customize | |
359 | interface. | |
360 | ||
361 | ** Changes to the ERC manual | |
362 | ||
363 | *** Update the list of available modules. | |
364 | ||
365 | *** Revise information about releases and development. | |
366 | ||
367 | *** Provide a simpler example in the "Getting Started" chapter. | |
368 | ||
369 | *** Fully document how to connect to an IRC server in the new | |
370 | "Connecting" chapter. | |
371 | ||
372 | ** Changes and additions to modules | |
373 | ||
374 | *** Autoaway (erc-autoaway.el) | |
375 | ||
376 | **** Rename the `erc-autoaway-use-emacs-idle' option to | |
377 | `erc-autoaway-idle-method'. | |
378 | ||
379 | **** Add support for autoaway based on user idle time. | |
380 | This is now the default. | |
381 | ||
382 | **** If you set the AWAY status yourself, erc-autoaway will not | |
383 | interfere by un-setting AWAY prematurely. | |
384 | ||
385 | **** If you are set away while visiting a non-ERC buffer, | |
386 | erc-autoaway used to fail in bringing the user back. This is now | |
387 | fixed. | |
388 | ||
389 | *** BBDB (erc-bbdb.el) | |
390 | ||
391 | **** Add new option `erc-bbdb-electric-p', which determines whether | |
392 | to make the BBDB buffer electric. This defaults to not electric. | |
393 | ||
394 | *** Button (erc-button.el) | |
395 | ||
396 | **** Use <backtab> instead of <C-tab> for `erc-button-previous'. | |
397 | ||
398 | *** Identd (erc-identd.el) | |
399 | ||
400 | **** Fix a bug that involves starting the identd server. | |
401 | ||
402 | **** Make this work with Emacs 22. | |
403 | ||
404 | **** Provide a real ERC module named `identd'. | |
405 | ||
406 | **** Don't create an extra buffer for the identd process. | |
407 | ||
ff59d266 MB |
408 | *** Channel lists (erc-list.el) |
409 | ||
410 | **** Enable by default, except in the version of ERC bundled with Emacs 22. | |
411 | ||
0b6bb130 MB |
412 | *** Logging (erc-log.el) |
413 | ||
414 | **** By default, don't insert old logs when opening an ERC buffer. | |
415 | This may be changed by customizing `erc-log-insert-log-on-open'. | |
416 | ||
417 | **** New option `erc-log-write-after-send' determines whether the | |
418 | log file will be written to after every sent message. The default is | |
419 | not to do this. | |
420 | ||
421 | **** New option `erc-log-write-after-insert' determines whether the | |
422 | log file will be written to when new text is added to a logged ERC | |
423 | buffer. The default is not to do this. With this option and the | |
424 | previous option, logging should no longer slow down ERC as much. | |
425 | ||
426 | **** Default to saving buffers and queries on quit. | |
427 | This may be changed by customizing the `erc-save-buffer-on-quit' and | |
428 | `erc-save-queries-on-quit' options, respectively. | |
429 | ||
430 | **** Only perform logging when the `logging' module is added to | |
431 | `erc-modules'. This prevents logging from being activated just by | |
432 | loading the erc-log.el file, and makes logging act like other ERC | |
433 | modules. | |
434 | ||
435 | *** Programmable completion (erc-pcomplete.el) | |
436 | ||
437 | **** Don't complete the user's current nickname. | |
438 | ||
d8bd1ad4 | 439 | * Changes in ERC 5.1.2 |
e7559e30 MB |
440 | |
441 | ** Fix compiler errors in erc-autojoin.el and erc-dcc.el. | |
442 | ||
443 | ** Move to end of prompt when ERC reconnects to a server. | |
444 | ||
445 | ** Changes and additions to modules | |
446 | ||
447 | *** Spell-checking (erc-spelling.el) | |
448 | ||
449 | **** Don't spell-check nicks or words that are prefixed with '/'. | |
450 | ||
451 | **** Remove flyspell properties from words we shouldn't spell-check. | |
452 | ||
453 | **** Fix an issue that caused the ispell process to reload every time | |
454 | we switch to an ERC buffer. | |
455 | ||
456 | *** Timestamps (erc-stamp.el) | |
457 | ||
458 | **** Fix an inconsistency in calculating width of right timestamps. | |
459 | ||
460 | **** Rename option `erc-timestamp-right-align-by-pixel' to | |
461 | `erc-timestamp-use-align-to'. This controls whether to use the more | |
462 | fail-proof method of aligning right timestamps, as mentioned below. | |
463 | ||
464 | **** Fix a right timestamp spacing problem that used to occur when | |
465 | erc-stamp.el was byte-compiled. Now that this is fixed, it is safe to | |
466 | use the method that aligns right timestamps perfectly in Emacs22 with | |
467 | X. If the current version of Emacs doesn't support this method, use | |
468 | the simpler method, which is prone to alignment issues for math | |
469 | symbols and other variable-width text. | |
470 | ||
471 | A side effect of using this new method is that there will only be one | |
472 | space before a right timestamp in any saved logs. If this is | |
473 | unacceptable, set `erc-timestamp-use-align-to' to nil. | |
474 | ||
8508e990 MB |
475 | * Changes in ERC 5.1.1 |
476 | ||
477 | ** Fix a requirement on cl.el. | |
478 | ||
479 | ** Use tls.el for SSL connections, rather than ssl.el. | |
480 | ||
481 | ** Changes and additions to modules | |
482 | ||
483 | *** ibuffer integration (erc-ibuffer.el) | |
484 | ||
485 | **** Update this to work with the version of ibuffer.el that comes with | |
486 | recent Emacs variants. | |
487 | ||
488 | *** Old completion (erc-complete.el) | |
489 | ||
490 | **** Fix a few errors. | |
491 | ||
492 | *** Speedbar (erc-speedbar.el) | |
493 | ||
494 | **** Make this work with the version of speedbar.el that comes with | |
495 | recent Emacs variants. | |
496 | ||
497 | *** Timestamps (erc-stamp.el) | |
498 | ||
499 | **** By default, use a more failsafe method of displaying right timestamps. | |
500 | To get right timestamps to align perfectly in Emacs22 using X, set the | |
501 | new `erc-timestamp-right-align-by-pixel' option to non-nil. | |
502 | ||
503 | *** Viper compatibility (erc-viper.el) | |
504 | ||
505 | **** Since most of these changes are now merged into Emacs22, detect | |
506 | whether we need these changes and install them only if necessary. | |
507 | ||
508 | * Changes in ERC 5.1 | |
597993cf MB |
509 | |
510 | ** Improve XEmacs compatibility. | |
511 | ||
512 | ** Namespace changes | |
513 | ||
514 | *** Now ERC doesn't use global variable space. | |
515 | Renamed all variables that didn't start with "erc-". | |
516 | ||
517 | o `away' is now `erc-away' | |
518 | ||
519 | o `current-nick' is now `erc-server-current-nick' | |
520 | ||
521 | o `last-peers' is now `erc-server-last-peers' | |
522 | ||
523 | o `last-ping-time' is now `erc-server-last-ping-time' | |
524 | ||
525 | o `last-sent-time' is now `erc-server-last-sent-time' | |
526 | ||
527 | o `lines-sent' is now `erc-server-lines-sent' | |
528 | ||
529 | o `quitting' is now `erc-server-quitting' | |
530 | ||
531 | *** Remove the `with-erc-channel-buffer' function. | |
532 | ||
533 | ** Bugfixes | |
534 | ||
535 | *** Don't inadvertently destroy face properties. | |
536 | ||
537 | *** Load erc scripts in a safer way. | |
538 | ||
539 | *** Don't insert a timestamp if text at point is invisible. | |
540 | ||
541 | *** Don't hide messages from those in `erc-fools' by default. | |
542 | Color their nicks instead. | |
543 | ||
544 | *** Use a more foolproof method of encoding and decoding strings | |
545 | before sending to a channel. | |
546 | ||
547 | ** Backend changes | |
548 | ||
549 | *** Renamed some server-specific variables | |
550 | ||
551 | o `erc-announced-server-name' is now `erc-server-announced-name' | |
552 | ||
553 | o `erc-auto-reconnect' is now `erc-server-auto-reconnect' | |
554 | ||
555 | o `erc-connect-function' is now `erc-server-connect-function' | |
556 | ||
557 | o `erc-default-coding-system' is now `erc-server-coding-system' | |
558 | ||
559 | o `erc-duplicate-timeout' is now `erc-server-duplicate-timeout' | |
560 | ||
561 | o `erc-duplicates' is now `erc-server-duplicates' | |
562 | ||
563 | o `erc-lag' is now `erc-server-lag' | |
564 | ||
565 | o `erc-prevent-duplicates' is now `erc-server-prevent-duplicates' | |
566 | ||
567 | o `erc-previous-read' is now `erc-server-filter-data' | |
568 | ||
569 | o `erc-process' is now `erc-server-process' | |
570 | ||
571 | o `erc-ping-handler' is now `erc-server-send-ping-handler' | |
572 | ||
573 | o `erc-ping-interval' is now `erc-server-send-ping-interval' | |
574 | ||
575 | *** Renamed some functions | |
576 | ||
577 | o `erc-connect' is now `erc-server-connect' | |
578 | ||
579 | o `erc-process-filter' is now `erc-server-filter-function' | |
580 | ||
581 | o `erc-send-command' is now `erc-server-send' | |
582 | ||
583 | o `erc-send-single-line' is now `erc-send-input' | |
584 | ||
585 | o `erc-setup-periodical-server-ping' is now | |
586 | `erc-server-setup-periodical-server-ping' | |
587 | ||
588 | o `erc-split-command is now `erc-split-line' | |
589 | ||
590 | *** New options | |
591 | ||
592 | o erc-server-flood-margin, erc-server-flood-penalty: New options | |
593 | that allow tweaking of flood control. | |
594 | ||
595 | o erc-split-line-length: The maximum line length of a single | |
596 | message. | |
597 | ||
598 | *** New variables | |
599 | ||
600 | o erc-server-flood-last-message, erc-server-flood-queue, | |
601 | erc-server-flood-timer: Flood control. | |
602 | ||
603 | o erc-server-processing-p: Indicate when we're currently processing | |
604 | a message. | |
605 | ||
606 | *** Remove some options | |
607 | ||
608 | o `erc-flood-limit' | |
609 | o `erc-flood-limit2' | |
610 | ||
611 | ** New customization group `erc-server' for dealing with IRC servers. | |
612 | ||
613 | ** ERC can now be installed by doing `make install' from the command line. | |
614 | ||
615 | ** ERC now has a manual in erc.texi. | |
616 | Type `make doc' to generate HTML and Info versions of it. | |
617 | ||
618 | ** ERC no longer depends on cl.el. | |
619 | Only the macros in cl-macs.el are used. | |
620 | ||
621 | ** Fix an edge case when quitting as new messages come in. | |
622 | ||
623 | ** Make flood protection toggle-able as on/off, removing the 'strict option. | |
624 | ||
625 | ** If possible, re-use channel buffers when reconnecting to a server. | |
626 | ||
627 | ** Text in ERC buffers is now read-only by default. | |
628 | To get the previous behavior, | |
629 | ||
630 | ** Changes and additions to modules | |
631 | ||
632 | *** Auto-join (erc-autojoin.el) | |
633 | ||
634 | **** Recognize the Azzurra server. | |
635 | ||
636 | *** BBDB (erc-bbdb.el) | |
637 | ||
638 | **** When the user types /WHOIS, ask for a record to merge to. | |
639 | ||
640 | **** Store the displayed name of a BitlBee contact. | |
641 | The new `erc-bbdb-bitlbee-name-field' option specifies the field to use | |
642 | to store this information. | |
643 | ||
644 | **** Don't prompt for a name on /JOIN or /NICK. | |
645 | ||
646 | *** Button (erc-button.el) | |
647 | ||
648 | **** Fix customization of `erc-button-alist' | |
649 | ||
650 | **** New option `erc-button-nickname-face' determines the face to use | |
651 | when coloring ERC nicknames. | |
652 | ||
653 | *** Channel tracking (erc-track.el) | |
654 | ||
655 | **** Remove channels from the modified channels list if not currently | |
656 | connected. This should remove residue from the mode line after | |
657 | quitting ERC. | |
658 | ||
659 | **** Recognize buttonized text | |
660 | ||
661 | *** Highlighting (erc-match.el) | |
662 | ||
663 | **** Highlight current nickname by default. | |
664 | ||
665 | **** Added the option of beeping when certain matches occur. | |
666 | Add `erc-beep-on-match' to `erc-text-matched-hook' to enable | |
667 | beeping. Set the new variable `erc-beep-match-types' which match | |
668 | types that make beeps. | |
669 | ||
670 | *** Nicklist (erc-nicklist.el) | |
671 | ||
672 | **** Fix a couple of errors. | |
673 | ||
674 | **** Make sure a stray mouse click doesn't trigger an error. | |
675 | ||
676 | **** Insert icons from the /images directory next to nicks. | |
677 | This indicates their away status. The location is customizable via | |
678 | the new `erc-nicklist-icons-directory' option. | |
679 | ||
680 | If you do not want these icons, set `erc-nicklist-use-icons' to nil. | |
681 | ||
682 | *** Nickserv identification (erc-nickserv.el) | |
683 | ||
684 | **** Recognize Azzurra and OFTC networks. | |
685 | ||
686 | *** Old completion (erc-complete.el) | |
687 | ||
688 | **** Disable by default. | |
689 | ||
690 | *** Programmable completion (erc-pcomplete.el) | |
691 | ||
692 | **** Enable by default. | |
693 | ||
694 | *** Timestamps (erc-stamp.el) | |
695 | ||
696 | **** On Emacs22, align right timestamps perfectly, even if variable-width | |
697 | characters are used. If we aren't using Emacs22, move text farther | |
698 | away from the right margin when variable-width characters are used. | |
699 | It is considered better to misalign the stamp by a bit than to go past | |
700 | the right margin. | |
701 | ||
702 | **** Enable by default | |
703 | ||
704 | ** New modules | |
705 | ||
706 | *** Spell-checking (erc-spelling.el) | |
707 | ||
708 | **** Use flyspell in ERC. | |
709 | ||
710 | *** Viper compatibility (erc-viper.el) | |
711 | ||
712 | **** Helps ERC work correctly in viper-mode. | |
713 | ||
8508e990 | 714 | * Changes in ERC 5.0.4 |
597993cf MB |
715 | |
716 | ** Fix a problem with undo in channels. | |
717 | ||
8508e990 | 718 | * Changes in ERC 5.0.3 |
597993cf MB |
719 | |
720 | ** Fix typo in the `ctcp-request-to' entry of the English catalog. | |
721 | ||
722 | ** Debugging with edegug has been made easier in all of the | |
723 | erc-with-* and with-erc* macros. | |
724 | ||
725 | ** Non-ASCII character sets should be better supported when sending | |
726 | and processing messages. | |
727 | ||
728 | ** A load failure with erc-autoaway.el and Emacs21 has been fixed. | |
729 | ||
730 | ** A few XEmacs warnings were fixed. | |
731 | ||
732 | ** Changes and additions to modules | |
733 | ||
734 | *** Backend (erc-backend.el) | |
735 | ||
736 | **** Move the check for hidden messages into `erc-display-message' | |
737 | so there isn't so much replicated code. | |
738 | ||
739 | **** Add `definition-name' property to constructed symbols so that | |
740 | `find-function' and `find-variable' will be able to locate them. | |
741 | ||
742 | **** Make sure logs are inserted info the correct channel buffers. | |
743 | There was previously an error when using `erc-insert-log-on-open' in | |
744 | combination with autojoin to multiple channels. | |
745 | ||
746 | *** Button (erc-button.el) | |
747 | ||
748 | **** The layering of `erc-button-face' on other faces in ERC buffers | |
749 | has been improved. | |
750 | ||
751 | *** Channel tracking (erc-track.el) | |
752 | ||
753 | **** Use optimal amount of whitespace around modified channels | |
754 | indicator. Previously, there was an additional unnecessary space. | |
755 | ||
756 | **** Fix an error that occurred when unchecked buffers existed when | |
757 | invoking /QUIT. | |
758 | ||
8508e990 | 759 | * Changes in ERC 5.0.2 |
597993cf MB |
760 | |
761 | ** If a channel key is required for a certain channel, ERC will prompt | |
762 | for one if `erc-prompt-for-channel-key' is non-nil. | |
763 | ||
764 | ** ERC doesn't try to reconnect if the network connection is refused | |
765 | when using `open-network-stream-nowait' as the `erc-connect-function'. | |
766 | ||
767 | ** Messages from multiple servers will not go to the currently active | |
768 | buffer. The messages from each server will be contained in the most | |
769 | recently active channel/server buffer that corresponds with the | |
770 | server. | |
771 | ||
772 | ** Some text messages were cleaned up slightly. | |
773 | ||
774 | ** Button faces should no longer "cover" other faces. | |
775 | ||
776 | ** Made some XEmacs compatibility fixes. | |
777 | ||
778 | ** Nicknames containing a backslash are now correctly highlighted as | |
779 | current-nick and buttonized as nicks. | |
780 | ||
781 | ** `erc-server-select' doesn't offer networks without servers as a | |
782 | choice anymore. | |
783 | ||
784 | ** Non-ASCII character support has been improved. | |
785 | ||
786 | ** Changes and additions to modules | |
787 | ||
788 | *** Menu (erc-menu.el) | |
789 | ||
790 | **** You can now save logs and truncate buffers from the menu-bar. | |
791 | ||
8508e990 | 792 | * Changes in ERC 5.0.1 |
597993cf MB |
793 | |
794 | ** Narrowing in ERC buffers no longer causes formatting errors. | |
795 | ||
796 | ** The BBDB module now loads correctly when customizing `erc-modules'. | |
797 | ||
798 | ** The value of `erc-button-face' is now respected. | |
799 | ||
800 | ** Fixed a bug which caused a read-only error during connection. | |
801 | ||
802 | ** Server buffers are now tracked correctly. | |
803 | This means that `erc-track-priority-faces-only', `erc-track-exclude', | |
804 | and `erc-track-exclude-types' now work with server buffers. | |
805 | ||
8508e990 | 806 | * Changes in ERC 5.0 |
597993cf MB |
807 | |
808 | ** Channel members are now stored as a hash-table. | |
809 | `erc-server-users' and `erc-channel-users' are now hash-tables, rather | |
810 | than alists. This significantly increases performance, especially in | |
811 | large channels. Each channel member is stored as an `erc-server-user' | |
812 | struct, with additional information about the channels they are on | |
813 | stored in an `erc-channel-user' struct. Code using old alist-style | |
814 | channel members needs to be updated to work with hash-tables. | |
815 | This new code also removes the need for erc-members.el, which has been | |
816 | removed. | |
817 | ||
818 | ** The way ERC deals with input from the server has changed. | |
819 | All server response code is now in a new file, erc-backend.el. There | |
820 | should be no real user visible changes. There are, however, a few | |
821 | major changes for implementers, and module writers: | |
822 | ||
823 | *** The PARSED response that all handlers get called with is | |
824 | no longer a vector, but an `erc-response' struct. | |
825 | ||
826 | This means LESS MAGIC NUMBERS in the ERC source code, but a few | |
827 | changes in how you get at parsed responses. | |
828 | ||
829 | The sender is accessed via `erc-response.sender'. | |
830 | ||
831 | The command is accessed via `erc-response.command'. | |
832 | ||
833 | The arguments to the command (everything after the command and | |
834 | before the colon) are accessed via `erc-response.command-args'. | |
835 | This is a /list/ of arguments in the order they appear in the | |
836 | unparsed response. | |
837 | ||
838 | The contents of the response is accessed via | |
839 | `erc-response.contents'. | |
840 | ||
841 | Should, for some reason, you want to do something with the | |
842 | /unparsed/ response, you can get it via `erc-response.unparsed'. | |
843 | ||
844 | *** The `erc-server-hook-list' mechanism is gone. | |
845 | ||
846 | All server response handlers should be defined with | |
847 | `define-erc-response-handler'. This defines functions and | |
848 | corresponding hook variables. | |
849 | ||
850 | The mapping of server commands to hook variables is no longer | |
851 | done via `erc-event-to-hook', but through an #'equal hashtable, | |
852 | `erc-server-responses'. In order to find a hook you do: | |
853 | ||
854 | (erc-get-hook command) | |
855 | ||
856 | See the docstring of `define-erc-response-handler' for more | |
857 | information. | |
858 | ||
859 | *** ALL hook variables have been renamed. | |
860 | ||
861 | In accordance with recommendations in the Emacs Lisp manual, | |
862 | the hook variables are no longer called `erc-server-FOO-hook', | |
863 | but rather `erc-server-FOO-functions'. This is to indicate | |
864 | that the functions they call take arguments. | |
865 | ||
866 | All the modules in ERC have been updated to reflect this change, | |
867 | but external module authors should beware. | |
868 | ||
869 | ** The values of `erc-mode-line-format' and `erc-header-line-format' | |
870 | are now defined as strings to be formatted using `format-spec'. | |
871 | `erc-mode-line-format' does not replace the whole mode-line anymore, | |
872 | only `mode-line-buffer-identification' is set. This way, personal | |
873 | mode-line configurations are not modified and all key bindings work as | |
874 | expected. The process status (connecting, closed) is now shown in | |
875 | `mode-line-process'. | |
876 | ||
877 | ** Customization of ERC variables has been made easier. Variables | |
878 | have been split into more groups for better organization. | |
879 | ||
880 | ** New variables | |
881 | ||
882 | o `erc-send-whitespace-lines' - Set this to send lines even if they | |
883 | are empty. | |
884 | ||
885 | o `erc-manual-set-nick-on-bad-nick-p' - If the nickname you chose is | |
886 | already taken or not allowed, your nick is not changed and you can | |
887 | try again manually if this is non-nil. | |
888 | ||
889 | o `erc-mode-line-away-status-format' - You can now set what is shown | |
890 | in the mode-line when you are away. | |
891 | ||
892 | o `erc-header-line-uses-help-echo-p' - The header-line now uses the | |
893 | help-echo property. You can set this to nil to disable it. | |
894 | ||
895 | o `erc-format-query-as-channel-p' - Set this to nil to have messages | |
896 | in the query buffer formatted like private messages. | |
897 | ||
898 | o `erc-show-channel-key-p' - The channel key is now shown with the | |
899 | other channel modes in the header line. Set this to nil if you | |
900 | want it hidden. | |
901 | ||
902 | o `erc-prompt-for-channel-key' - Set this if you want to be prompted | |
903 | for the channel key (channel's mode is +k) when you call | |
904 | `erc-join-channel' interactively. | |
905 | ||
906 | o `erc-kill-server-buffer-on-quit' - If non-nil, kill the server | |
907 | buffer automatically when you quit. | |
908 | ||
909 | ** New hooks | |
910 | ||
911 | o `erc-join-hook' - Called when you join a channel. | |
912 | ||
913 | o `erc-kick-hook' - Called when you are kicked from a channel. The | |
914 | channel's buffer is sent as an argument to functions called from | |
915 | this hook. | |
916 | ||
917 | o `erc-nick-changed-functions' - Whenever your nickname changes | |
918 | successfully, the functions in this hook are run with the | |
919 | arguments NEW-NICK and OLD-NICK. | |
920 | ||
921 | ** New command /WHOAMI - Do a /WHOIS on your current nickname. | |
922 | ||
923 | ** The key binding for changing channel modes is now C-c C-o. | |
924 | ||
925 | ** Removed variables | |
926 | ||
927 | o `erc-echo-notices-in-minibuffer-flag' and | |
928 | `erc-echo-notices-in-current-buffer' - You should use | |
929 | `erc-echo-notice-hook' and `erc-echo-notice-always-hook' instead. | |
930 | ||
931 | o `erc-prompt-interactive-input' has been removed (commented out) | |
932 | because nickname completion does not work with it. | |
933 | ||
934 | o All INFO buffer-related variables and functions have been removed. | |
935 | ||
936 | ** You can now disable modules by setting `erc-modules' with the | |
937 | customization interface. | |
938 | ||
939 | ** Changes and additions to modules | |
940 | ||
941 | *** Autoaway (erc-autoaway.el) | |
942 | ||
943 | **** New variable `erc-autoaway-no-auto-back-regexp' - Add text which, | |
944 | when you type anything matching it, will not automatically discard | |
945 | your away status when `erc-auto-discard-away' is non-nil. | |
946 | ||
947 | *** Filling (erc-fill.el) | |
948 | ||
949 | **** New variable `erc-fill-variable-maximum-indentation' - Don't | |
950 | indent more than this many characters when indenting a message from a | |
951 | user with a long nickname. | |
952 | ||
953 | *** Goodies (erc-goodies.el) | |
954 | ||
955 | **** Miscellaneous small modules have been moved from erc.el. | |
956 | The functions erc-add-scroll-to-bottom, erc-make-read-only, | |
957 | erc-send-distinguish-noncommands, erc-interpret-controls, erc-unmorse, | |
958 | erc-smiley, and erc-occur, which were defined in the main erc.el file | |
959 | have been moved to erc-goodies.el and have mostly been translated to | |
960 | the modules scrolltobottom, readonly, noncommands, irccontrols, smiley | |
961 | and unmorse. | |
962 | ||
963 | **** New variables | |
964 | ||
965 | o `erc-input-line-position' - The line number to use with | |
966 | `erc-scroll-to-bottom'. | |
967 | ||
968 | o `erc-beep-p' - Beep if there is a \C-g control character in a | |
969 | message. | |
970 | ||
971 | *** Channel lists (erc-list.el) | |
972 | ||
973 | **** New variable `erc-chanlist-highlight-face' - A face used for | |
974 | highlighting the current line. | |
975 | ||
976 | *** Highlighting (erc-match.el) | |
977 | ||
978 | **** `erc-current-nick-highlight-type' has new options: 'keyword and | |
979 | 'nick-or-keyword. | |
980 | ||
981 | *** Menu (erc-menu.el) | |
982 | ||
983 | **** The `IRC' menu is now automatically added to `erc-mode' buffers. | |
984 | ||
985 | *** Networks (erc-nets.el) | |
986 | ||
987 | **** The functions for determining current network are in this file. | |
988 | There were a couple of functions spread about in different files which | |
989 | each had a different way of determining the current network. The | |
990 | methods have been combined, and the big list of known networks | |
991 | (`erc-networks-alist') is being put to use. You can access the | |
992 | network's name by calling the new function `erc-network'. This | |
993 | returns the name of the current network as a symbol or 'Unknown if it | |
994 | could not determine which network it is. | |
995 | ||
996 | *** Nicklist (erc-nicklist.el) | |
997 | ||
998 | **** ERC has a new way of displaying nicknames in a channel. | |
999 | The new file erc-nicklist.el defines a new command `erc-nicklist' | |
1000 | which pops up a small Emacs window showing the nicknames of all | |
1001 | members of the current channel. The implementation is not complete | |
1002 | and is rather proof-of-concept for now. The result is something a bit | |
1003 | like erc-speedbar, but not quite as invasive, and doesn't require use | |
1004 | of a new frame. | |
1005 | ||
1006 | *** Internet services / Nickserv (erc-nickserv.el) | |
1007 | ||
1008 | **** Network detection is now taken care of by erc-nets.el. | |
1009 | The function `erc-current-network' is deprecated, use `erc-network' | |
1010 | instead. The variable `erc-networks' has been removed, use | |
1011 | `erc-networks-alist'. The network symbols used in | |
1012 | `erc-nickserv-alist' now match those in `erc-networks-alist'. | |
1013 | ||
1014 | **** New variable `erc-nickserv-identify-mode' - Choose which method | |
1015 | to use for automatic identification: you can wait for Nickserv to ask | |
1016 | you to identify (the default), or send an identify message | |
1017 | automatically after you change your nickname. | |
1018 | ||
1019 | *** Speedbar (erc-speedbar.el) | |
1020 | ||
1021 | **** New variable `erc-speedbar-sort-users-type' - Sort users in a | |
1022 | channel by activity, alphabetically, or not at all. | |
1023 | ||
1024 | *** Timestamps (erc-stamp.el) | |
1025 | ||
1026 | **** `erc-timestamp-only-if-changed-flag' now works when | |
1027 | `erc-insert-timestamp-function' is set to 'erc-insert-timestamp-left. | |
1028 | ||
1029 | **** New variable `erc-timestamp-intangible' - Set this to nil if | |
1030 | timestamps should not have the 'intangible property. | |
1031 | ||
1032 | *** Channel tracking (erc-track.el) | |
1033 | ||
1034 | **** Using faces to indicate channel activity in the modeline now works | |
1035 | in XEmacs. | |
1036 | ||
1037 | **** New variables | |
1038 | ||
1039 | o `erc-track-priority-faces-only' - Ignore changes in a channel | |
1040 | unless there is a face from the `erc-track-faces-priority-list' in | |
1041 | the message. | |
1042 | ||
1043 | o `erc-track-exclude-server-buffer' - Ignore changes in the server | |
1044 | buffer. | |
1045 | ||
1046 | o `erc-track-position-in-mode-line' - Set the position in the | |
1047 | mode-line where modified channels are shown (only works in GNU | |
1048 | Emacs versions above 21.3). | |
1049 | ||
8508e990 | 1050 | * Changes in ERC 4.0 |
597993cf MB |
1051 | |
1052 | ** The module system has again changed a lot. You can now customize | |
1053 | the variable `erc-modules' and define once and for all which | |
1054 | extension modules you want to use. This unfortunately may require | |
1055 | you to change your current erc initialisation code a bit, if you | |
1056 | have some existing customsations. On the other hand, this change | |
1057 | makes the configuration of extension modules a lot easier for new | |
1058 | users. In theory, you should be able to configure all aspects of | |
1059 | ERC by using the customize interface, you should no longer really | |
1060 | need to write Lisp code for trivial customizations. | |
1061 | ||
1062 | By default, the following modules are now loaded: (pcomplete | |
1063 | netsplit fill track ring button autojoin) | |
1064 | ||
1065 | Please use M-x customize-variable RET erc-modules RET to change the | |
1066 | default if it does not suite your needs. | |
1067 | ||
1068 | ** THe symbol used in `erc-nickserv-passwords' for debian.org IRC servers | |
1069 | (formerly called OpenProjects, now FreeNode) has changed from | |
1070 | openprojects to freenode. You may need to update your configuration | |
1071 | for a successful automatic nickserv identification. | |
1072 | ||
8508e990 | 1073 | * Changes in ERC 3.0.cvs.20030119 |
597993cf MB |
1074 | |
1075 | ** New module erc-dcc: | |
1076 | ||
1077 | This finally implements DCC. It requires server sockets to fully work | |
1078 | in both directions. This feature is currently only available in Emacs | |
1079 | 21.3.50 (CVS). Here is a short list of what should work though. | |
1080 | ||
1081 | ** Compatibility: | |
1082 | * Emacs 21.2, DCC get, and accepting DCC chat offers. | |
1083 | * XEmacs 21, Only accepting DCC chat offers. | |
1084 | ||
1085 | ** erc is switching to global-minor-modes for activation of submodules. | |
1086 | ||
1087 | This allows you to customize such a mode and get automatic loading of | |
1088 | the module. No longer putting a lot of require statments in .emacs. | |
1089 | At least this is the long-term plan, not all modules are converted | |
1090 | yet. | |
1091 | ||
1092 | ** The most important user visible change is that you now need to activate | |
1093 | erc-completion-mode, to get TAB completion. The new completion code | |
1094 | is based on pcomplete. To get the old code, manually load | |
1095 | erc-complete and bind TAB to erc-complete in erc-mode-map. | |
1096 | ||
1097 | To activate completion on startup, put (erc-completion-mode 1) in your | |
1098 | .emacs file. | |
1099 | ||
1100 | Same applies to timestamps. You no longer need to (require | |
1101 | 'erc-stamp), you can customize the variable `erc-timestamp-mode', and | |
1102 | the rest should be automatic. | |
1103 | ||
5b87ad55 GM |
1104 | \f |
1105 | This file is part of GNU Emacs. | |
1106 | ||
1107 | GNU Emacs is free software; you can redistribute it and/or modify | |
1108 | it under the terms of the GNU General Public License as published by | |
fca4a5de | 1109 | the Free Software Foundation; either version 3, or (at your option) |
5b87ad55 GM |
1110 | any later version. |
1111 | ||
1112 | GNU Emacs is distributed in the hope that it will be useful, | |
1113 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
1114 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
1115 | GNU General Public License for more details. | |
1116 | ||
1117 | You should have received a copy of the GNU General Public License | |
1118 | along with GNU Emacs; see the file COPYING. If not, write to the | |
1119 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
1120 | Boston, MA 02110-1301, USA. | |
1121 | ||
597993cf | 1122 | arch-tag: 2b21b387-6cdc-4192-889c-6743cfffdcb1 |