Debian Codegraph @

ERC-NEWS

raw
1 ERC NEWS -*- outline -*-
2
3 Copyright (C) 2006-2023 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
5
6 Please send ERC bug reports to '[email protected]',
7 and Cc the '[email protected]' mailing list as well.
8 If possible, use 'M-x erc-bug' or 'M-x report-emacs-bug'.
9
10 This file is about changes in ERC, the powerful, modular, and
11 extensible IRC (Internet Relay Chat) client distributed with
12 GNU Emacs since Emacs version 22.1.
13
14
15 * Changes in ERC 5.5
16
17 ** Smarter buffer naming for withstanding collisions.
18 ERC buffers now remain tied to their logical network contexts, even
19 while offline. These associations can survive regional server changes
20 and the intercession of proxies. As has long been practiced in other
21 areas of Emacs, "uniquified" buffer renaming prevents collisions
22 between buffers of different contexts. ERC's approach prioritizes
23 predictability over economy, favoring fully qualified suffixes without
24 elided or omitted components. Potential avenues for confusion remain
25 but will die out with the adoption of emerging protocol extensions.
26
27 ** Option 'erc-rename-buffers' deprecated.
28 The promises made by its old "on" state are now fully realized and
29 enabled permanently by default. Its old behavior when disabled has
30 been preserved and will remain available (with warnings) for years to
31 come.
32
33 ** Option 'erc-reuse-buffers' deprecated.
34 This ancient option has been a constant source of confusion, as
35 exhibited most recently when its "disabled" meaning was partially
36 inverted. Introduced in ERC 5.4 (Emacs 28.1), this regression saw
37 existing channel buffers transparently reassociated instead of created
38 anew. The pre-5.4 "disabled" behavior has been restored and will
39 remain accessible for the foreseeable future, warts and all (e.g.,
40 with its often superfluous "/DIALED-HOST" suffixing always present).
41
42 ** The 'networks' module is now quasi-required.
43 The 'networks' module is now all but required for everyday interactive
44 use. A default member of 'erc-modules' since ERC 5.3, 'networks' has
45 grown increasingly integral to core client operations over the years.
46 From now on, only the most essential operations will be officially
47 supported in its absence, and users will see a warning upon invoking
48 an entry point, like 'erc-tls', when that's the case.
49
50 On a related note, the function 'erc-network' now always returns
51 non-nil in buffers created by a successfully established IRC
52 connection, even after that connection has been closed. This was done
53 to aid the overall effort to improve buffer association.
54
55 ** Tighter auth-source integration.
56 The days of hit-and-miss auth-source queries are hopefully behind us.
57 With the overhaul of the services module temporarily shelved and the
58 transition to SASL-based authentication still underway, users may feel
59 left in the lurch to endure yet another release cycle of backtick
60 hell. For some, auth-source may provide a workaround in the form of
61 nonstandard server passwords. See the section entitled "auth-source"
62 in the Integrations chapter of ERC's manual.
63
64 ** Rudimentary SASL support has arrived.
65 A new module, 'erc-sasl', now ships with ERC. See Info node "(erc)
66 SASL" in the manual for details.
67
68 ** Username argument for entry-point commands.
69 Commands 'erc' and 'erc-tls' now accept a ':user' keyword argument,
70 which, when present, becomes the first argument passed to the "USER"
71 IRC command. The traditional way of setting this globally, via
72 'erc-email-userid', is still honored.
73
74 ** Changes to display options for new ERC buffers.
75 The default value for the option 'erc-join-buffer', which determines
76 how new buffers are displayed, has been changed to 'bury' for security
77 reasons. Although the old value of 'buffer' is still accessible,
78 along with its original behavior, users wanting a safer alternative
79 can now opt for an improved 'window-noselect' instead. It still
80 offers the same pronounced visual cue when connecting and joining but
81 now avoids any hijacking of the active window as well.
82
83 Beyond this, additional flexibility is now available for controlling
84 the behavior of newly created target buffers during reconnection.
85 See the option 'erc-reconnect-display' for more.
86
87 ** Improved handling of multiline prompt input.
88 This means better detection and handling of intervening and trailing
89 blanks when 'erc-send-whitespace-lines' is active. New options have
90 also been added for warning when input spans multiple lines. Although
91 off by default, new users are encouraged to enable them. See options
92 'erc-inhibit-multiline-input' and 'erc-ask-about-multiline-input'.
93
94 ** URL handling has improved.
95 Clicking on 'irc://' and 'ircs://' links elsewhere in Emacs now does
96 the right thing most of the time. However, for security reasons,
97 users are now prompted to confirm connection parameters prior to lift
98 off. See the new '(erc) Integrations' section in the Info manual for
99 details.
100
101 ** ERC's major-mode hook now runs slightly later.
102 The function 'erc-open' now delays running 'erc-mode-hook' until ERC's
103 prompt and its bounding markers and many essential local variables
104 have been initialized. Those essentials include the familiar
105 'erc-default-recipients', 'erc-server-users', and 'erc-network', as
106 well as the various "session" variables, like 'erc-session-connector'.
107 ERC activates "local modules" immediately afterward, just before
108 running 'erc-connect-pre-hook', which is still useful for gaining a
109 full accounting of what's been set.
110
111 In similar news, 'erc-open' no longer calls 'erc-update-modules'.
112 However, it still activates modules in a similar fashion, meaning,
113 among other things, global-module setup still occurs before major-mode
114 activation (something that's here to stay for compatibility reasons).
115
116 ** Miscellaneous behavioral changes impacting the user experience.
117 A bug has been fixed that saw prompts being mangled, doubled, or
118 erased in server buffers upon disconnection. Instead, input prompts
119 now collapse into an alternate form designated by the option
120 'erc-prompt-hidden'. Behavior differs for query and channel buffers
121 but can be fine-tuned via the repurposed, formerly abandoned option
122 'erc-hide-prompt'.
123
124 Another fix-turned-feature involves certain commands provided by the
125 'erc-match' module, such as 'erc-add-keyword', 'erc-add-pal', and
126 others, which now optionally offer to 'regexp-quote' the current
127 input. The old behavior, if desired, can still be had via the new
128 option 'erc-match-quote-when-adding'.
129
130 In 5.4, support for using network symbols as keys was added for
131 'erc-autojoin-channels-alist'. This has been extended to include
132 explicit symbols passed to 'erc-tls' and 'erc' as so-called
133 network-context identifiers via a new ':id' keyword. The latter
134 carries wider significance beyond autojoin and can be used for
135 unequivocally identifying a connection in a human-readable way.
136
137 A number of UX-centric bug fixes accompany this release. For example,
138 spaces are now possible in server passwords, and users of the Soju
139 bouncer should no longer see outgoing messages pile up during periods
140 of heavy traffic. See the Emacs change log for the full complement.
141
142 ** Miscellaneous behavioral changes in the library API.
143 A number of core macros and other definitions have been moved to a new
144 file called erc-common.el. This was done to help mitigate various
145 complications arising from the mutual dependency between 'erc' and
146 'erc-backend'.
147
148 Also on the maintainability front, ERC now relies on the Compat
149 library from GNU ELPA to supply forward compatibility shims for users
150 running older versions of Emacs. The required Compat version resides
151 atop ERC's main library file, in the 'Package-Requires' header.
152 Third-party modules should benefit automatically from its adoption.
153
154 In an effort to help further tame ERC's complexity, the variable
155 'erc-default-recipients' is now expected to hold but a single target.
156 As a consequence, functions like 'erc-add-default-channel' that
157 imagine an alternate, aspirational model of buffer-target relations
158 have been deprecated. See Emacs change-log entries from around July
159 of 2022 for specifics.
160
161 A number of less consequential deprecations also debut in this
162 release. For example, the function 'erc-auto-query' was deemed too
163 difficult to understand, behavior wise, and has thus been stricken
164 from the client code path with no public replacement. Although likely
165 uncontroversial, such changes may still spell disruption for some. If
166 you find yourself among them and in need of explanations, please see
167 related entries in the change log and discussions on the bug tracker.
168
169 Although this release is light on API features, some groundwork has
170 been laid for what may become a new breed of ERC module, namely,
171 "connection-local" (or simply "local") modules. This marks a small
172 but crucial step forward toward a more flexible and granular revamping
173 of ERC's long touted extensibility. See the Info node "(erc) Local
174 Modules" for details.
175
176 Lastly, a few internal variables have been introduced that could just
177 as well have been made public, possibly as user options. Likewise for
178 some internal functions. As always, users needing such functionality
179 officially exposed are encouraged to write to [email protected].
180
181
182 * Changes in ERC 5.4.1
183
184 ** No user-visible changes since ERC 5.4, but a few tweaks in some ERC
185 file headers and the ERC manual in order to successfully build ERC for
186 GNU ELPA. (See below for the news item of ERC now being distributed
187 on GNU ELPA in addition to its continued inclusion in GNU Emacs core.)
188
189
190 * Changes in ERC 5.4
191
192 ** Starting with Emacs 28.1 and ERC 5.4, ERC NEWS are added here again.
193 After ERC 5.3, since November 2012, ERC's NEWS items were added in the
194 main Emacs NEWS file, and users were referred to there. Now, starting
195 with Emacs 28.1 and ERC 5.4, which mark ERC's release to GNU ELPA, ERC
196 NEWS have been moved to this file again, so that we can include a NEWS
197 file consisting only of ERC changes in ERC's package on GNU ELPA.
198
199 The NEWS entries for ERC changes in Emacs 28.1 have been moved from
200 the main Emacs NEWS file to here. For ERC NEWS entries corresponding
201 to Emacs versions before 28, to avoid modifying the NEWS file for all
202 of those releases, the ERC NEWS entries have only been copied below,
203 and the NEWS.* files were left intact.
204
205 ** ERC is now available on GNU ELPA.
206 Starting with ERC 5.4, in addition to being distributed with GNU Emacs
207 itself, ERC is also included in GNU ELPA, allowing users to enjoy the
208 improvements of newer ERC versions on older Emacs versions as well.
209
210 ERC's package page on GNU ELPA: https://elpa.gnu.org/packages/erc.html
211
212 ** New option 'erc-rename-buffers'.
213
214 ** New faces 'erc-my-nick-prefix-face' and 'erc-nick-prefix-face'.
215
216 ** 'erc-format-@nick' displays all user modes instead of only op and voice.
217
218 ** The display of irc commands in the current buffer has been disabled.
219
220 ** 'erc-version' now follows the Emacs version.
221
222 ** ERC can now hide message types by network or channel.
223 'erc-hide-list' will hide all messages of the specified type, while
224 'erc-network-hide-list' and 'erc-channel-hide-list' will only hide the
225 specified message types for the respective specified targets.
226
227 ** Reconnection is now asynchronous.
228
229 ** Nick completion is now case-insensitive again after inadvertently
230 being made case-sensitive in Emacs 24.2.
231
232 ** New variable 'erc-default-port-tls' used to connect to TLS IRC
233 servers.
234
235 ** New hook 'erc-insert-done-hook'.
236 This hook is called after strings have been inserted into the buffer,
237 and is free to alter point and window configurations, as it's not
238 called from inside a 'save-excursion', as opposed to 'erc-insert-post-hook'.
239
240 ** 'erc-button-google-url' has been renamed to 'erc-button-search-url'
241 and its value has been changed to Duck Duck Go.
242
243 ** 'erc-send-pre-hook' and 'erc-send-this' have been obsoleted.
244 The user option to use instead to alter text to be sent is now
245 'erc-pre-send-functions'.
246
247 ** Improve matching/highlighting of nicknames.
248 Open and close parenthesis and apostrophe are not considered valid
249 nick characters anymore, matching the given grammar in RFC 2812
250 section 2.3.1. This enables correct matching and highlighting of
251 nicks when they are surrounded by parentheses, like "(nick)", and when
252 adjacent to an apostrophe, like "nick's".
253
254 ** Set 'erc-button-url-regexp' to 'browse-url-button-regexp'
255 which better handles surrounding pair of parentheses.
256
257 ** New function 'erc-switch-to-buffer-other-window'
258 which is like 'erc-switch-to-buffer', but opens the buffer in another
259 window.
260
261 ** New function 'erc-track-switch-buffer-other-window'
262 which is like 'erc-track-switch-buffer', but opens the buffer in
263 another window.
264
265 ** NickServ passwords can now be retrieved from auth-source.
266 The 'erc-use-auth-source-for-nickserv-password' user option enables
267 querying auth-source for NickServ passwords. To enable this, add the
268 following to your init file:
269
270 (setq erc-use-auth-source-for-nickserv-password t)
271
272 ** NickServ identification now prompts for password last.
273 When 'erc-prompt-for-nickserv-password' is non-nil, the user used to
274 be unconditionally prompted interactively for a password, regardless
275 of the value of 'erc-nickserv-passwords', which was effectively
276 ignored (same for the new
277 'erc-use-auth-source-for-nickserv-password'). This limitation is now
278 lifted, and the user is interactively prompted last, after the other
279 identification methods have run.
280
281 ** The '/ignore' command will now ask for a timeout to stop ignoring the user.
282 Allowed inputs are seconds or ISO8601-like periods like "1h" or "4h30m".
283
284 ** ERC now recognizes 'C-]' for italic text.
285 Italic text is displayed in the new 'erc-italic-face'.
286
287 ** erc-match.el now supports 'message' highlight type (not including the nick).
288 The 'erc-current-nick-highlight-type', 'erc-pal-highlight-type',
289 'erc-fool-highlight-type', 'erc-keyword-highlight-type', and
290 'erc-dangerous-host-highlight-type' user options now support a
291 'message' type for highlighting the entire message but not the
292 sender's nick.
293
294 ** erc-status-sidebar.el is now part of ERC.
295 The 'erc-status-sidebar' package which provides a HexChat-like
296 activity overview sidebar for joined IRC channels is now part of ERC.
297
298 ** erc-tls now supports specifying a TLS client certificate.
299 The 'erc-tls' function has been updated to allow specifying a TLS
300 client certificate for authentication, as an alternative to NickServ
301 password-based authentication. This is referred to as "CertFP" (short
302 for Certificate Fingerprint) by several IRC networks. See the Info
303 node "(erc) Connecting" in the ERC manual for more details and
304 examples on how to specify and use TLS client certificates with
305 'erc-tls'.
306
307 ** Update IRC-related references to point to Libera.Chat.
308 The Free Software Foundation and the GNU Project have moved their
309 official IRC channels from the Freenode network to Libera.Chat.
310 For the original announcement and the follow-up update, including
311 more details, see:
312
313 https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00005.html
314 https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00007.html
315
316 Given the relocation of GNU and FSF's official IRC channels, as well
317 as #emacs and various other Emacs-themed channels (see the link below)
318 to Libera.Chat, IRC-related references in the Emacs repository have
319 now been updated to point to Libera.Chat.
320
321 https://lists.gnu.org/archive/html/info-gnu-emacs/2021-06/msg00000.html
322
323 ** Add 'erc-track-select-mode-line-face' (obsoletes 'erc-track-find-face').
324 The 'erc-track-find-face' function of the erc-track module has been
325 declared obsolete and rewritten as 'erc-track-select-mode-line-face',
326 with different expected arguments (the current and old faces are now
327 separated) and clearer documentation.
328
329 ** Add '/opme' and '/deopme' convenience commands.
330 The new '/opme' convenience command asks ChanServ to set the operator
331 status for the current nick in the current channel, and '/deopme'
332 unsets it.
333
334 ** Add '/wii' convenience command for whois with idle time.
335 The new '/wii' convenience command calls the '/whois' command with the
336 given nick as both arguments, which is useful for displaying the whois
337 information for the nick along with idle time, even if the nick is on
338 a different server than the one the current user is connected to.
339 Using the given nick itself instead of the server it is connected to
340 is not standardized, but is widely supported across IRC networks.
341
342 ** Add 'erc-bug' command for reporting ERC bugs.
343 The new 'erc-bug' command prompts for a subject, and passes it on to
344 'report-emacs-bug' along with the current ERC version, and adds the
345 ERC mailing list in Cc.
346
347
348 * Changes in ERC 5.3
349
350 ** New function `erc-tls' is to be used for connecting to a server via TLS.
351 It requires the tls.el library.
352
353 ** The function `erc-ssl' will now always use ssl.el, even in the version
354 of ERC that comes with Emacs.
355
356 ** Type `C-u' before `C-c C-j' to prompt for a channel key
357 `erc-join-channel' now accepts a prefix-argument to prompt for the key
358 when channels are protected by keywords.
359
360 ** ERC will now automatically determine which nick prefixes are valid
361 when joining a server.
362
363 ** Figure out which directory contains startup files when looking for
364 .erc.el. For Emacs this is usually ~/.emacs.d, and for XEmacs this is
365 usually ~/.xemacs.
366
367 ** Fix bug with view-mode when running erc-toggle-debug-irc-protocol.
368
369 ** Permit several commands to be run even when the server connection is dead.
370 This includes /CLEAR, /COUNTRY, /HELP, /LASTLOG, /QUIT, /GQUIT,
371 /RECONNECT, /SERVER, and /SET.
372
373 ** Make /RECONNECT work better when the server connection is dead.
374 Also, handle case where the server buffer has been killed.
375
376 ** Better handle interaction with /RECONNECT and indefinite reconnect
377 attempts. Display message which tells the user that they can stop the
378 reconnect attempts by killing the server buffer.
379
380 ** New option `erc-reuse-frames' determines whether new frames are always
381 created. It defaults to not creating a new frame for an ERC buffer if
382 there is already a window displaying it. This only has an effect when
383 the `erc-join-buffer' option is set to 'frame.
384
385 ** New command /ME'S handles the case where someone types "/me's" in an
386 ERC buffer. It concatenates the text " 's" to the beginning of the
387 input and then sends the result like a normal /ME command.
388
389 ** Fix bug where some messages were being sent to the server too soon.
390 In the past, this may have resulted in strange problems like seeing
391 the connection attempt stall, which may have especially affected
392 spotty or traffic-shaped connections.
393
394 ** Handle 307 (nick has identified) responses from the server.
395
396 ** Display a less-confusing message if the connection attempt fails.
397
398 ** On a tty, make sure that notices are displayed in blue rather than pink.
399
400 ** By default, open query buffers that are initiated by others in a new
401 unselected window. This may be changed by customizing the
402 `erc-auto-query' option. This should make ERC more friendly to new
403 users.
404
405 ** New option `erc-query-display' indicates how to display a query buffer
406 that is made using the /QUERY command. The default is to display the
407 query in a new selected window.
408
409 ** By default, display network name rather than server name in the modeline.
410 This should ERC use less space in the modeline. To get the old
411 behavior back, set `erc-mode-line-format' to "%s %a".
412
413 ** New option `erc-remove-parsed-property' determines whether to remove
414 the 'erc-parsed property. This should save some memory in channels
415 with large amounts of text on screen. It is enabled by default.
416
417 ** Modules newly enabled by default
418
419 *** move-to-prompt: Move to the prompt when typing text.
420 *** networks: Provide data about IRC networks.
421
422 ** New formatting variables allowed in `erc-format-network':
423
424 *** `%N': the name of the network.
425 *** `%S': much like %s, but let the network name trump the server name.
426
427 ** Compatibility with old releases
428
429 *** In `erc-server-coding-system' and `erc-coding-system-for-target', pass
430 the `target' argument as the first and only argument to the function
431 named by these options.
432
433 *** In `erc-track-faces-priority-list', permit list entries to be lists of
434 faces. This can be used to differentiate between, for example,
435 buttons in default text and buttons in notices.
436
437 *** The `erc-assert' function has been removed in favor of using `assert'
438 from cl-macs.el.
439
440 *** If your application uses the 'erc-parsed text property outside of
441 the insert hooks, you will need to set `erc-remove-parsed-property'
442 to nil.
443
444 ** Changes and additions to modules
445
446 *** BBDB (erc-bbdb.el)
447
448 **** Work around bug in XEmacs 21.4 that causes an error to be thrown when
449 the first argument to `run-at-time' is nil.
450
451 *** Button (erc-button.el)
452
453 **** Recognize parentheses that are part of URLs.
454
455 **** When in a channel, only buttonize nicks from that channel.
456
457 *** DCC support (erc-dcc.el)
458
459 **** Turn this into the "dcc" module for ERC, so that it can be more
460 easily enabled.
461
462 **** New option `erc-dcc-listen-host' determines which IP address to listen
463 on for outside connection attempts.
464
465 **** New option `erc-dcc-public-host' determines which IP address to advertise
466 when sending a file. This is useful for people who are on a local
467 subnet. Together, these two options replace the `erc-dcc-host'
468 option.
469
470 **** New option `erc-dcc-receive-cache' indicates how much of a received
471 file to store in an Emacs buffer before flushing it to disk. The
472 default is 0.5 MB.
473
474 **** Save only parts of received files in buffers, writing repeatedly to
475 disk after we get at least `erc-dcc-receive-cache' bytes. This allows
476 users to receive very large files without running out of memory.
477
478 **** Rename `erc-verbose-dcc' option to `erc-dcc-verbose' and also
479 default it to nil.
480
481 **** Fix edge case in erc-dcc-send-sentinel.
482
483 **** If client confirms too much, then display byte count and kill the
484 file buffer.
485
486 *** Goodies (erc-goodies.el)
487
488 **** New module move-to-prompt causes the point to be moved to the prompt
489 if a user tries to type elsewhere in the buffer, and then inserts
490 their keystrokes after the prompt. It is enabled by default.
491
492 **** New module keep-place keeps your place in unvisited ERC buffers
493 when new messages arrive.
494
495 **** Enable scroll-to-bottom in all ERC buffers when the module is enabled,
496 rather than having the user do it manually.
497
498 **** Fix bug with buffer ordering and scroll-to-bottom module.
499
500 **** In the unmorse module, handle the morse code style that has "/ " at
501 the end of every letter.
502
503 *** Identd (erc-identd.el)
504
505 **** Fix bad behavior when closing the identd process.
506
507 *** Channel lists (erc-list.el)
508
509 **** Replace the old module with a rewritten one, so that we can include
510 it with Emacs. The old version of erc-list.el has been renamed to
511 erc-list-old.el, and is available as the list-old module.
512
513 The new version does not yet have support for XEmacs.
514
515 **** Don't display lots of output in the server buffer when running /LIST.
516
517 *** Logging (erc-log.el)
518
519 **** Permit the `erc-log-channels-directory' option to be set to a function
520 name. This makes it easier to write custom functions that determine
521 where log files should be placed.
522
523 **** New option `erc-log-filter-function' specifies the function to call
524 for filtering text before writing it to a log file. By default, no
525 filtering is performed.
526
527 *** Networks (erc-networks.el)
528
529 **** Turn this into the "networks" module for ERC, so that it can be more
530 easily enabled. Enable it by default.
531
532 **** Add support for Rizon.
533
534 *** Internet services / Nickserv (erc-services.el)
535
536 **** New hook option `erc-nickserv-identified-hook' is run after NickServ
537 acknowledges a successful identification.
538
539 **** Add support for the GRnet and Rizon networks.
540
541 *** Timestamps (erc-stamp.el)
542
543 **** By default, place timestamps on both the left and the right.
544 The left timestamps appear once a day, and the right timestamps appear
545 once a minute when new messages arrive. To change this, customize the
546 `erc-insert-timestamp-function' and
547 `erc-insert-away-timestamp-function' options.
548
549 *** Channel tracking (erc-track.el)
550
551 **** If `erc-track-position-in-mode-line' is set to nil, the tracking
552 information won't be shown in the mode line, which is a change from
553 the previous behavior of showing it "After all other information".
554
555 If this variable is set to t, then the information will be added to
556 the very end of the mode line.
557
558 **** New option `erc-track-remove-disconnected-buffers' controls whether
559 buffers associated with a server that is disconnected should be
560 removed from the modified buffers list. The default is to keep them
561 in the list.
562
563 **** New hook option `erc-track-list-changed-hook' is run whenever the
564 contents of the modified channels list changes. It is useful for
565 people who use a separate mechanism to provide notification of channel
566 activity.
567
568 **** The `erc-track-switch-direction' option now can be set to the value
569 'importance. If set to this value, ERC will switch to channels in
570 order of importance, which is determined by the position of the
571 channel's face in `erc-track-faces-priority-list'.
572
573 **** Activate erc-track-minor-mode earlier in the connection process.
574
575 **** Don't track buttons in notices.
576
577 **** Get a rough idea for which channels are currently active by
578 switching between several normal conversation faces in the modeline.
579 This behavior can be modified by changing the new
580 `erc-track-faces-normal-list' option.
581
582 **** Ignore display of who set the default channel topic and listing of
583 users on the current channel. Customize the `erc-track-exclude-types'
584 option to indicate the types of messages to exclude. These two
585 message types are "333" and "353", respectively.
586
587 *** Support for acting as an XDCC file-server (erc-xdcc.el)
588
589 **** Turn this into the "xdcc" module for ERC, so that it can be more
590 easily enabled.
591
592
593 * Changes in ERC 5.2
594
595 ** M-x erc RET now starts ERC.
596 `erc-select' has been changed to `erc'. `erc-select' still remains as
597 an alias of `erc'. Likewise, `erc-select-ssl' has been renamed to
598 `erc-ssl' with `erc-select-ssl' as its alias. The function that was
599 known as `erc' is now `erc-open'.
600
601 ** Open query buffers by default when private messages are received.
602 The default value of `erc-auto-query' has been changed to 'bury.
603
604 ** New command: /RECONNECT
605 This command tries to reconnect to the current IRC server exactly
606 once. It does not work in server buffers (throws an error before the
607 command is run), but works in query and channel buffers.
608
609 ** In MS-DOS environments, look for _ercrc.el rather than .ercrc.el.
610
611 ** Fix buggy interaction with multi-tty Emacs.
612
613 ** After running /QUIT, make sure that the IRC process is killed within
614 4 seconds. Freenode, in particular, needs this at times.
615
616 ** If the IRC process has not responded to our PINGs within a certain
617 time, kill it and restart the connection. See
618 `erc-server-auto-reconnect', `erc-server-reconnect-attempts',
619 `erc-server-reconnect-timeout', `erc-server-send-ping-interval', and
620 `erc-server-send-ping-timeout' to fine-tune ERC's behavior.
621
622 ** Avoid getting into an infinite connection loop.
623 Previously, this could happen if your nick was banned, you were using
624 Tor, incorrect information was entered, or the connection was bad.
625
626 ** Make ban messages less confusing.
627
628 ** Restore the point correctly when reconnecting to an IRC server.
629
630 ** Make /IGNORE and /UNIGNORE prompt to determine whether their
631 argument is a user or a regexp. This results in less-confusing
632 behavior when trying to ignore someone who has a bracket in their
633 nick.
634
635 ** Make the default port "6667" rather than "ircd", because some
636 operating systems don't know what port "ircd" maps to.
637
638 ** Fix several bugs in erc-iswitchb (C-c C-b).
639
640 ** Clean up internal documentation.
641 Special thanks go to Juanma Barranquero for the thorough vetting of
642 ERC's internal documentation.
643
644 ** Display a more informative message when a module is not found.
645
646 ** Fix a bug where paths were being colored like IRC commands.
647
648 ** In the customize interface for `erc-modules', add the name of the module.
649 This makes it easier to find modules by name.
650
651 ** erc-server-send-ping-interval: Change to use a default of 30 seconds.
652
653 ** Some files which are included with the release of ERC 5.2 will not
654 appear in the version of ERC that is bundled with Emacs 22. These
655 extras files may be found at:
656
657 o https://ftp.gnu.org/gnu/erc/erc-5.2-extras.tar.gz, or
658 o https://ftp.gnu.org/gnu/erc/erc-5.2-extras.zip.
659
660 ** Renamed files
661
662 Several files were renamed so as to make them distinct to users of the
663 MS-DOS operating system.
664
665 o erc-autojoin.el -> erc-join.el
666 o erc-complete.el -> erc-hecomplete.el
667 o erc-nickserv.el -> erc-services.el
668 o ChangeLog.NNNN -> ChangeLog.NN
669
670 ** Header line changes
671
672 *** Remove "[IRC]" from the header line.
673
674 *** Add the %l format character to `erc-header-line-format',
675
676 *** Document how to remove the header line.
677 Namely: (setq erc-header-line-format nil).
678
679 ** New options
680
681 *** erc-server-reconnect-attempts: Determines the number of
682 reconnection attempts that ERC will make per server.
683
684 *** erc-server-reconnect-timeout: Determines the amount of time,
685 in seconds, that ERC will wait between successive reconnect attempts.
686
687 *** erc-server-send-ping-timeout: Determines when to consider a connection
688 stalled and restart it. The default is after 120 seconds.
689
690 *** erc-system-name: Determines the system name to use when logging in.
691 The default is to figure this out by calling `system-name'.
692
693 ** New face: `erc-my-nick-face'
694 This helps make it easier to distinguish messages sent by yourself
695 from messages sent by other users when the value of the variable
696 `erc-show-my-nick' is non-nil.
697
698 ** Namespace changes
699
700 *** New macro: `erc-with-server-buffer'
701 Switches to the current ERC server buffer and runs some code. If no
702 server buffer is available, return nil. This is a useful way to
703 access variables in the server buffer.
704
705 *** New function: `erc-open-server-buffer-p'
706 Returns non-nil if the given buffer is an ERC server buffer that has
707 an open IRC process.
708
709 *** New function: `erc-format-lag-time'
710 Returns the estimated lag time to server, `erc-server-lag'.
711
712 *** Renamed items
713
714 o `erc-server-setup-periodical-server-ping' is now
715 `erc-server-setup-periodical-ping'
716
717 o `erc-away-p' is now `erc-away-time'
718
719 ** Changes to the ERC manual
720
721 *** New section: Sample Session.
722 Describes a sample ERC session for connecting to the #emacs channel on
723 Freenode. Also mention the #erc channel.
724
725 *** New section: Special Features.
726 Describes some of the special features of ERC.
727
728 *** Getting Started: Mention ~/.emacs.d/.ercrc.el and the Customize
729 interface.
730
731 *** Development: Mention ErcDevelopment page on emacswiki.org.
732
733 *** Tips and Tricks: Remove empty section for now.
734
735 *** Options: Mention how to see available ERC options.
736
737 *** Sample Configuration: Add an example of how to configure ERC.
738
739 ** New modules
740
741 *** Autoaway (erc-autoaway.el)
742
743 **** Make this much more reliable.
744
745 **** Avoid duplicate messages when coming back from being away.
746
747 **** Fix bug where autoaway was enabled just by loading the file.
748
749 *** BBDB (erc-bbdb.el)
750
751 **** Display information on how to cancel merging of info or how to
752 create a new John Doe record.
753
754 **** Make it so that information from /whois continues to come in, even
755 while prompting for a record to merge.
756
757 **** Make hitting C-g correctly abort merging the record.
758
759 *** Capab identify (erc-capab.el)
760 Mark users who haven't identified to NickServ on servers supporting
761 CAPAB IDENTIFY-MSG.
762
763 ** Changes and additions to modules
764
765 *** Button (erc-button.el)
766
767 **** Make <backtab> go to the previous button.
768
769 *** Channel tracking (erc-track.el)
770
771 **** Use mouse-face and help-echo for channel names in the mode-line.
772 This helps people using a mouse know that they are buttons and can be
773 clicked on.
774
775 **** Fix issue where C-c C-SPC could conflict with user-defined keybindings.
776 This is accomplished by moving these bindings to their own global
777 minor mode. Now the default is to check whether the user has bound
778 something to C-c C-SPC or C-c C-@. If they have, prompt them about
779 whether to really override that binding. This also has the effect of
780 preventing ERC from clobbering rcirc's keybinding, unless this is
781 desired. See `erc-track-enable-keybindings' for more details.
782
783 **** New option: erc-track-enable-keybindings.
784 Determine whether or not to enable the C-c C-SPC and C-c C-@
785 keybindings. The default is to ask whether to do this if a binding to
786 these keys already exists. It can also be set to t or nil to always
787 bind or never bind, respectively.
788
789 **** Remove `track-when-inactive' module.
790 See `erc-track-when-inactive' for further details.
791
792 **** New option: erc-track-when-inactive.
793 This option replaces the track-when-inactive module. Set it to
794 non-nil to track activity even in visible buffers when inactive. The
795 default is nil.
796
797 **** Remove the `track-modified-channels' alias for the `track' module.
798
799 *** DCC support (erc-dcc.el)
800
801 **** Add Usage section to Commentary.
802
803 **** Fix a bug in the server message output.
804
805 *** Filling (erc-fill.el)
806
807 **** Fix bug involving messages that start with one or more blank lines.
808
809 *** Identd (erc-identd.el)
810
811 **** New option `erc-identd-port'
812 Specifies the port to use if none is given as an argument to
813 `erc-identd-start'. This is placed in the new customization group
814 `erc-identd'.
815
816 **** New function: `erc-identd-quickstart'
817 Ignores any arguments and calls `erc-identd-start'.
818
819 *** Channel lists (erc-list.el)
820
821 **** Enable by default, except in the version of ERC bundled with Emacs 22.
822
823 *** Logging (erc-log.el)
824
825 **** Make sure filenames are safe to use before writing to them.
826
827 **** Save all log buffers when exiting Emacs.
828
829 **** erc-generate-log-file-name-function: Add option for
830 `erc-generate-log-file-name-network', which is a new function that
831 uses the network name rather than the server name when possible.
832
833 *** Menu (erc-menu.el)
834
835 **** Name the menu "ERC" instead of "IRC" to avoid confusion with rcirc
836 and other clients.
837
838 **** Make this into a proper module and load it by default.
839
840 **** Add "Current channel" submenu.
841
842 *** Networks (erc-networks.el)
843
844 **** Add support for Ars OpenIRC, LinuxChix, and OFTC networks.
845
846 **** Escape periods in Konfido.Net and Kewl.Org.
847
848 *** Internet services / Nickserv (erc-nickserv.el)
849
850 **** Add new 'both method for the `erc-nickserv-identify-mode' option
851 and make it the default. This tries to do the right thing both when a
852 known nickserv message exists for an IRC network, and when it does
853 not.
854
855 **** Support nickserv authentication on OFTC, Azzurra, Ars, and QuakeNet.
856
857 **** Support authentication on BitlBee.
858
859 **** Make source code easier to understand by using accessor functions.
860
861 *** Sound support (erc-sound.el)
862
863 **** Make this work with both Emacs 21 and Emacs 22.
864
865 *** Timestamps (erc-stamp.el)
866
867 **** Exclude the newline from the erc-timestamp field.
868
869 **** New function: `erc-toggle-timestamps'.
870 Toggles display of timestamps.
871
872
873 * Changes in ERC 5.1.4
874
875 ** Make find-function and find-variable work in Emacs 22 for
876 names that are constructed by `define-erc-module'.
877
878 ** Fix bug introduced in ERC 5.1.3 that caused messages to go the
879 wrong buffer.
880
881 ** Changes and additions to modules
882
883 *** Highlighting (erc-match.el)
884
885 **** Don't activate view-mode.
886
887 *** Logging (erc-log.el)
888
889 **** When this module is activated, make sure logging is enabled on
890 already-opened buffers. Ditto for disabling logging when the module
891 is deactivated.
892
893 **** Fix some errors that occur when exiting Emacs without first
894 quitting open IRC servers.
895
896
897 * Changes in ERC 5.1.3
898
899 ** Fix use of /quote command with no initial whitespace.
900
901 ** Make it possible to customize the colorization of the header line.
902 The `erc-header-line' face is used to color the header line.
903 The `erc-header-line-face-method' determines the method to use when
904 colorizing the header line.
905
906 ** Add the new function `erc-handle-irc-url', which is a suitable
907 candidate to use for `url-irc-function'. This permits some
908 integration of url.el and ERC.
909
910 ** Fix several errors that occur when server or channel buffers are killed
911 prematurely.
912
913 ** Fix toggling of flood control.
914
915 ** Match the patterns in `erc-encoding-coding-alist' as regexps,
916 instead of verbatim text. Also, match case-insensitively.
917
918 ** The /SMV command has been removed, since we no longer have
919 meaningful module-specific version information.
920
921 ** Fix a "(stringp nil)" error that can happen when doing /PART.
922
923 ** Use a better example in the `erc-part-reason-various-alist'
924 documentation.
925
926 ** When using `erc-quit-reason-various' and `erc-part-reason-various'
927 and no matches are found, default to using the ERC version string
928 rather than "nil".
929
930 ** Add the `list' and `page' modules to the `erc-modules' customize
931 interface.
932
933 ** Changes to the ERC manual
934
935 *** Update the list of available modules.
936
937 *** Revise information about releases and development.
938
939 *** Provide a simpler example in the "Getting Started" chapter.
940
941 *** Fully document how to connect to an IRC server in the new
942 "Connecting" chapter.
943
944 ** Changes and additions to modules
945
946 *** Autoaway (erc-autoaway.el)
947
948 **** Rename the `erc-autoaway-use-emacs-idle' option to
949 `erc-autoaway-idle-method'.
950
951 **** Add support for autoaway based on user idle time.
952 This is now the default.
953
954 **** If you set the AWAY status yourself, erc-autoaway will not
955 interfere by un-setting AWAY prematurely.
956
957 **** If you are set away while visiting a non-ERC buffer,
958 erc-autoaway used to fail in bringing the user back. This is now
959 fixed.
960
961 *** BBDB (erc-bbdb.el)
962
963 **** Add new option `erc-bbdb-electric-p', which determines whether
964 to make the BBDB buffer electric. This defaults to not electric.
965
966 *** Button (erc-button.el)
967
968 **** Use <backtab> instead of <C-tab> for `erc-button-previous'.
969
970 *** Identd (erc-identd.el)
971
972 **** Fix a bug that involves starting the identd server.
973
974 **** Make this work with Emacs 22.
975
976 **** Provide a real ERC module named `identd'.
977
978 **** Don't create an extra buffer for the identd process.
979
980 *** Channel lists (erc-list.el)
981
982 **** Enable by default, except in the version of ERC bundled with Emacs 22.
983
984 *** Logging (erc-log.el)
985
986 **** By default, don't insert old logs when opening an ERC buffer.
987 This may be changed by customizing `erc-log-insert-log-on-open'.
988
989 **** New option `erc-log-write-after-send' determines whether the
990 log file will be written to after every sent message. The default is
991 not to do this.
992
993 **** New option `erc-log-write-after-insert' determines whether the
994 log file will be written to when new text is added to a logged ERC
995 buffer. The default is not to do this. With this option and the
996 previous option, logging should no longer slow down ERC as much.
997
998 **** Default to saving buffers and queries on quit.
999 This may be changed by customizing the `erc-save-buffer-on-quit' and
1000 `erc-save-queries-on-quit' options, respectively.
1001
1002 **** Only perform logging when the `logging' module is added to
1003 `erc-modules'. This prevents logging from being activated just by
1004 loading the erc-log.el file, and makes logging act like other ERC
1005 modules.
1006
1007 *** Programmable completion (erc-pcomplete.el)
1008
1009 **** Don't complete the user's current nickname.
1010
1011
1012 * Changes in ERC 5.1.2
1013
1014 ** Fix compiler errors in erc-autojoin.el and erc-dcc.el.
1015
1016 ** Move to end of prompt when ERC reconnects to a server.
1017
1018 ** Changes and additions to modules
1019
1020 *** Spell-checking (erc-spelling.el)
1021
1022 **** Don't spell-check nicks or words that are prefixed with '/'.
1023
1024 **** Remove flyspell properties from words we shouldn't spell-check.
1025
1026 **** Fix an issue that caused the ispell process to reload every time
1027 we switch to an ERC buffer.
1028
1029 *** Timestamps (erc-stamp.el)
1030
1031 **** Fix an inconsistency in calculating width of right timestamps.
1032
1033 **** Rename option `erc-timestamp-right-align-by-pixel' to
1034 `erc-timestamp-use-align-to'. This controls whether to use the more
1035 fail-proof method of aligning right timestamps, as mentioned below.
1036
1037 **** Fix a right timestamp spacing problem that used to occur when
1038 erc-stamp.el was byte-compiled. Now that this is fixed, it is safe to
1039 use the method that aligns right timestamps perfectly in Emacs22 with
1040 X. If the current version of Emacs doesn't support this method, use
1041 the simpler method, which is prone to alignment issues for math
1042 symbols and other variable-width text.
1043
1044 A side effect of using this new method is that there will only be one
1045 space before a right timestamp in any saved logs. If this is
1046 unacceptable, set `erc-timestamp-use-align-to' to nil.
1047
1048
1049 * Changes in ERC 5.1.1
1050
1051 ** Fix a requirement on cl.el.
1052
1053 ** Use tls.el for SSL connections, rather than ssl.el.
1054
1055 ** Changes and additions to modules
1056
1057 *** ibuffer integration (erc-ibuffer.el)
1058
1059 **** Update this to work with the version of ibuffer.el that comes with
1060 recent Emacs variants.
1061
1062 *** Old completion (erc-complete.el)
1063
1064 **** Fix a few errors.
1065
1066 *** Speedbar (erc-speedbar.el)
1067
1068 **** Make this work with the version of speedbar.el that comes with
1069 recent Emacs variants.
1070
1071 *** Timestamps (erc-stamp.el)
1072
1073 **** By default, use a more failsafe method of displaying right timestamps.
1074 To get right timestamps to align perfectly in Emacs22 using X, set the
1075 new `erc-timestamp-right-align-by-pixel' option to non-nil.
1076
1077 *** Viper compatibility (erc-viper.el)
1078
1079 **** Since most of these changes are now merged into Emacs22, detect
1080 whether we need these changes and install them only if necessary.
1081
1082
1083 * Changes in ERC 5.1
1084
1085 ** Improve XEmacs compatibility.
1086
1087 ** Namespace changes
1088
1089 *** Now ERC doesn't use global variable space.
1090 Renamed all variables that didn't start with "erc-".
1091
1092 o `away' is now `erc-away'
1093
1094 o `current-nick' is now `erc-server-current-nick'
1095
1096 o `last-peers' is now `erc-server-last-peers'
1097
1098 o `last-ping-time' is now `erc-server-last-ping-time'
1099
1100 o `last-sent-time' is now `erc-server-last-sent-time'
1101
1102 o `lines-sent' is now `erc-server-lines-sent'
1103
1104 o `quitting' is now `erc-server-quitting'
1105
1106 *** Remove the `with-erc-channel-buffer' function.
1107
1108 ** Bugfixes
1109
1110 *** Don't inadvertently destroy face properties.
1111
1112 *** Load erc scripts in a safer way.
1113
1114 *** Don't insert a timestamp if text at point is invisible.
1115
1116 *** Don't hide messages from those in `erc-fools' by default.
1117 Color their nicks instead.
1118
1119 *** Use a more foolproof method of encoding and decoding strings
1120 before sending to a channel.
1121
1122 ** Backend changes
1123
1124 *** Renamed some server-specific variables
1125
1126 o `erc-announced-server-name' is now `erc-server-announced-name'
1127
1128 o `erc-auto-reconnect' is now `erc-server-auto-reconnect'
1129
1130 o `erc-connect-function' is now `erc-server-connect-function'
1131
1132 o `erc-default-coding-system' is now `erc-server-coding-system'
1133
1134 o `erc-duplicate-timeout' is now `erc-server-duplicate-timeout'
1135
1136 o `erc-duplicates' is now `erc-server-duplicates'
1137
1138 o `erc-lag' is now `erc-server-lag'
1139
1140 o `erc-prevent-duplicates' is now `erc-server-prevent-duplicates'
1141
1142 o `erc-previous-read' is now `erc-server-filter-data'
1143
1144 o `erc-process' is now `erc-server-process'
1145
1146 o `erc-ping-handler' is now `erc-server-send-ping-handler'
1147
1148 o `erc-ping-interval' is now `erc-server-send-ping-interval'
1149
1150 *** Renamed some functions
1151
1152 o `erc-connect' is now `erc-server-connect'
1153
1154 o `erc-process-filter' is now `erc-server-filter-function'
1155
1156 o `erc-send-command' is now `erc-server-send'
1157
1158 o `erc-send-single-line' is now `erc-send-input'
1159
1160 o `erc-setup-periodical-server-ping' is now
1161 `erc-server-setup-periodical-server-ping'
1162
1163 o `erc-split-command is now `erc-split-line'
1164
1165 *** New options
1166
1167 o erc-server-flood-margin, erc-server-flood-penalty: New options
1168 that allow tweaking of flood control.
1169
1170 o erc-split-line-length: The maximum line length of a single
1171 message.
1172
1173 *** New variables
1174
1175 o erc-server-flood-last-message, erc-server-flood-queue,
1176 erc-server-flood-timer: Flood control.
1177
1178 o erc-server-processing-p: Indicate when we're currently processing
1179 a message.
1180
1181 *** Remove some options
1182
1183 o `erc-flood-limit'
1184 o `erc-flood-limit2'
1185
1186 ** New customization group `erc-server' for dealing with IRC servers.
1187
1188 ** ERC can now be installed by doing `make install' from the command line.
1189
1190 ** ERC now has a manual in erc.texi.
1191 Type `make doc' to generate HTML and Info versions of it.
1192
1193 ** ERC no longer depends on cl.el.
1194 Only the macros in cl-macs.el are used.
1195
1196 ** Fix an edge case when quitting as new messages come in.
1197
1198 ** Make flood protection toggle-able as on/off, removing the 'strict option.
1199
1200 ** If possible, re-use channel buffers when reconnecting to a server.
1201
1202 ** Text in ERC buffers is now read-only by default.
1203 To get the previous behavior,
1204
1205 ** Changes and additions to modules
1206
1207 *** Auto-join (erc-autojoin.el)
1208
1209 **** Recognize the Azzurra server.
1210
1211 *** BBDB (erc-bbdb.el)
1212
1213 **** When the user types /WHOIS, ask for a record to merge to.
1214
1215 **** Store the displayed name of a BitlBee contact.
1216 The new `erc-bbdb-bitlbee-name-field' option specifies the field to use
1217 to store this information.
1218
1219 **** Don't prompt for a name on /JOIN or /NICK.
1220
1221 *** Button (erc-button.el)
1222
1223 **** Fix customization of `erc-button-alist'
1224
1225 **** New option `erc-button-nickname-face' determines the face to use
1226 when coloring ERC nicknames.
1227
1228 *** Channel tracking (erc-track.el)
1229
1230 **** Remove channels from the modified channels list if not currently
1231 connected. This should remove residue from the mode line after
1232 quitting ERC.
1233
1234 **** Recognize buttonized text
1235
1236 *** Highlighting (erc-match.el)
1237
1238 **** Highlight current nickname by default.
1239
1240 **** Added the option of beeping when certain matches occur.
1241 Add `erc-beep-on-match' to `erc-text-matched-hook' to enable
1242 beeping. Set the new variable `erc-beep-match-types' which match
1243 types that make beeps.
1244
1245 *** Nicklist (erc-nicklist.el)
1246
1247 **** Fix a couple of errors.
1248
1249 **** Make sure a stray mouse click doesn't trigger an error.
1250
1251 **** Insert icons from the /images directory next to nicks.
1252 This indicates their away status. The location is customizable via
1253 the new `erc-nicklist-icons-directory' option.
1254
1255 If you do not want these icons, set `erc-nicklist-use-icons' to nil.
1256
1257 *** Nickserv identification (erc-nickserv.el)
1258
1259 **** Recognize Azzurra and OFTC networks.
1260
1261 *** Old completion (erc-complete.el)
1262
1263 **** Disable by default.
1264
1265 *** Programmable completion (erc-pcomplete.el)
1266
1267 **** Enable by default.
1268
1269 *** Timestamps (erc-stamp.el)
1270
1271 **** On Emacs22, align right timestamps perfectly, even if variable-width
1272 characters are used. If we aren't using Emacs22, move text farther
1273 away from the right margin when variable-width characters are used.
1274 It is considered better to misalign the stamp by a bit than to go past
1275 the right margin.
1276
1277 **** Enable by default
1278
1279 ** New modules
1280
1281 *** Spell-checking (erc-spelling.el)
1282
1283 **** Use flyspell in ERC.
1284
1285 *** Viper compatibility (erc-viper.el)
1286
1287 **** Helps ERC work correctly in viper-mode.
1288
1289
1290 * Changes in ERC 5.0.4
1291
1292 ** Fix a problem with undo in channels.
1293
1294
1295 * Changes in ERC 5.0.3
1296
1297 ** Fix typo in the `ctcp-request-to' entry of the English catalog.
1298
1299 ** Debugging with edegug has been made easier in all of the
1300 erc-with-* and with-erc* macros.
1301
1302 ** Non-ASCII character sets should be better supported when sending
1303 and processing messages.
1304
1305 ** A load failure with erc-autoaway.el and Emacs21 has been fixed.
1306
1307 ** A few XEmacs warnings were fixed.
1308
1309 ** Changes and additions to modules
1310
1311 *** Backend (erc-backend.el)
1312
1313 **** Move the check for hidden messages into `erc-display-message'
1314 so there isn't so much replicated code.
1315
1316 **** Add `definition-name' property to constructed symbols so that
1317 `find-function' and `find-variable' will be able to locate them.
1318
1319 **** Make sure logs are inserted info the correct channel buffers.
1320 There was previously an error when using `erc-insert-log-on-open' in
1321 combination with autojoin to multiple channels.
1322
1323 *** Button (erc-button.el)
1324
1325 **** The layering of `erc-button-face' on other faces in ERC buffers
1326 has been improved.
1327
1328 *** Channel tracking (erc-track.el)
1329
1330 **** Use optimal amount of whitespace around modified channels
1331 indicator. Previously, there was an additional unnecessary space.
1332
1333 **** Fix an error that occurred when unchecked buffers existed when
1334 invoking /QUIT.
1335
1336
1337 * Changes in ERC 5.0.2
1338
1339 ** If a channel key is required for a certain channel, ERC will prompt
1340 for one if `erc-prompt-for-channel-key' is non-nil.
1341
1342 ** ERC doesn't try to reconnect if the network connection is refused
1343 when using `open-network-stream-nowait' as the `erc-connect-function'.
1344
1345 ** Messages from multiple servers will not go to the currently active
1346 buffer. The messages from each server will be contained in the most
1347 recently active channel/server buffer that corresponds with the
1348 server.
1349
1350 ** Some text messages were cleaned up slightly.
1351
1352 ** Button faces should no longer "cover" other faces.
1353
1354 ** Made some XEmacs compatibility fixes.
1355
1356 ** Nicknames containing a backslash are now correctly highlighted as
1357 current-nick and buttonized as nicks.
1358
1359 ** `erc-server-select' doesn't offer networks without servers as a
1360 choice anymore.
1361
1362 ** Non-ASCII character support has been improved.
1363
1364 ** Changes and additions to modules
1365
1366 *** Menu (erc-menu.el)
1367
1368 **** You can now save logs and truncate buffers from the menu-bar.
1369
1370
1371 * Changes in ERC 5.0.1
1372
1373 ** Narrowing in ERC buffers no longer causes formatting errors.
1374
1375 ** The BBDB module now loads correctly when customizing `erc-modules'.
1376
1377 ** The value of `erc-button-face' is now respected.
1378
1379 ** Fixed a bug which caused a read-only error during connection.
1380
1381 ** Server buffers are now tracked correctly.
1382 This means that `erc-track-priority-faces-only', `erc-track-exclude',
1383 and `erc-track-exclude-types' now work with server buffers.
1384
1385
1386 * Changes in ERC 5.0
1387
1388 ** Channel members are now stored as a hash-table.
1389 `erc-server-users' and `erc-channel-users' are now hash-tables, rather
1390 than alists. This significantly increases performance, especially in
1391 large channels. Each channel member is stored as an `erc-server-user'
1392 struct, with additional information about the channels they are on
1393 stored in an `erc-channel-user' struct. Code using old alist-style
1394 channel members needs to be updated to work with hash-tables.
1395 This new code also removes the need for erc-members.el, which has been
1396 removed.
1397
1398 ** The way ERC deals with input from the server has changed.
1399 All server response code is now in a new file, erc-backend.el. There
1400 should be no real user visible changes. There are, however, a few
1401 major changes for implementers, and module writers:
1402
1403 *** The PARSED response that all handlers get called with is
1404 no longer a vector, but an `erc-response' struct.
1405
1406 This means LESS MAGIC NUMBERS in the ERC source code, but a few
1407 changes in how you get at parsed responses.
1408
1409 The sender is accessed via `erc-response.sender'.
1410
1411 The command is accessed via `erc-response.command'.
1412
1413 The arguments to the command (everything after the command and
1414 before the colon) are accessed via `erc-response.command-args'.
1415 This is a /list/ of arguments in the order they appear in the
1416 unparsed response.
1417
1418 The contents of the response is accessed via
1419 `erc-response.contents'.
1420
1421 Should, for some reason, you want to do something with the
1422 /unparsed/ response, you can get it via `erc-response.unparsed'.
1423
1424 *** The `erc-server-hook-list' mechanism is gone.
1425
1426 All server response handlers should be defined with
1427 `define-erc-response-handler'. This defines functions and
1428 corresponding hook variables.
1429
1430 The mapping of server commands to hook variables is no longer
1431 done via `erc-event-to-hook', but through an #'equal hash table,
1432 `erc-server-responses'. In order to find a hook you do:
1433
1434 (erc-get-hook command)
1435
1436 See the docstring of `define-erc-response-handler' for more
1437 information.
1438
1439 *** ALL hook variables have been renamed.
1440
1441 In accordance with recommendations in the Emacs Lisp manual,
1442 the hook variables are no longer called `erc-server-FOO-hook',
1443 but rather `erc-server-FOO-functions'. This is to indicate
1444 that the functions they call take arguments.
1445
1446 All the modules in ERC have been updated to reflect this change,
1447 but external module authors should beware.
1448
1449 ** The values of `erc-mode-line-format' and `erc-header-line-format'
1450 are now defined as strings to be formatted using `format-spec'.
1451 `erc-mode-line-format' does not replace the whole mode-line anymore,
1452 only `mode-line-buffer-identification' is set. This way, personal
1453 mode-line configurations are not modified and all key bindings work as
1454 expected. The process status (connecting, closed) is now shown in
1455 `mode-line-process'.
1456
1457 ** Customization of ERC variables has been made easier. Variables
1458 have been split into more groups for better organization.
1459
1460 ** New variables
1461
1462 o `erc-send-whitespace-lines' - Set this to send lines even if they
1463 are empty.
1464
1465 o `erc-manual-set-nick-on-bad-nick-p' - If the nickname you chose is
1466 already taken or not allowed, your nick is not changed and you can
1467 try again manually if this is non-nil.
1468
1469 o `erc-mode-line-away-status-format' - You can now set what is shown
1470 in the mode-line when you are away.
1471
1472 o `erc-header-line-uses-help-echo-p' - The header-line now uses the
1473 help-echo property. You can set this to nil to disable it.
1474
1475 o `erc-format-query-as-channel-p' - Set this to nil to have messages
1476 in the query buffer formatted like private messages.
1477
1478 o `erc-show-channel-key-p' - The channel key is now shown with the
1479 other channel modes in the header line. Set this to nil if you
1480 want it hidden.
1481
1482 o `erc-prompt-for-channel-key' - Set this if you want to be prompted
1483 for the channel key (channel's mode is +k) when you call
1484 `erc-join-channel' interactively.
1485
1486 o `erc-kill-server-buffer-on-quit' - If non-nil, kill the server
1487 buffer automatically when you quit.
1488
1489 ** New hooks
1490
1491 o `erc-join-hook' - Called when you join a channel.
1492
1493 o `erc-kick-hook' - Called when you are kicked from a channel. The
1494 channel's buffer is sent as an argument to functions called from
1495 this hook.
1496
1497 o `erc-nick-changed-functions' - Whenever your nickname changes
1498 successfully, the functions in this hook are run with the
1499 arguments NEW-NICK and OLD-NICK.
1500
1501 ** New command /WHOAMI - Do a /WHOIS on your current nickname.
1502
1503 ** The key binding for changing channel modes is now C-c C-o.
1504
1505 ** Removed variables
1506
1507 o `erc-echo-notices-in-minibuffer-flag' and
1508 `erc-echo-notices-in-current-buffer' - You should use
1509 `erc-echo-notice-hook' and `erc-echo-notice-always-hook' instead.
1510
1511 o `erc-prompt-interactive-input' has been removed (commented out)
1512 because nickname completion does not work with it.
1513
1514 o All INFO buffer-related variables and functions have been removed.
1515
1516 ** You can now disable modules by setting `erc-modules' with the
1517 customization interface.
1518
1519 ** Changes and additions to modules
1520
1521 *** Autoaway (erc-autoaway.el)
1522
1523 **** New variable `erc-autoaway-no-auto-back-regexp' - Add text which,
1524 when you type anything matching it, will not automatically discard
1525 your away status when `erc-auto-discard-away' is non-nil.
1526
1527 *** Filling (erc-fill.el)
1528
1529 **** New variable `erc-fill-variable-maximum-indentation' - Don't
1530 indent more than this many characters when indenting a message from a
1531 user with a long nickname.
1532
1533 *** Goodies (erc-goodies.el)
1534
1535 **** Miscellaneous small modules have been moved from erc.el.
1536 The functions erc-add-scroll-to-bottom, erc-make-read-only,
1537 erc-send-distinguish-noncommands, erc-interpret-controls, erc-unmorse,
1538 erc-smiley, and erc-occur, which were defined in the main erc.el file
1539 have been moved to erc-goodies.el and have mostly been translated to
1540 the modules scrolltobottom, readonly, noncommands, irccontrols, smiley
1541 and unmorse.
1542
1543 **** New variables
1544
1545 o `erc-input-line-position' - The line number to use with
1546 `erc-scroll-to-bottom'.
1547
1548 o `erc-beep-p' - Beep if there is a \C-g control character in a
1549 message.
1550
1551 *** Channel lists (erc-list.el)
1552
1553 **** New variable `erc-chanlist-highlight-face' - A face used for
1554 highlighting the current line.
1555
1556 *** Highlighting (erc-match.el)
1557
1558 **** `erc-current-nick-highlight-type' has new options: 'keyword and
1559 'nick-or-keyword.
1560
1561 *** Menu (erc-menu.el)
1562
1563 **** The `IRC' menu is now automatically added to `erc-mode' buffers.
1564
1565 *** Networks (erc-nets.el)
1566
1567 **** The functions for determining current network are in this file.
1568 There were a couple of functions spread about in different files which
1569 each had a different way of determining the current network. The
1570 methods have been combined, and the big list of known networks
1571 (`erc-networks-alist') is being put to use. You can access the
1572 network's name by calling the new function `erc-network'. This
1573 returns the name of the current network as a symbol or 'Unknown if it
1574 could not determine which network it is.
1575
1576 *** Nicklist (erc-nicklist.el)
1577
1578 **** ERC has a new way of displaying nicknames in a channel.
1579 The new file erc-nicklist.el defines a new command `erc-nicklist'
1580 which pops up a small Emacs window showing the nicknames of all
1581 members of the current channel. The implementation is not complete
1582 and is rather proof-of-concept for now. The result is something a bit
1583 like erc-speedbar, but not quite as invasive, and doesn't require use
1584 of a new frame.
1585
1586 *** Internet services / Nickserv (erc-nickserv.el)
1587
1588 **** Network detection is now taken care of by erc-nets.el.
1589 The function `erc-current-network' is deprecated, use `erc-network'
1590 instead. The variable `erc-networks' has been removed, use
1591 `erc-networks-alist'. The network symbols used in
1592 `erc-nickserv-alist' now match those in `erc-networks-alist'.
1593
1594 **** New variable `erc-nickserv-identify-mode' - Choose which method
1595 to use for automatic identification: you can wait for Nickserv to ask
1596 you to identify (the default), or send an identify message
1597 automatically after you change your nickname.
1598
1599 *** Speedbar (erc-speedbar.el)
1600
1601 **** New variable `erc-speedbar-sort-users-type' - Sort users in a
1602 channel by activity, alphabetically, or not at all.
1603
1604 *** Timestamps (erc-stamp.el)
1605
1606 **** `erc-timestamp-only-if-changed-flag' now works when
1607 `erc-insert-timestamp-function' is set to 'erc-insert-timestamp-left.
1608
1609 **** New variable `erc-timestamp-intangible' - Set this to nil if
1610 timestamps should not have the 'intangible property.
1611
1612 *** Channel tracking (erc-track.el)
1613
1614 **** Using faces to indicate channel activity in the modeline now works
1615 in XEmacs.
1616
1617 **** New variables
1618
1619 o `erc-track-priority-faces-only' - Ignore changes in a channel
1620 unless there is a face from the `erc-track-faces-priority-list' in
1621 the message.
1622
1623 o `erc-track-exclude-server-buffer' - Ignore changes in the server
1624 buffer.
1625
1626 o `erc-track-position-in-mode-line' - Set the position in the
1627 mode-line where modified channels are shown (only works in GNU
1628 Emacs versions above 21.3).
1629
1630
1631 * Changes in ERC 4.0
1632
1633 ** The module system has again changed a lot. You can now customize
1634 the variable `erc-modules' and define once and for all which
1635 extension modules you want to use. This unfortunately may require
1636 you to change your current erc initialization code a bit, if you
1637 have some existing customizations. On the other hand, this change
1638 makes the configuration of extension modules a lot easier for new
1639 users. In theory, you should be able to configure all aspects of
1640 ERC by using the customize interface, you should no longer really
1641 need to write Lisp code for trivial customizations.
1642
1643 By default, the following modules are now loaded: (pcomplete
1644 netsplit fill track ring button autojoin)
1645
1646 Please use M-x customize-variable RET erc-modules RET to change the
1647 default if it does not suite your needs.
1648
1649 ** THe symbol used in `erc-nickserv-passwords' for debian.org IRC servers
1650 (formerly called OpenProjects, now FreeNode) has changed from
1651 openprojects to freenode. You may need to update your configuration
1652 for a successful automatic nickserv identification.
1653
1654
1655 * Changes in ERC 3.0.cvs.20030119
1656
1657 ** New module erc-dcc:
1658
1659 This finally implements DCC. It requires server sockets to fully work
1660 in both directions. This feature is currently only available in Emacs
1661 21.3.50 (CVS). Here is a short list of what should work though.
1662
1663 ** Compatibility:
1664 * Emacs 21.2, DCC get, and accepting DCC chat offers.
1665 * XEmacs 21, Only accepting DCC chat offers.
1666
1667 ** erc is switching to global-minor-modes for activation of submodules.
1668
1669 This allows you to customize such a mode and get automatic loading of
1670 the module. No longer putting a lot of require statements in .emacs.
1671 At least this is the long-term plan, not all modules are converted yet.
1672
1673 ** The most important user visible change is that you now need to activate
1674 erc-completion-mode, to get TAB completion. The new completion code
1675 is based on pcomplete. To get the old code, manually load
1676 erc-complete and bind TAB to erc-complete in erc-mode-map.
1677
1678 To activate completion on startup, put (erc-completion-mode 1) in your
1679 .emacs file.
1680
1681 Same applies to timestamps. You no longer need to (require
1682 'erc-stamp), you can customize the variable `erc-timestamp-mode', and
1683 the rest should be automatic.
1684
1685
1686 ----------------------------------------------------------------------
1687 This file is part of GNU Emacs.
1688
1689 GNU Emacs is free software: you can redistribute it and/or modify
1690 it under the terms of the GNU General Public License as published by
1691 the Free Software Foundation, either version 3 of the License, or
1692 (at your option) any later version.
1693
1694 GNU Emacs is distributed in the hope that it will be useful,
1695 but WITHOUT ANY WARRANTY; without even the implied warranty of
1696 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1697 GNU General Public License for more details.
1698
1699 You should have received a copy of the GNU General Public License
1700 along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
1701
1702
1703 Local variables:
1704 coding: utf-8
1705 mode: outline
1706 paragraph-separate: "[ ]*$"
1707 end: