root/trunk/lisp/erc/ChangeLog.02

Revision 4220, 88.0 kB (checked in by miyoshi, 9 months ago)

Sync up with Emacs22.2.

Line 
1 2002-12-31  Francis Litterio  <franl@users.sourceforge.net>
2
3         * erc.el 1.398 (erc-split-command):
4         Removed assignment to free variable "continue".
5         (erc-strip-controls): New function.  Takes a string, returns the string with
6         all IRC color/bold/underline/etc. control codes stripped out.
7         (erc-interpret-controls): If variable erc-interpret-controls-p is nil, now
8         uses erc-strip-controls to strip control codes.
9         (erc-ctcp-reply-ECHO): Changed reference and assignment to free variable "s"
10         into reference/assignment to "msg", which appears to be the original author's
11         intent.
12
13         * erc-list.el 1.8 (erc-chanlist):
14         Changed to use the new erc-once-with-server-event function
15         instead of the old macro of the same name.
16
17         * erc-notify.el 1.10 (erc-notify-timer):
18         Changed to use the new erc-once-with-server-event function
19         instead of the old macro of the same name.  Also fixed a bug were variable
20         erc-last-ison was being read from a non-server buffer (thus giving its default
21         value instead of its per-server value).
22
23         * erc.el 1.397 (erc-once-with-server-event):
24         This is now a function.  It was a macro with a
25         bug (the call to gensym happened at byte-compile-time not macro-call-time).
26         (erc-toggle-debug-irc-protocol): Now [return] is bound to this function in
27         the *erc-protocol* buffer.
28
29 2002-12-30  Alex Schroeder  <alex@gnu.org>
30
31         * erc-autoaway.el 1.10 (erc-autoaway-idletimer): Doc,
32         ref. erc-autoaway-use-emacs-idle.
33         (autoaway): Doc, explain different idle definitions.  Reestablish
34         the idletimer only when erc-autoaway-use-emacs-idle is non-nil.
35         (erc-auto-set-away): Doc, ref erc-auto-discard-away.
36         (erc-auto-discard-away): Doc, ref erc-auto-set-away.
37         (erc-autoaway-use-emacs-idle): Doc, ref erc-autoaway-mode, and
38         added a note that this feature is currently broken.
39         (erc-autoaway-reestablish-idletimer): Doc.
40         (erc-autoaway-possibly-set-away): Split test such that
41         erc-time-diff is only computed when necessary, add a comment why
42         erc-process-alive is not necessary.
43         (erc-autoaway-set-away): Test for erc-process-alive.
44
45 2002-12-29  Alex Schroeder  <alex@gnu.org>
46
47         * erc-autoaway.el 1.9:
48         Changed the order of defcustoms to avoid errors in the :set property
49         of erc-autoaway-idle-seconds.
50
51 2002-12-29  Damien Elmes  <erc@repose.cx>
52
53         * erc-track.el 1.42:
54         * (erc-track-get-active-buffer): remove superflous (+ arg 0)
55
56 2002-12-29  Alex Schroeder  <alex@gnu.org>
57
58         * erc-autoaway.el 1.8 (erc-autoaway): Moved the defgroup up to the
59         top, before the define-erc-module call.
60         (autoaway): Extended doc.
61         (erc-autoaway-idle-seconds): Use a :set property to handle
62         erc-autoaway-use-emacs-idle.
63         (erc-auto-set-away): Set default to t.  Added doc strings where
64         necessary, reformatted doc strings such that the first line can
65         stand on its own.  This is important for the output of M-x
66         apropos.
67
68 2002-12-28  Jorgen Schaefer  <forcer@users.sourceforge.net>
69
70         * erc-auto.in 1.3:
71         added (provide 'erc-auto), which is required for (require 'erc-auto) :)
72
73         * erc.el 1.396 (erc-display-prompt):
74         Set the face property of the prompt to
75         everything but the last character.
76
77         * erc.el 1.395 (erc-send-current-line):
78         Check wether point is in the input line. If
79         not, just beep and do nothing.
80
81 2002-12-28  Alex Schroeder  <alex@gnu.org>
82
83         * erc.el 1.394 (erc-bol):
84         Fixed bug when there is only a prompt, and no property
85         change.
86
87         * erc.el 1.393 (erc-display-prompt): Rewrote using a save-excursion
88         and erc-propertize.  No longer use a field for the prompt, but a
89         plain text property called erc-prompt.
90         (erc-bol): Use the erc-prompt text property instead of a field.
91         Return point instead of t.
92         (erc-parse-current-line): No need to call point here, then, since
93         erc-bol now returns point.
94
95         * Makefile 1.11:
96         make ChangeLog .PHONY, thus forcing it always to be rebuilt.
97
98 2002-12-28  Jorgen Schaefer  <forcer@users.sourceforge.net>
99
100         * erc.el 1.392 (erc-log-irc-protocol):
101         Removed check wether get-buffer-create
102             returned nil. "The value is never nil", says the docstring.
103
104         * erc.el 1.391: Day Of The Small Changes
105
106         (erc-display-prompt): Make the prompt 'front-sticky, which prevents it
107             from being modified. It *should* also make end-of-line move to the
108             end of the field (i.e. the end of the prompt) when point is at the
109             beginning of the prompt, but it doesn't. Dunno why. :(
110
111 2002-12-27  Francis Litterio  <franl@users.sourceforge.net>
112
113         * Makefile 1.10:
114         Added "-f" to "rm" command in rule for target "realclean".
115
116         * erc.el 1.390:
117         New function: erc-log-irc-protocol.  Consolidates nearly duplicate code
118         from functions erc-send-command and erc-process-filter into one function.
119
120         * erc.el 1.389 (erc-toggle-debug-irc-protocol):
121         Removed unneeded argument PREFIX and code
122         which referenced it at end of function.
123         (erc-send-command): Now we only append a newline to the logged copy
124         of output protocol text if it doesn't have one.
125
126 2002-12-27  Jorgen Schaefer  <forcer@users.sourceforge.net>
127
128         * erc.el 1.388 (erc-toggle-debug-irc-protocol):
129         Display buffer if it's not shown
130             already, and use view-mode.
131         (erc-toggle-debug-irc-protocol), (erc-send-command),
132             (erc-process-filter): inhibit-only t to insert into the
133             *erc-protocol* buffer (view-mode)
134
135 2002-12-27  Francis Litterio  <franl@users.sourceforge.net>
136
137         * erc.el 1.387 (erc-mode-map):
138         Removed keybinding for erc-toggle-debug-irc-protocol.
139         (erc-toggle-debug-irc-protocol): Now used erc-make-notice to propertize the
140         face of the enabled/disabled messages in the *erc-protocol* buffer.
141         (erc-send-command): Now outgoing IRC protocol traffic is logged too.
142
143         * erc.el 1.386:
144         Added user-customizable variable erc-debug-irc-protocol.
145         Added function erc-toggle-debug-irc-protocol.
146         (erc-process-filter): Now supports IRC protocol logging.  If variable
147         erc-debug-irc-protocol is non-nil, all IRC protocol traffic is appended
148         to buffer *erc-protocol*, which is created if necessary.
149
150 2002-12-27  Jorgen Schaefer  <forcer@users.sourceforge.net>
151
152         * erc.el 1.385 (erc-display-prompt):
153         Don't make the prompt intangible; that didn't
154             make things that much better for the user, but confused ispell,
155             which checked the prompt when it should check the first word
156
157 2002-12-27  Alex Schroeder  <alex@gnu.org>
158
159         * AUTHORS 1.4: fixed resolve's email add
160
161         * AUTHORS 1.3: added damien
162
163         * erc.el 1.384 (erc-truncate-buffer-on-save):
164         Removed documentation that
165         described behaviour now changed.  It used to say "When nil, no
166         buffer is ever truncated."  This is no longer true; even when
167         buffers are NOT truncated on save, they can be truncated, eg. by
168         adding erc-truncate-buffer to the hook.
169         (erc-logging-enabled): New function.
170         (erc-current-logfile): New function.
171         (erc): Use erc-logging-enabled and erc-current-logfile.
172         (erc-truncate-buffer-to-size): Rewrote it, and made sure to use a
173         (save-restriction (widen) ...) such that the truncation actually
174         runs in the whole buffer, not in the last message only (as
175         erc-insert-post-hook will do!).  This should fix rw's
176         out-of-bounds error.
177         (erc-generate-log-file-name-short): Made all but the BUFFER
178         argument optional.  Doc: Mention
179         erc-generate-log-file-name-function.
180         (erc-generate-log-file-name-long): Doc: Mention
181         erc-generate-log-file-name-function.
182         (erc-save-buffer-in-logs): Use erc-logging-enabled and
183         erc-current-logfile.  Doc: Mention erc-logging-enabbled.
184
185         (erc-encode-string-for-target): Only do the real work when
186         featurep mule; else just return the string unchanged.
187
188 2002-12-27  Damien Elmes  <erc@repose.cx>
189
190         * erc.el 1.383:
191         erc-encoding-default: check for (coding-system-p) for older emacs versions
192
193         * erc.el 1.382 (erc-connect): missing ()s added. "don't commit at 2am"
194
195         * erc.el 1.381 (erc-connect):
196         check if (set-process-coding-system) is available before use
197
198 2002-12-27  Alex Schroeder  <alex@gnu.org>
199
200         * AUTHORS 1.2: added franl
201
202 2002-12-26  Alex Schroeder  <alex@gnu.org>
203
204         * erc-pcomplete.el 1.14 (pcomplete-parse-erc-arguments):
205         Reworked, and fixed a bug that had
206         caused completions to corrupt preceding text under some circumstances.
207
208         * erc.el 1.380 (erc-encoding-default): New.
209         (erc-encode-string-for-target): Use it instead of a hard-coded ctext.
210         (erc-encoding-coding-alist): Doc.
211
212 2002-12-26  Francis Litterio  <franl@users.sourceforge.net>
213
214         * erc.el 1.379:
215         Removed fix for bug 658552 recently checked-in, because it doesn't work.
216
217         * erc.el 1.378 (erc-kill-buffer-function):
218         Removed check that connection is up
219         before running erc-kill-server-hook hooks.  Those hooks should use
220         erc-process-alive to avoid interacting with the process.
221
222         * erc.el 1.377:
223         Fixed erc-send-current-line so it no longer assigns the free variable "s", and
224         it doesn't move point to end-of-buffer in non-ERC buffers.  Fixed
225         erc-kill-buffer-function so it doesn't run the erc-kill-server-hook hooks if the
226         server connection is closed.  Fixed bug 658552, which is described in detail at
227         http://sourceforge.net/tracker/index.php?func=detail&aid=658552&group_id=30118&atid=398125
228
229 2002-12-26  Alex Schroeder  <alex@gnu.org>
230
231         * erc.el 1.376 (erc-cmd-SMV): Bug, now call erc-version-modules.
232
233         * erc-pcomplete.el 1.13 (erc-pcomplete-version): New.
234
235 2002-12-26  Francis Litterio  <franl@users.sourceforge.net>
236
237         * erc-pcomplete.el 1.12:
238         Fix for bug where you could not complete a nick when there was text following
239         the nick.
240
241 2002-12-25  Alex Schroeder  <alex@gnu.org>
242
243         * erc.el 1.375 (erc-already-logged-in): Use erc-process-alive.
244         (erc-prepare-mode-line-format): Use erc-process-alive.
245         (erc-process-alive): Check erc-process for boundp and processp.
246
247         * erc.el 1.374 (erc-kill-buffer-function):
248         Do not check wether the process is
249         alive before running the hook, because there might be functions on
250         the hook that need to run even when the process is dead.  And
251         function that wants to check this, should use (erc-process-alive).
252         (erc-process-alive): New function.
253         (erc-kill-server): Use it.
254         (erc-kill-channel): Use it.
255
256         * erc.el 1.373 (erc-kill-buffer-function):
257         Reverted ignore-error change.
258         ignore-error is dangerous because we might miss bugs in functions
259         on erc-kill-server-hook.
260
261         * erc.el 1.372 (erc-kill-buffer-function): Use memq instead of member
262         when checking process-status.  Added doc string with references to
263         the other hooks.
264         (erc-kill-server): Only send the command when the erc-process is
265         still alive.  This prevents the error: "Process
266         erc-irc.openprojects.net-6667 not running" when killing the buffer
267         after having used /QUIT.
268
269 2002-12-24  Jorgen Schaefer  <forcer@users.sourceforge.net>
270
271         * erc.el 1.371 (erc-server-ERROR):
272         Show the error reason, not only the originating host.
273
274         * erc.el 1.370 (erc-kill-buffer-function):
275         (ignore-errors ...) in 'erc-kill-server-hook.
276             When the process for this server does not exist anymore, the hook
277             will cause an error, effectively preventing the buffer from being
278             killed.
279
280 2002-12-24  Francis Litterio  <franl@users.sourceforge.net>
281
282         * erc-notify.el 1.9:
283         Fixed erc-notify-timer so that it passes the correct nick to
284         the functions on erc-notify-signoff-hook.
285
286 2002-12-24  Alex Schroeder  <alex@gnu.org>
287
288         * erc-track.el 1.41: Doc
289
290         * erc-track.el 1.40 (erc-make-mode-line-buffer-name): Removed a
291         superfluous if construct around erc-track-showcount-string.
292         (erc-track-modified-channels): Use 1+.
293         Plus some doc and comment changes.
294
295 2002-12-23  Mario Lang  <mlang@delysid.org>
296
297         * erc.el 1.369: Fix (erc-version) string
298
299 2002-12-23  Francis Litterio  <franl@users.sourceforge.net>
300
301         * erc.el 1.368:
302         Removed unnecessary assignment to free-variable "p" in erc-downcase.
303
304         * erc.el 1.367:
305         Now /PART reason strings are generated the same way /QUIT reason strings
306         are generated (see variable erc-part-reason).  Also, when a server buffer
307         is killed, a QUIT command is automatically sent to the server.
308
309         * erc.el 1.366:
310         Changed erc-string-no-properties so that it is more efficient.  Now it uses
311         set-text-properties instead of creating and deleting a temporary buffer.
312
313 2002-12-21  Jorgen Schaefer  <forcer@users.sourceforge.net>
314
315         * erc.el 1.365:
316         erc-kill-input: added a check to prevent a (ding) and an error when
317             there's nothing to kill (thanks to Francis Litterio, franl on IRC)
318
319 2002-12-21  Mario Lang  <mlang@delysid.org>
320
321         * erc.el 1.364:
322         AWAY notice duplication prevention. erc-prevent-duplicates now set to ("301") by default, and timeout to 60
323
324         * erc.el 1.363: erc-prevent-duplicates: New variable, see docstring
325
326 2002-12-20  Jorgen Schaefer  <forcer@users.sourceforge.net>
327
328         * erc-track.el 1.39:
329         erc-track-modified-channels: Use cddr of cell for old-face. cdr of
330             cell is '(1 . face-name), i have no idea why :)
331
332 2002-12-20  Damien Elmes  <erc@repose.cx>
333
334         * erc.el 1.362 (erc-current-nick):
335         check the server buffer is active before using
336
337         Also tabified and cleaned up some trailing whitespace
338
339 2002-12-15  Mario Lang  <mlang@delysid.org>
340
341         * erc-track.el 1.38: erc-track-count patch by az
342
343 2002-12-14  Damien Elmes  <erc@repose.cx>
344
345         * erc.el 1.361:
346         last-peers: initialise to a cons. thanks to Francis Litterio
347             <franl@world.std.com> for the patch
348
349         * erc.el 1.360:
350         erc-kill-channel-hook, erc-kill-buffer-hook, (erc-kill-channel):
351             both hooks now call erc-save-buffer-in-logs, so that query buffers are
352             saved properly now, and not just channel buffers.
353
354 2002-12-13  Alex Schroeder  <alex@gnu.org>
355
356         * erc-track.el 1.37 (erc-unique-channel-names): Fix another #hurd
357         vs. #hurd-bunny bug.
358
359         * erc-match.el 1.17 (match): No longer modify erc-send-modify-hook,
360         since it does not work without a parsed text property, anyway.
361         (erc-keywords): Allow cons cells.
362         (erc-remove-entry-from-list): Deal with cons cells.
363         (erc-keyword-p): Ditto.
364         (erc-match-message): Ditto.
365
366         Moved nil to the beginning of the list, removed :tags for the
367         -type variables:
368         (erc-current-nick-highlight-type): Ditto.
369         (erc-pal-highlight-type): Ditto.
370         (erc-fool-highlight-type): Ditto.
371         (erc-keyword-highlight-type): Ditto.
372         (erc-dangerous-host-highlight-type): Ditto.
373         (erc-log-matches-flag): Moved nil to the beginning.
374
375 2002-12-11  Jorgen Schaefer  <forcer@users.sourceforge.net>
376
377         * erc.el 1.359:
378         erc-beg-of-input-line: Don't do (goto-char (beginning-of-line)), since
379             beginning-of-line always moves point and returns nil. Thanks to
380             franl on IRC for noting this.
381
382         * erc-stamp.el 1.20:
383         erc-insert-timestamp-left, erc-insert-timestamp-right: Made the
384             timestamp a 'field named 'erc-timestamp. Now end-of-line and
385             beginning-of-line will move over the timestamp.
386
387 2002-12-10  Damien Elmes  <erc@repose.cx>
388
389         * erc-button.el 1.34 (erc-button-add-button):
390         make the created button rear-nonsticky, to allow
391         cutting and pasting of buttons without worrying about the button properties
392         being inherited by the text typed afterwards.
393
394         * erc.el 1.358: save logfile when killing buffer
395
396 2002-12-09  Alex Schroeder  <alex@gnu.org>
397
398         * erc-track.el 1.36 (erc-modified-channels-display): Reworked.
399         (erc-track-face-more-important-p): Removed.
400         (erc-track-find-face): Return only one face.
401         (erc-track-modified-channels): Reworked.
402         (erc-modified-channels-string): Changed from (BUFFER FACE...) to
403         (BUFFER . FACE)
404
405         * erc-stamp.el 1.19 (erc-insert-timestamp-right): Do not assume
406         erc-fill-column is available.
407
408 2002-12-09  Jorgen Schaefer  <forcer@users.sourceforge.net>
409
410         * erc.el 1.357:
411         erc-ech-notices-in-minibuffer-flag, erc-minibuffer-notice: Clarified
412             the difference in the docstrings.
413
414 2002-12-08  Jorgen Schaefer  <forcer@users.sourceforge.net>
415
416         * erc.el 1.356: erc-noncommands-list: added erc-cmd-SM and erc-cmd-SMV
417
418 2002-12-08  Alex Schroeder  <alex@gnu.org>
419
420         * erc.el 1.355 (erc-cmd-SM): New.
421         (erc-cmd-SMV): New.
422
423         * erc.el 1.354 (erc-modes): New.
424
425 2002-12-08  Jorgen Schaefer  <forcer@users.sourceforge.net>
426
427         * erc-compat.el 1.9:
428         field-end: use (not (fboundp 'field-end)) instead of (featurep 'xemacs)
429
430 2002-12-08  Alex Schroeder  <alex@gnu.org>
431
432         * erc.el 1.353 (erc-version-modules): New.
433
434 2002-12-08  Mario Lang  <mlang@delysid.org>
435
436         * debian/changelog 1.19, debian/control 1.7, debian/scripts/startup.erc 1.3:
437         debian release 3.0.cvs.20021208
438
439 2002-12-08  Jorgen Schaefer  <forcer@users.sourceforge.net>
440
441         * erc.el 1.352 (erc-split-command): Do the right thing with CTCPs.
442
443 2002-12-08  Mario Lang  <mlang@delysid.org>
444
445         * erc-stamp.el 1.18: Be a bit more functional
446
447 2002-12-08  Jorgen Schaefer  <forcer@users.sourceforge.net>
448
449         * erc-compat.el 1.8:
450         XEmacs doesn't seem to have field-end, so we provide our own version here.
451
452 2002-12-08  Mario Lang  <mlang@delysid.org>
453
454         * Makefile 1.9: Small fixes to debrelease target
455
456 2002-12-08  Jorgen Schaefer  <forcer@users.sourceforge.net>
457
458         * erc.el 1.351:
459         make-obsolete-variable: xemacs doesn't have the WHEN parameter, remove it.
460
461 2002-12-07  Jorgen Schaefer  <forcer@users.sourceforge.net>
462
463         * erc-imenu.el 1.5 (erc-create-imenu-index):
464         Use (forward-line 0) instead of
465           (beginning-of-line) now, sine the latter ignores fields (used in the
466           prompt).
467
468         * erc.el 1.350:
469         Rewrite of the prompt stuff to use a field named 'erc-prompt:
470
471         erc-prompt: Removed getter and setter functions. The properties were
472           already set (and overwritten) in erc-display-prompt.
473         (erc-prompt): Add the trailing space here, not all over the code.
474         (erc-display-prompt): Cleaned up a bit. The text-properties now are
475           valid on the whole prompt. Also, made the prompt 'intangible to
476           avoid confused users.
477         (erc-bol): Now use the field 'erc-prompt for finding the prompt
478         (erc-parse-current-line): Cleaned up considerably. Uses (erc-bol) now.
479         (erc-load-irc-script-lines): Adjusted for the new (erc-prompt).
480         (erc-save-buffer-in-logs): Adjusted for the new (erc-prompt).
481
482         * erc.el 1.349:
483         erc-uncontrol-input-line: The comment said "Consider it deprecated",
484         so I removed it now.
485         erc-prompt-interactive-input: Marked obsolete as of 1.348
486
487         * erc.el 1.348:
488         erc-smiley, erc-unmorse: Put at the end to separate it from the
489         important parts of erc.el.
490
491 2002-12-07  Alex Schroeder  <alex@gnu.org>
492
493         * erc-stamp.el 1.17 (erc-insert-timestamp-right): New algorithm.
494
495 2002-12-07  Jorgen Schaefer  <forcer@users.sourceforge.net>
496
497         * erc.el 1.347:
498         last-peers, erc-message: Explained what last-peers is used for.
499
500 2002-12-07  Alex Schroeder  <alex@gnu.org>
501
502         * erc-page.el 1.3 (erc-cmd-PAGE): New function.
503         (erc-ctcp-query-PAGE): Use the catalog entry for the message, too.
504         (erc-ctcp-query-PAGE-hook): Added custom type.
505         (erc-page-function): Changed custom type from ... function-item to
506         ... function.
507         As well as doc strings.
508
509 2002-12-06  Alex Schroeder  <alex@gnu.org>
510
511         * erc-page.el 1.2: provide feature at the end
512
513 2002-12-06  Brian P Templeton  <bpt@tunes.org>
514
515         * erc-nickserv.el 1.10:
516         Added austnet in erc-nickserv.el (thanks to Damien Elmes
517         <resolve@repose.cx>)
518
519 2002-12-05  Mario Lang  <mlang@delysid.org>
520
521         * erc-complete.el 1.13: Add autoload cookie
522
523         * erc-speak.el 1.24: Small fix to make proper voice-changes
524
525 2002-12-05  Alex Schroeder  <alex@gnu.org>
526
527         * erc-lang.el 1.1: New
528
529 2002-12-03  Jorgen Schaefer  <forcer@users.sourceforge.net>
530
531         * erc.el 1.346:
532         erc-mode-map: Put back C-c C-p (PART) and C-c C-q (QUIT)
533
534 2002-12-02  Jorgen Schaefer  <forcer@users.sourceforge.net>
535
536         * erc.el 1.345:
537         erc-insert-post-hook: Add :options erc-make-read-only, erc-save-buffer-in-logs
538         erc-send-post-hook: Add :options erc-make-read-only
539
540         * erc.el 1.344: erc-insert-hook: Removed ("this hook is obsolescent")
541         erc-insert-post-hook: Added :options '(erc-truncate-buffer)
542
543 2002-12-02  Mario Lang  <mlang@delysid.org>
544
545         * erc.el 1.343: Add missing requires
546
547 2002-11-29  Jorgen Schaefer  <forcer@users.sourceforge.net>
548
549         * erc.el 1.342 (erc-quit-reason-normal):
550         Remove v before %s so it's "Version ..." not
551            "vVersion ..."
552
553 2002-11-26  Alex Schroeder  <alex@gnu.org>
554
555         * erc-compat.el 1.7 (erc-encode-coding-string): Add second argument
556                 coding-system, and for non-mule xemacsen, use a new defun instead
557                 of identity.
558
559         * erc.el 1.341:  (define-erc-module): Use the appropriate group.
560         (erc-port): Changed custom type.
561         (erc-insert-hook): Custom group changed to erc-hooks.
562         (erc-after-connect): ditto
563         (erc-before-connect): ditto
564         (erc-disconnected-hook): ditto
565
566         * erc-button.el 1.33 (erc-button): New group, changed all custom groups
567         from erc to erc-button, but left all erc-faces as-is.
568
569         * erc-track.el 1.35 (erc-track): New group, changed all custom groups
570         from erc to erc-track.
571
572 2002-11-26  Mario Lang  <mlang@delysid.org>
573
574         * erc-macs.el 1.1:
575         Macros for erc-victim handling.  Primary idea is to use setf and some fancy things to get nice syntax. have a look
576
577 2002-11-26  Jorgen Schaefer  <forcer@users.sourceforge.net>
578
579         * erc.el 1.340:
580         pings, erc-cmd-PING, erc-ctcp-reply-PING, catalog entry CTCP-PING:
581         Cleaned up. Removed buffer-local variable pings which stored a list of
582         all sent CTCP PING requests. Now send our full time with the CTCP PING
583         request and interpret the answer.
584
585 2002-11-25  Jorgen Schaefer  <forcer@users.sourceforge.net>
586
587         * erc.el 1.339: nick-stk: replaced by the local variable current-nick.
588
589 2002-11-25  Alex Schroeder  <alex@gnu.org>
590
591         * erc.el 1.338 (erc-send-command): Use erc-encode-string-for-target.
592         (erc-encode-string-for-target): New.
593
594         * erc-compat.el 1.6 (erc-encode-coding-string): Add second argument
595         coding-system, and for non-mule xemacsen, use a new defun instead
596         of identity.
597
598         * erc-nickserv.el 1.9 (erc-nickserv-version): New.
599
600 2002-11-25  Jorgen Schaefer  <forcer@users.sourceforge.net>
601
602         * Makefile 1.8:
603         UNCOMPILED: erc-chess.el depends on chess-network.el, which might not
604         be installed. Don't compile it.
605
606         * erc.el 1.337:
607         erc-mode-map: Added C-a as erc-bol (no reason why it shouldn't be),
608         and removed C-c C-p (part channel) and C-c C-q (quite server) as these
609         are a bit drastic in their consequences and easy to mistype.
610
611 2002-11-24  Jorgen Schaefer  <forcer@users.sourceforge.net>
612
613         * erc-track.el 1.34: erc-track-faces-priority-list: Extended list
614
615         * erc.el 1.336:
616         channel-members: Updated docstring: We have a VOICE predicate, too.
617
618         * erc-track.el 1.33 (erc-unique-substrings):
619         Don't shorten a single channel to "#", but
620         always give at least 2 chars (except when there are no two chars).
621
622 2002-11-23  Jorgen Schaefer  <forcer@users.sourceforge.net>
623
624         * erc-nickserv.el 1.8:
625         support for BrasNET. Thanks to rw on IRC for the settings.
626
627 2002-11-23  Alex Schroeder  <alex@gnu.org>
628
629         * erc.el 1.335: (erc-default-recipients, erc-session-user-full-name)
630                 (nick-stk, pings, erc-announced-server-name, erc-connected)
631                 (channel-user-limit, last-peers, invitation, away, channel-list)
632                 (last-sent-time, last-ping-time, last-ctcp-time, erc-lines-sent)
633                 (erc-bytes-sent, quitting, bad-nick, erc-logged-in)
634                 (erc-default-nicks): Defvars.
635
636         * erc-compat.el 1.5: Switched tests to iso-8859-1 instead of latin-1.
637
638         * erc-compat.el 1.4 (erc-compat-version): New.
639
640 2002-11-22  Alex Schroeder  <alex@gnu.org>
641
642         * erc.el 1.334 (smiley): Smileys are a very small module, now.
643
644 2002-11-22  Jorgen Schaefer  <forcer@users.sourceforge.net>
645
646         * erc.el 1.333:
647         erc-event-to-hook, erc-event-to-hook-name: eval-and-compile these,
648             since we need them in a macro. ERC now compiles again!
649
650         * erc-speak.el 1.23:
651         erc-minibuffer-privmsg: Removed setting this variable to nil, since it
652             was removed from erc.el.
653
654         * erc.el 1.332 (erc-interactive-input-map): Added docstring.
655         (erc-wash-quit-reason): Extended docstring.
656         (erc-server-ERROR): Added docstring.
657         (erc-server-321): buffer-local variable channel-list probably
658             shouldn't be renamed erc-channel-list - removed FIXME.
659
660         * erc.el 1.331: small cleanup.
661         ("was not used anymore" here means "not used in erc/*.el nor in
662         fsbot", thanks to deego for checking that.)
663
664         erc-minibuffer-privmsg: Removed (was not used anymore)
665         (erc-reformat-command): Removed (was not used anymore)
666         (erc-strip-erc-parsed-property): Removed (was not used anymore)
667         (erc-process-ctcp-response): Removed (replaced by ctcp-query-XXX-hook)
668         (erc-send-paragraph): Removed ("Note that this function is obsolete,
669             erc-send-current-line handles multiline input.")
670         (erc-input-hook): Removed ("This hook is obsolete. See
671             `erc-send-pre-hook', `erc-send-modify-hook' and
672             `erc-send-post-hook' instead.")
673         (erc-message-hook): Removed ("This hook is obsolete. See
674             `erc-server-PRIVMSG-hook' and `erc-server-NOTICE-hook'.")
675         (erc-cmd-default-channel): Removed ("FIXME: no clue what this is
676             supposed to do." - it was supposed to prepend the default channel
677             to a command before sending it. E.g. typing "/FOO now!" would send
678             the IRC command "FOO #mycurrentchannel now!")
679
680         * erc.el 1.330:
681         erc-ctcp-query-PING: Send the whole argument back, not just the first
682         number. This is required for many clients (e.g. irssi, BitchX, ...)
683         which send their ping times in two different numbers for microsecond
684         accuracy.
685
686 2002-11-22  Alex Schroeder  <alex@gnu.org>
687
688         * erc-track.el 1.32 (erc-track-shorten-function): Allow nil.
689
690 2002-11-21  Alex Schroeder  <alex@gnu.org>
691
692         * erc-track.el 1.31 (erc-unique-channel-names): Fixed bug that appeared
693         if one target name was a substring of another -- eg. #hurd and
694         #hurd-bunny.  Added appropriate test.
695
696 2002-11-20  Jorgen Schaefer  <forcer@users.sourceforge.net>
697
698         * erc-track.el 1.30:
699         erc-unique-channel-names: Don't take a substring of channel that could
700         be longer than the channel, but at most (min (length candidate)
701         (length channel). (thanks to deego for noticing this)
702
703 2002-11-19  Mario Lang  <mlang@delysid.org>
704
705         * erc-notify.el 1.8: * (require pcomplete): Only when compiling.
706
707 2002-11-19  Jorgen Schaefer  <forcer@users.sourceforge.net>
708
709         * erc-track.el 1.29:
710         erc-track-faces-priority-list: New variable, defines what faces will
711         be shown in the modeline. If set to nil, the old behavior ("all")
712         remains.
713         erc-track-face-more-important-p: new function
714         erc-track-find-face: new function
715
716 2002-11-19  Alex Schroeder  <alex@gnu.org>
717
718         * erc-fill.el 1.20 (erc-stamp): Require it.
719
720         * erc-match.el 1.16 (away): devar for the compiler.
721
722         * erc-stamp.el 1.16 (stamp): Moved.
723
724         * erc.el 1.329 (erc-version-string): New version.
725
726         * erc-autoaway.el 1.7 (erc-autoaway-idletimer): Moved to the front of
727         the file.
728
729         * erc-auto.in 1.2: (generated-autoload-file, command-line-args-left):
730         Added defvar without value to silence byte compiler.
731
732         * Makefile 1.7 (realclean): renamed fullclean to realclean.
733         (UNCOMPILED): New list, for erc-bbdb.el, erc-ibuffer.el,
734         erc-speak.el.
735         (SOURCE): Do not compile UNCOMPILED.
736         (release): New target.
737         (ChangeLog): New target.
738         (todo): New target.
739
740         * erc-complete.el 1.12 (erc-match): Require it.
741         (hippie-exp): Require it.
742
743         * erc-ezbounce.el 1.3 (erc): Require it.
744
745         * erc-imenu.el 1.4 (imenu): Require it.
746
747         * erc-nickserv.el 1.7 (erc-networks): Moved up.
748
749         * erc-notify.el 1.7 (pcomplete): Require it.
750
751         * erc-replace.el 1.5 (erc): Require it.
752
753         * erc-sound.el 1.3 (sound): Typo -- define-key in erc-mode-map.
754
755         * erc-speedbar.el 1.10 (dframe): Require it.
756         (speedbar): Require it.
757
758         * erc-track.el 1.28 (erc-default-recipients): devar for the compiler.
759
760         * README 1.1: New file.
761
762 2002-11-18  Mario Lang  <mlang@delysid.org>
763
764         * AUTHORS 1.1: File needed for mkChangeLog
765
766         * mkChangeLog 1.1: Original code by mhp
767
768 2002-11-18  Alex Schroeder  <alex@gnu.org>
769
770         * erc-button.el 1.32 (erc-button-list): Renamed to erc-list and moved
771         to erc.el.
772
773         * erc.el 1.328 (erc-list): New.
774
775         * erc-track.el 1.27 (erc-make-mode-line-buffer-name): Simplified.
776         (erc-modified-channels-display): Simplified.  Now works with all
777         faces, and fixes the bug that when two faces where used (bold
778         erc-current-nick-face), then no faces was added.
779
780         * erc-track.el 1.26: Lots of new tests.  Moved some defuns around in
781         the file.
782         (erc-all-channel-names): Renamed.
783         (erc-all-buffer-names): New name, now include query buffers as
784         well.
785         (erc-modified-channels-update-inside): New variable.
786         (erc-modified-channels-update): Use it to prevent running display
787         if already inside it.  This prevented debugging of
788         `erc-modified-channels-display'.
789         (erc-make-mode-line-buffer-name): Moved.
790         (erc-track-shorten-names): Don't test using erc-channel-p as that
791         failed with query buffers.
792         (erc-unique-substrings): Move setq i + 1 to the end of the while
793         loop, so that start is used as a default value instead of start +
794         1.
795
796 2002-11-18  Jorgen Schaefer  <forcer@users.sourceforge.net>
797
798         * erc-track.el 1.25:
799         erc-unique-substrings: define this before using it in assert
800
801         * erc.el 1.327:
802         with-erc-channel-buffer: Define *before* using this macro. This
803         hopefully fixes a bug noted on IRC.
804
805         * erc-notify.el 1.6:
806         erc-notify-signon-hook, erc-notify-signoff-hook: New hooks. They're
807         even run when their name suggests!
808
809 2002-11-18  Alex Schroeder  <alex@gnu.org>
810
811         * erc-list.el 1.7: Typo.
812
813         * erc-speedbar.el 1.9: Whitespace only.
814
815         * erc.el 1.326 (define-erc-module): Avoid defining an alias if name and
816         alias are the same.
817
818         * erc-ibuffer.el 1.17: URL
819
820         * erc-imenu.el 1.3 (erc-imenu-version): New constant.
821
822         * erc-ibuffer.el 1.16 (erc-ibuffer-version): New constant.
823
824         * erc-ibuffer.el 1.15: File header, comments.
825
826         * erc-fill.el 1.19 (erc-fill-version): New constant.
827
828         * erc-ezbounce.el 1.2 (erc-ezb-version): New constant.
829
830         * erc-complete.el 1.11 (erc-complete-version): New constant.
831
832         * erc-chess.el 1.21 (erc-chess-version): New constant.
833
834         * erc-chess.el 1.20: Whitespace only.
835
836         * erc-bbdb.el 1.20 (erc-bbdb-version): Typo.
837
838         * erc-bbdb.el 1.19 (erc-bbdb-version): New constant.
839         Lots of whitespace changes.  Changes to the header.
840
841         * erc-track.el 1.24 (erc-track-shorten-aggressively): Doc.
842         (erc-all-channel-names): New function.
843         (erc-unique-channel-names): New function.
844         (unique-substrings): Renamed.
845         (erc-unique-substrings): New name
846         (unique-substrings-1): Renamed.
847         (erc-unique-substring-1): New name.  Added lots of tests.
848         (erc-track-shorten-names): Call erc-unique-channel-names instead
849
850         * erc-match.el 1.15 (match): Rewrote a as module.
851
852 2002-11-17  Alex Schroeder  <alex@gnu.org>
853
854         * erc-netsplit.el 1.6 (erc-netsplit-version): New.
855         (netsplit): Defined as a module, replacing erc-netsplit-initialize
856         and erc-netsplit-destroy.
857
858 2002-11-17  Jorgen Schaefer  <forcer@users.sourceforge.net>
859
860         * erc-track.el 1.23 (erc-track-switch-buffer):
861         define-erc-module defines erc-track-mode,
862         not erc-track-modified-channels-mode.
863
864         * erc.el 1.325:
865         Variables erc-play-sound, erc-sound-path, erc-default-sound,
866         erc-play-command, erc-ctcp-query-SOUND-hook and functions
867         erc-cmd-SOUND, erc-ctcp-query-SOUND, erc-play-sound, erc-toggle-sound
868         moved to erc-sound.el
869
870         Variables erc-page-function, erc-ctcp-query-PAGE-hook and function
871         erc-ctcp-query-PAGE moved to erc-page.el
872
873         * erc-page.el 1.1:
874         erc-page.el: New file. CTCP PAGE support for ERC, extracted from erc.el.
875
876         * erc-sound.el 1.2:
877         defin-erc-module: Typo. Autoload should do erc-sound-mode and "erc-sound".
878
879         * erc-sound.el 1.1:
880         erc-sound.el: New file. Contains all the CTCP SOUND stuff from erc.el.
881
882         * erc.el 1.324 (erc-process-ctcp-request):
883         Removed (old-style CTCP handling)
884         (erc-join-autogreet): Removed (was broken anyways)
885
886 2002-11-17  Alex Schroeder  <alex@gnu.org>
887
888         * erc-button.el 1.31 (erc-button-version): New constant.
889
890         * erc-button.el 1.30 (button): rewrote as a module.
891
892 2002-11-17  Jorgen Schaefer  <forcer@users.sourceforge.net>
893
894         * erc.el 1.323: New functions:
895         (erc-event-to-hook), (erc-event-to-hook-name): Convert an event to the
896         corresponding hook. The latter only returns the name, while the former
897         interns the hook symbol and returns it.
898
899 2002-11-17  Alex Schroeder  <alex@gnu.org>
900
901         * erc-replace.el 1.4:
902         Practically total rewrite.  All smiley stuff deleted.
903
904         * erc-track.el 1.22 (track): typo.
905
906         * erc.el 1.322 (define-erc-module): Doc change.
907
908 2002-11-17  Jorgen Schaefer  <forcer@users.sourceforge.net>
909
910         * erc-autoaway.el 1.6: Changed to use define-erc-module.
911
912         * erc.el 1.321 (define-erc-module):
913         Make the enable/disable functions interactive.
914
915         * erc.el 1.320 (erc):
916         Don't use switch-to-buffer when we're in the minibuffer,
917         because that does not work. Use display-buffer instead. This leaves
918         two problems: The point does not advance to the end of the buffer for
919         whatever reason, and after leaving the minibuffer, the new window gets
920         buried.
921
922 2002-11-17  Alex Schroeder  <alex@gnu.org>
923
924         * erc-stamp.el 1.15 (stamp): Doc change.
925
926         * erc-stamp.el 1.14 (erc-stamp-version): New constant.
927         (stamp): downcase alias name of the mode.
928
929         * erc.el 1.319 (define-erc-module): Added defalias option, renamed
930         parameters again.
931
932         * erc-track.el 1.21: erc-track-modified-channels-mode is now only an
933         alias to erc-track-mode.  Only erc-track-mode is autoloaded.
934         (track): Rewrote call to define-erc-module.
935
936 2002-11-16  Mario Lang  <mlang@delysid.org>
937
938         * debian/README.Debian 1.5: * Spelling fix
939
940         * erc-fill.el 1.18: * Fix autoload definition for erc-fill-mode
941
942         * debian/control 1.6, debian/maint/postinst 1.4, debian/maint/prerm 1.4:
943         * Remove /usr/doc -> /usr/share/doc link handling
944
945         * debian/changelog 1.18: * Sync with reality
946
947         * debian/scripts/startup.erc 1.2:
948         * Add /usr/share/emacs/site-lisp/erc/ to load-path
949         * (load "erc-auto")
950
951         * debian/README.Debian 1.4:
952         * Info about the changes since last release updated
953
954         * erc-pcomplete.el 1.11: * Fix emacs/xemacs compatibility
955
956         * debian/scripts/install 1.10: * Dont compile erc-compat, fix ELCDIR
957
958         * debian/control 1.5: * Change maintainer field
959
960         * erc.el 1.318:
961         * (defin-erc-module): Renamed argument mode-name to mname because silly byte-compiler thought we were talking about `mode-name'.
962
963         * Makefile 1.6: * Added debrelease target
964
965         * erc-bbdb.el 1.18, erc-pcomplete.el 1.10, erc-stamp.el 1.13, erc.el 1.317:
966         * (define-erc-module): Added mode-name argument.
967         * Converted erc-bbdb, erc-pcomplete and erc-stamp to new macro.
968         * autoload fixes
969
970         * erc-bbdb.el 1.17:
971         * Create a global-minor-mode (i.e., make it a proper erc-module)
972
973         * erc.el 1.316: * (define-erc-modle): New defmacro
974
975 2002-11-16  Jorgen Schaefer  <forcer@users.sourceforge.net>
976
977         * erc-autoaway.el 1.5 (erc-autoaway-idle-seconds):
978         t in docstrings should be non-nil
979
980 2002-11-16  Alex Schroeder  <alex@gnu.org>
981
982         * erc-autoaway.el 1.4, erc-button.el 1.29, erc-fill.el 1.17, erc-match.el 1.14,
983           erc-menu.el 1.9, erc-ring.el 1.5, erc-track.el 1.20:
984         Cleanup of file headers: copyright years, GPL mumbo-jumbo, commentaries.
985
986         * erc-stamp.el 1.12 (erc-insert-away-timestamp-function):
987         New custom type.
988         (erc-insert-timestamp-function): New custom type.
989
990         * erc-fill.el 1.16 (erc-fill-function): Doc, new custom type.
991         (erc-fill-static): Doc.
992         (erc-fill-enable): New function.
993         (erc-fill-disable): New function.
994         (erc-fill-mode): New function.
995
996         * erc-match.el 1.13 (erc-match-enable): add-hook for both
997         erc-insert-modify-hook and erc-send-modify-hook.
998         (erc-match-disable): remove-hook for both
999         erc-insert-modify-hook and erc-send-modify-hook.
1000
1001 2002-11-15  Jorgen Schaefer  <forcer@users.sourceforge.net>
1002
1003         * erc-autoaway.el 1.3:
1004         - Added a way to use auto-away using emacs idle timers
1005         - Renamed erc-set-autoaway to erc-autoaway-possibly-set-away for consistency
1006
1007 2002-11-14  Jorgen Schaefer  <forcer@users.sourceforge.net>
1008
1009         * erc.el 1.315: erc-mode-map: Removed the C-c C-g binding for erc-grab
1010
1011         * erc.el 1.314:
1012         (erc-server-341) Another instance of the channel/chnl problem i didn't
1013         see last time
1014
1015 2002-11-14  Alex Schroeder  <alex@gnu.org>
1016
1017         * erc-compat.el 1.3 (erc-decode-coding-string): typo
1018
1019 2002-11-14  Jorgen Schaefer  <forcer@users.sourceforge.net>
1020
1021         * erc.el 1.313 (erc-server-341):
1022         variable name should be chnl not channel, as it is
1023         used this way in this function, and the other erc-server-[0-9]* use
1024         chnl too.
1025
1026         * erc-autoaway.el 1.2:
1027         Set back on all servers, not just the current one, since we're set
1028         away on all servers as well.
1029
1030         * HISTORY 1.2: Fixed typo (ngu.org => gnu.org)
1031
1032         * erc-autoaway.el 1.1, erc-fill.el 1.15, erc.el 1.312: erc-autoaway.el:
1033         * new file
1034
1035         erc.el:
1036         * Removed auto-discard-away facility (now included in erc-autoaway.el)
1037         * (erc-away-p): new function
1038
1039         erc-fill.el:
1040         * (erc-fill-variable): Check wether erc-timestamp-format is bound before
1041                                using it (erc-fill.el does not require erc-stamp).
1042
1043 2002-11-10  Alex Schroeder  <alex@gnu.org>
1044
1045         * TODO 1.4:
1046         TODO: moved it to http://www.emacswiki.org/cgi-bin/wiki.pl?ErcTODO
1047
1048         * erc.el 1.311 (with-erc-channel-buffer): Rudimentary doc string.
1049
1050 2002-11-09  Alex Schroeder  <alex@gnu.org>
1051
1052         * erc-button.el 1.28 (erc-nick-popup-alist): Made a defcustom.
1053
1054         * erc-button.el 1.27 (erc-button-disable): New function.
1055         (erc-button-enable): New function, replaces the add-hook calls at top-level.
1056         (erc-button-mode): New minor mode.
1057
1058 2002-11-08  Alex Schroeder  <alex@gnu.org>
1059
1060         * erc-button.el 1.26 (erc-button-entry): Use erc-button-syntax-table.
1061
1062         * erc.el 1.310, erc-stamp.el 1.10: Doc changes.
1063
1064         * erc-match.el 1.12 (erc-match-mode): New function, replacing the
1065         add-hook.
1066         (erc-match-enable): New function.
1067         (erc-match-disable): New function.
1068         (erc-current-nick-highlight-type): Changed from 'nickname to 'nick
1069         to make it consistent with the others.
1070         (erc-match-message): Ditto.
1071
1072         * erc-button.el 1.25 (erc-button-syntax-table): New variable.
1073         (erc-button-add-buttons): Use it.
1074
1075 2002-11-06  Mario Lang  <mlang@delysid.org>
1076
1077         * erc.el 1.309:
1078         1) (bug) ERC pops up a new buffer and window when being messaged
1079            from an ignored person. fixed
1080         2) (misfeature) ERC notices the user in the minibuffer when it
1081            ignores something - this can get very annoying, since the
1082            minibuffer is also visible when not looking at ERC buffers.
1083            Added a customizeable variable for this, the default is nil.
1084         3) (wishlist) There is no IGNORE or UNIGNORE command.
1085            Added.
1086         4) (wishlist) Some IRC clients, notably irssi, allow the user to
1087            ignore "replies" to ignored people. A reply is defined as a