root/trunk/lisp/erc/ChangeLog.05

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

Sync up with Emacs22.2.

Line 
1 2005-11-23  Johan BockgÃ¥rd  <bojohan@users.sourceforge.net>
2
3         * erc.el (erc-cmd-SAY): Strip leading space in input line.
4
5 2005-10-29  Michael Olson  <mwolson@gnu.org>
6
7         * FOR-RELEASE: Add stuff that needs to be done before the 5.1
8         release.  Longer-term items can be added to the 5.2 section.
9
10         * Makefile (SITEFLAG): New variable that indicates what variant of
11         "--site-flag" to use.  XEmacs needs "-site-flag".
12         (INSTALLINFO): New variable indicating how we should call
13         install-info when installing documentation.
14         (erc-auto.el, .elc.el): Use $(SITEFLAG).
15
16         * NEWS: Note that last release was 5.0.4.
17
18         * erc.texi: Initial and incomplete draft of ERC documentation.
19         Commence collaborate-documentation-hack-mode :^) .
20
21 2005-10-29  Diane Murray  <disumu@x3y2z1.net>
22
23         * erc-ring.el (erc-replace-current-command): Revert last change
24         since it made the prompt disappear when using `erc-next-command'
25         and `erc-previous-command'.
26
27 2005-10-28  Michael Olson  <mwolson@gnu.org>
28
29         * erc.el (erc-input-marker): New variable that indicates the
30         position where text from the user begins, after the prompt.
31         (erc-mode-map): Bind <HOME> to erc-bol, just like C-a.
32         (erc): Initialize erc-input-marker.
33         (erc-display-prompt): Even in case where no prompt is desired by
34         the user, clear the undo buffer and set the input marker.
35         (erc-bol, erc-user-input): Simplify by using erc-input-marker.
36
37         * erc-pcomplete.el (pcomplete-parse-erc-arguments): Use
38         erc-insert-marker.
39
40         * erc-ring.el (erc-previous-command)
41         (erc-replace-current-command): Use erc-insert-marker.
42
43         * erc-spelling.el (erc-spelling-init): Make sure that even Emacs21
44         obeys erc-spelling-flyspell-verify.
45         (erc-spelling-flyspell-verify): Use erc-input-marker.  This should
46         make it considerably faster when switching to a buffer that has
47         seen a lot of activity since last viewed.
48
49 2005-10-25  Diane Murray  <disumu@x3y2z1.net>
50
51         * erc-backend.el (erc-server-version, 004): Re-added setting of
52         `erc-server-version'.  It doesn't hurt to set, and it could be
53         used in modules or users' settings.
54
55         * NEWS: Added descriptions of some new features.
56
57 2005-10-20  Diane Murray  <disumu@x3y2z1.net>
58
59         * erc-match.el (erc-current-nick-highlight-type): Set to `keyword'
60         as default.
61         (erc-beep-match-types): New variable.
62         (erc-text-matched-hook): Doc fix.  Added `erc-beep-on-match' to
63         customization options.
64         (erc-beep-on-match): New function.  If the MATCH-TYPE is found in
65         `erc-beep-match-types', beep.
66
67         * erc-compat.el (erc-make-obsolete, erc-make-obsolete-variable):
68         New functions to deal with the difference in the number of
69         arguments accepted by `make-obsolete' and `make-obsolete-variable'
70         in Emacs and XEmacs.
71
72         * erc.el, erc-nets.el: Use `erc-make-obsolete' and
73         `erc-make-obsolete-variable'.
74
75         * erc-compat.el (erc-make-obsolete, erc-make-obsolete-variable):
76         Handle `wrong-number-of-arguments' error instead of checking for
77         xemacs feature as future versions of XEmacs might accept three
78         arguments.
79
80 2005-10-18  Edward O'Connor  <ted@oconnor.cx>
81
82         * erc.el: Tell emacs-lisp-mode how to font-lock define-erc-module
83         docstrings.
84
85 2005-10-08  Diane Murray  <disumu@x3y2z1.net>
86
87         * AUTHORS, CREDITS, ChangeLog, ChangeLog.2002, ChangeLog.2004:
88         Updated my email address.
89
90 2005-10-06  Michael Olson  <mwolson@gnu.org>
91
92         * erc.el (erc-send-input-line, erc-cmd-KICK, erc-cmd-PART)
93         (erc-cmd-QUIT, erc-cmd-TOPIC, erc-kill-server, erc-kill-channel):
94         Adapt to new TARGET parameter of erc-server-send.
95
96         * erc-backend.el (erc-server-connect): Don't specify encoding for
97         erc-server-process, since we set this each time we send a line to
98         the server.
99         (erc-encode-string-for-target): Remove.
100         (erc-server-send): Allow TARGET to be specified.  This was how it
101         used to be before my more-backend work.  Set encoding of server
102         process just before sending text to it.  Associate encoding with
103         text if we are using the queue.
104         (erc-server-send-queue): Pull encoding from queue.
105         (erc-message, erc-send-ctcp-message, erc-send-ctcp-notice): Adapt
106         to new TARGET parameter of erc-server-send.
107
108 2005-10-05  Michael Olson  <mwolson@gnu.org>
109
110         * erc.el (erc-toggle-debug-irc-protocol): Use erc-view-mode-enter
111         rather than view-mode.
112
113         * erc-backend.el (erc-encode-string-for-target): If given a nil or
114         empty string, return "".
115         (erc-server-send-queue): XEmacs fix: Use erc-cancel-timer rather
116         than cancel-timer.
117
118         * erc-compat.el (erc-view-mode-enter): New function that is
119         aliased to the correct way of entering view-mode.
120
121         * erc-match.el (erc-log-matches-make-buffer): Use
122         erc-view-mode-enter rather than view-mode-enter.
123
124 2005-10-05  Edward O'Connor  <ted@oconnor.cx>
125
126         * erc-backend.el (erc-encode-string-for-target): If str is nil,
127         pass the empty string to erc-encode-coding-string instead, which
128         allows one to /part and /quit without providing a reason again.
129
130 2005-10-03  Michael Olson  <mwolson@gnu.org>
131
132         * erc-backend.el (erc-message, erc-send-ctcp-message)
133         (erc-send-ctcp-notice): Encode string for target before sending.
134
135         * erc.el (erc-cmd-KICK, erc-cmd-PART, erc-cmd-QUIT, erc-cmd-TOPIC)
136         (erc-kill-server, erc-kill-channel): Ditto.
137
138 2005-09-05  Johan BockgÃ¥rd  <bojohan@users.sourceforge.net>
139
140         * erc-page.el (erc-ctcp-query-PAGE): (message text) -> (message
141         "%s" text).
142         (erc-cmd-PAGE): Simplify regexp. Put `do-not-parse-args' t.
143
144 2005-09-05  Michael Olson  <mwolson@gnu.org>
145
146         * erc.el (erc-flood-limit, erc-flood-limit2): Remove since they
147         are no longer needed.
148         (erc-send-input): Detect whether we want flood control to be
149         active.  The previous behavior was to always force the message.
150         (erc-toggle-flood-control): Adapt to new flood control method.  No
151         more 'strict.
152         (erc-cmd-SV): Use concat rather than
153         format-time-string.
154         (erc-format-target, erc-format-target-and/or-server): Shorten
155         logic statements.
156
157         * erc-compat.el (erc-emacs-build-time): Use a string
158         representation rather than trying to coerce a time out of a string
159         on XEmacs.
160
161         * erc-identd.el (erc-identd-start): Use make-network-process
162         instead of open-network-stream.  Error out if this is not defined.
163
164         * erc-backend.el (erc-send-line): New command that sends a line
165         using flood control, using a callback for display.  It isn't used
166         yet.
167
168 2005-09-04  Michael Olson  <mwolson@gnu.org>
169
170         * erc.el: Add defvaralias and make-obsolete-variable for
171         erc-default-coding-system.
172         (channel-topic, channel-modes, channel-user-limit, channel-key,
173         invitation, away, channel-list, bad-nick): Rename globally to
174         erc-{name-of-variable}.
175
176 2005-09-03  Johan BockgÃ¥rd  <bojohan@users.sourceforge.net>
177
178         * erc.el (erc-message): Simplify regexp.
179         (erc-cmd-DEOP, erc-cmd-OP): Simplify.
180
181 2005-08-29  Michael Olson  <mwolson@gnu.org>
182
183         * erc.el: Alias erc-send-command to erc-server-send.  ErBot needs
184         this to work without modification.  Add defvaralias for
185         erc-process.  Make this and the other backwards-compatibility
186         functions and variables be marked obsolete as of ERC 5.1.
187
188         * erc-backend.el: Add autoload for erc-log macro.
189         (erc-server-connect): Set some variables before defining process
190         handlers.  It probably doesn't make any difference.
191
192 2005-08-26  Michael Olson  <mwolson@gnu.org>
193
194         * erc.el: Add defvaralias for erc-announced-server-name, since
195         this seems to be widely used.
196
197 2005-08-17  Michael Olson  <mwolson@gnu.org>
198
199         * erc.el (erc): Remove unnecessary boundp check.
200
201         * erc-autoaway.el: Fix compiler warning.
202
203         * erc-backend.el (erc-server-version): Since this isn't used by
204         any code, and isn't generally useful, remove it.
205         (erc-server-send-queue): Use erc-current-time rather than
206         float-time.
207         (004): Don't set erc-server-version.
208
209         * erc-dcc.el (erc-dcc-chat-request, erc-dcc-get-parent): Move to
210         fix a compiler warning.
211
212         * erc-ibuffer.el (erc-server): Remove unnecessary boundp check.
213
214         * erc-identd.el (erc-identd-start): Use read-string instead of
215         read-input.
216
217         * erc-imenu.el (erc-unfill-notice): Use a while loop instead of
218         replace-regexp.
219
220         * erc-nicklist.el: Add conditional dependency on erc-bbdb.
221         (erc-nicklist-insert-contents): Tighten some regexps.
222
223         * erc-notify.el (erc-notify-list): Docfix.
224
225         * erc-spelling.el (erc-spelling-dictionaries): Add :type and
226         :group to silence a compiler warning.
227
228 2005-08-14  Michael Olson  <mwolson@gnu.org>
229
230         * erc-backend.el (erc-session-server, erc-session-port)
231         (erc-announced-server-name, erc-server-version)
232         (erc-server-parameters): Moved here from erc.el.
233         (erc-server-last-peers): Moved, renamed from last-peers.
234         (erc-server-lag): Moved, renamed from erc-lag.
235         (erc-server-duplicates): Moved, renamed from erc-duplicates.
236         (erc-server-duplicate-timeout): Moved, renamed from
237         erc-duplicate-timeout.
238         (erc-server): New customization group hosting all options from
239         this file.
240         (erc-server-prevent-duplicates): Moved, renamed from
241         erc-prevent-duplicates.
242         (erc-server-duplicate-timeout): Moved, renamed from
243         erc-duplicate-timeout.
244         (erc-server-auto-reconnect, erc-split-line-length)
245         (erc-server-coding-system, erc-encoding-coding-alist)
246         (erc-server-connect-function, erc-server-flood-margin)
247         (erc-server-flood-penalty): Change group to 'erc-server.
248         (erc-server-send-ping-interval): Moved, renamed from
249         erc-ping-interval.
250         (erc-server-ping-handler): Moved, renamed from erc-ping-handler.
251         (erc-server-setup-periodical-server-ping): Moved, renamed from
252         erc-setup-periodical-server-ping.
253         (erc-server-connect): Add to docstring.  Move more initialization
254         here.
255         (erc-server-processing-p): Docfix.
256         (erc-server-connect): Use 'raw-text like in the original version.
257         (erc-server-filter-function): Don't reset process coding system.
258
259         * erc-stamp.el (erc-add-timestamp): If the text at point is
260         invisible, don't insert a timestamp.  Thanks to Pascal
261         J. Bourguignon for the suggestion.
262
263         * erc-match.el (erc-text-matched-hook): Don't hide fools by
264         default, but include it in the available options.
265
266 2005-08-13  Michael Olson  <mwolson@gnu.org>
267
268         * erc-*.el: s/erc-send-command/erc-server-send/g.
269         s/erc-process/erc-server-process/g (sort of).  Occasional
270         whitespace and indentation fixes.
271
272         * erc-backend.el: Specify a few local variables for indentation.
273         Take one item off of the TODO list.
274         (erc-server-filter-data): Renamed from erc-previous-read.  From
275         circe.
276         (erc-server-processing-p): New variable that indicates when we're
277         currently processing a message.  From circe.
278         (erc-split-line-length): New option that gives the maximum line
279         length of a single message.  From circe.
280         (erc-default-coding-system): Moved here from erc.el.
281         (erc-split-line): Renamed from erc-split-command and taken from
282         circe.
283         (erc-connect-function, erc-connect, erc-process-sentinel-1)
284         (erc-process-sentinel, erc-flood-exceeded-p, erc-send-command)
285         (erc-message, erc-upcase-first-word, erc-send-ctcp-message)
286         (erc-send-ctcp-notice): Moved here from erc.el.
287         (erc-server-filter-function): Renamed from erc-process-filter.
288         From circe.
289         (erc-server-process): Renamed from `erc-process' and moved here
290         from erc.el.
291         (erc-server-coding-system): Renamed from
292         `erc-default-coding-system'.
293         (erc-encoding-coding-alist): Moved here from erc.el.
294         (erc-server-flood-margin, erc-server-flood-penalty):
295         (erc-server-flood-last-message, erc-server-flood-queue):
296         (erc-server-flood-timer): New options from circe that allow
297         tweaking of flood control.
298         (erc-server-connect-function): Renamed from erc-connect-function.
299         (erc-flood-exceeded-p): Removed.
300         (erc-coding-system-for-target)
301         (erc-encode-string-for-target, erc-decode-string-from-target):
302         Moved here from erc.el
303         (erc-server-send): Renamed from erc-send-command.  Adapted from
304         the circe function by the same name.
305         (erc-server-send-queue): New function from circe that implements
306         handling of a flood queue.
307         (erc-server-current-nick): Renamed from current-nick.
308         (erc-server-quitting): Renamed from `quitting'.
309         (erc-server-last-sent-time): Renamed from `last-sent-time'.
310         (erc-server-last-ping-time): Renamed from `last-ping-time'.
311         (erc-server-lines-sent): Renamed from `lines-sent'.
312         (erc-server-auto-reconnect): Renamed from `erc-auto-reconnect'.
313         (erc-server-coding-system): Docfix.
314         (erc-server-connect): Renamed from `erc-connect'.  Require SERVER
315         and PORT parameters.  Initialize several variables here.  Don't
316         set `erc-insert-marker'.  Use a per-server coding system via
317         erc-server-default-encoding.
318
319         * erc.el (erc-version-string): Changed to indicate we are running
320         the `more-backend' branch.
321         (erc-send-single-line): Implement flood control using
322         erc-split-line.
323         (erc-send-input): Move functionality of erc-send-single-line in
324         here.
325         (erc-send-single-line): Assimilated!
326         (erc-display-command, erc-display-msg): Handle display hooks.
327         (erc-auto-reconnect, current-nick, last-sent-time)
328         (last-ping-time, last-ctcp-time, erc-lines-sent, erc-bytes-sent)
329         (quitting): Moved to erc-backend.el.
330         (erc): Docfix.  Don't initialize quite so many things here.
331
332 2005-08-10  Michael Olson  <mwolson@gnu.org>
333
334         * debian/copyright (Copyright): Remove notices for 4 people, since
335         they didn't contribute legally-significant changes, or have had
336         these changes overwritten.
337
338         * erc-log.el: Remove copyright notice.
339
340         * erc.el: Remove 3 copyright notices.
341
342 2005-08-09  Michael Olson  <mwolson@gnu.org>
343
344         * debian/changelog: Create 5.0.4-3 package.  This doesn't serve
345         any purpose other than to thank Romain Francoise for some advice.
346
347         * Makefile (debrelease): Allow last upload and extra build options
348         to be specified.
349
350 2005-08-08  Michael Olson  <mwolson@gnu.org>
351
352         * debian/changelog: Create 5.0.4-2 package.
353
354         * debian/control (Uploaders): Add Romain Francoise.
355         (Standards-Version): Update to 3.6.2.
356         (Depends): Add `emacsen'.
357
358         * debian/scripts/startup.erc (load-path): Minor whitespace fixup.
359
360         * Makefile (clean): Split target from realclean and make it remove
361         files that aren't packaged in releases.
362         (clean, release): Minor cleanups.
363         (debrelease): Use debuild rather than dpkg-buildpackage since the
364         former calls lintian.  Minor cleanups.
365         (debrelease-mwolson): New target that removes old Debian packages,
366         calls debrelease, and copies the resulting package to my dist dir.
367         (upload): New target that automates the process of uploading an
368         ERC release to sourceforge.
369
370         * erc.el (erc-mode): Use `make-local-variable' instead of
371         `make-variable-buffer-local'.
372
373 2005-07-12  Michael Olson  <mwolson@gnu.org>
374
375         * debian/changelog: Build 5.0.4-1.
376
377         * Makefile (release): Prepare zip file in addition to tarball.
378
379         * NEWS: Add item for the undo fix.
380
381 2005-07-09  Michael Olson  <mwolson@gnu.org>
382
383         * erc-nicklist.el (erc-nicklist-insert-contents): Check
384         erc-announced-name before erc-session-server.  Make sure that we
385         can never get a stringp (nil) error.
386         (erc-nicklist-call-erc-command): If given no command, do nothing.
387         This fixes an error that used to occur when a stray mouse click
388         was made outside of the popup window, but on the erc-nicklist
389         menu.
390
391         * erc-bbdb.el (erc-bbdb-search-name-and-create): Get rid of the
392         infinite input loop when you want to create a new record.  Replace
393         most of that with a completing read of existing nicks.  If no nick
394         is chosen, create a new John Doe record.  The net effect of this
395         is that the old behavior is re-instated, with the addition of one
396         completing read that happens when you do a /whois.
397
398 2005-07-09  Johan BockgÃ¥rd  <bojohan@users.sourceforge.net>
399
400         * erc.el (erc-process-input-line): Docfix.
401         (erc-update-mode-line-buffer): Use `erc-propertize' instead of
402         `propertize'.
403         (erc-propertize): Move to erc-compat.el.
404
405         * erc-compat.el (erc-propertize): Move here from erc.el. Always
406         return a copy of the string (like `propertize' in GNU Emacs).
407
408         * erc-nicklist.el (erc-nicklist-icons-directory)
409         (erc-nicklist-voiced-position)
410         (erc-nicklist-insert-medium-name-or-icon): Docfix.
411         (erc-nicklist-insert-contents): Simplify.
412         (erc-nicklist-mode-map): Bind RET instead of `return'. Bind
413         `down-mouse-3' instead of `mouse-3'.
414         (erc-nicklist-kbd-cmd-QUERY): Cleanup regexp.
415         (erc-nicklist-channel-users-info): Docfix. Simplify.
416
417 2005-07-02  Michael Olson  <mwolson@gnu.org>
418
419         * images: New directory containing the images that are used by
420         erc-nicklist.el.  These are from Gaim, and are thought to be
421         available under the terms of the GPL.
422
423         * erc-bbdb.el: Add local variables section to preserve tabs, since
424         that is the style used throughout this file.  Apply patch from
425         Edgar Gonçalves as follows.
426         (erc-bbdb-bitlbee-name-field): New variable that indicates the
427         field name to use for annotating the "displayed name" of a bitlbee
428         contact.
429         (erc-bbdb-irc-highlight-field): Docfix.
430         (erc-bbdb-search-name-and-create): Prompt the user for the name of
431         a contact if none was found.  Merge the new entries into the
432         specified contact.  If new arg SILENT is non-nil, do not prompt
433         the user for a name or offer to merge the new entry.
434         (erc-bbdb-insinuate-and-show-entry): New arg SILENT is accepted,
435         which is passed on to erc-bbdb-search-name-and-create.
436         (erc-bbdb-whois): Tell erc-bbdb-search-name-and-create to prompt
437         for name if necessary.
438         (erc-bbdb-JOIN, erb-bbdb-NICK): Forbid
439         erc-bbdb-search-name-and-create from prompting for a name.
440
441         * erc-nicklist.el: Add local variables section to preserve tabs,
442         since that is the style used throughout this file.  Apply patch
443         from Edgar Gonçalves as follows.
444         (erc-nicklist-use-icons): New option; if non-nil, display an icon
445         instead of the name of the chat medium.
446         (erc-nicklist-icons-directory): New option indicating the path to
447         the PNG files that are used for chat icons.
448         (erc-nicklist-use-icons): New option indicating whether to put
449         voiced nicks on top, bottom, or not to differentiate them.  The
450         default is to put them on the bottom.
451         (erc-nicklist-bitlbee-connected-p): New variable that indicates
452         whether or not we are currently using bitlbee.  An attempt will be
453         made to auto-detect the proper value.  This is bound in the
454         `erc-nicklist-insert-contents' function.
455         (erc-nicklist-nicklist-images-alist): New variable that maps a
456         host type to its icon.  This is set by `erc-nicklist'.
457         (erc-nicklist-insert-medium-name-or-icon): New function that
458         inserts an icon or string that identifies the current host type.
459         (erc-nicklist-search-for-nick): New function that attempts to find
460         a BBDB record that corresponds with this contact given its
461         finger-host.  If found, return its bitlbee-nick field.
462         (erc-nicklist-insert-contents): New function that inserts the
463         contents of the nick list, including text properties and images.
464         (erc-nicklist): Populate `erc-nicklist-images-alist'.  Move
465         nicklist content generation code to
466         `erc-nicklist-insert-contents'.
467         (erc-nicklist-mode-map): Map C-j to erc-nicklist-kbd-menu and RET
468         to erc-nicklist-kbd-cmd-QUERY.
469         (erc-nicklist-call-erc-command): Make use of
470         `switch-to-buffer-other-window'.
471         (erc-nicklist-cmd-QUERY): New function that opens a query buffer
472         for the given contact.
473         (erc-nicklist-kbd-cmd-QUERY): Ditto; contains most of the code.
474         (erc-nicklist-kbd-menu): New function that shows the nicklist
475         action menu.
476         (erc-nicklist-channel-users-info): Renamed from
477         `erc-nicklist-channel-nicks'.  Implement sorting voiced users.
478
479 2005-06-29  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
480
481         * erc-nickserv.el (erc-nickserv-alist): Fix regexp for Azzurra.
482
483 2005-06-26  Michael Olson  <mwolson@gnu.org>
484
485         * erc-autojoin.el (erc-autojoin-add, erc-autojoin-remove): Use
486         `erc-session-server' if `erc-announced-server-name' is nil.  This
487         happens when servers don't send a 004 message.
488
489         * erc.el (erc-quit-server): Ditto.
490
491         * erc-ibuffer.el (erc-server, erc-server-name): Ditto.
492
493         * erc-notify.el (erc-notify-JOIN, erc-notify-NICK)
494         (erc-notify-QUIT): Ditto.
495
496 2005-06-24  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
497
498         * erc.el (erc-default-coding-system)
499         (erc-handle-user-status-change): Docstring fix.
500         (with-erc-channel-buffer): Removed.
501         (erc-ignored-reply-p): Replace `with-erc-channel-buffer' with
502         `erc-with-buffer'.
503         (erc-display-line-1): Revision 1.730 broke undo. Fix it.
504
505 2005-06-23  Michael Olson  <mwolson@gnu.org>
506
507         * CREDITS: Add entries for Luigi Panzeri and Andreas Schwab.
508
509         * erc-nickserv.el (erc-nickserv-alist): Add entries for Azzurra
510         and OFTC.  Thanks to Luigi Panzeri and Andreas Schwab for
511         providing these.
512
513 2005-06-16  Michael Olson  <mwolson@gnu.org>
514
515         * CREDITS: Add John Paul Wallington.
516
517         * erc.el: Thanks to John Paul Wallington for the following.
518         (erc-nickname-in-use): Use `string-to-number' instead of
519         `string-to-int'.
520
521         * erc-dcc.el (erc-dcc-handle-ctcp-send)
522         (erc-dcc-handle-ctcp-chat, erc-dcc-get-file)
523         (erc-dcc-chat-accept): Ditto.
524
525         * erc-identd.el (erc-identd-start): Ditto.
526
527 2005-06-16  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
528
529         * erc.el (erc-mode-map): Suppress `font-lock-fontify-block' key
530         binding since it destroys face properties.
531
532 2005-06-08  Michael Olson  <mwolson@gnu.org>
533
534         * erc.el (erc-cmd-UNIGNORE): Use `erc-member-ignore-case' instead
535         of `member-ignore-case'.  Thanks to bpalmer for the heads up.
536
537 2005-06-06  Michael Olson  <mwolson@gnu.org>
538
539         * erc.el (erc-modules): Fix a mistake I made when editing this a
540         few days ago.  Modes should now be disabled properly.
541         (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Remove unnecessary call to
542         `format'.  Thanks to Andreas Schwab for reporting this.
543
544         * debian/changelog: Close "README file missing" bug.
545
546         * debian/rules (binary-erc): Install README file.
547
548 2005-06-03  Michael Olson  <mwolson@gnu.org>
549
550         * erc.el (erc-with-buffer): Set `lisp-indent-function' so Emacs
551         Lisp mode knows how to indent erc-with-buffer blocks.
552         (with-erc-channel-buffer): Ditto.
553         (erc-with-all-buffers-of-server): Ditto.
554         (erc-modules): Use pcomplete by default, not completion, since
555         erc-complete.el is deprecated.  Use `fboundp' instead of
556         `symbol-value' to check for existence of a function before calling
557         it.  This was causing an error when untoggling the `completion'
558         option and trying to save via the customize interface.
559
560         * erc-track.el (erc-modified-channels-update): If a buffer is not
561         currently connected, remove it from the modified channels list.
562         This should fix the problem where residue was left on the mode
563         line after quitting ERC.
564
565         * erc-list.el (erc-prettify-channel-list): Docfix; thanks to John
566         Paul Wallington for reporting this.
567
568 2005-05-31  Michael Olson  <mwolson@gnu.org>
569
570         * debian/changelog: First draft of entries for the 5.0.3 release.
571
572         * debian/README.Debian: Note that ERC will now install correctly
573         on versions of Emacs or XEmacs that do not have the `format-spec'
574         library.  Correct some grammar and prune the content a bit.
575
576         * debian/scripts/install (emacs20): Remove line since we no longer
577         need to deal with format-spec.el.
578
579         * NEWS: Add entries for the upcoming 5.0.3 release.
580
581         * erc.el: Don't require format-spec since this is provided in
582         erc-compat.el now.
583         (erc-process-sentinel, erc-setup-periodical-server-ping): Use
584         `erc-cancel-timer' instead of `cancel-timer'.
585         (erc-version-string): Update to 5.0.3.
586
587         * erc-autoaway.el (autoaway, erc-autoaway-reestablish-idletimer):
588         Use `erc-cancel-timer' instead of `cancel-timer'.
589
590         * erc-compat.el (format-spec, format-spec-make): If we cannot load
591         the `format-spec' library, provide versions of these functions.
592         This should keep problems from surfacing with Emacs21 Debian
593         builds.
594         (erc-cancel-timer): New function created to take the place of
595         `cancel-timer' since XEmacs calls it something else.
596
597         * erc-track.el (erc-modified-channels-update): Accept any number
598         of arguments, which are ignored.  This allows it to be run from
599         `erc-disconnected-hook' without extra bother.
600         (track): Add `erc-modified-channels-update' to
601         `erc-disconnected-hook' so that the indicators are removed
602         correctly in some edge cases.
603         (erc-modified-channels-display): Make sure that we never pass nil
604         to the function in `erc-track-shorten-function'.  This happens
605         when we have deleted buffers in `erc-modified-channels-alist'.
606         Also, make sure that the buffer has a non-nil short-name before
607         adding it to the string list.  This should fix some XEmacs
608         warnings when running /quit with unchecked buffers, as well as get
609         rid of a stray buffer problem (or so it is hoped).
610
611 2005-05-31  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
612
613         * erc-replace.el, erc-speak.el: Clean up comment formatting.
614
615         * erc-ring.el (ring, erc-input-ring-index, erc-clear-input-ring):
616         Clean up docstring formatting.
617
618 2005-05-30  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
619
620         * erc.el (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Delete superfluous
621         arg to `format'.
622         (erc-load-irc-script): Use `insert-file-contents' instead of
623         `insert-file'. Simplify.
624
625 2005-05-29  Michael Olson  <mwolson@gnu.org>
626
627         * erc.el (erc-version-string): Move this up so that it is
628         evaluated before the `require' statements.  Not a major change.
629
630 2005-04-27  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
631
632         * erc.el (erc-complete-word): Simplify.
633
634 2005-04-27  Michael Olson  <mwolson@gnu.org>
635
636         * Makefile (debrelease): Use a slightly different approach when
637         removing CVS and Arch cruft.
638
639         * debian/changelog: Update for 5.0.2-1 package.
640
641 2005-04-25  Michael Olson  <mwolson@gnu.org>
642
643         * erc-autoaway.el (erc-autoaway-reestablish-idletimer): Move code
644         block higher in file to fix a load failure when using Emacs21.
645         Thanks to Daniel Brockman for the report and fix.
646
647 2005-04-24  Adrian Aichner  <adrian@xemacs.org>
648
649         * erc-backend.el (JOIN): save-excursion so that
650         `erc-current-logfile' inserts into the correct channel buffers
651         when using erc-log-insert-log-on-open in combination with autojoin
652         to multiple channels.
653
654 2005-04-17  Adrian Aichner  <adrian@xemacs.org>
655
656         * erc-log.el: Remove stray whitespace.
657         * erc.el: Ditto.
658
659 2005-04-09  Aidan Kehoe  <kehoea@parhasard.net>
660
661         * erc.el: autoload erc-select-read-args, which, because it parses
662         erc-select's args, can be called before erc.el is loaded.
663
664 2005-04-07  Edward O'Connor  <ted@oconnor.cx>
665        
666         * erc-viper.el: Remove final newlines from previously-existing ERC
667         buffers. (Minor bug fix.)
668
669 2005-04-06  Michael Olson  <mwolson@gnu.org>
670
671         * Makefile (debrelease): Ignore errors from deleting Arch and CVS
672         metadata.
673
674 2005-04-05  Michael Olson  <mwolson@gnu.org>
675
676         * ChangeLog, CREDITS, AUTHORS: Correct name and email address of
677         Marcelo Toledo.
678
679 2005-04-04  Michael Olson  <mwolson@gnu.org>
680
681         * erc.el (erc-modules): Add entry for spelling module.
682
683         * erc-spelling.el: Add autoload line.
684
685         * erc-backend.el: Apply latest non-ascii patch from Kai Fan.
686         (erc-decode-parsed-server-response): Search
687         erc-response.command-args for channel name.  Decode the
688         erc-response struct using this channel name as key according to
689         the `erc-encoding-coding-alist'.
690
691         * erc-track.el: Apply patch from Henrik Enberg.
692         (erc-modified-channels-object): Use optimal amount of whitespace
693         around modified channels indicator.
694
695 2005-04-02  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
696
697         * erc.el (define-erc-module, erc-with-buffer)
698         (erc-with-all-buffers-of-server, with-erc-channel-buffer): Add
699         edebug-form-spec.
700
701         * erc-compat (erc-define-minor-mode): Ditto.
702
703 2005-03-29  Jorgen Schaefer  <forcer@forcix.cx>
704
705         * erc-spelling.el: New file.
706
707 2005-03-24  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
708
709         * erc-backend.el (define-erc-response-handler): Add
710         `definition-name' property to constructed symbols so that
711         find-function and find-variable will find them.
712
713 2005-03-21  Michael Olson  <mwolson@gnu.org>
714
715         * erc-dcc.el, erc-goodies.el, erc-list.el, erc-notify.el,
716         erc-ring.el, erc.el: Copyright assignment occurred.
717
718         * debian/scripts/install: Make a shell wrapper around the original
719         Makefile and inline the Makefile.  The problem is that Debian
720         passes all the Emacs variants at once, rotating them at every
721         invocation of the install script, which happens once per variant.
722         This caused each installation to happen N-1 times more often than
723         it should have.  As a result, we need to only deal with the first
724         argument.
725         (ELFILES): Only add format-spec.el if we are compiling for
726         emacs21.  Don't filter out erc-compat.el.
727         (SITEFLAG): New variable that indicates that the "nosite" option
728         should look like.
729         (.DEFAULT): Use $(FLAVOUR) instead of $@ for clarity.
730
731         * debian/rules: Install NEWS file and compress it.
732
733         * debian/maint/postinst: Be more cautious about configuration
734         step.
735
736         * debian/copyright (Copyright): Another assignment came in.
737
738         * debian/control (Standards-Version): Update to a newer version as
739         recommended by lintian.
740
741         * debian/changelog: Changes made for the Debian package.
742
743         * debian/README.Debian: Keep only the General Notes section.
744
745         * NEWS: Move old history items here from debian/README.Debian.
746
747         * Makefile (SNAPSHOTDATE): Deprecate this option since we hope to
748         release more often.
749
750 2005-03-20  Jorgen Schaefer  <forcer@users.sourceforge.net>
751
752         * erc.el (erc-define-catalog, `ctcp-request-to'): Fix typo (%: ->
753         %t:).
754
755 2005-03-01  Michael Olson  <mwolson@gnu.org>
756
757         * erc-log.el (erc-save-buffer-in-logs): Replace tabs with spaces
758         in code indentation.
759
760 2005-02-28  Michael Olson  <mwolson@gnu.org>
761
762         * erc.el (erc-display-message): Apply corrected patch from Henrik
763         Enberg.
764
765 2005-02-27  Michael Olson  <mwolson@gnu.org>
766
767         * erc.el (erc-display-message): Apply patch from Henrik Enberg.
768         Check here to see if a message should be hidden, rather than
769         relying on code in each individual command.
770         (erc-version-string): Add "(CVS)" to the version string for
771         clarity.
772
773         * erc-backend.el (JOIN, KICK, MODE, NICK, PART, QUIT, TOPIC):
774         Don't check `erc-hide-list' here.
775
776         * erc-list.el, erc-match.el, erc.el, debian/copyright: Update
777         copyright information as a few more people have assignments
778         registered.
779
780 2005-02-06  Michael Olson  <mwolson@gnu.org>
781
782         * erc-backend.el: Apply patch from Kai Fan for non-ASCII character
783         support.
784         (erc-parse-server-response): Add call to
785         `erc-decode-parsed-server-response'.
786         (erc-decode-parsed-server-response): New function that decodes a
787         pre-parsed server response before it can be handled.
788         (PRIVMSG): Comment out call to `erc-decode-string-from-target'.
789         (TOPIC): Ditto.
790
791 2005-02-01  Jorgen Schaefer  <forcer@users.sourceforge.net>
792
793         * erc.el (erc-process-sentinel-1): Don't reconnect on connection
794         refused. This error is reported differently when using
795         open-network-stream-nowait.
796
797 2005-01-26  Diane Murray  <disumu@x3y2z1.net>
798
799         * erc.el (erc-cmd-APPENDTOPIC, erc-set-topic): The control
800         character in `channel-topic' was changed to \C-o - replaced \C-c
801         with \C-o so that these functions work as expected again.
802         (erc-get-channel-mode-from-keypress): Doc fix.
803
804 2005-01-25  Diane Murray  <disumu@x3y2z1.net>
805
806         * erc.el, erc-button.el, erc-compat.el, erc-goodies.el,
807         erc-match.el, erc-nets.el, ChangeLog, NEWS: Merged bug fixes made
808         on release_5_0_branch since 5.0.1 release.
809
810 2005-01-24  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
811
812         * erc.el (erc-input-action): Quote `erc-action-history-list' so
813         that input history actually works.
814         (erc-process-ctcp-query): Fix and simplify logic.
815         (erc-get-channel-mode-from-keypress): Use `C-' string syntax.
816         (erc-load-irc-script-lines): Use `erc-command-indicator' instead
817         of `erc-prompt'.
818
819 2005-01-23  Edward O'Connor  <ted@oconnor.cx>
820        
821         * erc-viper.el: Ensure that `viper-comint-mode-hook' runs in
822         buffers whose `erc-mode-hook' has already run when this file is
823         loaded.
824         Explicitly `require' erc.el.
825
826 2005-01-22  Edward O'Connor  <ted@oconnor.cx>
827        
828         * erc.el (erc-mode): Remove frobbing of `require-final-newline'.
829
830         * erc-log.el (erc-save-buffer-in-logs): Remove frobbing of
831         `require-final-newline'.
832
833         * erc-viper.el: New file. This is where all ERC/Viper
834         compatiibilty code should live. When and if ERC is bundled with
835         Emacs, some of the hacks in this file should be merged into Viper
836         itself.
837
838 2005-01-21  Edward O'Connor  <ted@oconnor.cx>
839        
840         * erc.el (erc-mode): Set `require-final-newline' to nil in ERC
841         buffers. This prevents a Viper misfeature whereby extraneous
842         newlines are inserted into the ERC buffer when switching between
843         viper states.
844
845         * erc-log.el (erc-save-buffer-in-logs): Bind `require-final-newline'
846         to t when calling `write-region' to ensure that further log
847         entries start on fresh lines.
848        
849 2005-01-21  Diane Murray  <disumu@x3y2z1.net>
850
851         * erc-button.el (erc-button-add-face): Reverted my change to the
852         order faces since it had the unwanted effect of putting the button
853         face after all others.
854         (erc-button-face-has-priority): Removed this variable as it is not
855         necessary anymore - it was used to compensate for the above
856         mentioned change.
857
858         * NEWS: Added the latest fixes.
859
860 2005-01-20  Diane Murray  <disumu@x3y2z1.net>
861
862         * erc-button.el, erc-match.el:
863         (erc-button-syntax-table, erc-match-syntax-table): Added \ as a
864         legal character for nicknames.
865
866         * erc-nets.el (erc-server-select): Fixed so that only networks
867         with servers found in `erc-server-alist' are available as choices.
868
869         * erc.el, erc-compat.el, erc-goodies.el:
870         (erc-replace-match-subexpression-in-string): New function.  Needed
871         because `replace-match' in XEmacs doesn't replace regular
872         expression subexpressions in strings, only in buffers.
873         (erc-seconds-to-string, erc-controls-interpret): Use the new
874         function.
875
876         * erc-button.el (erc-button-add-button): Use the `:button-face'
877         key combined with an `erc-mode' local `widget-button-face' set to
878         nil to get the widget overlay face suppressed in XEmacs.
879
880 2005-01-19  Francis Litterio  <franl@world.std.com>
881
882         * erc-button.el (erc-button-add-face): The face added by this
883         function is more important than the existing text's face, so we
884         now prepend erc-button-face to the list of existing faces when
885         adding a button.  To instead append erc-button-face to existing
886         faces, set variable `erc-button-face-has-priority' to nil.
887         (erc-button-face-has-priority): New variable to control how
888         erc-button-add-face adds erc-button-face to existing faces.
889         (erc-button-press-button): Silenced a byte-compiler warning about
890         too few arguments in a call to `error'.
891
892 2005-01-19  Diane Murray  <disumu@x3y2z1.net>
893
894         * NEWS: Added list of 5.0.1 fixes.
895
896 2005-01-19  Michael Olson  <mwolson@gnu.org>
897
898         * AUTHORS: Move to format that cscvs can understand.  As an added
899         perk, entries line up nicer.
900
901         * erc.el, erc-fill.el, erc-pcomplete.el, debian/copyright: Merge a
902         few more copyright lines thanks to Alex Schroeder's BBDB file.
903
904         * Makefile: Change version to correspond with our new scheme.
905
906 2005-01-18  Diane Murray  <disumu@x3y2z1.net>
907
908         * erc-list.el (erc-chanlist-channel-line-regexp): Now matches
909         private channels, the channels `#' and `&', and channels with
910         names including non-ascii characters.
911         (erc-chanlist-join-channel): Don't attempt to join private
912         channels since the channel name is unknown.
913
914         * erc-goodies.el (erc-make-read-only): Add `rear-nonsticky'
915         property to avoid `Text is read-only' errors during connection.
916         `front-nonsticky' does not exist, changed to `front-sticky'.
917         (erc-controls-interpret, erc-controls-strip): Just work on the
918         string, don't open a temporary buffer.
919         (erc-controls-propertize): Now accepts optional argument STR.
920
921 2005-01-17  Michael Olson  <mwolson@gnu.org>
922
923         * Makefile: Version is 5.01, but only in the Makefile.  It has not
924         been released yet.
925
926         * erc-auto.in, erc-autojoin.el, erc-bbdb.el, erc-button.el,
927         erc-chess.el, erc-complete.el, erc-dcc.el, erc-fill.el,
928         erc-goodies.el, erc-ibuffer.el, erc-identd.el, erc-imenu.el,
929         erc-list.el, erc-match.el, erc-menu.el, erc-nets.el,
930         erc-netsplit.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el,
931         erc-ring.el, erc-speak.el, erc-speedbar.el, erc-stamp.el,
932         erc-track.el, erc-xdcc.el, erc.el, debian/copyright: Update
933         copyright notices.  If anyone has signed papers for Emacs in
934         general, merge them with the FSF's entry.
935
936 2005-01-16  Diane Murray  <disumu@x3y2z1.net>
937
938         * erc.el (erc): `erc-set-active-buffer' was being called before
939         `erc-process' was set, so that channels weren't being marked
940         active correctly upon join; fixed.
941
942 2005-01-15  Johan BockgÃ¥rd  <bojohan+sf@dd.chalmers.se>
943
944         * erc-backend.el (def-edebug-spec): This macro caused problems (in
945         XEmacs). Use its expansion directly.
946
947 2005-01-15  Diane Murray  <disumu@x3y2z1.net>
948
949         * erc-button.el (erc-button-add-button): Reverted previous change
950         since `:suppress-face' doesn't seem to be checked for a certain
951         face.
952         (erc-button-add-face): FACE is now appended to the `old' face.
953         This should fix the problem of faces being "covered" by
954         `erc-button-face'.
955
956 2005-01-14  Diane Murray  <disumu@x3y2z1.net>
957
958         * erc.el, erc-backend.el (erc-cmd-OPS, erc-cmd-COUNTRY,
959         erc-cmd-NICK, erc-process-ctcp-query, ERROR, PONG, 311, 312, 313,
960         314, 317, 319, 320, 321, 322, 330, 352): Use catalog entries
961         instead of hard-coded text messages.
962         (english): Added new catalog entries `country', `country-unknown',
963         `ctcp-empty', `ctcp-request-to', `ctcp-too-many', `nick-too-long',
964         `ops', `ops-none', `ERROR', `PONG', `s311', `s312', `s313',
965         `s314', `s317', `s317-on-since', `s319', `s320', `s321', `s322',
966         `s330', and `s352'.
967         (erc-send-current-line): Use `erc-set-active-buffer' (change was
968         lost in previous bug fix).
969
970 2005-01-14  Francis Litterio  <franl@world.std.com>
971
972         * erc-button.el (erc-button-add-button): Fixed a bug where the
973         overlay created by widget-convert-button has a `face' property
974         that hides the `face' property set on the underlying button text.
975
976         * erc-goodies.el: Docstring fix.
977
978         * erc-button.el: Improved docstring for variable erc-button-face.
979
980 2005-01-13  Diane Murray  <disumu@x3y2z1.net>
981
982         * erc-menu.el (erc-menu-definition): "Topic set by channel
983         operator": Small word change.  "Identify to NickServ...": Check
984         that we're connected to the server.  Added "Save buffer in log"
985         and "Truncate buffer".
986
987 2005-01-13  Lawrence Mitchell  <wence@gmx.li>
988
989         * erc.el (erc-display-line-1): Widen before we try to insert
990         anything, this makes sure input isn't broken when the buffer is
991         narrowed by the user.
992         (erc-beg-of-input-line): Simplify, just return the position of
993         `erc-insert-marker' or error if does not exist.
994         (erc-send-current-line): Widen before trying to send anything.
995
996 2005-01-13  Diane Murray  <disumu@x3y2z1.net>
997
998         * erc.el, erc-backend.el, erc-list.el:
999         (erc-update-mode-line-buffer): Strip controls characters from
1000         `channel-topic' since we add our own control character to it.
1001         (TOPIC, 332): Use \C-o instead of \C-c to force an end of IRC
1002         control characters as it also ends bold, underline, and inverse -
1003         \C-c only ends colors.
1004         (erc-chanlist-322): Strip control characters from channel and
1005         topic.  No need to interpret controls when we're applying overlays
1006         to the lines.
1007
1008         * erc.el, erc-backend.el, erc-button.el, erc-netsplit.el,
1009         erc-nicklist.el: Fixed so that each server has an active buffer.
1010         (erc-active-buffer): Now a buffer-local variable.
1011         (erc-active-buffer, erc-set-active-buffer): New functions.
1012         (erc-display-line, erc-echo-notice-in-active-non-server-buffer,
1013         erc-process-away, MODE): Call `erc-active-buffer' to get the
1014         active buffer for the current server.
1015         (erc, erc-process-sentinel-1, erc-grab-region, erc-input-action,
1016         erc-send-current-line, erc-invite-only-mode,
1017         erc-toggle-channel-mode, erc-channel-names, MODE, erc-nick-popup,
1018         erc-nicklist-call-erc-command): Use `erc-set-active-buffer' to set
1019         the active buffer for the current server.
1020         (erc-cmd-WHOLEFT): Use 'active as BUFFER in `erc-display-message'.
1021
1022         * erc-track.el (erc-track-modified-channels): Server buffers are
1023         now treated the same as channels and queries.  This means that
1024         `erc-track-priority-faces-only', `erc-track-exclude', and
1025         `erc-track-exclude-types' now work with server buffers.
1026
1027 2005-01-12  Diane Murray  <disumu@x3y2z1.net>
1028
1029         * erc-backend.el (475): Prompt for the channel's key if
1030         `erc-prompt-for-channel-key' is non-nil.  Send a new JOIN message
1031         with the key if a key is provided.
1032
1033         * erc.el (erc-command-indicator): Fixed customization choices so
1034         that there's no `mismatch' message when nil is the value.
1035
1036 2005-01-11  Michael Olson  <mwolson@gnu.org>
1037
1038         * erc-bbdb.el (bbdb): Lowercase the name of the module.  This
1039         fixes a bug which caused an error to occur when trying to enable
1040         the module using the customization interface.
1041
1042 2005-01-08  Edward O'Connor  <ted@oconnor.cx>
1043
1044         * erc-track.el: Support using faces to indicate channel activity
1045         in the modeline under XEmacs.
10