72754aa1cd36d2d5da145d78dcdf82a72320dc82
[bpt/emacs.git] / lisp / erc / ChangeLog
1 2006-08-13 Romain Francoise <romain@orebokech.com>
2
3 * erc-match.el (erc-log-matches-make-buffer): End `y-or-n-p'
4 prompt with a space.
5
6 2006-08-07 Michael Olson <mwolson@gnu.org>
7
8 * erc-backend.el (erc-process-sentinel-1): Use erc-display-message
9 in several places instead of inserting text.
10 (erc-process-sentinel): Move to the input-marker before removing
11 the prompt.
12
13 * erc.el (erc-port): Fix customization options.
14 (erc-display-message): Handle null type explicitly. Previously,
15 this was relying on a chance side-effect. Cosmetic indentation
16 tweak.
17 (english): Add 'finished and 'terminated entries to the catalog.
18 Add initial and terminal newlines to 'disconnected and
19 'disconnected-noreconnect entries. Avoid long lines.
20
21 2006-08-06 Michael Olson <mwolson@gnu.org>
22
23 * erc.el (erc-arrange-session-in-multiple-windows): Fix bug with
24 multi-tty Emacs.
25 (erc-select-startup-file): Fix bug introduced by recent change.
26
27 2006-08-05 Michael Olson <mwolson@gnu.org>
28
29 * erc-log.el (erc-log-standardize-name): New function that returns
30 a filename that is safe for use for a log file.
31 (erc-current-logfile): Use it.
32
33 * erc.el (erc-startup-file-list): Search in ~/.emacs.d first,
34 since that is a fairly standard directory.
35 (erc-select-startup-file): Re-write to use
36 convert-standard-filename, which will ensure that MS-DOS systems
37 look for the _ercrc.el file.
38
39 2006-08-02 Michael Olson <mwolson@gnu.org>
40
41 * erc.el (erc-version-string): Release ERC 5.1.4.
42
43 * Makefile, NEWS, erc.texi: Update for the 5.1.4 release.
44
45 * erc.el (erc-active-buffer): Fix bug that caused messages to go
46 to the wrong buffer. Thanks to offby1 for the report.
47
48 * erc-backend.el (erc-coding-system-for-target): Handle case where
49 target is nil. Thanks to Kai Fan for the patch.
50
51 2006-07-29 Michael Olson <mwolson@gnu.org>
52
53 * erc-log.el (erc-log-setup-logging): Don't offer to save the
54 buffer. It will be saved automatically killed. Thanks to Johan
55 Bockgård and Tassilo Horn for pointing this out.
56
57 2006-07-27 Johan Bockgård <bojohan@users.sourceforge.net>
58
59 * erc.el (define-erc-module): Make find-function and find-variable
60 find the names constructed by `define-erc-module' in Emacs 22.
61
62 2006-07-14 Michael Olson <mwolson@gnu.org>
63
64 * erc-log.el (log): Make sure that we enable logging on
65 already-opened buffers as well, in case the user toggles this
66 module after loading ERC. Also be sure to remove logging ability
67 from all ERC buffers when the module is disabled.
68 (erc-log-setup-logging): Set buffer-file-name to nil rather than
69 the empty string. This should fix some errors that occur when
70 quitting Emacs without first killing all ERC buffers.
71 (erc-log-disable-logging): New function that removes the logging
72 ability from the current buffer.
73
74 * erc-spelling.el (spelling): Use dolist and buffer-live-p.
75
76 2006-07-12 Michael Olson <mwolson@gnu.org>
77
78 * erc-match.el (erc-log-matches): Bind inhibit-read-only rather
79 than call toggle-read-only.
80
81 * erc.el (erc-handle-irc-url): Move here from erc-goodies.el and
82 add autoload cookie.
83
84 2006-07-09 Michael Olson <mwolson@gnu.org>
85
86 * erc.el (erc-version-string): Release ERC 5.1.3.
87
88 * erc.texi: Update for the 5.1.3 release.
89
90 * erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning
91 from being set automatically away and current buffer is not an ERC
92 buffer.
93
94 * erc-identd.el: Fix compiler error.
95
96 * erc.texi (Development): Use @subheading instead of @subsection.
97 (Advanced Usage): Add menu.
98 (Connecting): Fully document how to connect to an IRC server.
99 (Options, Tips and Tricks, Sample Configuration): New unwritten
100 sections.
101
102 * erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier)
103 (erc-user-full-name, erc-password): Docfixes and customization
104 interface tweaks.
105 (erc-try-new-nick-p): Rename from
106 `erc-manual-set-nick-on-bad-nick-p' and invert meaning.
107 (erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length
108 of `erc-nick-uniquifier', in case someone wants multiple
109 characters.
110 (erc-compute-server, erc-compute-nick, erc-compute-full-name)
111 (erc-compute-port): Docfixes.
112
113 * erc-log.el (log): Move all add-hook calls here, rather than
114 executing them immediately, and also cause them to be un-hooked
115 when the module is removed.
116 (erc-save-buffer-on-part): Move next to
117 `erc-save-queries-on-quit'.
118 (erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t.
119 (erc-log-write-after-send, erc-log-write-after-insert): Default to
120 nil. This makes things fast, but reasonably failsafe, by default.
121
122 2006-07-08 Michael Olson <mwolson@gnu.org>
123
124 * erc-log.el (erc-log-insert-log-on-open): Make this nil by
125 default, since most IRC clients don't do this.
126 (erc-log-write-after-send): New option that determines whether the
127 log file will be written to after every sent message.
128 (erc-log-write-after-insert): New option that determines whether
129 the log file will be written to when new text is added to a logged
130 ERC buffer.
131 (log): Use the aforementioned options.
132
133 * erc.texi (Modules): Document the "completion" module.
134
135 * erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't
136 have a nil element in the list when ignore-self is non-nil.
137
138 2006-07-05 Michael Olson <mwolson@gnu.org>
139
140 * erc.el (erc-modules): Add the `page' module to the list.
141
142 * erc.texi (Modules): Add entries for `list' and `page' modules.
143 Change "spell" to "spelling".
144 (History): Use past tense throughout.
145
146 2006-07-02 Michael Olson <mwolson@gnu.org>
147
148 * erc-backend.el (erc-call-hooks): Fix (stringp nil) error that
149 can happen when doing /PART.
150
151 * erc.el (erc-quit-reason-various-alist)
152 (erc-part-reason-various-alist): In the example, use "^$" as an
153 example, since "" matches anything.
154 (erc-quit-reason-various, erc-part-reason-various): If no argument
155 is given, and no matches are found, use our default reason instead
156 of "nil".
157
158 2006-06-30 Michael Olson <mwolson@gnu.org>
159
160 * erc.texi (Modules): Mention identd.
161 (Releases): Update mailing list address and download location.
162 (Development): Refactor. Provide updated directions for Arch.
163 Make URLs clickable.
164 (Keystroke Summary): Typo fix. Use more Texinfo syntax.
165 (Getting Started): Give simpler example. We do not need to
166 explicitly load every module.
167 (History): Update.
168
169 * erc.el (erc-version-modules): Remove, since we do not use this
170 function anymore.
171 (erc-latest-version, erc-ediff-latest-version): Remove, since this
172 was only useful back when ERC consisted of one file.
173 (erc-modules): Add line for identd.
174 (erc-get-channel-mode-from-keypress): Typo fix.
175
176 * erc-imenu.el: Remove unnecessary lines in header.
177
178 * erc-goodies.el (erc-handle-irc-url): Docfix.
179
180 * erc-identd.el: Define an ERC module for this.
181 (erc-identd-start): Don't create a process buffer if possible.
182 Otherwise, use conventional hidden names for process buffers.
183
184 2006-06-29 Michael Olson <mwolson@gnu.org>
185
186 * erc-backend.el (erc-coding-system-for-target): Match
187 case-insensitively. Use a pattern match instead of `assoc', as
188 per the documentation for `erc-encoding-coding-alist'.
189
190 * erc-track.el (erc-track-shorten-aggressively): Fix typo.
191
192 2006-06-27 Michael Olson <mwolson@gnu.org>
193
194 * erc.el: Update maintainer information and URLs.
195
196 2006-06-14 Michael Olson <mwolson@gnu.org>
197
198 * erc.el (erc-active-buffer): If the active buffer has been
199 deleted, default to the server buffer.
200 (erc-toggle-flood-control): When the user hits C-c C-f, make flood
201 control really toggle, not unconditionally turn off.
202
203 2006-06-12 Michael Olson <mwolson@gnu.org>
204
205 * NEWS: Add items since the 5.1.2 release.
206
207 * erc-autoaway.el (erc-autoaway-caused-away): New variable that
208 indicates whether the current away status was caused by this
209 module.
210 (erc-autoaway-set-back): Only set back if this module set the user
211 away.
212 (erc-autoaway-set-away): Update `erc-autoaway-caused-away'.
213 (erc-autoaway-reset-indicators): New function that resets some
214 indicators when the user is no longer away.
215 (autoaway): Add the above function to the 305 hook.
216
217 2006-06-05 Romain Francoise <romain@orebokech.com>
218
219 * erc.texi (History): Fix various typos.
220
221 2006-06-04 Michael Olson <mwolson@gnu.org>
222
223 * erc-autoaway.el (erc-autoaway-idle-method): Move after the
224 definition of the autoaway module.
225 (autoaway): Don't do anything if erc-autoaway-idle-method is
226 unbound. This prevents an error on startup.
227
228 2006-06-03 Michael Olson <mwolson@gnu.org>
229
230 * erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch.
231 (erc-autoaway-idle-method): Renamed from
232 `erc-autoaway-use-emacs-idle'. We have more than two choices for
233 how to do this, so it's best to make this take symbol values.
234 Improve documentation. Remove warning against Emacs idle-time;
235 the point is moot now that we get user idle time via a different
236 method. Make sure we disable and re-enable the module when
237 changing this value.
238 (autoaway): Conditionalize on the above option. If using the idle
239 timer or user idle methods, don't add anything to the
240 send-completed or server-001 hooks, since it is unnecessary.
241 (erc-autoaway-reestablish-idletimer, erc-autoaway-message):
242 Docfix.
243 (erc-autoaway-idle-seconds): Use erc-autoaway-idle-method.
244 (erc-autoaway-reset-idle-irc): Renamed from
245 `erc-autoaway-reset-idle'. Don't pass line to
246 `erc-autoaway-set-away', since it is not used.
247 (erc-autoaway-reset-idle-user): New function that resets the idle
248 state for user idle time.
249 (erc-autoaway-set-back): Remove line argument, since it is not
250 used.
251
252 2006-06-01 Michael Olson <mwolson@gnu.org>
253
254 * erc.el (erc-buffer-filter): Make sure all buffers returned from
255 this are live.
256
257 2006-05-01 Edward O'Connor <ted@oconnor.cx>
258
259 * erc-goodies.el: (erc-handle-irc-url): New function, suitable as
260 a value for `url-irc-function'.
261
262 2006-04-18 Diane Murray <disumu@x3y2z1.net>
263
264 * erc-pcomplete.el (pcomplete-erc-nicks): Added new optional
265 argument IGNORE-SELF. If this is non-nil, don't return the user's
266 current nickname. Doc fix.
267 (pcomplete/erc-mode/complete-command): Don't complete the current
268 nickname.
269
270 2006-04-05 Diane Murray <disumu@x3y2z1.net>
271
272 * erc.el (erc-cmd-SV): Removed the exclamation point. Show the
273 build date as it's shown in `emacs-version'.
274
275 * erc-capab.el (erc-capab-identify-add-prefix): Insert the prefix
276 with the same face property as the previous character.
277
278 2006-04-02 Michael Olson <mwolson@gnu.org>
279
280 * erc-backend.el, erc-ezbounce.el, erc-join.el, erc-netsplit.el,
281 erc.el: Make sure to include a newline inside of negated classes,
282 so that a newline is not matched.
283
284 2006-04-01 Michael Olson <mwolson@gnu.org>
285
286 * erc-backend.el (erc-server-connect-function): Don't try to
287 detect the existence of the `open-network-stream-nowait' function,
288 since I can't find it in Emacs21, XEmacs21, or Emacs22.
289
290 2006-03-26 Michael Olson <mwolson@gnu.org>
291
292 * erc.el (erc-header-line): New face that will be used to colorize
293 the text of the header-line, provided that
294 `erc-header-line-face-method' is non-nil.
295 (erc-prompt-face): Fix formatting.
296 (erc-header-line-face-method): New option that determines the
297 method used for colorizing header-line text. This may be a
298 function, nil, or non-nil.
299 (erc-update-mode-line-buffer): Use the aforementioned option and
300 face to colorize the header-line text, if that is what the user
301 wants.
302 (erc-send-input): If flood control is not activated, don't split
303 the input line.
304
305 2006-03-25 Michael Olson <mwolson@gnu.org>
306
307 * erc.el (erc-cmd-QUOTE): Install patch from Aravind Gottipati
308 that fixes the case where there is no leading whitespace. Only
309 remove the first space character, though.
310
311 * erc-identd.el (erc-identd-start): Fix a bug by making sure that
312 erc-identd-process is set properly.
313 (erc-identd-start, erc-identd-stop): Add autoload cookies.
314 (erc-identd-start): Pass :host parameter so this works with Emacs
315 22.
316
317 2006-03-09 Diane Murray <disumu@x3y2z1.net>
318
319 * erc-button.el (erc-button-keymap): Use <backtab> rather than
320 <C-tab> for `erc-button-previous' as it is a more standard key
321 binding for this type of function.
322
323 2006-02-19 Michael Olson <mwolson@gnu.org>
324
325 * erc.el (erc-version-string): Release ERC 5.1.2.
326
327 2006-02-19 Diane Murray <disumu@x3y2z1.net>
328
329 * erc-button.el (erc-button-keymap): Bind `erc-button-previous' to
330 <C-tab>.
331 (erc-button-previous): New function.
332
333 2006-02-15 Michael Olson <mwolson@gnu.org>
334
335 * NEWS: Add category for ERC 5.2.
336
337 * erc.el (erc): Move to the end of the buffer when a continued
338 session is detected. Thanks to e1f and indio for the report and
339 testing a potential fix.
340
341 2006-02-14 Michael Olson <mwolson@gnu.org>
342
343 * debian/changelog: Prepare a new Debian package.
344
345 * Makefile (debprepare): New rule that creates an ERC snapshot
346 directory for use in both new Debian releases and revisions for
347 Debian packages.
348 (debrelease, debrevision-mwolson): Use debprepare.
349
350 * NEWS: Bring up-to-date.
351
352 * erc-stamp.el (erc-insert-timestamp-right): For now, put
353 timestamps before rather than after erc-fill-column when
354 erc-timestamp-right-column is nil. This way we won't surprise
355 anyone unpleasantly, or so it is hoped.
356
357 2006-02-13 Michael Olson <mwolson@gnu.org>
358
359 * erc-dcc.el: Use (eval-when-compile (require 'cl)).
360
361 2006-02-12 Michael Olson <mwolson@gnu.org>
362
363 * erc-autoaway.el, erc-dcc.el, erc-ezbounce.el, erc-fill.el,
364 erc-goodies.el, erc-hecomplete.el, erc-ibuffer.el, erc-identd.el,
365 erc-imenu.el, erc-join.el, erc-lang.el, erc-list.el, erc-log.el,
366 erc-match.el, erc-menu.el, erc-netsplit.el, erc-networks.el,
367 erc-notify.el, erc-page.el, erc-pcomplete.el, erc-replace.el,
368 erc-ring.el, erc-services.el, erc-sound.el, erc-speedbar.el,
369 erc-spelling.el, erc-track.el, erc-truncate.el, erc-xdcc.el: Add
370 2006 to copyright years, to comply with the changed guidelines.
371
372 2006-02-11 Michael Olson <mwolson@gnu.org>
373
374 * erc.el (erc-update-modules): Make some requirements shorter, so
375 that it's easier to see why they are needed.
376
377 * erc-stamp.el (erc-timestamp-use-align-to): Renamed from
378 `erc-timestamp-right-align-by-pixel'. Set the default based on
379 whether we are in Emacs 22, and using X. Improve documentation.
380 (erc-insert-aligned): Remove calculation of offset, since
381 :align-to pos works after all. Unlike the previous solution, this
382 one works when erc-stamp.el is compiled.
383 (erc-insert-timestamp-right): Don't add length of string, and then
384 later remove its displayed width. This puts timestamps after
385 erc-fill-column when erc-timestamp-right-column is nil, rather
386 than before it. It also fixes a subtle bug. Remove use of
387 `current-window', since there is no variable by that name in
388 Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
389 `erc-fill-column' is non-nil before using it.
390
391 2006-02-11 Diane Murray <disumu@x3y2z1.net>
392
393 * erc-list.el: Define `list' module which sets the alias
394 `erc-cmd-LIST' to `erc-list-channels' when enabled and
395 `erc-list-channels-simple' when disabled.
396 (erc-list-channels): Was `erc-cmd-LIST', renamed.
397 (erc-list-channels-simple): New function.
398
399 * erc.el (erc-modules): Added `list' to enabled modules. Moved
400 customization options left in source code.
401
402 * erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
403
404 * erc-spelling.el (define-erc-module): Make sure there's a buffer
405 before calling `with-current-buffer'.
406
407 2006-02-10 Michael Olson <mwolson@gnu.org>
408
409 * Makefile (debbuild): Split from debrelease.
410 (debrevision-mwolson): New rule that causes a Debian revision to
411 be built.
412
413 * erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
414 Johan Bockgård.
415 (erc-modules): Change use of 'pcomplete to 'completion.
416
417 2006-02-09 Diane Murray <disumu@x3y2z1.net>
418
419 * erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
420 (erc-get-parsed-vector-type): Moved here from erc-match.el.
421
422 * erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
423 (erc-get-parsed-vector-type): Moved these functions to erc.el
424 since they can be useful outside of the text matching module.
425
426 * erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
427 to "ERC".
428
429 2006-02-07 Michael Olson <mwolson@gnu.org>
430
431 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
432 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
433 the filenames in DOS.
434
435 * erc-goodies.el: Comment fix.
436
437 * erc-hecomplete.el: Rename from erc-complete.el. Update
438 commentary. Use define-erc-module so that it's possible to
439 actually use this.
440 (erc-hecomplete): Rename function from `erc-complete'.
441 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
442
443 * erc-join.el: Rename from erc-autojoin.el.
444
445 * erc-networks.el: Rename from erc-nets.el.
446
447 * erc-services.el: Rename from erc-nickserv.el.
448
449 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
450 the simpler `indent-to' function when
451 `erc-timestamp-right-align-by-pixel' is nil.
452 (erc-insert-timestamp-right): If the timestamp goes on the
453 following line, don't add timestamp properties to the spaces in
454 front of it.
455
456 * erc.el (erc-migrate-modules): New function that eases migration
457 of module names.
458 (erc-modules): Call erc-migrate-modules in the :get accessor.
459 (erc-modules, erc-update-modules): Update for new modules names.
460 (erc-cmd-SMV): Remove, since this does not give useful output due
461 to the version strings being removed from ERC modules.
462
463 2006-02-05 Michael Olson <mwolson@gnu.org>
464
465 * erc-spelling.el (erc-spelling-init): If
466 `erc-spelling-dictionaries' is nil, do not set
467 ispell-local-dictionary. Before, it was being set to nil, which
468 was causing a long delay while the ispell process restarted.
469 (erc-spelling-unhighlight-word): New function that removes
470 flyspell properties from a spell-checked word.
471 (erc-spelling-flyspell-verify): Don't spell-check nicks or words
472 that have '/' before them.
473
474 2006-02-04 Michael Olson <mwolson@gnu.org>
475
476 * erc-autojoin.el: Use (eval-when-compile (require 'cl)).
477
478 * erc-complete.el (erc-nick-completion-exclude-myself)
479 (erc-try-complete-nick): Use better function for getting list of
480 channel users.
481
482 * erc-goodies.el: Docfix.
483
484 * erc-stamp.el: Use new arch tagline, since the other one wasn't
485 being treated properly.
486
487 * erc.el (erc-version-string): Release ERC 5.1.1.
488
489 2006-02-03 Zhang Wei <id.brep@gmail.com>
490
491 * erc.el (erc-version-string): Don't hard-code Emacs version.
492 (erc-version): Use emacs-version.
493
494 2006-01-31 Michael Olson <mwolson@gnu.org>
495
496 * erc-stamp.el: Update copyright years.
497
498 2006-01-30 Simon Josefsson <jas@extundo.com>
499
500 * erc.el (erc-open-ssl-stream): Use tls.el.
501
502 2006-01-30 Michael Olson <mwolson@gnu.org>
503
504 * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
505 that determines whether to use pixel values to align right
506 timestamps. The default is not to do so, since it only works with
507 Emacs22 on X, and even then some people have trouble.
508 (erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
509
510 2006-01-29 Michael Olson <mwolson@gnu.org>
511
512 * ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
513 ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
514 earlier changes. Use utf-8 encoding. Fix some accent typos.
515
516 * erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
517 variable.
518 (erc-speedbar-goto-buffer): Fix compiler warning.
519
520 * erc-ibuffer.el: Use `define-ibuffer-filter' instead of
521 `ibuffer-degine-limiter'. Use `define-ibuffer-column' instead of
522 `ibuffer-define-column'. Require 'ibuf-ext so that the macros
523 work without compiler warnings.
524
525 * man/erc.texi (Obtaining ERC, Installation): Note that these
526 sections may be skipped if using the version of ERC that comes
527 with Emacs.
528
529 2006-01-29 Edward O'Connor <ted@oconnor.cx>
530
531 * erc-viper.el: Remove. Now that ERC is included in Emacs, these
532 work-arounds live in Viper itself.
533
534 2006-01-28 Michael Olson <mwolson@gnu.org>
535
536 * erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
537 guidelines.
538
539 * erc-*.el: Space out copyright years like the rest of Emacs. Use
540 the Emacs copyright statement. Refer to ourselves as ERC rather
541 than "Emacs IRC Client", since there are now several IRC clients
542 for Emacs.
543
544 * erc-compat.el (erc-emacs-build-time): Define as a variable.
545
546 * erc-log.el (erc-log-setup-logging): Use write-file-functions.
547
548 * erc-ibuffer.el: Require 'erc.
549
550 * erc-stamp.el (erc-insert-aligned): Only use the special text
551 property when window-system is X.
552
553 * erc.texi: Adapt for inclusion in Emacs.
554
555 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
556
557 * erc.el (erc-format-message): More `cl' breakage; don't use
558 `oddp'.
559
560 2006-01-27 Michael Olson <mwolson@gnu.org>
561
562 * debian/changelog: Update for new release.
563
564 * debian/control (Description): Update.
565
566 * debian/rules: Concatenate ChangeLog for 2005.
567
568 * Makefile (MISC): Include ChangeLog.2005 and erc.texi.
569 (debrelease, release): Copy images directory.
570
571 * NEWS: Spelling fixes. Add items for recent changes.
572
573 * erc.el (erc): Move call to erc-update-modules before the call to
574 erc-mode. This should fix a timestamp display issue.
575 (erc-version-string): Release ERC 5.1.
576
577 2006-01-26 Michael Olson <mwolson@gnu.org>
578
579 * erc-stamp.el (erc-insert-aligned): New function that inserts
580 text in an perfectly-aligned way relative to the right margin. It
581 only works well with Emacs22. A sane fallback is provided for
582 other versions of Emacs.
583 (erc-insert-timestamp-right): Use the new function.
584
585 2006-01-25 Edward O'Connor <ted@oconnor.cx>
586
587 * erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
588 before `erc-match-mode'.
589
590 * erc-match.el (match): Append `erc-match-message' to
591 `erc-insert-modify-hook'.
592
593 2006-01-25 Michael Olson <mwolson@gnu.org>
594
595 * FOR-RELEASE: Mark last release requirement as done.
596
597 * Makefile (realclean, distclean): Remove docs.
598
599 * erc.texi: Take care of all pre-5.1 items.
600
601 * erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
602 `process-send-string' in `condition-case' to avoid an error when
603 quitting ERC.
604
605 * erc-stamp.el (erc-insert-timestamp-right): Try to deal with
606 variable-width characters in the timestamp and on the same line.
607 The latter is a kludge, but it seems to work with most of the
608 input I've thrown at it so far. It's certainly better than going
609 past the end of line consistently when we have variable-width
610 characters on the same line. When `erc-timestamp-intangible' is
611 non-nil, add intangible properties to the whitespace as well, so
612 that hitting <end> does what you'd expect.
613
614 * erc.el (erc-flood-protect, erc-toggle-flood-control): Update
615 this to only use boolean values for `erc-flood-protect'. Update
616 documentation.
617 (erc-cmd-QUIT): Set the active buffer to be the server buffer, so
618 that any QUIT-related messages go there.
619 (erc): Try to be more clever about re-using channel buffers when
620 automatically re-connecting. Thanks to e1f for noticing.
621
622 2006-01-23 Michael Olson <mwolson@gnu.org>
623
624 * ChangeLog.2005: Remove erroneous line.
625
626 * FOR-RELEASE: Make that the Makefile tweaking is complete.
627 (NEWS): Mark as done.
628
629 * Makefile (MANUAL): New option indicating the name of the manual.
630 (PREFIX, ELISPDIR, INFODIR): New options that specify the
631 directories to install lisp code and info manuals to. PREFIX is
632 used only by ELISPDIR and INFODIR.
633 (all): Call `lisp' and create the manual.
634 (lisp): Compile lisp code.
635 (%.info, %.html): New rules that make Info files and HTML files,
636 respectively, from a TexInfo source.
637 (doc): Create both the Info and HTML versions of the manual. This
638 is for the user -- we never call it automatically.
639 (install-info): Install Info files.
640 (install-bin): Install compiled and source Lisp files.
641 (todo): Remove, since it seems pointless.
642
643 * NEWS: Update.
644
645 * README: Add Installation instructions. Tweak layout.
646
647 * erc.texi: Work on some pre-5.1 items.
648
649 * erc-stamp.el, erc-track.el: Move some functions and options in
650 order to get rid of a few compiler warnings.
651
652 * erc.el (erc-modules): Enable readonly by default. This will
653 prevent new users from accidentally removing old messages, which
654 could be disconcerting. Also enable stamp by default, since
655 timestamps are a fairly standard feature among IRC clients.
656
657 * erc-button.el: Munge whitespace.
658
659 * erc-identd.el (erc-identd-start): Instead of throwing an error,
660 just try to use the obsolete function.
661
662 2006-01-22 Michael Olson <mwolson@gnu.org>
663
664 * erc-backend.el (erc-decode-string-from-target): Make sure that
665 we have a string as an argument. If not, coerce it to the empty
666 string. Hopefully, this will work painlessly around an edge case
667 related to quitting ERC around the same time a message comes in.
668
669 2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
670
671 * erc-track.el: Use `(eval-when-compile (require 'cl))' (for
672 `case'). Doc fixes.
673 (erc-find-parsed-property): Simplify.
674 (erc-track-get-active-buffer): Fix logic. Simplify.
675 (erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
676
677 * erc-speak.el: Doc fixes.
678 (erc-speak-region): `propertize' --> `erc-propertize'.
679
680 * erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
681 `erc-propertize'.
682
683 * erc-button.el (erc-button-add-button): Take erc-fill-prefix into
684 account when wrapping URLs.
685
686 * erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
687
688 * erc-backend.el (define-erc-response-handler): Doc fix.
689
690 2006-01-22 Michael Olson <mwolson@gnu.org>
691
692 * erc.el (erc-update-modules): Use `require' instead of `load',
693 but prevent it from causing errors, in order to preserve the
694 previous behavior.
695
696 2006-01-21 Michael Olson <mwolson@gnu.org>
697
698 * FOR-RELEASE (Source): Mark cl task as done.
699
700 * Makefile (erc-auto.el): Call erc-generate-autoloads rather than
701 generate-autoloads.
702 (erc-auto.el, %.elc): Don't show command, just its output.
703
704 * NEWS: Add items from 2005-01-01 to 2005-08-13.
705
706 * debian/copyright (Copyright): Update.
707
708 * erc-auto.in (erc-generate-autoloads): Rename from
709 generate-autoloads.
710
711 * erc.el, erc-autoaway.el, erc-backend.el: Use
712 erc-server-process-alive instead of erc-process-alive.
713
714 * erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
715 erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
716 erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
717 Use (eval-when-compile (require 'cl)), so that compilation doesn't
718 fail.
719
720 * erc-fill.el, erc-truncate.el: Whitespace munging.
721
722 * erc.el: Update copyright notice. Remove eval-after-load code.
723 (erc-with-buffer): Docfix.
724 (erc-once-with-server-event, erc-once-with-server-event-global)
725 (erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
726 instead of gensym.
727 (erc-banlist-update): Use erc-delete-if instead of delete-if.
728 (erc): Call `erc-update-modules' here.
729
730 * erc-backend.el: Require 'erc-compat to minimize compiler
731 warnings.
732 (erc-decode-parsed-server-response): Docfix.
733 (erc-server-process-alive): Move here from erc.el and rename from
734 `erc-process-alive'.
735 (erc-server-send, erc-remove-channel-users): Make sure process is
736 alive before sending data to it.
737
738 * erc-bbdb.el: Update copyright years.
739 (erc-bbdb-whois): Remove overexuberant comment.
740
741 * erc-button.el: Require erc-fill, since we make liberal use of
742 `erc-fill-column'.
743
744 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
745 functions, the latter of which provides an `assert' equivalent.
746 (erc-remove-if-not): New function that provides a simple
747 implementation of `remove-if-not'.
748 (erc-gensym): New function that provides a simple implementation
749 of `gensym'.
750 (erc-delete-if): New function that provides a simple
751 implementation of `delete-if'.
752 (erc-member-if): New function that provides a simple
753 implementation of `member-if'.
754 (field-end): Remove this, since it is unused, and later versions
755 of XEmacs have this function already.
756 (erc-function-arglist): Moved here from erc.el.
757 (erc-delete-dups): New compatibility function for dealing with
758 XEmacs.
759 (erc-subseq): New function copied from cl-extra.el.
760
761 * erc-dcc.el: Require pcomplete during compilation to avoid
762 compiler warnings.
763 (erc-unpack-int, erc-dcc-send-filter)
764 (erc-dcc-get-filter): Use erc-assert instead of assert.
765 (pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
766 remove-if-not.
767
768 * erc-match.el (erc-log-matches): Fix compiler warning.
769
770 * erc-nicklist.el: Update copyright notice.
771 (erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
772 (erc-nicklist-bitlbee-connected-p): Remove.
773 (erc-nicklist-insert-medium-name-or-icon): Accept channel
774 argument. Use it to determine whether we are on bitlbee. Now
775 that bitlbee names its channel "&bitlbee", this is trivial.
776 (erc-nicklist-insert-contents): Pass channel as specified above.
777 Don't try to determine whether we are on bitlbee here.
778 (erc-nicklist-channel-users-info): Use erc-remove-if-not instead
779 of remove-if-not.
780 (erc-nicklist-search-for-nick): Use erc-member-if instead of
781 member-if.
782
783 * erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
784 partially-evaluated lambda expression instead of `delete' and
785 `find'.
786
787 * erc-track.el: Use erc-assert.
788 (erc-track-modified-channels): Remove use of `return'.
789 (erc-track-modified-channels): Use `cadr' instead of `second',
790 since otherwise we would need yet another eval-when-compile line.
791
792 2006-01-19 Michael Olson <mwolson@gnu.org>
793
794 * erc-backend.el (erc-process-sentinel-1): Remove attempt to
795 detect SIGPIPE, since it doesn't work.
796
797 2006-01-10 Diane Murray <disumu@x3y2z1.net>
798
799 * erc-spelling.el: Updated copyright years.
800 (define-erc-module): Enable/disable `flyspell-mode' for all open
801 ERC buffers as well.
802 (erc-spelling-dictionaries): Reworded customize description.
803
804 * erc.el (erc-command-symbol): New function.
805 (erc-extract-command-from-line): Use `erc-command-symbol'. This
806 fixes a bug where "Symbol's function definition is void:
807 erc-cmd-LIST" would be shown after typing /list at the prompt (the
808 command was interned because erc-menu.el uses it and is enabled by
809 default whereas erc-list.el is not).
810
811 * NEWS: Started a list of renamed variables.
812
813 * erc.el: Reworded the message sent when defining variable
814 aliases.
815 (erc-command-indicator-face): Doc fix.
816 (erc-modules): Enable the match module by default which makes
817 current nickname highlighting on as the default.
818
819 * erc-button.el: Updated copyright years.
820 (erc-button): New face.
821 (erc-button-face): Use `erc-button'.
822 (erc-button-nickname-face): New customizable variable.
823 (erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
824 new argument to `erc-button-add-button'.
825 (erc-button-add-button): Doc fix. Added new argument to function
826 definition, NICK-P. If it's a nickname, use
827 `erc-button-nickname-face', otherwise use `erc-button-face'. This
828 makes channel tracking and buttons work better together when
829 `erc-button-buttonize-nicks' is enabled, since there is a nickname
830 on just about every line.
831
832 * erc-track.el (erc-track-use-faces): Doc fix.
833 (erc-track-faces-priority-list): Added `erc-button' to list.
834 (erc-track-priority-faces-only): Doc fix.
835
836 2006-01-09 Diane Murray <disumu@x3y2z1.net>
837
838 * erc-button.el (erc-button-url-regexp): Use `concat' so the
839 regexp is not one long line.
840 (erc-button-alist): Fixed so that customizing works correctly.
841 Reorganized. Removed lambda functions with more than two lines.
842 Doc fix.
843 (erc-button-describe-symbol, erc-button-beats-to-time): New
844 functions. Moved from `erc-button-alist'.
845
846 2006-01-07 Michael Olson <mwolson@gnu.org>
847
848 * erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
849 process if a SIGPIPE occurs. This happens when a new message
850 comes in at the same time a /quit is requested.
851 (erc-process-sentinel): Use string-match rather than string= to do
852 these comparisons. Matching literal newlines makes me nervous.
853
854 * erc-track.el (erc-track-remove-from-mode-line): Handle case
855 where global-mode-string is not a list. Emacs22 permits this.
856
857
858 See ChangeLog.05 for earlier changes.
859
860 Copyright (C) 2006 Free Software Foundation, Inc.
861 Copying and distribution of this file, with or without modification,
862 are permitted provided the copyright notice and this notice are preserved.
863
864 ;; Local Variables:
865 ;; coding: utf-8
866 ;; End:
867
868 ;; arch-tag: 865a75f6-2bcb-46df-bf0c-b514dadf688a