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