Switch to standard GPL text for license.
[bpt/emacs.git] / lisp / erc / ChangeLog
1 2007-01-13 Michael Olson <mwolson@gnu.org>
2
3 * erc.el (erc-command-regexp): New variable that is used to match
4 a command.
5 (erc-send-input): Use it. This fixes a bug where paths --
6 "/usr/bin/foo", for example -- were being displayed as commands,
7 but still sent correctly.
8 (erc-extract-command-from-line): Use it.
9
10 * erc.texi (Modules): Document erc-capab-identify.
11
12 2007-01-11 Diane Murray <disumu@x3y2z1.net>
13
14 * erc.el (erc-find-parsed-property): Moved here from erc-track.el
15 since it can be useful in general.
16
17 * erc-track.el (erc-find-parsed-property): Removed.
18
19 * erc-capab.el (erc-capab-find-parsed): Removed.
20 (erc-capab-identify-add-prefix): Use `erc-find-parsed-property'.
21
22 * erc.el (erc-open): Run `erc-before-connect' hook here. This
23 makes sure the hook always gets called before a connection is
24 made, as some functions, like `erc-handle-irc-url', use `erc-open'
25 instead of `erc'.
26 (erc): Removed `erc-before-connect' hook.
27
28 * erc-menu.el (erc-menu-definition): Put items specific to
29 channels in a "Current channel" submenu.
30
31 * erc-backend.el (321, 323): Display channel list in server buffer
32 when not using the channel list module.
33
34 * erc.el: Updated copyright years.
35 (erc-version-string): Set to 5.2 (devel).
36 (erc-format-lag-time): Fixed to work when `erc-server-lag' is nil.
37 (erc-update-mode-line-buffer): Set the header face.
38
39 2007-01-11 Michael Olson <mwolson@gnu.org>
40
41 * erc-bbdb.el (erc-bbdb-popup-type): Fix customization type and
42 documentation.
43
44 * erc-services.el (erc-nickserv-identify-mode): Improve
45 documentation for nick-change option and move higher to fix
46 compiler warning. Avoid a recursive load error.
47 (erc-nickserv-alist): Add simple entry for BitlBee, to avoid
48 "NickServ is AWAY: User is offline" error. Oddly enough, bitlbee
49 was smart enough to recognize that as an authentication request
50 and log in regardless, which is why I didn't notice this earlier.
51 (erc-nickserv-alist-sender, erc-nickserv-alist-regexp)
52 (erc-nickserv-alist-nickserv, erc-nickserv-alist-ident-keyword)
53 (erc-nickserv-alist-use-nick-p)
54 (erc-nickserv-alist-ident-command): New accessors for
55 erc-nickserv-alist. Using nth is unwieldy.
56 (erc-nickserv-identify-autodetect)
57 (erc-nickserv-identify-on-connect)
58 (erc-nickserv-identify-on-nick-change, erc-nickserv-identify): Use
59 the new accessors.
60
61 2007-01-11 Diane Murray <disumu@x3y2z1.net>
62
63 * NEWS: Added note for `erc-my-nick-face'. Fixed capab-identify
64 wording.
65
66 2007-01-10 Diane Murray <disumu@x3y2z1.net>
67
68 * erc.el (erc-mode-line-format): Added %l to documentation.
69 (erc-header-line-format): Removed "[IRC]". Use the new %l
70 replacement character. Doc fix.
71 (erc-format-channel-modes): Removed lag code. Removed parentheses
72 from mode string.
73 (erc-format-lag-time): New function.
74 (erc-update-mode-line-buffer): Use it.
75
76 2007-01-09 Michael Olson <mwolson@gnu.org>
77
78 * erc.el (erc-system-name): New option that determines the system
79 name to use when logging in. The default is to figure this out by
80 calling `system-name'.
81 (erc-login): Use it.
82
83 2007-01-07 Michael Olson <mwolson@gnu.org>
84
85 * erc.el (erc-modules): Add the menu module. This should fix a
86 bug with incorrect ERC submenus being displayed.
87
88 * erc-menu.el: Turn this into a module.
89 (erc-menu-add, erc-menu-remove): New functions that add and remove
90 the ERC menu.
91
92 2006-12-28 Michael Olson <mwolson@gnu.org>
93
94 * erc-list.el: Change header to mention that this is part of ERC,
95 rather than GNU Emacs.
96
97 * erc-networks.el (erc-server-alist): Add Ars OpenIRC and
98 LinuxChix networks. Thanks to Angelina Carlton for mentioning
99 them. Properly escape periods in Konfido.Net and Kewl.Org.
100 (erc-networks-alist): Add entries for Ars and LinuxChix, though
101 the latter does not actually provide an announced network name.
102
103 * erc-services.el (erc-nickserv-identify-mode): Add 'both method,
104 which waits for a NickServ message if the network supports it,
105 otherwise sends the password after connecting.
106 (erc-nickserv-identify-mode): Default to 'both.
107 (erc-nickserv-passwords): Add OFTC and Azzurra to custom options.
108 (erc-nickserv-alist): Indentation fix.
109 (erc-nickserv-identify-on-connect)
110 (erc-nickserv-identify-on-nick-change): Handle 'both method.
111
112 2006-12-28 Leo <sdl.web@gmail.com> (tiny change)
113
114 * erc.el (erc-iswitchb): Wrap body in unwind-protect so that
115 hitting C-g does not leave iswitchb-mode on.
116
117 2006-12-27 Michael Olson <mwolson@gnu.org>
118
119 * erc.el (erc-cmd-RECONNECT): New command that calls
120 erc-server-reconnect.
121
122 * erc-backend.el (erc-server-reconnect-count): New server variable
123 that keeps track of reconnection attempts.
124 (erc-server-reconnect-attempts): New option that determines the
125 number of reconnection attempts that ERC will make per server.
126 (erc-server-reconnect-timeout): New option that determines the
127 amount of time, in seconds, that ERC will wait between successive
128 reconnect attempts.
129 (erc-server-reconnect): New function that reestablishes the
130 current IRC connection. Move some commands from
131 erc-process-sentinel-1 here.
132 (erc-process-sentinel-1): If we have been disconnected, loop until
133 we either reconnect or run out of attempts.
134 (erc-server-reconnect-p): Move higher and make this a defsubst,
135 since I'm worried about the current buffer changing from
136 underneath us. Implement limit of number of reconnect attempts..
137
138 * erc.texi (Getting Started): Update for /RECONNECT command.
139
140 2006-12-26 Michael Olson <mwolson@gnu.org>
141
142 * erc.el (erc-open): Restore old point correctly, or at least get
143 closer to doing so than before.
144
145 2006-12-13 Leo <sdl.web@gmail.com> (tiny change)
146
147 * erc.el (erc-iswitchb): Temporarily enable iswitchb mode if it
148 isn't active already, instead of leaving it on.
149
150 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
151
152 * erc-ezbounce.el (erc-ezb-init-session-list): Doc fix.
153
154 2006-12-08 Michael Olson <mwolson@gnu.org>
155
156 * erc.el: Re-evaluate contributions from a contributor, and found
157 them under 15 lines of non-obvious code, so it is safe to remove
158 the copyright notice.
159 (erc-modules): Remove list module.
160
161 * erc-list.el: Remove, since a contributor who has not completed
162 their assignment has contributed significantly more than 15 lines
163 of code to this file.
164
165 2006-11-28 Juanma Barranquero <lekktu@gmail.com>
166
167 * erc.el (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Simplify.
168 (erc-prompt-for-channel-key, erc-ignore-reply-list, erc-send-post-hook)
169 (erc-active-buffer, erc-join-buffer, erc-frame-alist, erc-with-buffer)
170 (erc-modules, erc-display-message-highlight, erc-process-input-line)
171 (erc-cmd-HELP, erc-server-hooks, erc-echo-notice-in-user-buffers)
172 (erc-format-my-nick, erc-echo-notice-in-user-and-target-buffers)
173 (erc-echo-notice-in-first-user-buffer, erc-connection-established)
174 (erc-update-user-nick, erc-update-channel-member, erc-highlight-notice)
175 (erc-command-symbol, erc-add-query, erc-process-script-line)
176 (erc-determine-parameters, erc-client-info, erc-popup-input-buffer):
177 (erc-script-echo): Fix typos in docstrings.
178 (erc-channel-user-op-p, erc-channel-user-voice-p, erc-startup-file-list)
179 (define-erc-module, erc-once-with-server-event)
180 (erc-once-with-server-event-global, erc-debug-irc-protocol)
181 (erc-log-irc-protocol, erc-cmd-LOAD, erc-update-user)
182 (erc-update-current-channel-member, erc-load-script):
183 (erc-mode-line-away-status-format): Doc fixes.
184
185 2006-11-20 Andrea Russo <rastandy@inventati.org> (tiny change)
186
187 * erc-dcc.el (erc-dcc-chat-setup): Initialize `erc-input-marker'
188 before calling `erc-display-prompt'.
189
190 2006-11-24 Juanma Barranquero <lekktu@gmail.com>
191
192 * erc.el (erc-after-connect, erc-open-ssl-stream)
193 (erc-display-line-1, erc-display-line):
194 * erc-backend.el (005): Fix space/tab mixup in docstrings.
195
196 2006-11-20 Michael Olson <mwolson@gnu.org>
197
198 * erc.el (erc-version-string): Call this Version 5.2 stable
199 pre-release, since it diverges slightly from our 5.2 branch, in
200 that unstable features are not included.
201 (erc-update-modules): Display better error message when module not
202 found.
203
204 2006-11-12 Michael Olson <mwolson@gnu.org>
205
206 * erc-log.el: Save all log buffers when Emacs exits, in case
207 someone ignores the warning about open processes. Remove the
208 advice code in the commentary.
209 (erc-save-query-buffers): Docfix.
210 (erc-log-save-all-buffers): New function that saves all ERC
211 buffers to logs.
212 (erc-current-logfile): Fix bug in filename selection, where the
213 current buffer was erroneously being preferred over the given
214 buffer.
215
216 2006-11-08 Michael Olson <mwolson@gnu.org>
217
218 * erc.el (erc-string-to-port): Avoid error when a numerical port
219 is passed. Thanks to Zekeriya KOÇ for the report.
220
221 2006-11-08 Łukasz Demianiuk <ldemianiuk@gmail.com> (tiny change)
222
223 * erc.el (erc-header-line): Fix typo.
224
225 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
226
227 * erc-dcc.el (erc-dcc-send-file): Fix typo in error message.
228
229 * erc.el (read-passwd):
230 * erc-autoaway.el (erc-autoaway-reestablish-idletimer):
231 * erc-truncate.el (truncate): Fix typo in docstring.
232
233 2006-10-21 Michael Olson <mwolson@gnu.org>
234
235 * erc.el (erc-iswitchb): Fix bug when hitting C-c C-b without
236 first loading iswitchb. Thanks to Leo for the report.
237
238 2006-10-10 Michael Olson <mwolson@gnu.org>
239
240 * erc.el (erc-default-port): Make the default be 6667 instead of
241 ircd. since Mac OS X apparently has problems with looking up that
242 port name.
243
244 * erc-backend.el (353): Receive names after displaying the initial
245 message, instead of before.
246
247 2006-10-05 Diane Murray <disumu@x3y2z1.net>
248
249 * erc.el (erc-my-nick-face): New face.
250 (erc): Use FULL-NAME argument, not `erc-user-full-name'. This
251 fixes a bug where the :full-name argument passed to the function
252 was not respected.
253 (erc-format-my-nick): Use `erc-my-nick-face'. This should help
254 make it easier to find messages you sent in conversations when
255 `erc-show-my-nick' is non-nil.
256 (erc-compute-server): Doc fix.
257
258 2006-10-01 John J Foerch <jjfoerch@earthlink.net> (tiny change)
259
260 * erc-stamp.el (erc-insert-timestamp-right): Exclude the newline
261 from the erc-timestamp field.
262
263 2006-09-11 Michael Olson <mwolson@gnu.org>
264
265 * erc-nicklist.el (erc-nicklist-insert-contents): Add missing
266 parenthesis. Thanks to Stephan Stahl for the report.
267
268 2006-09-10 Eric Hanchrow <offby1@blarg.net> (tiny change)
269
270 * erc.el (erc-cmd-IGNORE): Prompt user if this might be a regexp
271 instead of a single user.
272
273 2006-09-10 Michael Olson <mwolson@gnu.org>
274
275 * erc.el (erc-generate-new-buffer-name): If this is a server
276 buffer and a process exists already, create a new buffer.
277 (erc-open): If the IRC session was continued, restore the old
278 point. Thanks to Stephan Stahl for the report.
279 (erc-member-ignore-case): Coding style tweak.
280 (erc-cmd-UNIGNORE): Quote the user before comparison. If we don't
281 find the user listed verbatim, try to match them against the list
282 using string-match. In this case, prompt as to whether the regexp
283 should be removed.
284 (erc-ignored-user-p): Remove CL-ism.
285
286 * erc-autoaway.el (erc-autoaway-possibly-set-away): Check to see
287 whether we are already away.
288
289 * erc-menu.el: Fix potential compiler warning.
290
291 2006-09-07 Diane Murray <disumu@x3y2z1.net>
292
293 * erc.el: Updated Commentary and URL.
294 (erc-iswitchb, erc-display-line, erc-set-modes, erc-update-modes)
295 (erc-arrange-session-in-multiple-windows): No need to check if
296 `erc-server-process' is bound.
297 (erc-server-buffer-live-p): Doc fix.
298 (erc-part-from-channel): Don't use any initial contents at prompt.
299 (erc-format-nick, erc-format-@nick): Doc fix. Use `when'.
300 (s367): Fixed to support only banmask and channel which is the
301 standard. Also, there's no reason to add a message to each banned
302 user entry trying to persuade the user to use /banlist instead of
303 /mode #channel +b. That part of the message was a little
304 confusing, anyways.
305 (s367-set-by): New catalog entry. The user who set the ban and
306 the time of ban seem to be specific to only certain servers such
307 as freenode.
308
309 * erc-autoaway.el (erc-autoaway-idletimer): Doc fix.
310
311 * erc-backend.el (erc-server-process-alive): No need to check if
312 `erc-server-process' is bound.
313 (367): Use s367 or s367-set-by where appropriate.
314
315 * erc-compat.el: Fixed URL.
316
317 * erc-dcc.el: Updated copyright years. Added Usage section.
318 Changed supported Emacs version number from 21.3.50 to 22 in
319 Commentary.
320
321 * erc-ibuffer.el (erc-server-name, erc-target, erc-away): No need
322 to check if `erc-server-process' is bound.
323
324 * erc-nicklist.el: Added to the Commentary section an explanation
325 that `erc-nicklist-quit' should be called from within the nicklist
326 buffer. Set file coding to utf-8 so a contributor's name is
327 displayed correctly.
328 (erc-nicklist-icons-directory): Use customize type directory
329 instead of string.
330 (erc-nicklist-insert-contents): Set bbdb-nick to an empty string
331 if it wasn't found. This fixes a bug where an error would occur
332 when using `string=' on bbdb-nick if it was nil.
333
334 * erc-replace.el: Removed URL from file information since it
335 doesn't exist.
336
337 * erc-sound.el: Updated copyright years. Fixed Commentary and
338 added Usage section.
339 (define-erc-module): Add and remove `erc-ctcp-query-SOUND' to
340 `erc-ctcp-query-SOUND-hook' here. Removed the keybinding
341 definitions.
342 (erc-play-sound, erc-default-sound, erc-cmd-SOUND)
343 (erc-ctcp-query-SOUND): Doc fix.
344 (erc-play-command): Removed, not necessary anymore.
345 (erc-ctcp-query-SOUND-hook): Set to nil as default. Moved up
346 higher in code, added docstring.
347 (erc-play-sound): Use `play-sound-file'. It exists in GNU Emacs
348 as well since version 21 or earlier. Removed commented-out older
349 version of function.
350
351 * NEWS: Fixed formatting, added channel tracking change.
352
353 2006-09-03 Diane Murray <disumu@x3y2z1.net>
354
355 * erc.el: M-x erc RET can now be used to start ERC.
356 (erc-open): Renamed from `erc'.
357 (erc-before-connect): Change erc-select to erc.
358 (erc): Renamed from `erc-select'. Use `erc-open'.
359 (erc-select): Defined as alias of `erc'.
360 (erc-ssl): Renamed from `erc-select-ssl'. Use `erc'.
361 (erc-select-ssl): Defined as alias of `erc-ssl'.
362 (erc-cmd-SERVER): Use `erc'.
363 (erc-query, erc-handle-irc-url): Use `erc-open'.
364
365 * erc-backend.el (erc-process-sentinel-1, JOIN): Use `erc-open'.
366
367 * erc-menu.el (erc-menu-definition): Use `erc'.
368
369 * erc-networks.el: Updated copyright years.
370 (erc-server-select): Use keyword arguments when calling `erc'.
371
372 * erc.texi (Getting Started, Connecting): Changed erc-select to
373 erc.
374
375 * NEWS: Added note about these changes.
376
377 2006-08-20 Diane Murray <disumu@x3y2z1.net>
378
379 * erc-backend.el (erc-process-sentinel-1): Doc fix. Let
380 `erc-server-reconnect-p' check all condition cases.
381 (erc-server-reconnect-p): Moved rest of checks from
382 `erc-process-sentinel-1' to here. Now takes an argument, EVENT.
383
384 2006-08-21 Diane Murray <disumu@x3y2z1.net>
385
386 * erc-track.el (erc-track-mode-line-mouse-face): New variable.
387 (erc-make-mode-line-buffer-name): Add help-echo and mouse-face
388 properties to channel name.
389
390 2006-08-20 Michael Olson <mwolson@gnu.org>
391
392 * erc.el (erc-with-server-buffer): New macro that switches to the
393 current ERC server buffer and runs some code. If no server buffer
394 is available, return nil. This is a useful way to access
395 variables in the server buffer.
396 (erc-open-server-buffer-p): New function that returns non-nil if
397 the given buffer is an ERC server buffer that has an open IRC
398 process.
399
400 2006-08-14 Diane Murray <disumu@x3y2z1.net>
401
402 * erc-menu.el: Updated copyright years. Removed EmacsWiki URL.
403 (erc-menu-definition): Name the menu "ERC" instead of "IRC" to
404 avoid confusion with rcirc and other clients.
405
406 * erc-backend.el (erc-server-banned): New variable.
407 (erc-server-connect): Set `erc-server-banned' to nil.
408 (erc-process-sentinel-1): Use `erc-server-reconnect-p'.
409 (erc-server-reconnect-p): New function. Return non-nil if the
410 user wants automatic reconnects and if the user has not been
411 banned from the server. This should fix a bug where ERC gets into
412 a loop trying to reconnect with no way to stop it when the user is
413 denied access to the server due to a server ban. It might also
414 help when Tor users are blocked from freenode if freenode servers
415 send the 465 message before disconnecting.
416 (465): Handle "banned from server" error notices.
417
418 2006-08-13 Romain Francoise <romain@orebokech.com>
419
420 * erc-match.el (erc-log-matches-make-buffer): End `y-or-n-p'
421 prompt with a space.
422
423 2006-08-11 Michael Olson <mwolson@gnu.org>
424
425 * erc-fill.el (erc-fill): Skip any initial empty lines so that we
426 avoid errors when inserting disconnect messages and other messages
427 that begin with newlines.
428
429 2006-08-07 Michael Olson <mwolson@gnu.org>
430
431 * erc-backend.el (erc-process-sentinel-1): Use erc-display-message
432 in several places instead of inserting text.
433 (erc-process-sentinel): Move to the input-marker before removing
434 the prompt.
435
436 * erc.el (erc-port): Fix customization options.
437 (erc-display-message): Handle null type explicitly. Previously,
438 this was relying on a chance side-effect. Cosmetic indentation
439 tweak.
440 (english): Add 'finished and 'terminated entries to the catalog.
441 Add initial and terminal newlines to 'disconnected and
442 'disconnected-noreconnect entries. Avoid long lines.
443
444 2006-08-06 Michael Olson <mwolson@gnu.org>
445
446 * erc-backend.el (erc-server-send-queue): Update from Circe
447 version of this function.
448
449 * erc.el (erc-arrange-session-in-multiple-windows): Fix bug with
450 multi-tty Emacs.
451 (erc-select-startup-file): Fix bug introduced by recent change.
452
453 2006-08-05 Michael Olson <mwolson@gnu.org>
454
455 * erc-log.el (erc-log-standardize-name): New function that returns
456 a filename that is safe for use for a log file.
457 (erc-current-logfile): Use it.
458
459 * erc.el (erc-startup-file-list): Search in ~/.emacs.d first,
460 since that is a fairly standard directory.
461 (erc-select-startup-file): Re-write to use
462 convert-standard-filename, which will ensure that MS-DOS systems
463 look for the _ercrc.el file.
464
465 2006-08-02 Michael Olson <mwolson@gnu.org>
466
467 * erc.el (erc-version-string): Release ERC 5.1.4.
468
469 * Makefile, NEWS, erc.texi: Update for the 5.1.4 release.
470
471 * erc.el (erc-active-buffer): Fix bug that caused messages to go
472 to the wrong buffer. Thanks to offby1 for the report.
473
474 * erc-backend.el (erc-coding-system-for-target): Handle case where
475 target is nil. Thanks to Kai Fan for the patch.
476
477 2006-07-29 Michael Olson <mwolson@gnu.org>
478
479 * erc-log.el (erc-log-setup-logging): Don't offer to save the
480 buffer. It will be saved automatically killed. Thanks to Johan
481 Bockgård and Tassilo Horn for pointing this out.
482
483 2006-07-27 Johan Bockgård <bojohan@users.sourceforge.net>
484
485 * erc.el (define-erc-module): Make find-function and find-variable
486 find the names constructed by `define-erc-module' in Emacs 22.
487
488 2006-07-14 Michael Olson <mwolson@gnu.org>
489
490 * erc-log.el (log): Make sure that we enable logging on
491 already-opened buffers as well, in case the user toggles this
492 module after loading ERC. Also be sure to remove logging ability
493 from all ERC buffers when the module is disabled.
494 (erc-log-setup-logging): Set buffer-file-name to nil rather than
495 the empty string. This should fix some errors that occur when
496 quitting Emacs without first killing all ERC buffers.
497 (erc-log-disable-logging): New function that removes the logging
498 ability from the current buffer.
499
500 * erc-spelling.el (spelling): Use dolist and buffer-live-p.
501
502 2006-07-12 Michael Olson <mwolson@gnu.org>
503
504 * erc-match.el (erc-log-matches): Bind inhibit-read-only rather
505 than call toggle-read-only.
506
507 * erc.el (erc-handle-irc-url): Move here from erc-goodies.el and
508 add autoload cookie.
509
510 2006-07-09 Michael Olson <mwolson@gnu.org>
511
512 * erc.el (erc-version-string): Release ERC 5.1.3.
513
514 * erc.texi: Update for the 5.1.3 release.
515
516 * erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning
517 from being set automatically away and current buffer is not an ERC
518 buffer.
519
520 * erc-identd.el: Fix compiler error.
521
522 * erc.texi (Development): Use @subheading instead of @subsection.
523 (Advanced Usage): Add menu.
524 (Connecting): Fully document how to connect to an IRC server.
525 (Options, Tips and Tricks, Sample Configuration): New unwritten
526 sections.
527
528 * erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier)
529 (erc-user-full-name, erc-password): Docfixes and customization
530 interface tweaks.
531 (erc-try-new-nick-p): Rename from
532 `erc-manual-set-nick-on-bad-nick-p' and invert meaning.
533 (erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length
534 of `erc-nick-uniquifier', in case someone wants multiple
535 characters.
536 (erc-compute-server, erc-compute-nick, erc-compute-full-name)
537 (erc-compute-port): Docfixes.
538
539 * erc-log.el (log): Move all add-hook calls here, rather than
540 executing them immediately, and also cause them to be un-hooked
541 when the module is removed.
542 (erc-save-buffer-on-part): Move next to
543 `erc-save-queries-on-quit'.
544 (erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t.
545 (erc-log-write-after-send, erc-log-write-after-insert): Default to
546 nil. This makes things fast, but reasonably failsafe, by default.
547
548 2006-07-08 Michael Olson <mwolson@gnu.org>
549
550 * erc-log.el (erc-log-insert-log-on-open): Make this nil by
551 default, since most IRC clients don't do this.
552 (erc-log-write-after-send): New option that determines whether the
553 log file will be written to after every sent message.
554 (erc-log-write-after-insert): New option that determines whether
555 the log file will be written to when new text is added to a logged
556 ERC buffer.
557 (log): Use the aforementioned options.
558
559 * erc.texi (Modules): Document the "completion" module.
560
561 * erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't
562 have a nil element in the list when ignore-self is non-nil.
563
564 2006-07-05 Michael Olson <mwolson@gnu.org>
565
566 * erc.el (erc-modules): Add the `page' module to the list.
567
568 * erc.texi (Modules): Add entries for `list' and `page' modules.
569 Change "spell" to "spelling".
570 (History): Use past tense throughout.
571
572 2006-07-02 Michael Olson <mwolson@gnu.org>
573
574 * erc-backend.el (erc-call-hooks): Fix (stringp nil) error that
575 can happen when doing /PART.
576
577 * erc.el (erc-quit-reason-various-alist)
578 (erc-part-reason-various-alist): In the example, use "^$" as an
579 example, since "" matches anything.
580 (erc-quit-reason-various, erc-part-reason-various): If no argument
581 is given, and no matches are found, use our default reason instead
582 of "nil".
583
584 2006-06-30 Michael Olson <mwolson@gnu.org>
585
586 * erc.texi (Modules): Mention identd.
587 (Releases): Update mailing list address and download location.
588 (Development): Refactor. Provide updated directions for Arch.
589 Make URLs clickable.
590 (Keystroke Summary): Typo fix. Use more Texinfo syntax.
591 (Getting Started): Give simpler example. We do not need to
592 explicitly load every module.
593 (History): Update.
594
595 * erc.el (erc-version-modules): Remove, since we do not use this
596 function anymore.
597 (erc-latest-version, erc-ediff-latest-version): Remove, since this
598 was only useful back when ERC consisted of one file.
599 (erc-modules): Add line for identd.
600 (erc-get-channel-mode-from-keypress): Typo fix.
601
602 * erc-imenu.el: Remove unnecessary lines in header.
603
604 * erc-goodies.el (erc-handle-irc-url): Docfix.
605
606 * erc-identd.el: Define an ERC module for this.
607 (erc-identd-start): Don't create a process buffer if possible.
608 Otherwise, use conventional hidden names for process buffers.
609
610 2006-06-29 Michael Olson <mwolson@gnu.org>
611
612 * erc-backend.el (erc-coding-system-for-target): Match
613 case-insensitively. Use a pattern match instead of `assoc', as
614 per the documentation for `erc-encoding-coding-alist'.
615
616 * erc-track.el (erc-track-shorten-aggressively): Fix typo.
617
618 2006-06-27 Michael Olson <mwolson@gnu.org>
619
620 * erc.el: Update maintainer information and URLs.
621
622 2006-06-14 Michael Olson <mwolson@gnu.org>
623
624 * erc.el (erc-active-buffer): If the active buffer has been
625 deleted, default to the server buffer.
626 (erc-toggle-flood-control): When the user hits C-c C-f, make flood
627 control really toggle, not unconditionally turn off.
628
629 2006-06-12 Michael Olson <mwolson@gnu.org>
630
631 * NEWS: Add items since the 5.1.2 release.
632
633 * erc-autoaway.el (erc-autoaway-caused-away): New variable that
634 indicates whether the current away status was caused by this
635 module.
636 (erc-autoaway-set-back): Only set back if this module set the user
637 away.
638 (erc-autoaway-set-away): Update `erc-autoaway-caused-away'.
639 (erc-autoaway-reset-indicators): New function that resets some
640 indicators when the user is no longer away.
641 (autoaway): Add the above function to the 305 hook.
642
643 2006-06-05 Romain Francoise <romain@orebokech.com>
644
645 * erc.texi (History): Fix various typos.
646
647 2006-06-04 Michael Olson <mwolson@gnu.org>
648
649 * erc-autoaway.el (erc-autoaway-idle-method): Move after the
650 definition of the autoaway module.
651 (autoaway): Don't do anything if erc-autoaway-idle-method is
652 unbound. This prevents an error on startup.
653
654 2006-06-03 Michael Olson <mwolson@gnu.org>
655
656 * erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch.
657 (erc-autoaway-idle-method): Renamed from
658 `erc-autoaway-use-emacs-idle'. We have more than two choices for
659 how to do this, so it's best to make this take symbol values.
660 Improve documentation. Remove warning against Emacs idle-time;
661 the point is moot now that we get user idle time via a different
662 method. Make sure we disable and re-enable the module when
663 changing this value.
664 (autoaway): Conditionalize on the above option. If using the idle
665 timer or user idle methods, don't add anything to the
666 send-completed or server-001 hooks, since it is unnecessary.
667 (erc-autoaway-reestablish-idletimer, erc-autoaway-message):
668 Docfix.
669 (erc-autoaway-idle-seconds): Use erc-autoaway-idle-method.
670 (erc-autoaway-reset-idle-irc): Renamed from
671 `erc-autoaway-reset-idle'. Don't pass line to
672 `erc-autoaway-set-away', since it is not used.
673 (erc-autoaway-reset-idle-user): New function that resets the idle
674 state for user idle time.
675 (erc-autoaway-set-back): Remove line argument, since it is not
676 used.
677
678 2006-06-01 Michael Olson <mwolson@gnu.org>
679
680 * erc.el (erc-buffer-filter): Make sure all buffers returned from
681 this are live.
682
683 2006-05-01 Edward O'Connor <ted@oconnor.cx>
684
685 * erc-goodies.el (erc-handle-irc-url): New function, suitable as
686 a value for `url-irc-function'.
687
688 2006-04-18 Diane Murray <disumu@x3y2z1.net>
689
690 * erc-pcomplete.el (pcomplete-erc-nicks): Added new optional
691 argument IGNORE-SELF. If this is non-nil, don't return the user's
692 current nickname. Doc fix.
693 (pcomplete/erc-mode/complete-command): Don't complete the current
694 nickname.
695
696 2006-04-05 Diane Murray <disumu@x3y2z1.net>
697
698 * erc.el (erc-cmd-SV): Removed the exclamation point. Show the
699 build date as it's shown in `emacs-version'.
700
701 * erc-capab.el (erc-capab-identify-add-prefix): Insert the prefix
702 with the same face property as the previous character.
703
704 2006-04-02 Michael Olson <mwolson@gnu.org>
705
706 * erc-backend.el, erc-ezbounce.el, erc-join.el, erc-netsplit.el,
707 erc.el: Make sure to include a newline inside of negated classes,
708 so that a newline is not matched.
709
710 2006-04-01 Michael Olson <mwolson@gnu.org>
711
712 * erc-backend.el (erc-server-connect-function): Don't try to
713 detect the existence of the `open-network-stream-nowait' function,
714 since I can't find it in Emacs21, XEmacs21, or Emacs22.
715
716 2006-03-26 Michael Olson <mwolson@gnu.org>
717
718 * erc.el (erc-header-line): New face that will be used to colorize
719 the text of the header-line, provided that
720 `erc-header-line-face-method' is non-nil.
721 (erc-prompt-face): Fix formatting.
722 (erc-header-line-face-method): New option that determines the
723 method used for colorizing header-line text. This may be a
724 function, nil, or non-nil.
725 (erc-update-mode-line-buffer): Use the aforementioned option and
726 face to colorize the header-line text, if that is what the user
727 wants.
728 (erc-send-input): If flood control is not activated, don't split
729 the input line.
730
731 2006-03-25 Michael Olson <mwolson@gnu.org>
732
733 * erc.el (erc-cmd-QUOTE): Install patch from Aravind Gottipati
734 that fixes the case where there is no leading whitespace. Only
735 remove the first space character, though.
736
737 * erc-identd.el (erc-identd-start): Fix a bug by making sure that
738 erc-identd-process is set properly.
739 (erc-identd-start, erc-identd-stop): Add autoload cookies.
740 (erc-identd-start): Pass :host parameter so this works with Emacs
741 22.
742
743 2006-03-09 Diane Murray <disumu@x3y2z1.net>
744
745 * erc-button.el (erc-button-keymap): Use <backtab> rather than
746 <C-tab> for `erc-button-previous' as it is a more standard key
747 binding for this type of function.
748
749 2006-02-28 Diane Murray <disumu@x3y2z1.net>
750
751 * erc-capab.el: Removed things that were accidentally committed on
752 2006-02-20. Removed Todo section.
753 (erc-capab-unidentified): Removed.
754
755 2006-02-26 Michael Olson <mwolson@gnu.org>
756
757 * erc-capab.el: Use (eval-when-compile (require 'cl)).
758 (erc-capab-unidentified): Fix compiler warning by specifying
759 group.
760
761 2006-02-20 Diane Murray <disumu@x3y2z1.net>
762
763 * erc-capab.el (erc-capab-send-identify-messages): Fixed comment
764 to explain thoughts better. `erc-server-parameters' is an
765 associated list when it's set, not a string.
766
767 2006-02-19 Michael Olson <mwolson@gnu.org>
768
769 * erc-capab.el (erc-capab-send-identify-messages): Make sure some
770 parameters are strings before using them. Thanks to Alejandro
771 Benitez for the report.
772
773 * erc.el (erc-version-string): Release ERC 5.1.2.
774
775 2006-02-19 Diane Murray <disumu@x3y2z1.net>
776
777 * erc-button.el (erc-button-keymap): Bind `erc-button-previous' to
778 <C-tab>.
779 (erc-button-previous): New function.
780
781 2006-02-15 Michael Olson <mwolson@gnu.org>
782
783 * NEWS: Add category for ERC 5.2.
784
785 * erc.el (erc): Move to the end of the buffer when a continued
786 session is detected. Thanks to e1f and indio for the report and
787 testing a potential fix.
788
789 2006-02-14 Michael Olson <mwolson@gnu.org>
790
791 * debian/changelog: Prepare a new Debian package.
792
793 * Makefile (debprepare): New rule that creates an ERC snapshot
794 directory for use in both new Debian releases and revisions for
795 Debian packages.
796 (debrelease, debrevision-mwolson): Use debprepare.
797
798 * NEWS: Bring up-to-date.
799
800 * erc-stamp.el (erc-insert-timestamp-right): For now, put
801 timestamps before rather than after erc-fill-column when
802 erc-timestamp-right-column is nil. This way we won't surprise
803 anyone unpleasantly, or so it is hoped.
804
805 2006-02-13 Michael Olson <mwolson@gnu.org>
806
807 * erc-dcc.el: Use (eval-when-compile (require 'cl)).
808
809 2006-02-12 Michael Olson <mwolson@gnu.org>
810
811 * erc-autoaway.el, erc-dcc.el, erc-ezbounce.el, erc-fill.el
812 * erc-goodies.el, erc-hecomplete.el, erc-ibuffer.el, erc-identd.el
813 * erc-imenu.el, erc-join.el, erc-lang.el, erc-list.el, erc-log.el
814 * erc-match.el, erc-menu.el, erc-netsplit.el, erc-networks.el
815 * erc-notify.el, erc-page.el, erc-pcomplete.el, erc-replace.el
816 * erc-ring.el, erc-services.el, erc-sound.el, erc-speedbar.el
817 * erc-spelling.el, erc-track.el, erc-truncate.el, erc-xdcc.el:
818 Add 2006 to copyright years, to comply with the changed guidelines.
819
820 2006-02-11 Michael Olson <mwolson@gnu.org>
821
822 * erc.el (erc-update-modules): Handle erc-capab-identify
823 correctly. Make some requirements shorter, so that it's easier to
824 see why they are needed.
825
826 * erc-capab.el: Add autoload cookie for capab-identify.
827 (erc-capab-send-identify-messages, erc-capab-identify-activate):
828 Minor whitespace fix in code.
829
830 * erc-stamp.el (erc-timestamp-use-align-to): Renamed from
831 `erc-timestamp-right-align-by-pixel'. Set the default based on
832 whether we are in Emacs 22, and using X. Improve documentation.
833 (erc-insert-aligned): Remove calculation of offset, since
834 :align-to pos works after all. Unlike the previous solution, this
835 one works when erc-stamp.el is compiled.
836 (erc-insert-timestamp-right): Don't add length of string, and then
837 later remove its displayed width. This puts timestamps after
838 erc-fill-column when erc-timestamp-right-column is nil, rather
839 than before it. It also fixes a subtle bug. Remove use of
840 `current-window', since there is no variable by that name in
841 Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
842 `erc-fill-column' is non-nil before using it.
843
844 2006-02-11 Diane Murray <disumu@x3y2z1.net>
845
846 * erc-list.el: Define `list' module which sets the alias
847 `erc-cmd-LIST' to `erc-list-channels' when enabled and
848 `erc-list-channels-simple' when disabled.
849 (erc-list-channels): Was `erc-cmd-LIST', renamed.
850 (erc-list-channels-simple): New function.
851
852 * erc.el (erc-modules): Added `list' to enabled modules. Changed
853 `capab-identify' description. Moved customization options left in
854 source code.
855
856 * erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
857
858 * erc-capab.el: Put a little more detail into Usage section.
859 (define-erc-module): Run `erc-capab-identify-setup' in all open
860 server buffers when enabling.
861 (erc-capab-identify-setup): Make PROC and PARSED optional
862 arguments.
863 (erc-capab-identify-add-prefix): Simplified nickname regexp. This
864 should now also match nicknames that are formatted differently
865 than the default.
866
867 * erc-spelling.el (define-erc-module): Make sure there's a buffer
868 before calling `with-current-buffer'.
869
870 2006-02-10 Michael Olson <mwolson@gnu.org>
871
872 * Makefile (debbuild): Split from debrelease.
873 (debrevision-mwolson): New rule that causes a Debian revision to
874 be built.
875
876 * erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
877 Johan Bockgård.
878 (erc-modules): Change use of 'pcomplete to 'completion.
879
880 2006-02-09 Diane Murray <disumu@x3y2z1.net>
881
882 * erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
883 * erc-capab.el: Require erc.
884 (erc-capab-send-identify-messages): Use `erc-server-send'.
885 (erc-capab-identify-remove/set-identified-flag): Use 1 and 0 as
886 the flags so we can also check whether the `erc-identified' text
887 property is there at all.
888 (erc-capab-identify-add-prefix): Use `erc-capab-find-parsed'.
889 This fixes a bug where the prefix wasn't inserted when timestamps
890 are inserted on the right. Tweaked nickname regexp.
891 (erc-capab-find-parsed): New function.
892 (erc-capab-get-unidentified-nickname): Updated to check for 0
893 flag. Only get nickname if there's a nickuserhost associated with
894 this message.
895
896 * erc-capab.el: New file. Adds the new module
897 `erc-capab-identify', which allows flagging of unidentified users
898 on servers running an ircd based on dancer - irc.freenode.net, for
899 example.
900
901 * erc.el (erc-modules): Added `capab-identify' to options.
902 (erc-get-parsed-vector, erc-get-parsed-vector-nick)
903 (erc-get-parsed-vector-type): Moved here from erc-match.el.
904
905 * erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
906 (erc-get-parsed-vector-type): Moved these functions to erc.el
907 since they can be useful outside of the text matching module.
908
909 * NEWS: Added erc-capab.el.
910
911 * erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
912 to "ERC".
913
914 2006-02-07 Michael Olson <mwolson@gnu.org>
915
916 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
917 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
918 the filenames in DOS.
919
920 * erc-goodies.el: Comment fix.
921
922 * erc-hecomplete.el: Rename from erc-complete.el. Update
923 commentary. Use define-erc-module so that it's possible to
924 actually use this.
925 (erc-hecomplete): Rename function from `erc-complete'.
926 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
927
928 * erc-join.el: Rename from erc-autojoin.el.
929
930 * erc-networks.el: Rename from erc-nets.el.
931
932 * erc-services.el: Rename from erc-nickserv.el.
933
934 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
935 the simpler `indent-to' function when
936 `erc-timestamp-right-align-by-pixel' is nil.
937 (erc-insert-timestamp-right): If the timestamp goes on the
938 following line, don't add timestamp properties to the spaces in
939 front of it.
940
941 * erc.el (erc-migrate-modules): New function that eases migration
942 of module names.
943 (erc-modules): Call erc-migrate-modules in the :get accessor.
944 (erc-modules, erc-update-modules): Update for new modules names.
945 (erc-cmd-SMV): Remove, since this does not give useful output due
946 to the version strings being removed from ERC modules.
947
948 2006-02-05 Michael Olson <mwolson@gnu.org>
949
950 * erc-spelling.el (erc-spelling-init): If
951 `erc-spelling-dictionaries' is nil, do not set
952 ispell-local-dictionary. Before, it was being set to nil, which
953 was causing a long delay while the ispell process restarted.
954 (erc-spelling-unhighlight-word): New function that removes
955 flyspell properties from a spell-checked word.
956 (erc-spelling-flyspell-verify): Don't spell-check nicks or words
957 that have '/' before them.
958
959 2006-02-04 Michael Olson <mwolson@gnu.org>
960
961 * erc-autojoin.el: Use (eval-when-compile (require 'cl)).
962
963 * erc-complete.el (erc-nick-completion-exclude-myself)
964 (erc-try-complete-nick): Use better function for getting list of
965 channel users.
966
967 * erc-goodies.el: Docfix.
968
969 * erc-stamp.el: Use new arch tagline, since the other one wasn't
970 being treated properly.
971
972 * erc.el (erc-version-string): Release ERC 5.1.1.
973
974 2006-02-03 Zhang Wei <id.brep@gmail.com>
975
976 * erc.el (erc-version-string): Don't hard-code Emacs version.
977 (erc-version): Use emacs-version.
978
979 2006-01-31 Michael Olson <mwolson@gnu.org>
980
981 * erc-stamp.el: Update copyright years.
982
983 2006-01-30 Simon Josefsson <jas@extundo.com>
984
985 * erc.el (erc-open-ssl-stream): Use tls.el.
986
987 2006-01-30 Michael Olson <mwolson@gnu.org>
988
989 * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
990 that determines whether to use pixel values to align right
991 timestamps. The default is not to do so, since it only works with
992 Emacs22 on X, and even then some people have trouble.
993 (erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
994
995 2006-01-29 Michael Olson <mwolson@gnu.org>
996
997 * ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
998 ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
999 earlier changes. Use utf-8 encoding. Fix some accent typos.
1000
1001 * erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
1002 variable.
1003 (erc-speedbar-goto-buffer): Fix compiler warning.
1004
1005 * erc-ibuffer.el: Use `define-ibuffer-filter' instead of
1006 `ibuffer-degine-limiter'. Use `define-ibuffer-column' instead of
1007 `ibuffer-define-column'. Require 'ibuf-ext so that the macros
1008 work without compiler warnings.
1009
1010 * man/erc.texi (Obtaining ERC, Installation): Note that these
1011 sections may be skipped if using the version of ERC that comes
1012 with Emacs.
1013
1014 2006-01-29 Edward O'Connor <ted@oconnor.cx>
1015
1016 * erc-viper.el: Remove. Now that ERC is included in Emacs, these
1017 work-arounds live in Viper itself.
1018
1019 2006-01-28 Michael Olson <mwolson@gnu.org>
1020
1021 * erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
1022 guidelines.
1023
1024 * erc-*.el: Space out copyright years like the rest of Emacs. Use
1025 the Emacs copyright statement. Refer to ourselves as ERC rather
1026 than "Emacs IRC Client", since there are now several IRC clients
1027 for Emacs.
1028
1029 * erc-compat.el (erc-emacs-build-time): Define as a variable.
1030
1031 * erc-log.el (erc-log-setup-logging): Use write-file-functions.
1032
1033 * erc-ibuffer.el: Require 'erc.
1034
1035 * erc-stamp.el (erc-insert-aligned): Only use the special text
1036 property when window-system is X.
1037
1038 * erc.texi: Adapt for inclusion in Emacs.
1039
1040 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
1041
1042 * erc.el (erc-format-message): More `cl' breakage; don't use
1043 `oddp'.
1044
1045 2006-01-27 Michael Olson <mwolson@gnu.org>
1046
1047 * debian/changelog: Update for new release.
1048
1049 * debian/control (Description): Update.
1050
1051 * debian/rules: Concatenate ChangeLog for 2005.
1052
1053 * Makefile (MISC): Include ChangeLog.2005 and erc.texi.
1054 (debrelease, release): Copy images directory.
1055
1056 * NEWS: Spelling fixes. Add items for recent changes.
1057
1058 * erc.el (erc): Move call to erc-update-modules before the call to
1059 erc-mode. This should fix a timestamp display issue.
1060 (erc-version-string): Release ERC 5.1.
1061
1062 2006-01-26 Michael Olson <mwolson@gnu.org>
1063
1064 * erc-stamp.el (erc-insert-aligned): New function that inserts
1065 text in an perfectly-aligned way relative to the right margin. It
1066 only works well with Emacs22. A sane fallback is provided for
1067 other versions of Emacs.
1068 (erc-insert-timestamp-right): Use the new function.
1069
1070 2006-01-25 Edward O'Connor <ted@oconnor.cx>
1071
1072 * erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
1073 before `erc-match-mode'.
1074
1075 * erc-match.el (match): Append `erc-match-message' to
1076 `erc-insert-modify-hook'.
1077
1078 2006-01-25 Michael Olson <mwolson@gnu.org>
1079
1080 * FOR-RELEASE: Mark last release requirement as done.
1081
1082 * Makefile (realclean, distclean): Remove docs.
1083
1084 * erc.texi: Take care of all pre-5.1 items.
1085
1086 * erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
1087 `process-send-string' in `condition-case' to avoid an error when
1088 quitting ERC.
1089
1090 * erc-stamp.el (erc-insert-timestamp-right): Try to deal with
1091 variable-width characters in the timestamp and on the same line.
1092 The latter is a kludge, but it seems to work with most of the
1093 input I've thrown at it so far. It's certainly better than going
1094 past the end of line consistently when we have variable-width
1095 characters on the same line. When `erc-timestamp-intangible' is
1096 non-nil, add intangible properties to the whitespace as well, so
1097 that hitting <end> does what you'd expect.
1098
1099 * erc.el (erc-flood-protect, erc-toggle-flood-control): Update
1100 this to only use boolean values for `erc-flood-protect'. Update
1101 documentation.
1102 (erc-cmd-QUIT): Set the active buffer to be the server buffer, so
1103 that any QUIT-related messages go there.
1104 (erc): Try to be more clever about re-using channel buffers when
1105 automatically re-connecting. Thanks to e1f for noticing.
1106
1107 2006-01-23 Michael Olson <mwolson@gnu.org>
1108
1109 * ChangeLog.2005: Remove erroneous line.
1110
1111 * FOR-RELEASE: Make that the Makefile tweaking is complete.
1112 (NEWS): Mark as done.
1113
1114 * Makefile (MANUAL): New option indicating the name of the manual.
1115 (PREFIX, ELISPDIR, INFODIR): New options that specify the
1116 directories to install lisp code and info manuals to. PREFIX is
1117 used only by ELISPDIR and INFODIR.
1118 (all): Call `lisp' and create the manual.
1119 (lisp): Compile lisp code.
1120 (%.info, %.html): New rules that make Info files and HTML files,
1121 respectively, from a TexInfo source.
1122 (doc): Create both the Info and HTML versions of the manual. This
1123 is for the user -- we never call it automatically.
1124 (install-info): Install Info files.
1125 (install-bin): Install compiled and source Lisp files.
1126 (todo): Remove, since it seems pointless.
1127
1128 * NEWS: Update.
1129
1130 * README: Add Installation instructions. Tweak layout.
1131
1132 * erc.texi: Work on some pre-5.1 items.
1133
1134 * erc-stamp.el, erc-track.el: Move some functions and options in
1135 order to get rid of a few compiler warnings.
1136
1137 * erc.el (erc-modules): Enable readonly by default. This will
1138 prevent new users from accidentally removing old messages, which
1139 could be disconcerting. Also enable stamp by default, since
1140 timestamps are a fairly standard feature among IRC clients.
1141
1142 * erc-button.el: Munge whitespace.
1143
1144 * erc-identd.el (erc-identd-start): Instead of throwing an error,
1145 just try to use the obsolete function.
1146
1147 2006-01-22 Michael Olson <mwolson@gnu.org>
1148
1149 * erc-backend.el (erc-decode-string-from-target): Make sure that
1150 we have a string as an argument. If not, coerce it to the empty
1151 string. Hopefully, this will work painlessly around an edge case
1152 related to quitting ERC around the same time a message comes in.
1153
1154 2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
1155
1156 * erc-track.el: Use `(eval-when-compile (require 'cl))' (for
1157 `case'). Doc fixes.
1158 (erc-find-parsed-property): Simplify.
1159 (erc-track-get-active-buffer): Fix logic. Simplify.
1160 (erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
1161
1162 * erc-speak.el: Doc fixes.
1163 (erc-speak-region): `propertize' --> `erc-propertize'.
1164
1165 * erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
1166 `erc-propertize'.
1167
1168 * erc-button.el (erc-button-add-button): Take erc-fill-prefix into
1169 account when wrapping URLs.
1170
1171 * erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
1172
1173 * erc-backend.el (define-erc-response-handler): Doc fix.
1174
1175 2006-01-22 Michael Olson <mwolson@gnu.org>
1176
1177 * erc.el (erc-update-modules): Use `require' instead of `load',
1178 but prevent it from causing errors, in order to preserve the
1179 previous behavior.
1180
1181 2006-01-21 Michael Olson <mwolson@gnu.org>
1182
1183 * FOR-RELEASE (Source): Mark cl task as done.
1184
1185 * Makefile (erc-auto.el): Call erc-generate-autoloads rather than
1186 generate-autoloads.
1187 (erc-auto.el, %.elc): Don't show command, just its output.
1188
1189 * NEWS: Add items from 2005-01-01 to 2005-08-13.
1190
1191 * debian/copyright (Copyright): Update.
1192
1193 * erc-auto.in (erc-generate-autoloads): Rename from
1194 generate-autoloads.
1195
1196 * erc.el, erc-autoaway.el, erc-backend.el: Use
1197 erc-server-process-alive instead of erc-process-alive.
1198
1199 * erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
1200 erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
1201 erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
1202 Use (eval-when-compile (require 'cl)), so that compilation doesn't
1203 fail.
1204
1205 * erc-fill.el, erc-truncate.el: Whitespace munging.
1206
1207 * erc.el: Update copyright notice. Remove eval-after-load code.
1208 (erc-with-buffer): Docfix.
1209 (erc-once-with-server-event, erc-once-with-server-event-global)
1210 (erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
1211 instead of gensym.
1212 (erc-banlist-update): Use erc-delete-if instead of delete-if.
1213 (erc): Call `erc-update-modules' here.
1214
1215 * erc-backend.el: Require 'erc-compat to minimize compiler
1216 warnings.
1217 (erc-decode-parsed-server-response): Docfix.
1218 (erc-server-process-alive): Move here from erc.el and rename from
1219 `erc-process-alive'.
1220 (erc-server-send, erc-remove-channel-users): Make sure process is
1221 alive before sending data to it.
1222
1223 * erc-bbdb.el: Update copyright years.
1224 (erc-bbdb-whois): Remove overexuberant comment.
1225
1226 * erc-button.el: Require erc-fill, since we make liberal use of
1227 `erc-fill-column'.
1228
1229 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
1230 functions, the latter of which provides an `assert' equivalent.
1231 (erc-remove-if-not): New function that provides a simple
1232 implementation of `remove-if-not'.
1233 (erc-gensym): New function that provides a simple implementation
1234 of `gensym'.
1235 (erc-delete-if): New function that provides a simple
1236 implementation of `delete-if'.
1237 (erc-member-if): New function that provides a simple
1238 implementation of `member-if'.
1239 (field-end): Remove this, since it is unused, and later versions
1240 of XEmacs have this function already.
1241 (erc-function-arglist): Moved here from erc.el.
1242 (erc-delete-dups): New compatibility function for dealing with
1243 XEmacs.
1244 (erc-subseq): New function copied from cl-extra.el.
1245
1246 * erc-dcc.el: Require pcomplete during compilation to avoid
1247 compiler warnings.
1248 (erc-unpack-int, erc-dcc-send-filter)
1249 (erc-dcc-get-filter): Use erc-assert instead of assert.
1250 (pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
1251 remove-if-not.
1252
1253 * erc-match.el (erc-log-matches): Fix compiler warning.
1254
1255 * erc-nicklist.el: Update copyright notice.
1256 (erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
1257 (erc-nicklist-bitlbee-connected-p): Remove.
1258 (erc-nicklist-insert-medium-name-or-icon): Accept channel
1259 argument. Use it to determine whether we are on bitlbee. Now
1260 that bitlbee names its channel "&bitlbee", this is trivial.
1261 (erc-nicklist-insert-contents): Pass channel as specified above.
1262 Don't try to determine whether we are on bitlbee here.
1263 (erc-nicklist-channel-users-info): Use erc-remove-if-not instead
1264 of remove-if-not.
1265 (erc-nicklist-search-for-nick): Use erc-member-if instead of
1266 member-if.
1267
1268 * erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
1269 partially-evaluated lambda expression instead of `delete' and
1270 `find'.
1271
1272 * erc-track.el: Use erc-assert.
1273 (erc-track-modified-channels): Remove use of `return'.
1274 (erc-track-modified-channels): Use `cadr' instead of `second',
1275 since otherwise we would need yet another eval-when-compile line.
1276
1277 2006-01-19 Michael Olson <mwolson@gnu.org>
1278
1279 * erc-backend.el (erc-process-sentinel-1): Remove attempt to
1280 detect SIGPIPE, since it doesn't work.
1281
1282 2006-01-10 Diane Murray <disumu@x3y2z1.net>
1283
1284 * erc-spelling.el: Updated copyright years.
1285 (define-erc-module): Enable/disable `flyspell-mode' for all open
1286 ERC buffers as well.
1287 (erc-spelling-dictionaries): Reworded customize description.
1288
1289 * erc.el (erc-command-symbol): New function.
1290 (erc-extract-command-from-line): Use `erc-command-symbol'. This
1291 fixes a bug where "Symbol's function definition is void:
1292 erc-cmd-LIST" would be shown after typing /list at the prompt (the
1293 command was interned because erc-menu.el uses it and is enabled by
1294 default whereas erc-list.el is not).
1295
1296 * NEWS: Started a list of renamed variables.
1297
1298 * erc.el: Reworded the message sent when defining variable
1299 aliases.
1300 (erc-command-indicator-face): Doc fix.
1301 (erc-modules): Enable the match module by default which makes
1302 current nickname highlighting on as the default.
1303
1304 * erc-button.el: Updated copyright years.
1305 (erc-button): New face.
1306 (erc-button-face): Use `erc-button'.
1307 (erc-button-nickname-face): New customizable variable.
1308 (erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
1309 new argument to `erc-button-add-button'.
1310 (erc-button-add-button): Doc fix. Added new argument to function
1311 definition, NICK-P. If it's a nickname, use
1312 `erc-button-nickname-face', otherwise use `erc-button-face'. This
1313 makes channel tracking and buttons work better together when
1314 `erc-button-buttonize-nicks' is enabled, since there is a nickname
1315 on just about every line.
1316
1317 * erc-track.el (erc-track-use-faces): Doc fix.
1318 (erc-track-faces-priority-list): Added `erc-button' to list.
1319 (erc-track-priority-faces-only): Doc fix.
1320
1321 2006-01-09 Diane Murray <disumu@x3y2z1.net>
1322
1323 * erc-button.el (erc-button-url-regexp): Use `concat' so the
1324 regexp is not one long line.
1325 (erc-button-alist): Fixed so that customizing works correctly.
1326 Reorganized. Removed lambda functions with more than two lines.
1327 Doc fix.
1328 (erc-button-describe-symbol, erc-button-beats-to-time): New
1329 functions. Moved from `erc-button-alist'.
1330
1331 2006-01-07 Michael Olson <mwolson@gnu.org>
1332
1333 * erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
1334 process if a SIGPIPE occurs. This happens when a new message
1335 comes in at the same time a /quit is requested.
1336 (erc-process-sentinel): Use string-match rather than string= to do
1337 these comparisons. Matching literal newlines makes me nervous.
1338
1339 * erc-track.el (erc-track-remove-from-mode-line): Handle case
1340 where global-mode-string is not a list. Emacs22 permits this.
1341
1342
1343 See ChangeLog.05 for earlier changes.
1344
1345 Copyright (C) 2006, 2007 Free Software Foundation, Inc.
1346
1347 This file is part of GNU Emacs.
1348
1349 GNU Emacs is free software; you can redistribute it and/or modify
1350 it under the terms of the GNU General Public License as published by
1351 the Free Software Foundation; either version 2, or (at your option)
1352 any later version.
1353
1354 GNU Emacs is distributed in the hope that it will be useful,
1355 but WITHOUT ANY WARRANTY; without even the implied warranty of
1356 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1357 GNU General Public License for more details.
1358
1359 You should have received a copy of the GNU General Public License
1360 along with GNU Emacs; see the file COPYING. If not, write to the
1361 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1362 Boston, MA 02110-1301, USA.
1363
1364 ;; Local Variables:
1365 ;; coding: utf-8
1366 ;; add-log-time-zone-rule: t
1367 ;; End:
1368
1369 ;; arch-tag: 865a75f6-2bcb-46df-bf0c-b514dadf688a