1 2004-12-29 Francis Litterio <franl@users.sourceforge.net>
3 * erc-goodies.el (erc-interpret-controls-p): Changed docstring to
4 reflect the new meaning if this is set to 'remove.
5 (erc-controls-interpret): Rephrased docstring to be more accurate.
6 (erc-controls-strip): New function that behaves like the
7 recently-removed erc-strip-controls -- it removes all IRC color
8 and highlighting control characters.
9 (erc-controls-highlight): Changed to support the new 'remove value
10 that variable erc-interpret-controls-p might have.
12 2004-12-28 Francis Litterio <franl@users.sourceforge.net>
14 * erc-ibuffer.el, erc-list.el, erc-page.el, erc-speedbar.el:
15 Changed all calls to erc-interpret-controls (which no longer
16 exists) to call erc-controls-interpret (the new name of the same
19 2004-12-28 Francis Litterio <franl@users.sourceforge.net>
21 * erc-goodies.el (erc-controls-interpret): Added this function to
22 replace the recently-removed erc-interpret-controls. Also added
23 a (require 'erc) to solve a byte-compile problem.
25 2004-12-28 Francis Litterio <franl@users.sourceforge.net>
27 * erc.el (erc-controls-interpret): Added this function to replace
28 the recently-removed erc-interpret-controls.
30 2004-12-27 Jorgen Schaefer <forcer@users.sourceforge.net>
32 * erc-truncate.el (erc-truncate-buffer-to-size): Check for
33 logging even better (via lawrence).
35 2004-12-26 Jorgen Schaefer <forcer@users.sourceforge.net>
37 * erc-truncate.el (erc-truncate-buffer-to-size): Much saner
38 logging detection (via lawrence).
40 2004-12-25 Jorgen Schaefer <forcer@users.sourceforge.net>
42 * erc-goodies.el (erc-controls-highlight): Treat single C-c
45 2004-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
47 * erc-goodies.el, erc.el: Deleted IRC control character processing
48 and implemented a sane version in erc-goodies.el as a module.
50 * erc.el (erc-merge-controls, erc-interpret-controls,
51 erc-decode-controls, erc-strip-controls, erc-make-property-list,
52 erc-prepend-properties): Removed.
54 (erc-interpret-controls-p, erc-interpret-mirc-color, erc-bold-face
55 erc-inverse-face, erc-underline-face, fg:erc-color-face0,
56 fg:erc-color-face1, fg:erc-color-face2, fg:erc-color-face3,
57 fg:erc-color-face4, fg:erc-color-face5, fg:erc-color-face6,
58 fg:erc-color-face7, fg:erc-color-face8, fg:erc-color-face9,
59 fg:erc-color-face10, fg:erc-color-face11, fg:erc-color-face2,
60 fg:erc-color-face13, fg:erc-color-face14, fg:erc-color-face15,
61 bg:erc-color-face1, bg:erc-color-face2, bg:erc-color-face3,
62 bg:erc-color-face4, bg:erc-color-face5, bg:erc-color-face6,
63 bg:erc-color-face7, bg:erc-color-face8, bg:erc-color-face9,
64 bg:erc-color-face10, bg:erc-color-face11, bg:erc-color-face2,
65 bg:erc-color-face13, bg:erc-color-face14, bg:erc-color-face15,
66 erc-get-bg-color-face, erc-get-fg-color-face,
67 erc-toggle-interpret-controls): Moved.
69 * erc-goodies.el (erc-beep-p, irccontrols, erc-controls-highlight,
70 erc-controls-propertize): New.
72 2004-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
74 * erc-goodies.el, erc.el: The Small Extraction of Stuff[tm] commit.
75 Moved some functions from erc.el to erc-goodies.el, and
76 transformed them to erc modules in the process.
77 - imenu autoload stuff moved. I don't know why it is here at all.
78 - Moved: scroll-to-bottom, make-read-only, distinguish-noncommands,
79 smiley, unmorse, erc-occur (the last isn't a module, but still
81 (erc-input-line-position, erc-add-scroll-to-bottom,
82 erc-scroll-to-bottom, erc-make-read-only, erc-noncommands-list,
83 erc-send-distinguish-noncommands, erc-smiley, erc-unmorse,
84 erc-occur): Moved from erc.el to erc-goodies.el.
85 (smiley): Module moved from erc.el to erc-goodies.el.
86 (scrolltobottom, readonly, noncommands, unmorse): New modules.
88 2004-12-20 Diane Murray <disumu@x3y2z1.net>
90 * erc.el: (erc-format-away-status): Use `a', not `away' - that's
92 (erc-update-mode-line-buffer): The values of `mode-line-process'
93 and `mode-line-buffer-identification' are normally lists.
96 2004-12-18 Jorgen Schaefer <forcer@users.sourceforge.net>
98 * erc.el: (erc-process-ctcp-query, erc-process-ctcp-reply): Display
99 message in the active window, not the server window.
101 2004-12-16 Edward O'Connor <ted@oconnor.cx>
103 * erc-track.el (erc-track-position-in-mode-line): Check for
104 'erc-track-mode variable with boundp. From Adrian Aichner
107 2004-12-16 Jorgen Schaefer <forcer@users.sourceforge.net>
109 * erc.el (erc-upcase-first-word): New function. The old way used
110 in erc-send-ctcp-message would eat consecutive whitespace etc.
111 (erc-send-ctcp-message, erc-send-ctcp-notice): Use it.
113 2004-12-15 Edward O'Connor <ted@oconnor.cx>
115 * erc.el (erc-send-ctcp-message): Fix braino with my previous
116 patch. It always helps to C-x C-s before `cvs commit'.
118 2004-12-15 Edward O'Connor <ted@oconnor.cx>
120 * erc.el (erc-send-ctcp-message): Only upcase the ctcp command,
121 and not the entire message. Brian Palmer's change of 2004-12-12 had broken /me.
124 2004-12-14 Diane Murray <disumu@x3y2z1.net>
126 * erc-nets.el (erc-networks-alist): Change undernet to Undernet as
127 is used in `erc-server-alist', so that completion works when using
128 `erc-server-select'. This should fix Debian bug #282003 (erc:
129 cannot connect to Undernet).
131 2004-12-14 Diane Murray <disumu@x3y2z1.net>
133 * erc-backend.el: (def-edebug-spec): Only run this if 'edebug is
136 2004-12-14 Diane Murray <disumu@x3y2z1.net>
138 * erc.el: The last change to `erc-mode-line-format' introduced a
139 bug in Xemacs - it can't handle the #(" "...) strings at all. The
140 following changes fix the bug and simplify the mode-line handling
141 considerably. (erc-mode-line-format): Now defined as a string
142 which will be formatted using `format-spec' and take the place of
143 `mode-line-buffer-identification' in the mode line.
144 (erc-header-line-format): Now defined as a string to be formatted
146 (erc-prepare-mode-line-format): Removed.
147 (erc-format-target, erc-format-target-and/or-server,
148 erc-format-away-status, erc-format-channel-modes): New functions.
149 Basically the old `erc-prepare-mode-line-format' split apart.
150 (erc-update-mode-line-buffer): Set
151 `mode-line-buffer-identification' to the formatted
152 `erc-mode-line-format', set `mode-line-process' to ": CLOSED" if
153 the connection has been terminated, and set `header-line-format'
154 (if it is bound) to the formatted `erc-header-line-format', then
155 do a `force-mode-line-update'.
157 2004-12-12 Diane Murray <disumu@x3y2z1.net>
159 * erc.el (erc-modules): Disable modules removed with `customize'.
160 (erc-update-modules): Try to give a more descriptive error
163 2004-12-12 Diane Murray <disumu@x3y2z1.net>
165 * erc-complete.el, erc.el, erc-list.el, erc-nets.el,
166 erc-nicklist.el, erc-pcomplete.el, erc-replace.el, erc-speak.el,
167 erc-truncate.el: (erc-buffers, erc-coding-systems, erc-display,
168 erc-mode-line-and-header, erc-ignore, erc-query,
169 erc-quit-and-part, erc-paranoia, erc-scripts, erc-old-complete,
170 erc-list, erc-networks, erc-nicklist, erc-pcomplete, erc-replace,
171 erc-truncate): New customization groups. (erc-join-buffer,
172 erc-frame-alist, erc-frame-dedicated-flag, erc-reuse-buffers): Use
173 'erc-buffers as `:group'. (erc-default-coding-system,
174 erc-encoding-coding-alist): Use 'erc-coding-systems as `:group'.
175 (erc-hide-prompt, erc-show-my-nick, erc-prompt,
176 erc-input-line-position, erc-command-indicator, erc-notice-prefix,
177 erc-notice-highlight-type, erc-interpret-controls-p,
178 erc-interpret-mirc-color, erc-minibuffer-notice,
179 erc-format-nick-function): Use 'erc-display as `:group'.
180 (erc-mode-line-format, erc-header-line-format,
181 erc-header-line-uses-help-echo-p, erc-common-server-suffixes,
182 erc-mode-line-away-status-format): Use 'erc-mode-line-and-header
184 (erc-hide-list, erc-ignore-list, erc-ignore-reply-list,
185 erc-minibuffer-ignored): Use 'erc-ignore as `:group'.
186 (erc-auto-query, erc-query-on-unjoined-chan-privmsg,
187 erc-format-query-as-channel-p): Use 'erc-query as `:group'.
188 (erc-kill-buffer-on-part, erc-kill-queries-on-quit,
189 erc-kill-server-buffer-on-quit, erc-quit-reason-various-alist,
190 erc-part-reason-various-alist, erc-quit-reason, erc-part-reason):
191 Use 'erc-quit-and-part as `:group'.
192 (erc-verbose-server-ping, erc-paranoid, erc-disable-ctcp-replies,
193 erc-anonymous-login, erc-show-channel-key-p): Use 'erc-paranoia as
195 (erc-startup-file-list, erc-script-path, erc-script-echo): Use
196 'erc-scripts as `:group'.
197 (erc-nick-completion, erc-nick-completion-ignore-case,
198 erc-nick-completion-postfix): Use 'erc-old-complete as `:group'.
199 (erc-chanlist-progress-message, erc-no-list-networks,
200 erc-chanlist-frame-parameters, erc-chanlist-hide-modeline,
201 erc-chanlist-mode-hook): Use 'erc-list as `:group'.
202 (erc-server-alist, erc-networks-alist): Use 'erc-networks as
204 (erc-settings): Use `defvar' instead of `defcustom' since this is
205 only a draft which doesn't work.
206 (erc-nicklist-window-size): Use 'erc-nicklist as `:group'.
207 (erc-pcomplete-nick-postfix,
208 erc-pcomplete-order-nickname-completions): Use 'erc-pcomplete as
210 (erc-replace-alist): Use 'erc-replace as `:group'.
211 (erc-speak-filter-timestamp): Use 'erc-speak as `:group'.
212 (erc-max-buffer-size): Use 'erc-truncate as `:group'.
214 2004-12-12 Jorgen Schaefer <forcer@users.sourceforge.net>
216 * erc.el (erc-scroll-to-bottom): Go to the end of the buffer
217 before recentering. This allows editing multiple lines more
218 conveniently in CVS Emacs. This also undos a change by antifuchs
219 who said this goto-char would mess up redisplay. Extensive testing
220 couldn't reproduce that problem.
222 2004-12-12 Brian Palmer <bpalmer@gmail.com>
224 * erc.el (erc-send-ctcp-message): upcase the ctcp message (so that
225 version becomes VERSION, for example).
226 (erc-iswitchb): Make the argument optional in non-interactive
227 invocation, so erc-iswitchb can be substituted directly for
230 2004-12-11 Diane Murray <disumu@x3y2z1.net>
232 * erc-track.el (erc-track-position-in-mode-line): Allow for the
233 fact that `erc-track-mode' isn't bound when file is loaded.
235 2004-12-11 Diane Murray <disumu@x3y2z1.net>
237 * erc-track.el (erc-track-position-in-mode-line): New customizable
238 variable. (erc-track-remove-from-mode-line): New function.
239 Remove `erc-modified-channels-string' from the mode-line.
240 (erc-track-add-to-mode-line): New function. Add
241 `erc-modified-channels-string' to the mode-line using the value of
242 `erc-track-position-in-mode-line' to determine whether to add it
243 to the beginning or the end of `mode-line-modes' (only available
244 with GNU Emacs versions above 21.3) or to the end of
245 `global-mode-string'.
246 (erc-track-mode, erc-track-when-inactive-mode): Use the new
249 2004-12-11 Jorgen Schaefer <forcer@users.sourceforge.net>
251 * erc.el: (erc-cmd-BANLIST): Use (buffer-name) and not
252 (erc-default-target) for the buffer name - buffer names are case
255 2004-12-11 Brian Palmer <bpalmer@gmail.com>
257 * erc.el (erc-message-type): Added the message "MODE" to the known
258 erc-message-type widget, so that (for example) people can tell
259 erc-track-exclude-types to ignore mode changes. The others tag
260 also needed to be made an inline list, so that it's merged with
261 the given constants, instead of being inserted as a list.
263 2004-12-10 Jorgen Schaefer <forcer@users.sourceforge.net>
265 * erc-track.el, erc.el: Update to get ERC look nicely in CVS Emacs.
267 * erc.el (erc-mode-line-format): When on CVS emacs, use the new
270 * erc-track.el (track module): When on CVS emacs, modify
271 mode-line-modes instead of global-mode-string. The latter is way
272 to far too the right.
274 2004-11-18 Mario Lang <mlang@delysid.org>
276 * Makefile, debian/changelog: debian release 20041118-1
278 2004-11-03 Diane Murray <disumu@x3y2z1.net>
280 * erc-button.el (erc-button-buttonize-nicks): Set default value to
281 `t'. Updated documentation and customization `:type' to reflect
284 2004-10-29 Johan Bockgard <bojohan@users.sourceforge.net>
286 * AUTHORS: Added self.
288 2004-10-17 Diane Murray <disumu@x3y2z1.net>
290 * erc-list.el: Added local variables for this file.
291 (erc-list-version): New.
292 (erc-cmd-LIST): Take &rest rather than &optional arguments, as was
293 done in revision 1.21. Allow for input when called interactively.
294 (erc-prettify-channel-list, erc-chanlist-toggle-sort-state): Use
295 `unless' instead of when not.
297 2004-10-17 Diane Murray <disumu@x3y2z1.net>
299 * erc-backend.el (erc-handle-unknown-server-response): Fixed so
300 that the contents are only shown once. (MOTD): Display lines in
301 the server buffer if it's the first MOTD sent upon connection.
302 This is to avoid the problem of having the MOTD of one server
303 showing up in another server's buffer if it took a while to get
305 (004): Fixed to show the user modes and channel modes correctly.
306 (303): Now displays the nicknames returned by ISON instead of the
308 (367, 368): Moved up into 300's section of the code. Added
309 documentation. Use `multiple-value-bind' to set variables in 367.
310 (391): Fixed so that the server name is shown correctly.
312 2004-10-17 Diane Murray <disumu@x3y2z1.net>
314 * erc.el (erc-process-sentinel): Use CPROC instead of
315 `erc-process' in debug message. Should fix a bug where an error
316 saying "Buffer *scratch* has no process" would occur when
318 (erc-cmd-SV): Check for X toolkit after checking for more specific
319 features. (erc--kill-server): Set `quitting' to non-nil so that
320 we don't automatically reconnect.
322 2004-10-05 Jorgen Schaefer <forcer@users.sourceforge.net>
324 * erc.el: (erc-ignored-user-p): Don't require regexes to match the
327 2004-09-11 Jorgen Schaefer <forcer@users.sourceforge.net>
329 * erc.el: group erc: Moved to 'applications (patch by bojohan)
331 2004-09-08 Jorgen Schaefer <forcer@users.sourceforge.net>
333 * erc-button.el: (erc-button-remove-old-buttons): Remove 'keymap
336 2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
338 * erc-backend.el: JOIN response handler: Typo fix of the last
341 2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
343 * erc-backend.el: JOIN response handler: Run `erc-join-hook'
344 without arguments as specified in the docstring.
346 2004-08-27 Jorgen Schaefer <forcer@users.sourceforge.net>
348 * erc.el (erc-send-current-line): Removed unused variable SENTP.
350 2004-08-19 Jorgen Schaefer <forcer@users.sourceforge.net>
352 * erc.el: ERC-SEND-COMPLETED-HOOK used to be run when the prompt
353 was already displayed. We restore this behavior (thanks to bojohan
354 and TerryP for noticing). We also fix the docstring of
355 ERC-SEND-COMPLETED-HOOK, since the hook is (and used to be) called
356 even if nothing was sent to the server.
357 (erc-send-completed-hook): Fixed docstring.
358 (erc-send-current-line): Add incantation for
359 erc-send-completed-hook.
360 (erc-send-input): Remove incantation for erc-send-completed-hook.
362 2004-08-18 Jorgen Schaefer <forcer@users.sourceforge.net>
364 * erc-backend.el: response-handler 368: Use s368, not s367.
366 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
368 * erc.el (erc-scroll-to-bottom): Don't scroll when we're not
371 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
373 * erc-backend.el, erc.el: Handle /mode #emacs b output without
374 errors and such. First, handle unknown format specs gracefully
375 (that is, give a useful error). Then, provide handlers for the
378 * erc-backend.el: New handler for 367 and 368. Removed from default
381 * erc.el: Provide english catalog for s367 and s368.
382 (erc-format-message): Give an error message when we don't find an
385 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
387 * erc-fill.el: erc-fill-variable could be confused about really
388 long nicks. We put an upper limit on the length of the fill prefix.
389 (erc-fill-variable): Adjust fill-prefix.
390 erc-fill-variable-maximum-indentation: New variable.
392 2004-08-17 Francis Litterio <franl@users.sourceforge.net>
394 * erc.el (erc-send-input): Fixed a bug where this function
395 referenced variable "input" instead of variable "str".
397 2004-08-16 Francis Litterio <franl@users.sourceforge.net>
399 * erc-list.el (erc-chanlist-highlight-line): Fixed a bug where
400 this function failed to set the correct face for highlighting the
403 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
405 * erc-fill.el (erc-fill-variable): Don't fuck up when the
406 looking-at didn't work.
408 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
410 * erc.el (erc-send-single-line): Call the hooks to change the
411 appearance for something only if we actually inserted something,
413 (erc-display-command): Display the prompt outside of the area that
414 set the text properties on.
416 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
418 * erc.el: Refactored erc-send-current-line. This should fix some
419 dormant bugs, and make the whole thing actually readable. Yay.
420 Some changes in behavior were made. Whitespace at the end of lines
421 sent is not removed anymore, but that shouldn't bother anyone.
422 Additionally, errors in commands or hooks shouldn't prevent the
423 prompt from showing up again now.
424 (erc-parse-current-line): Removed.
425 (erc-send-current-line): Refactored.
426 (erc-send-input): New function.
427 (erc-send-single-line): New function.
428 (erc-display-command): New function.
429 (erc-display-msg): New function.
430 (erc-user-input): New function.
432 2004-08-13 Jorgen Schaefer <forcer@users.sourceforge.net>
434 * erc.el (erc-cmd-SERVER): Use newer keyword call interface to
435 erc-select, and handle the error if it can't resolve the host.
437 2004-08-11 Jorgen Schaefer <forcer@users.sourceforge.net>
439 * erc-backend.el, erc.el: erc-backend.el (404 response handler):
440 New function. We now support "cannot send to channel".
442 * erc.el (erc-define-catalog call): Added s404. erc.el
443 (erc-ctcp-ECHO-reply, erc-ctcp-CLIENTINFO-reply,
444 erc-ctcp-FINGER-reply, erc-ctcp-PING-reply, erc-ctcp-TIME-reply,
445 erc-ctcp-VERSION-reply): Display reply in the active window, not
448 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
450 * erc.el (erc-with-all-buffers-of-server): Actually make it left
453 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
455 * erc.el (erc-with-all-buffers-of-server): Evaluate left-to-right
456 so we don't surprise a user.
458 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
460 * erc.el (erc-process-input-line): Parentophobia! Another
463 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
465 * erc-backend.el: PRIVMSG NOTICE response handler: Killed one paren
466 too much. Poor paren. Got resurrected.
468 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
470 * erc-track.el: Make server buffers showing up in the mode line
471 optional. Thanks to Daniel Knapp on the EmacsWiki for this patch.
473 erc-track-exclude-server-buffer: New variable.
474 (erc-track-modified-channels): Return a server buffer only if
475 erc-track-exclude-server-buffer is nil.
477 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
479 * erc.el: (erc-cmd-DESCRIBE): Don't parse arguments.
481 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
483 * erc-truncate.el: (erc-truncate-buffer-to-size): Use
484 erc-insert-marker, not (point-max), to decide the length of the
485 buffer. A long input line shouldn't make the buffer smaller.
487 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
489 * erc-macs.el, erc-members.el: The change to hashes for channel
490 members has been made some time ago. Clean up the various tries to
493 erc-macs.el: Removed. erc-members.el: Removed.
495 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
497 * erc-backend.el, erc-ibuffer.el, erc-members.el, erc.el: Nothing
498 big changed here. Really. Uhm, maybe the info-buffers are gone or
499 so. Can't really remember. Don't worry, nothing important is
502 erc-speedbar.el looks nice btw, did you know?
504 Adjusted various places in erc.el, erc-backend.el, erc-ibuffer.el
505 and erc-members.el - too numerous to list here, sorry.
507 * erc.el: erc-use-info-buffers: Removed. erc-info-mode-map:
509 (erc-info-mode): Removed.
510 (erc-find-channel-info-buffer): Removed.
511 (erc-update-channel-info-buffer): Removed.
512 (erc-update-channel-info-buffers): Removed.
514 * erc-members.el: erc-update-member renamed to
515 erc-update-channel-member for better clarity.
517 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
519 * erc.el: This change improves the help output on a bogus command
520 invocation. We display the command as it would be typed by the
521 user, not as it is seen by Emacs.
523 (erc-get-arglist): Is now called erc-function-arglist, and returns
524 now an arglist without the enclosing parens.
525 (erc-command-name): New function.
526 (erc-process-input-line): Pass the command name, not the function
529 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
531 * erc.el: (erc-process-input-line): Fix bug when the command
532 doesn't have an arglist or no documentation. Thanks bojohan again
535 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
537 * erc-match.el: (erc-add-entry-to-list),
538 (erc-remove-entry-from-list): Update docstring, a TEST argument is
541 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
543 * erc.el (erc-with-buffer): Really fix this docstring.
545 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
547 * erc.el (erc-with-buffer): Fix double evaluation in macro, and
550 2004-08-10 Brian Palmer <bpalmer@gmail.com>
552 * erc.el (erc-cmd-JOIN): Use erc-member-ignore-case instead of
555 2004-08-09 Johan Bockgard <bojohan@users.sourceforge.net>
557 * erc-backend.el: Define an "Edebug specification" for the
558 `define-erc-response-handler' macro. This means that one can step
559 through response handlers defined by this macro with edebug. Maybe
560 more macros would benefit from this?
562 2004-08-09 Johan Bockgard <bojohan@users.sourceforge.net>
564 * erc-pcomplete.el (pcomplete/erc-mode/CTCP): New function.
565 Completion for the /CTCP command. (erc-pcomplete-ctcp-commands):
566 New variable. List of ctcp commands.
568 2004-08-09 Johan Bockgard <bojohan@users.sourceforge.net>
570 * erc-list.el: Clean up docstrings.
571 (erc-prettify-channel-list): Extend properties to cover the entire
572 line, including the newline, to make it look
574 (erc-chanlist-highlight-line): Ditto.
575 (erc-chanlist-mode-hook): Make it a defcustom.
577 2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
579 * erc.el (erc-compute-full-name): Typo fix, should be full-name,
582 2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
584 * erc.el (erc): Setup the buffer to be shown in a window at the
585 end of this function. This enables 'window-noselect to work
587 (erc, erc-send-current-line): Fix some
588 goto-char/open-line/goto-char to goto-char/insert.
590 2004-08-08 Jorgen Schaefer <forcer@users.sourceforge.net>
592 * erc.el (erc-parse-user): Live with bogus info from bouncers.
594 2004-07-31 Brian Palmer <bpalmer@gmail.com>
596 * erc.el (erc-select): Change the docstring to reflect the new
597 arguments; include the arguments in the docstring for non-cvs
598 emacs. Change the parameters to call erc-compute-* instead of
599 using the erc-* variables directly.
600 (erc-compute-server): Made argument optional.
601 (erc-compute-nick): ditto.
602 (erc-compute-full-name): ditto. (erc-compute-port): ditto.
604 2004-07-30 Francis Litterio <franl@users.sourceforge.net>
606 * erc.el: (erc-cmd-BANLIST): Fixed a bug where channel-banlist was
607 not reset to nil before fetching an updated banlist from the
610 2004-07-30 Francis Litterio <franl@users.sourceforge.net>
612 * erc.el: (erc-cmd-BANLIST): Fixed a bug where the
613 'received-from-server property on variable channel-banlist was not
614 being reset to nil. This fixes the symptom where one types
615 /BANLIST and sees "No bans for channel: #whatever" when you know
618 2004-07-23 Brian Palmer <bpalmer@gmail.com>
620 * erc.el: (erc-select-read-args): Use erc-compute-nick to
621 calculate the default nickname
623 2004-07-20 Brian Palmer <bpalmer@gmail.com>
625 * erc.el: (erc-process-sentinel-1): New function. This is an
626 auxiliary function refactored out of erc-process-sentinel to
627 decide a server buffer's fate (whether it should be killed, and
628 whether erc should attempt to auto-reconnect). Michael Olson
629 <mwolson@gnu.org> helped with this.
630 (erc-kill-server-buffer-on-quit): New variable. Used in
631 erc-process-sentinel-1 to decide whether to kill a server buffer
632 when the user quit normally.
633 (erc-process-sentinel): Auxiliary function erc-process-sentinel-1
634 split out. The function body has `with-current-buffer' wrapped
635 around it, to ensure separation of messages if multiple
636 connections were being made. Use `if' instead of `cond' in places
637 where the decision is binary. The last (useless, since the server
638 connection is closed) prompt in the server buffer is removed.
639 Color "erc terminated" and "erc finished" messages with
640 erc-error-face. Mark the buffer unmodified so that, if not killed
641 automatically, the user is not prompted to save it.
643 2004-07-16 Brian Palmer <bpalmer@gmail.com>
645 * erc.el (erc-select-read-args): New function. Prompts the user
646 for arguments to pass to erc-select and erc-select-ssl.
647 (erc-select): Use (erc-select-read-args) when called interactively
648 to get its arguments. When non-interactively, use keyword
650 (erc-select-ssl): Ditto.
651 (erc-compute-port): New function. Parallel to erc-compute-server,
652 but comes up with a default value for an IRC server's port.
654 2004-07-16 Jorgen Schaefer <forcer@users.sourceforge.net>
656 * erc-match.el (erc-match-message): Quote the current nickname.
658 2004-07-12 Brian Palmer <bpalmer@gmail.com>
660 * erc-list.el (erc-chanlist-mode): Remove explicit invocation of
661 erc-chanlist-mode-hook, since it's automatically invoked by
664 2004-07-03 Jorgen Schaefer <forcer@users.sourceforge.net>
666 * erc-match.el (erc-match-current-nick-p): Quote current nick for
669 2004-06-27 Johan Bockgard <bojohan@users.sourceforge.net>
671 * erc-nickserv.el (erc-nickserv-identify-mode): Fix erroneous
672 parentheses in call to `completing-read'.
674 2004-06-23 Alex Schroeder <alex@gnu.org>
676 * Makefile (release): Depend on autoloads, and copy erc-auto.el
679 2004-06-14 Francis Litterio <franl@users.sourceforge.net>
681 * erc.el (erc-log-irc-protocol): Fixed minor bug where each line
682 received from a server was logged as two lines (one with text and
685 2004-06-08 Brian Palmer <bpalmer@gmail.com>
687 * erc-list.el (erc-chanlist-frame-parameters): Made customizable.
688 (erc-chanlist-header-face): Changed to use defface with some
689 reasonable defaults instead of make-face, and removed the
690 associated -face variable.
691 (erc-chanlist-odd-line-face): Ditto.
692 (erc-chanlist-even-line-face): Ditto.
693 (erc-chanlist-highlight-face): New variable. Holds a face used for
694 highlighting the current line.
695 (erc-cmd-LIST): Use erc-member-ignore-case instead of
697 (erc-chanlist-post-command-hook): Change to move the highlight
698 overlay instead of refontifying the entire buffer.
699 (erc-chanlist-dehighlight-line): Added to detach the highlight
700 overlay from the buffer.
702 2004-05-31 Jorgen Schaefer <forcer@users.sourceforge.net>
704 * erc.el: erc-mode-line-format: Add column numbers.
706 2004-05-31 Adrian Aichner <adrian@xemacs.org>
708 * erc-autojoin.el: Typo fix.
710 * erc-dcc.el (erc-dcc-do-GET-command): Use expand-file-name.
711 (erc-dcc-get-file): XEmacs set-buffer-multibyte compatibility.
713 * erc-log.el: Append `erc-log-setup-logging' to
714 `erc-connect-pre-hook' so that `erc-initialize-log-marker' is run
715 first (markers are needed by `erc-log-setup-logging').
716 (erc-enable-logging): Docstring fix.
717 (erc-log-setup-logging): Move `erc-log-insert-log-on-open' to (1-
718 (point-max)) when doing `erc-log-insert-log-on-open'. Modified
719 version of a patch by Lawrence Mitchell.
720 (erc-log-all-but-server-buffers): Do `save-excursion' as well.
721 (erc-current-logfile): Pass buffer name as target
722 argument to `erc-generate-log-file-name-function' if
723 `erc-default-target' is nil.
724 (erc-generate-log-file-name-with-date): Use expand-file-name.
725 (erc-generate-log-file-name-short): Ditto.
726 (erc-save-buffer-in-logs): Do `save-excursion' and test whether
727 erc-last-saved-position is a marker.
729 * erc-members.el: Avoid miscompiling macro `erc-log' and
730 `with-erc-channel-buffer' by requiring 'erc at compile time.
732 * erc-sound.el: Use expand-file-name.
734 * erc.el (erc-debug-log-file): Ditto.
735 (erc-find-file): Ditto.
737 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
739 * erc.el, erc-backend.el (erc-cmd-BANLIST): Added a missing "'"
740 that was preventing /BANLIST from working. In erc-backend.el,
741 added server repsonse handler for 367 and 368 reponses to get
744 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
746 * erc.el: Removed an eval-when-compile that was preventing the
747 byte-compiled version of this file from loading.
749 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
751 * erc.el: Undid part of my last change. I suspect it was wrong.
753 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
755 * erc.el: Silenced several byte-compiler warnings.
757 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
759 * erc.el (erc-log-irc-protocol): Fixed problem where this function
760 misformatted IRC protocol text if multiple lines were received from
761 the server at one time.
763 2004-05-25 Francis Litterio <franl@users.sourceforge.net>
765 * erc.el (erc-toggle-debug-irc-protocol): Cosmetic changes to the
766 informational text in the *erc-protocol* buffer.
768 2004-05-24 Francis Litterio <franl@users.sourceforge.net>
770 * erc.el (erc-log-irc-protocol, erc-process-filter): Now the lines
771 inserted in the *erc-protocol* buffer are prefixed with the name
772 of the network to/from which the data is going/coming. This makes
773 reading the *erc-protocol* buffer much easier when connected to
776 2004-05-23 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
778 * erc-backend.el: Fixes server message parsing so that command
779 arguments specified after the colon are not treated specially. All
780 arguments are added to the `command-args' field, and the
781 `contents' points to the last element in the `command-args' list.
782 This allows ERC to connect to networks such as Undernet. Although
783 keeping `contents' allows many of the response handlers to
784 continue to work as-is, many other are probably broken by this
787 2004-05-20 Lawrence Mitchell <wence@gmx.li>
789 * HACKING: Add comment that C-c C-a can be useful if you write
790 ChangeLog entries using Emacs' standard functions.
792 2004-05-17 Diane Murray <disumu@x3y2z1.net>
794 * erc-speedbar.el: Ignore errors when attempting to require dframe
795 (there are a couple implementations of speedbar, one of which uses
797 (erc-speedbar-version): New.
798 (erc-speedbar-goto-buffer): Use dframe functions if dframe is
801 2004-05-17 Diane Murray <disumu@x3y2z1.net>
803 * erc-autojoin.el: Added local variables for this file.
804 (erc-autojoin-add): The channel name is in `erc-response.contents'.
806 2004-05-17 Mario Lang <mlang@delysid.org>
808 * erc-log.el: Dont autoload a define-key statement, erc-mode-map
809 might not be known yet
811 2004-05-16 Lawrence Mitchell <wence@gmx.li>
813 * erc-backend.el (erc-parse-server-response): Revert to original
814 `erc-parse-line-from-server' version, since new version breaks for
815 a number of edge cases.
817 2004-05-14 Diane Murray <disumu@x3y2z1.net>
819 * erc-backend.el (erc-handle-unknown-server-response): New
820 function. Added to `erc-default-server-functions'. Display
821 unknown responses to the user.
822 (221): Don't show nickname in modes list.
823 (254): Fixed to use 's254.
824 (303): Added docstring.
825 (315, 318, 323, 369): Ignored responses grouped together.
827 (406, 432): Use ?n, not ?c in `erc-display-message'.
828 (431, 445, 446, 451, 462, 463, 464, 465, 481, 483, 485, 491, 501,
829 502): All error responsess with no arguments grouped together.
831 2004-05-14 Diane Murray <disumu@x3y2z1.net>
833 * erc.el (erc-message-type-member): Use `erc-response.command'.
834 `erc-track-exclude-types' should be respected again.
835 (erc-cmd-TIME): Fixed to work with and without server given as
837 (erc-define-catalog): Added, s391, s431, s445, s446, s451, s462,
838 s463, s464, s465, s483, s484, s485, s491, s501, s502.
840 2004-05-14 Lawrence Mitchell <wence@gmx.li>
844 2004-05-14 Lawrence Mitchell <wence@gmx.li>
846 * Makefile (erc-auto.el): Pass -f flag to rm so that we don't fail
847 if erc-auto.elc doesn't exist.
849 2004-05-14 Lawrence Mitchell <wence@gmx.li>
851 * erc-backend.el (erc-with-buffer): Autoload.
852 (erc-parse-server-response): XEmacs' `replace-match' only replaces
853 subexpressions when operating on buffers, not strings, work around
855 (461): Command with invalid arguments is `second', not `third'.
857 2004-05-14 Diane Murray <disumu@x3y2z1.net>
859 * erc-notify.el (erc-notify-NICK): Use `erc-response.contents' to
862 2004-05-13 Lawrence Mitchell <wence@gmx.li>
864 * erc-track.el: Indentation fixes.
865 (track-when-inactive): Use `erc-server-FOO-functions', not
866 `erc-server-FOO-hook.
868 2004-05-13 Lawrence Mitchell <wence@gmx.li>
870 * erc-notify.el (notify): Use `erc-server-FOO-functions', not
871 `erc-server-FOO-hook.
872 (erc-notify-timer, erc-notify-JOIN, erc-notify-NICK)
873 (erc-notify-QUIT): Use new accessors for PARSED argument.
875 2004-05-13 Lawrence Mitchell <wence@gmx.li>
877 * erc-nickserv.el (services, erc-nickserv-identify-mode): Use
878 `erc-server-FOO-functions', not `erc-server-FOO-hook.
879 (erc-nickserv-identify-autodetect): Use new accessors for PARSED
882 2004-05-13 Lawrence Mitchell <wence@gmx.li>
884 * erc-netsplit.el (netsplit): Use `erc-server-FOO-functions', not
885 `erc-server-FOO-hook.
886 (erc-netsplit-JOIN, erc-netsplit-MODE, erc-netsplit-QUIT): Use new
887 accessors for PARSED argument.
889 2004-05-13 Lawrence Mitchell <wence@gmx.li>
891 * erc-nets.el: Use `erc-server-FOO-functions', not
892 `erc-server-FOO-hook.
894 2004-05-13 Lawrence Mitchell <wence@gmx.li>
896 * erc-menu.el (erc-menu-definition): Only allow listing of
897 channels if `erc-cmd-LIST' is fboundp.
899 2004-05-13 Lawrence Mitchell <wence@gmx.li>
901 * erc-match.el: Use `erc-server-FOO-functions', not
902 `erc-server-FOO-hook.
903 (erc-get-parsed-vector-nick, erc-get-parsed-vector-type): Use new
904 accessors for PARSED argument.
906 2004-05-13 Lawrence Mitchell <wence@gmx.li>
908 * erc-list.el (erc-chanlist, erc-chanlist-322): Use new accessors
909 for PARSED argument. Use `erc-server-FOO-functions', not
910 `erc-server-FOO-hook.
912 2004-05-13 Lawrence Mitchell <wence@gmx.li>
914 * erc-ezbounce.el (erc-ezb-notice-autodetect): Use new accessors
916 (erc-ezb-initialize): Use `erc-server-FOO-functions', not
917 `erc-server-FOO-hook.
919 2004-05-13 Lawrence Mitchell <wence@gmx.li>
921 * erc-dcc.el: Use `erc-server-FOO-functions', not
922 `erc-server-FOO-hook.
923 (erc-dcc-no-such-nick): Use new accessors for PARSED argument.
925 2004-05-13 Lawrence Mitchell <wence@gmx.li>
927 * erc-bbdb.el (erc-bbdb-whois, erc-bbdb-JOIN, erc-bbdb-NICK): Use
928 new accessors for PARSED argument.
929 (BBDB): Use `erc-server-FOO-functions', not `erc-server-FOO-hook.
931 2004-05-13 Lawrence Mitchell <wence@gmx.li>
933 * erc-autojoin.el (autojoin): Use `erc-server-FOO-functions', not
934 `erc-server-FOO-hook.
935 (erc-autojoin-add, erc-autojoin-remove): Use new accessors for
938 2004-05-13 Lawrence Mitchell <wence@gmx.li>
940 * erc-autoaway.el (autoaway): Use `erc-server-FOO-functions', not
941 `erc-server-FOO-hook.
943 2004-05-13 Lawrence Mitchell <wence@gmx.li>
945 * erc.el (erc-backend): Require.
946 (erc-disconnected-hook, erc-join-hook, erc-quit-hook)
947 (erc-part-hook, erc-kick-hook): Docstring fix, we now use
948 `erc-server-FOO-functions', rather than `erc-server-FOO-hook'.
949 (erc-event-to-hook-name, erc-event-to-hook): Remove.
950 (erc-once-with-server-event)
951 (erc-once-with-server-event-global): Use `erc-get-hook'
952 (erc-process-filter): Use `erc-parse-server-response'.
953 (erc-cmd-IDLE, erc-cmd-BANLIST, erc-cmd-MASSUNBAN): New accessors
954 for PARSED argument. Rename all `erc-server-FOO-hook' to
955 `erc-server-FOO-functions'.
956 (erc-server-364-hook, erc-server-365-hook, erc-server-367-hook)
957 (erc-server-368-hook, erc-server-KILL-hook)
958 (erc-server-PONG-hook, erc-server-200-hook, erc-server-201-hook)
959 (erc-server-202-hook, erc-server-203-hook, erc-server-204-hook)
960 (erc-server-205-hook, erc-server-206-hook, erc-server-208-hook)
961 (erc-server-209-hook, erc-server-211-hook, erc-server-212-hook)
962 (erc-server-213-hook, erc-server-214-hook, erc-server-215-hook)
963 (erc-server-216-hook, erc-server-217-hook, erc-server-218-hook)
964 (erc-server-219-hook, erc-server-241-hook, erc-server-242-hook)
965 (erc-server-243-hook, erc-server-244-hook, erc-server-249-hook)
966 (erc-server-261-hook, erc-server-262-hook, erc-server-302-hook)
967 (erc-server-323-hook, erc-server-342-hook, erc-server-351-hook)
968 (erc-server-381-hook, erc-server-382-hook, erc-server-391-hook)
969 (erc-server-392-hook, erc-server-393-hook, erc-server-394-hook)
970 (erc-server-395-hook, erc-server-402-hook, erc-server-404-hook)
971 (erc-server-407-hook, erc-server-409-hook, erc-server-411-hook)
972 (erc-server-413-hook, erc-server-414-hook, erc-server-415-hook)
973 (erc-server-422-hook, erc-server-423-hook, erc-server-424-hook)
974 (erc-server-431-hook, erc-server-436-hook, erc-server-437-hook)
975 (erc-server-441-hook, erc-server-443-hook, erc-server-444-hook)
976 (erc-server-445-hook, erc-server-446-hook, erc-server-451-hook)
977 (erc-server-462-hook, erc-server-463-hook, erc-server-464-hook)
978 (erc-server-465-hook, erc-server-467-hook, erc-server-471-hook)
979 (erc-server-472-hook, erc-server-473-hook, erc-server-483-hook)
980 (erc-server-491-hook, erc-server-502-hook): Remove.
981 (erc-call-hooks, erc-parse-line-from-server): Remove
982 (erc-server-hook-list): Remove. Remove top-level call too.
983 (erc-server-ERROR, erc-server-INVITE, erc-server-JOIN)
984 (erc-server-KICK, erc-server-MODE, erc-server-NICK)
985 (erc-server-PART, erc-server-PING, erc-server-PONG)
986 (erc-server-PRIVMSG-or-NOTICE, erc-server-QUIT)
987 (erc-server-TOPIC, erc-server-WALLOPS, erc-server-001)
988 (erc-server-004, erc-server-005, erc-server-221, erc-server-252)
989 (erc-server-253, erc-server-254, erc-server-301, erc-server-303)
990 (erc-server-305, erc-server-306, erc-server-311-or-314)
991 (erc-server-312, erc-server-313, erc-server-317, erc-server-319)
992 (erc-server-320, erc-server-321, erc-server-322, erc-server-324)
993 (erc-server-329, erc-server-330, erc-server-331, erc-server-332)
994 (erc-server-333, erc-server-341, erc-server-352, erc-server-353)
995 (erc-server-366, erc-server-MOTD, erc-server-379)
996 (erc-server-401, erc-server-403, erc-server-405, erc-server-406)
997 (erc-server-412, erc-server-421, erc-server-432, erc-server-433)
998 (erc-server-437, erc-server-442, erc-server-461, erc-server-474)
999 (erc-server-475, erc-server-477, erc-server-481, erc-server-482)
1000 (erc-server-501): Move to erc-backend.el
1001 (erc-auto-query, erc-banlist-store, erc-banlist-finished)
1002 (erc-banlist-update, erc-connection-established)
1003 (erc-process-ctcp-query, erc-display-server-message): Use new
1004 accessors for PARSED argument.
1006 2004-05-13 Lawrence Mitchell <wence@gmx.li>
1008 * erc-backend.el: (erc-parse-server-response)
1009 (erc-handle-parsed-server-response, erc-get-hook)
1010 (define-erc-response-handler): New functions.
1011 (erc-response): New struct for server responses.
1012 (erc-server-responses): New variable.
1013 (erc-call-hooks): Move from erc.el and rework.
1014 (ERROR, INVITE, JOIN, KICK, MODE, NICK, PART, PING, PONG)
1015 (PRIVMSG, NOTICE, QUIT, TOPIC, WALLOPS, 001, MOTD, 376, 004)
1016 (252, 253, 254, 250, 301, 303, 305, 306, 311, 312, 313, 315)
1017 (317, 318, 319, 320, 321, 322, 324, 329, 330, 331, 332, 333)
1018 (341, 352, 353, 366, 369, 379, 401, 403, 405, 406, 412, 421)
1019 (432, 433, 437, 442, 461, 474, 477, 481, 482, 501, 323, 221)
1020 (002, 003, 371, 372, 374, 375, 422, 251, 255, 256, 257, 258)
1021 (259, 265, 266, 377, 378, 314, 475, 364, 365, 367, 368, 381)
1022 (382, 391, 392, 393, 394, 395, 200, 201, 202, 203, 204, 205)
1023 (206, 208, 209, 211, 212, 213, 214, 215, 216, 217, 218, 219)
1024 (241, 242, 243, 244, 249, 261, 262, 302, 342, 351, 402, 404)
1025 (407, 409, 411, 413, 414, 415, 423, 424, 431, 436, 441, 443)
1026 (444, 445, 446, 451, 462, 463, 464, 465, 467, 471, 472, 473)
1027 (483, 491, 502, 005, KILL): Move from erc.el and rework using
1028 `define-erc-response-handler' and erc-response struct.
1030 2004-05-12 Diane Murray <disumu@x3y2z1.net>
1032 * erc.el: A few bug fixes to avoid errors after disconnect,
1033 including the "Selecting deleted buffer" bug.
1034 (erc-channel-user-op-p, erc-channel-user-voice-p): Make sure NICK
1035 is non-nil (`erc-current-nick' can return nil).
1036 (erc-server-buffer): Make sure the buffer isn't a #<killed
1038 (erc-server-buffer-live-p): New function.
1039 (erc-display-line, erc-join-channel, erc-prepare-mode-line-format,
1040 erc-away-p): Use `erc-server-buffer-live-p' to make sure process
1042 (erc-send-current-line): If there is no server buffer, let the
1045 2004-05-12 Diane Murray <disumu@x3y2z1.net>
1047 * erc.el, erc-log.el: C-c C-l keybinding now defined in
1049 (erc-log-version): New.
1050 (erc-cmd-JOIN): Fix applied for bug where /join -invite causes
1051 errors when there's no `invitation'.
1053 2004-05-11 Diane Murray <disumu@x3y2z1.net>
1055 * erc.el: (erc-cmd-JOIN): Make sure `chnl' is non-nil before trying
1056 to join anything (chnl is not set if /join -invite is used but
1057 there's no `invitation').
1059 2004-05-10 Diane Murray <disumu@x3y2z1.net>
1061 * erc-log.el: Define C-c C-l keybinding outside of `erc-log-mode',
1062 making it available all the time; autoload definition.
1063 (erc-log-version): New.
1065 2004-05-09 Diane Murray <disumu@x3y2z1.net>
1067 * AUTHORS, CREDITS, Makefile, erc-autoaway.el, erc-autojoin.el,
1068 erc-button.el, erc-chess.el, erc-dcc.el, erc-ezbounce.el,
1069 erc-fill.el, erc-ibuffer.el, erc-imenu.el, erc-lang.el,
1070 erc-list.el, erc-log.el, erc-macs.el, erc-match.el, erc-members.el,
1071 erc-menu.el, erc-nets.el, erc-netsplit.el, erc-nickserv.el,
1072 erc-notify.el, erc-page.el, erc-ring.el, erc-speak.el,
1073 erc-speedbar.el, erc-stamp.el, erc-track.el, erc-truncate.el,
1074 erc-xdcc.el, erc.el: Applied all relevant bug fixes and code
1075 cleanup made between the time of the ERC_4_0_RELEASE tag until now.
1077 2004-05-09 Diane Murray <disumu@x3y2z1.net>
1079 * erc-menu.el: Updated copyright years.
1081 2004-05-09 Lawrence Mitchell <wence@gmx.li>
1083 * erc.el (erc-update-channel-info-buffer): Correct bug in sorting
1084 of channel users. Tiny change from Andreas Schwab
1087 2004-05-09 Lawrence Mitchell <wence@gmx.li>
1089 * erc-fill.el (erc-fill-variable): Fix docstring.
1091 2004-05-09 Lawrence Mitchell <wence@gmx.li>
1093 * erc-button.el (erc-button-add-button): Use 'keymap
1094 text-property, rather than 'local-map, since it's cross-emacs
1095 compatible. Pass :mouse-down-action into `widget-convert-button'
1096 as 'erc-button-click-button, to make XEmacs happy. Replace bogus
1097 reference to erc-widget-press-button with erc-button-press-button.
1098 (erc-button-click-button): New (ignored) first argument, to make
1099 XEmacs behave when pressing buttons.
1100 (erc-button-press-button): New (ignored) &rest argument.
1102 2004-05-09 Adrian Aichner <adrian@xemacs.org>
1104 * erc-log.el (erc-conditional-save-buffer): Fix docstring
1105 reference to erc-save-queries-on-quit.
1106 (erc-conditional-save-queries): Ditto.
1108 2004-05-06 Diane Murray <disumu@x3y2z1.net>
1110 * erc-speedbar.el: Updated copyright years. Added local variables
1111 for this file; fixed indenting.
1112 (erc-speedbar): New group.
1113 (erc-speedbar-sort-users-type): New variable.
1114 (erc-speedbar-buttons): Handle query buffers (fixes a bug where an
1115 error would be thrown if the current buffer was a query). Ignore
1117 (erc-speedbar-expand-channel): Show limit and key with channel
1118 modes. Sort users according to `erc-speedbar-sort-users-type'.
1119 (erc-speedbar-insert-user): Fixed bug where only nicks with more
1120 info were being listed, and those were shown twice.
1121 (erc-speedbar-goto-buffer): Don't use dframe functions, as dframe
1122 isn't available with the default speedbar.
1124 2004-05-06 Diane Murray <disumu@x3y2z1.net>
1126 * erc.el: (erc-sort-channel-users-alphabetically): New function.
1127 (erc-server-412, erc-server-432, erc-server-475): New functions.
1128 (erc-server-412-hook, erc-server-432-hook, erc-server-475-hook):
1130 (erc-server-401, erc-server-403, erc-server-405)
1131 (erc-server-421, erc-server-474, erc-server-481): Use catalog
1133 (erc-define-catalog): Added s401, s403, s405, s412, s421, s432,
1134 s474, s475, and s481.
1136 2004-05-06 Diane Murray <disumu@x3y2z1.net>
1138 * erc-nickserv.el: Added documentation to Commentary, Usage.
1139 Removed `outline-mode' from file local variables.
1140 (erc-services-mode): Use `erc-nickserv-identify-mode' to add
1142 (erc-nickserv-identify-mode): New function.
1143 (erc-nickserv-identify-mode): New variable.
1144 (erc-prompt-for-nickserv-password, erc-nickserv-passwords):
1146 (erc-nickserv-identify-autodetect): Use
1147 `erc-nickserv-call-identify-function'. Docstring change.
1148 (erc-nickserv-identify-on-connect,
1149 erc-nickserv-identify-on-nick-change,
1150 erc-nickserv-call-identify-function): New functions.
1151 (erc-nickserv-identify): PASSWORD is not optional. Autoload
1154 2004-05-05 Diane Murray <disumu@x3y2z1.net>
1156 * erc.el (erc-join-hook, erc-quit-hook, erc-part-hook,
1157 erc-kick-hook, erc-connect-pre-hook): Now customizable.
1158 (erc-nick-changed-functions): New hook.
1159 (erc-server-NICK): Run `erc-nick-changed-functions' with the
1160 arguments NEW-NICK and OLD-NICK.
1161 (erc-channel-user-voice-p, erc-channel-user-voice-p): Shortened
1164 2004-05-05 Lawrence Mitchell <wence@gmx.li>
1166 * HACKING: New section on function/variable naming and coding
1169 2004-05-05 Lawrence Mitchell <wence@gmx.li>
1171 * erc.el (erc-wash-quit-reason): Quote regexp special characters
1172 in NICK, LOGIN and HOST.
1174 2004-05-04 Diane Murray <disumu@x3y2z1.net>
1176 * erc.el (erc-server-parameters): Typo fix in docstring.
1177 (erc-input-line-position): `:type' is now a choice between integer
1178 and nil. (erc-mode-map): Bind `erc-get-channel-mode-from-keypress'
1179 to C-c C-o instead of C-c RET (C-c C-m). (erc-cmd-GQUIT): Use
1180 REASON as argument when calling `erc-cmd-QUIT'.
1182 2004-05-03 Lawrence Mitchell <wence@gmx.li>
1184 * erc-nicklist.el: Initial version.
1186 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1188 * erc-menu.el: Added local variables for file, fixed indenting.
1189 (erc-menu-version): New variable.
1190 (erc-menu-definition): "List channels": New. "Join channel": Use
1191 `erc-connected' as test. "Start a query": New. "List channel
1192 operators": New. "Input action": Moved up. "Set topic": Fixed
1193 test so it's only active in channels. "Leave this channel": Moved
1194 down. "Track hidden channel buffers": Removed. "Enable/Disable
1197 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1199 * erc.el (erc-mode-map): Removed binding for
1200 `erc-save-buffer-in-logs' (moved to erc-log.el).
1201 (erc-cmd-QUERY, erc-cmd-OPS): Now interactive.
1203 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1205 * erc-log.el: Added local variables for this file.
1206 (erc-log-channels-directory): Added directory as a choice in
1208 (define-erc-module): Define and undefine key binding (C-c
1209 C-l) for `erc-save-buffer-in-logs' here.
1211 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1213 * erc-nets.el: Added local variables for this file.
1214 (erc-networks-alist): Fixed `:type' to work better in
1217 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1219 * erc-match.el: Added local variables for file. (erc-keywords):
1220 Use `list' instead of `cons' in `:type'. Fixes bug where mismatch
1221 was shown in customization. (erc-current-nick-highlight-type):
1222 Escape parentheses in docstring. Added keyword, nick-or-keyword as
1225 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1227 * erc-stamp.el: Added local variables for file.
1228 (erc-away-timestamp-format): Allow nil as a choice in `:type'.
1229 (erc-timestamp-intangible): Changed `:type' to boolean.
1230 (erc-timestamp-right-column): Added `:group' and `:type'.
1232 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1234 * erc.el (erc-modules): Added bbdb, log, match, sound, and stamp
1235 as `:type' options; changed documentation for autojoin, fill,
1236 pcomplete, track. (erc-prompt-for-channel-key): New variable.
1237 (erc-join-channel): Only prompt for key if
1238 `erc-prompt-for-channel-key' is non-nil. (erc-format-my-nick): New
1239 function. (erc-send-message, erc-send-current-line): Use it.
1241 2004-04-24 Johan Bockgard <bojohan@users.sourceforge.net>
1243 * erc-track.el: (erc-track-modified-channels): Fix indentation.
1245 2004-04-24 Johan Bockgard <bojohan@users.sourceforge.net>
1247 * erc-match.el: (erc-hide-fools): Docstring fix.
1248 (erc-log-matches-types-alist): Added `current-nick' to valid
1251 2004-04-20 Diane Murray <disumu@x3y2z1.net>
1253 * erc-page.el, erc-ezbounce.el, erc-speak.el, erc-match.el,
1254 erc-track.el (erc-ezbounce, erc-page, erc-speak): Groups defined.
1255 (erc-match, erc-track): `erc' is parent group.
1256 (erc-ezb-regexp, erc-ezb-login-alist): Added `:group'.
1258 2004-04-20 Jorgen Schaefer <forcer@users.sourceforge.net>
1260 * erc-fill.el: Fixed erc-fill-static so it breaks the lines at the
1261 right column and respects timestamps. Patch by Simon Siegler
1263 (erc-fill-static): Major rewrite and split up into some functions.
1264 (erc-count-lines): Removed.
1265 (erc-fill-regarding-timestamp): New function.
1266 (erc-timestamp-offset): New function.
1267 (erc-restore-text-properties): New function.
1268 (erc-fill-variable): Respect leftbound timestamp. This is still
1269 broken if someone has both erc-timestamp-only-if-changed-flag set
1270 and erc-insert-timestamp-function set to
1271 'erc-insert-timestamp-left, but otherwise it works now.
1273 2004-04-20 Diane Murray <disumu@x3y2z1.net>
1275 * erc.el: (erc-cmd-SV): Show features gtk, mac-carbon, multi-tty.
1276 Fixed so that arguments fit the format (build date was not being
1279 2004-04-19 Lawrence Mitchell <wence@gmx.li>
1281 * erc.el: (erc-update-channel-topic); Error if `channel-topic' is
1282 unbound. Remove %-sign substitution.
1283 (erc-update-mode-line-buffer): Escape %-signs in `channel-topic'
1286 2004-04-19 Diane Murray <disumu@x3y2z1.net>
1288 * erc.el: (erc-send-action, erc-ctcp-query-ACTION,
1289 erc-ctcp-reply-ECHO-hook): Let `erc-display-message-highlight'
1290 propertize the message.
1291 (erc-display-message-highlight): Allow for any erc-TYPE-face.
1292 (erc-cmd-JOIN): Display error message instead of throwing an error
1293 if there's no `invitation'.
1294 (erc-cmd-PART): Allow for no reason if channel is provided. Fixes
1295 bug where user would part the current channel with the other
1296 channel's name as reason when no reason was given.
1297 (erc-server-vectors, erc-debug-missing-hooks): Added docstring.
1298 (erc-server-JOIN): Moved `erc-join-hook' to JOIN-you section.
1299 `erc-join-hook' called by `run-hook-with-args', sending the ARGS
1300 `chnl' and the channel's buffer. Changed an instance of if
1301 without else to when.
1302 (erc-server-477): New function.
1303 (erc-server-477-hook): Use `erc-server-477'.
1304 (erc-define-catalog): Added `no-invitation'.
1306 2004-04-14 Diane Murray <disumu@x3y2z1.net>
1308 * erc-nickserv.el: Local variables for file added.
1309 (erc-nickserv-passwords): Customization: Network symbols updated
1310 to reflect `erc-nickserv-alist'. Allow user to type in network
1312 (erc-nickserv-alist): Now customizable variable.
1314 2004-04-09 Diane Murray <disumu@x3y2z1.net>
1316 * erc-autoaway.el (erc-autoaway-reset-idletime): Make sure `line'
1317 is a string to avoid errors upon startup.
1319 2004-04-06 Diane Murray <disumu@x3y2z1.net>
1321 * erc-autoaway.el (erc-autoaway-version): New variable.
1322 (erc-auto-discard-away): Updated docstring.
1323 (erc-autoaway-no-auto-back-regexp): New variable.
1324 (erc-autoaway-reset-idletime): Use it. Hopefully a better solution
1325 which allows for aliases to "/away" and any other text that the
1326 user wants to ignore when `erc-auto-discard-away' is non-nil.
1328 2004-04-06 Diane Murray <disumu@x3y2z1.net>
1330 * erc-autoaway.el (erc-autoaway-reset-idletime): Forgot /gaway in
1333 2004-04-06 Diane Murray <disumu@x3y2z1.net>
1335 * erc-autoaway.el (erc-autoaway-reset-idletime): If the user sends
1336 an "/away" command, don't call `erc-autoaway-set-back', fixes bug
1337 where ERC would send "/away" when user was already away and sent an
1338 "/away reason". Changed `l' to `line' for better understanding.
1339 (erc-autoaway-set-back): Changed `l' to `line' for better
1342 2004-04-05 Diane Murray <disumu@x3y2z1.net>
1344 * erc.el (erc-set-channel-key): Now able to remove key.
1345 (erc-set-channel-limit): Now able to remove limit.
1346 (erc-get-channel-mode-from-keypress): Fixed docstring.
1348 2004-04-04 Diane Murray <disumu@x3y2z1.net>
1350 * erc.el (erc-join-channel): Allow for optional channel key.
1351 (erc-set-modes): Need to set `channel-key' to nil in case of mode
1352 changes during split.
1353 (erc-show-channel-key-p): New variable.
1354 (erc-prepare-mode-line-format): Only show key if
1355 `erc-show-channel-key-p' is non-nil.
1357 2004-04-04 Diane Murray <disumu@x3y2z1.net>
1359 * erc.el (channel-key): New variable.
1360 (erc-update-channel-key): New function.
1361 (erc-set-modes, erc-parse-modes, erc-update-modes, erc,
1362 erc-update-channel-info-buffer): Deal with channel keys.
1363 (erc-prepare-mode-line-format): Show channel key in header-line.
1364 (erc-server-NICK): Show nick change in server buffer as well.
1365 (erc, erc-send-command, erc-banlist-store, erc-banlist-update,
1366 erc-load-irc-script-lines,
1367 erc-arrange-session-in-multiple-windows, erc-handle-login,
1368 erc-find-channel-info-buffer): Changed when not to unless.
1369 (erc-server-MODE): Changed if without else to when.
1371 2004-03-27 Adrian Aichner <adrian@xemacs.org>
1373 * erc.el: (erc-cmd-BANLIST): Use `truncate-string-to-width'
1374 instead of `truncate-string' alias.
1375 (erc-nickname-in-use): Ditto.
1377 2004-03-27 Francis Litterio <franl@users.sourceforge.net>
1379 * erc-list.el (erc-cmd-list): Fixed error caused by erc-cmd-LIST
1380 passing a non-sequence to erc-chanlist.
1382 2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1384 * erc.el: Add new hook `erc-join-hook', which is run when we join a
1387 2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1389 * erc.el: Replaced existing notice user notification system and
1390 the configuration options, which consisted of
1391 `erc-echo-notices-in-minibuffer-flag' and
1392 `erc-echo-notices-in-current-buffer' with two new hooks,
1393 `erc-echo-notice-hook' and `erc-echo-notice-always-hook'.
1395 When user notification is needed, `erc-echo-notice-always-hook' is
1396 first run using `run-hook-with-args', then `erc-echo-notice-hook'
1397 is run using `run-hook-with-args-until-success'.
1399 In addition to these hooks, a large number of functions, which are
1400 described in the documentation strings of those hooks, were added
1401 which can be used to achieve a large variety of different
1404 The current default behavior, which is identical to the existing
1405 default behavior, is for `erc-echo-notice-always-hook' to be set to
1406 `(erc-echo-notice-in-default-buffer).
1408 2004-03-21 Diane Murray <disumu@x3y2z1.net>
1410 * erc-track.el: (erc-modified-channels-display): Added a space
1411 before opening bracket.
1413 2004-03-21 Diane Murray <disumu@x3y2z1.net>
1415 * erc.el: (erc-format-query-as-channel-p): New variable.
1416 (erc-server-PRIVMSG-or-NOTICE): If `erc-format-query-as-channel-p'
1417 is nil, messages in the query buffer are formatted like private
1420 (erc-server-252-hook, erc-server-253-hook, erc-server-254-hook,
1421 erc-server-256-hook, erc-server-257-hook, erc-server-258-hook,
1422 erc-server-259-hook, erc-server-371-hook, erc-server-372-hook,
1423 erc-server-374-hook, erc-server-374-hook, erc-server-442-hook,
1424 erc-server-477-hook): Removed, now defined in
1425 `erc-server-hook-list'.
1426 (erc-display-server-message): New function.
1427 (erc-server-252, erc-server-253, erc-server-254, erc-server-442):
1429 (erc-server-hook-list): Added 250, 256, 257, 258, 259, 265, 266,
1430 377, 378, 477 - using `erc-display-server-message'. 251, 255 now
1431 use `erc-display-server-message'. Added 252, 253, 254, 442 -
1432 using respective erc-server-* functions. 371, 372, 374, 375 now
1434 (erc-define-catalog): Added s252, s253, s254, s442.
1435 (erc-server-001, erc-server-004, erc-server-005): Fixed
1438 2004-03-20 Diane Murray <disumu@x3y2z1.net>
1440 * erc-stamp.el: Commentary: Changed `erc-stamp-mode' to
1441 `erc-timestamp-mode'.
1442 (erc-insert-timestamp-left): Use `erc-timestamp-face' on filler
1445 2004-03-19 Diane Murray <disumu@x3y2z1.net>
1447 * erc.el (erc-send-action): Use `erc-input-face'.
1448 (erc-display-message-highlight): If the requested highlighting
1449 type doesn't match, just display the string with no highlighting
1450 and warn about it with `erc-log'.. (erc-cmd-JOIN): If user is
1451 already on the requested channel, switch to that channel's buffer.
1452 (erc-ctcp-query-ACTION): Use `erc-action-face' for nick as well.
1453 (erc-header-line-use-help-echo-p): New variable.
1454 (erc-update-mode-line-buffer): Use `help-echo' for header-line if
1455 `erc-header-line-use-help-echo-p' is non-nil.
1457 2004-03-18 Adrian Aichner <adrian@xemacs.org>
1459 * erc-nets.el: Use two arguments version of `make-obsolete', if
1460 third argument is not supported (for XEmacs).
1462 2004-03-18 Andreas Fuchs <asf@void.at>
1464 * CREDITS: added CREDITS entry for Adrian Aichner
1466 2004-03-18 Andreas Fuchs <asf@void.at>
1468 * erc-xdcc.el, erc.el, erc-autoaway.el, erc-autojoin.el,
1469 erc-button.el, erc-dcc.el, erc-ezbounce.el, erc-imenu.el,
1470 erc-list.el, erc-log.el, erc-match.el, erc-members.el,
1471 erc-menu.el, erc-netsplit.el, erc-notify.el, erc-speedbar.el,
1472 erc-stamp.el, erc-track.el, erc-truncate.el:
1473 (erc-coding-sytem-for-target): Removed.
1474 (erc-coding-system-for-target): New.
1475 (erc-autoaway-use-emacs-idle): Typo fix.
1476 (erc-auto-set-away): Ditto.
1477 (erc-auto-discard-away): Ditto.
1479 (erc-button-alist): Ditto.
1480 (erc-dcc-auto-masks): Ditto.
1481 (erc-dcc-chat-send-input-line): Ditto.
1482 (erc-ezb-get-login): Ditto.
1483 (erc-unfill-notice): Ditto.
1484 (erc-save-buffer-in-logs): Ditto.
1486 (erc-log-matches-types-alist): Ditto.
1487 (erc-match-directed-at-fool-p): Ditto.
1488 (erc-match-message): Ditto.
1489 (erc-update-member): Ditto.
1490 (erc-ignored-reply-p): Ditto.
1491 (erc-menu-definition): Ditto.
1492 (erc-netsplit-QUIT): Ditto.
1493 (erc-notify-list): Ditto.
1494 (erc-speedbar-update-channel): Ditto.
1495 (erc-speedbar-item-info): Ditto.
1497 (erc-timestamp-intangible): Ditto.
1498 (erc-add-timestamp): Ditto.
1499 (erc-timestamp-only-if-changed-flag): Ditto.
1500 (erc-show-timestamps): Ditto.
1501 (erc-track-priority-faces-only): Ditto.
1502 (erc-modified-channels-alist): Ditto.
1503 (erc-unique-substrings): Ditto.
1504 (erc-find-parsed-property): Ditto.
1505 (erc-track-switch-direction): Ditto.
1506 (erc-truncate-buffer-to-size): Ditto.
1508 (erc-auto-reconnect): Ditto.
1509 (erc-startup-file-list): Ditto.
1510 (erc-once-with-server-event): Ditto.
1511 (erc-once-with-server-event-global): Ditto.
1513 (erc-generate-new-buffer-name): Ditto.
1515 (erc-open-ssl-stream): Ditto.
1516 (erc-default-coding-system): Ditto.
1517 (erc-encode-string-for-target): Ditto.
1518 (erc-decode-string-from-target): Ditto.
1519 (erc-scroll-to-bottom): Ditto.
1520 (erc-decode-controls): Ditto.
1521 (erc-channel-members-changed-hook): Ditto.
1522 (erc-put-text-property): Ditto.
1523 (erc-add-default-channel): Ditto.
1525 2004-03-17 Diane Murray <disumu@x3y2z1.net>
1527 * erc.el (erc-process-sentinel): Cancel ping timer upon
1529 (erc-cmd-PART): Use same regexp as `erc-cmd-QUIT' when no #channel
1531 (erc-nick-uniquifier, erc-manual-set-nick-on-bad-nick-p): `:group'
1533 (erc-part-reason-zippy, erc-part-reason-zippy): Removed FIXME
1534 comments. I see no problem allowing typed in reasons.
1536 2004-03-16 Diane Murray <disumu@x3y2z1.net>
1538 * erc-stamp.el: (erc-insert-timestamp-left): Added support for
1539 `erc-timestamp-only-if-changed-flag' and added docstring.
1540 (erc-timestamp-only-if-changed-flag): Updated documentation.
1542 2004-03-13 Francis Litterio <franl@users.sourceforge.net>
1544 * erc-nets.el (erc-network-name): No longer marked as obsolete.
1545 Why was this function made obsolete? There is no other function
1546 that performs this task. Some of us use these functions in our
1547 personal ERC configs.
1549 2004-03-12 Lawrence Mitchell <wence@gmx.li>
1551 * erc.el (erc-buffer-filter): Use `with-current-buffer'.
1552 (erc-process-input-line): Append newline to documentation. Fixes a
1553 bug whereby the prompt would be put on the same line as the output.
1554 (erc-cmd-GQUIT): Only try and send QUIT if the process is alive.
1556 2004-03-12 Lawrence Mitchell <wence@gmx.li>
1558 * erc-log.el: Only add top-level hooks if `erc-enable-logging' is
1561 2004-03-10 Damien Elmes <erc@repose.cx>
1563 * erc-nets.el: From Adrian Aichner (adrian /at/ xemacs /dot/ org)
1564 * erc-nets.el: XEmacs make-obsolete only takes two arguments.
1566 2004-03-10 Diane Murray <disumu@x3y2z1.net>
1568 * erc-nets.el (erc-determine-network): Use `erc-session-server' if
1569 `erc-announced-server' is nil to avoid error if server does not
1570 send 004 (RPL_MYINFO) message.
1572 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1574 * erc-nets.el (erc-server-alistm erc-settings): Use lowercase
1575 "freenode", as in `erc-networks-alist'.
1577 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1579 * erc-nickserv.el (erc-nickserv-alist): Use lowercase "freenode",
1580 as in `erc-networks-alist'.
1582 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1584 * erc-dcc.el (pcomplete/erc-mode/DCC): Append "send" as a list.
1586 2004-03-10 Francis Litterio <franl@users.sourceforge.net>
1588 * erc-nets.el (erc-networks-alist): Changed "Freenode" to
1591 2004-03-10 Francis Litterio <franl@users.sourceforge.net>
1593 * erc-list.el (erc-cmd-LIST): Improved the docstring. Made
1594 message to user more accurate depending on whether a single
1595 channel is being listed or not.
1597 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1599 * erc-nets.el (erc-determine-network): Make matching logic simpler
1600 (suggested by Damian Elmes).
1601 (erc-current-network, erc-network-name): Add `make-obsolete' form.
1602 (erc-set-network-name): Indentation fix.
1603 (erc-ports-list): Add docstring. Rework function body to use
1606 2004-03-09 Diane Murray <disumu@x3y2z1.net>
1608 * erc-list.el, erc-notify.el: (require 'erc-nets): added
1610 2004-03-08 Diane Murray <disumu@x3y2z1.net>
1612 * erc.el (erc-network-name): Function definition moved to
1613 erc-nets.el. The functions `erc-determine-network' and
1614 `erc-network' in erc-nets.el do what this did before. Deprecated.
1615 Use (erc-network) instead.
1617 2004-03-08 Diane Murray <disumu@x3y2z1.net>
1619 * erc-nickserv.el: Changed copyright notice. Now require
1620 erc-nets. erc-nets.el now takes care of network-related functions
1622 (erc-nickserv-alist): Changed network symbols to match those in
1623 `erc-networks-alist' in erc-nets.el.
1624 (erc-nickserv-identify-autodetect): Use `erc-network'.
1625 (erc-nickserv-identify): Use `erc-network'. Changed wording for
1626 interactive use, now shows current nick.
1627 (erc-networks): Removed. Use `erc-networks-alist' as defined in
1629 (erc-current-network): Function definition moved to erc-nets.el.
1630 The functions `erc-determine-network' and `erc-network' in
1631 erc-nets.el do what this did before. Deprecated. Use
1632 (erc-network) instead.
1634 2004-03-08 Diane Murray <disumu@x3y2z1.net>
1636 * erc-nets.el: Added commentary, `erc-nets-version'.
1637 (erc-server-alist): Changed Brasnet to BRASnet.
1638 (erc-networks-alist): All networks (except EFnet and IRCnet) now
1639 have a MATCHER. (erc-network): New variable.
1640 (erc-determine-network): New function. Determine the network the
1641 user is on. Use the server parameter NETWORK, if provided, else
1642 parse the server name and search for a match (regexp and loop by
1643 wencem) in `erc-networks-alist'. Return the name of the network
1644 or "Unknown" as a symbol.
1645 (erc-network): New function. Returns value of `erc-network'. Use
1646 this when the current buffer is not the server process buffer.
1647 (erc-current-network): Returns the value of `erc-network' as
1648 expected by users who used the function as it was defined in
1649 erc-nickserv.el. Deprecated.
1650 (erc-network-name): Returns the value of `erc-network' as expected
1651 by users who used the function as it was defined in erc.el.
1653 (erc-set-network-name): New function. Added to
1654 `erc-server-375-hook' and `erc-server-422-hook'.
1655 (erc-unset-network-name): New function. Added to
1656 `erc-disconnected-hook'.
1657 (erc-server-select): Small documentation word change.
1659 2004-03-07 Diane Murray <disumu@x3y2z1.net>
1661 * AUTHORS, CREDITS: disumu info updated
1663 2004-03-06 Lawrence Mitchell <wence@gmx.li>
1665 * erc-list.el (erc-cmd-LIST): Take &rest rather than &optional
1667 (erc-chanlist): Construct correct LIST command from list of
1670 2004-03-06 Lawrence Mitchell <wence@gmx.li>
1672 * erc.el (erc-update-mode-line-buffer): Add 'help-echo property to
1673 header-line text. This allows header lines longer than the width
1674 of the current window to be seen.
1676 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1678 * erc-match.el (erc-match-directed-at-fool-p): Also check for
1681 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1683 * erc-match.el (erc-match-message): Only use nick-or-keyword if
1684 we're matching our nick.
1686 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1688 * erc-match.el: The highlight type for the current nickname can
1689 now also be 'nick-or-keyword, to highlight the nick of the sender
1690 if that is available, but fall back to highlighting your nickname
1691 in the whole message otherwise.
1692 (erc-current-nick-highlight-type): Adapted docstring accordingly.
1693 (erc-match-message): Added new condition. Also added some comments
1694 to this monster of a function.
1696 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1698 * erc.el (erc-is-valid-nick-p): Don't check for length less or
1701 2004-03-06 Damien Elmes <erc@repose.cx>
1703 * erc-nickserv.el (erc-current-network): the last change resulted
1704 in this function failing when a network identifies itself as
1705 anything other than var.netname.com, so for instance
1706 'vic.au.austnet.org' fails. This version is only a marginal
1707 improvement over the original, but if we want to be more flexible
1708 we'll probably have to do the iteration ourselves instead of using
1711 2004-03-05 Diane Murray <disumu@x3y2z1.net>
1713 * erc.el: Added erc-server-001 which runs when the server sends
1714 its welcome message. It sets the current-nick to reflect the
1715 server's settings. This fixes a bug where nicks that were too long
1716 and got truncated by ther server were still set to the old value.
1717 (nickname-in-use): If user wants to try again manually, let user
1718 know that the nick is taken. If not, go through erc-default-nicks
1719 until none are left, and then try one last time with
1720 erc-nick-uniquifier. If it's still a bad-nick, make the user
1721 change nick manually. When applying uniquifier, use NICKLEN if
1722 it's in the server parameters, otherwise use what RFC 2812 says is
1723 the max nick length (9 chars). Added custom variable
1724 erc-manual-set-nick-on-bad-nick-p, which is set to nil and
1725 erc-nick-change-attempt-count. Reset erc-default-nicks and
1726 erc-nick-change-attempt-count when the nick has been changed
1727 successfully. This fixes the bug where ERC would get caught in a
1728 neverending loop of trying to set the same nick if the nick was
1729 too long and the uniquified nick was not available.
1731 * added erc-cmd-WHOAMI
1733 * added custom variable erc-mode-line-away-status-format, use this
1734 instead of the previous hard-coded setting
1736 * erc-server-315|318|369-hook defvar lines removed - they're
1737 already defined in erc-server-hook-list
1739 2004-03-04 Lawrence Mitchell <wence@gmx.li>
1741 * HACKING: Initial commit. Some thoughts on coding standards.
1743 2004-03-03 Diane Murray <disumu@x3y2z1.net>
1745 * erc-track.el: added the variable erc-track-priority-faces-only
1746 which adds the option to ignore changes in a channel unless there
1747 are faces from the erc-track-faces-priority-list in the message
1748 options are nil, 'all, or a list of channel name strings
1750 2004-03-01 Diane Murray <disumu@x3y2z1.net>
1752 * erc.el, erc-ibuffer.el, erc-menu.el: Changed erc-is-channel-op
1753 and erc-is-channel-voice to erc-channel-user-op-p and
1754 erc-channel-user-voice-p to better match erc-channel-user
1755 structure (and emacs lisp usage)
1757 2004-03-01 Diane Murray <disumu@x3y2z1.net>
1759 * erc.el, erc-ibuffer.el, erc-menu.el:
1760 erc-track-modified-channels-mode is now erc-track-mode
1762 2004-02-29 Diane Murray <disumu@x3y2z1.net>
1764 * erc-match.el: Added 'keyword option to
1765 erc-current-nick-highlight-type highlights all instances of
1766 current-nick in the message ('nickname option in cvs revisions 1.9
1767 - 1.11 had same effect)
1769 2004-02-28 Jorgen Schaefer <forcer@users.sourceforge.net>
1771 * erc-button.el: Add Lisp: prefix for the EmacsWiki Elisp area.
1772 (erc-button-alist): Added Lisp: prefix.
1773 (erc-emacswiki-lisp-url): New variable.
1774 (erc-browse-emacswiki-lisp): New function.
1776 2004-02-27 Lawrence Mitchell <wence@gmx.li>
1778 * erc.el (erc-get-arglist): Use `substitute-command-keys', rather
1779 than hard-coding C-h f for `describe-function'.
1781 2004-02-26 Johan Bockgard <bojohan@users.sourceforge.net>
1783 * erc-log.el (erc-save-buffer-in-logs): bind `inhibit-read-only'
1784 to t around call to `erase-buffer'.
1786 2004-02-23 Edward O'Connor <ted@oconnor.cx>
1788 * erc-chess.el, erc-dcc.el, erc-ezbounce.el, erc-list.el,
1789 erc-macs.el, erc-ring.el, erc-stamp.el, erc.el: Normalized buffer
1790 local variable creation.
1792 2004-02-17 Lawrence Mitchell <wence@gmx.li>
1794 * erc.el (erc-scroll-to-bottom, erc-add-scroll-to-bottom): Mention
1795 `erc-input-line-position' in docstring.
1797 2004-02-13 Jorgen Schaefer <forcer@users.sourceforge.net>
1799 * erc.el (erc-kick-hook): Typo fix.
1801 2004-02-13 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1803 * erc.el: Added `erc-kick-hook', which is called when the local
1804 user is kicked from a channel. Fixed a bug in `erc-cmd-OPS', such
1805 that the command now works. Added `erc-remove-channel-users', in
1806 order to fix a number of significant bugs relating to channel
1809 2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1811 * erc.el (erc-display-prompt): Remove last change. This caused a
1814 2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1816 * erc.el (erc-display-prompt): Also set 'field property, so C-j
1817 works on an empty prompt.
1819 2004-02-12 Lawrence Mitchell <wence@gmx.li>
1821 * erc.el (erc-update-channel-topic): Ensure that `channel-topic'
1822 does not contain any bare format controls.
1824 2004-02-10 Jorgen Schaefer <forcer@users.sourceforge.net>
1826 * erc-stamp.el (erc-timestamp-intangible): New variable (user
1828 (erc-format-timestamp): Use erc-timestamp-intangible.
1830 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1832 * erc-button.el: Fixed bug related to nickname buttonizing and text
1833 fields due to erc-stamp.
1835 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1837 * CREDITS: Added mention of my change of ERC to use hash tables.
1839 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1841 * AUTHORS: Added myself to the list.
1843 2004-02-05 Lawrence Mitchell <wence@gmx.li>
1845 * erc.el: From Jeremy Maitin-Shepard <jbms@attbi.com>:
1846 (erc-remove-channel-user): Use `delq' not `delete'.
1847 (erc-get-buffer): Pass PROC through to `erc-buffer-filter'.
1848 (erc-process-sentinel): Use `erc' rather than `erc-reconnect' for
1851 2004-02-02 Lawrence Mitchell <wence@gmx.li>
1853 * erc.el: (erc-buffer-list-with-nick): Apply `erc-downcase' NICK.
1855 2004-01-30 Alex Schroeder <alex@gnu.org>
1857 * erc.el: (erc-get-buffer): Use erc-buffer-filter.
1859 2004-01-30 Johan Bockgard <bojohan@users.sourceforge.net>
1861 * erc.el: From jbms: (erc-get-channel-nickname-list): New function.
1862 (erc-get-server-nickname-list): New function.
1863 (erc-get-server-nickname-alist): New function.
1864 (erc-get-channel-nickname-alist): New function.
1866 2004-01-30 Johan Bockgard <bojohan@users.sourceforge.net>
1868 * erc-match.el: (erc-add-entry-to-list,
1869 erc-remove-entry-from-list): Use `erc-member-ignore-case' to
1871 (erc-add-pal, erc-add-fool): Fix type bug. Use
1872 `erc-get-server-nickname-alist'.
1874 2004-01-29 Johan Bockgard <bojohan@users.sourceforge.net>
1876 * erc.el: From jbms: Adds xemacs compatibility to hash table
1877 channel-members patch.
1879 2004-01-29 Johan Bockgard <bojohan@users.sourceforge.net>
1881 * erc.el: (erc-update-undo-list): Rewritten. Update
1882 buffer-undo-list in place. Deal with XEmacsesque
1883 entries (extents) in the list.
1884 (erc-channel-users): Fix unescaped open-paren in left column in
1887 2004-01-29 Johan Bockgard <bojohan@users.sourceforge.net>
1889 * erc-ring.el: (erc-replace-current-command): Exclude the prompt
1890 from the deleted region and don't redisplay the prompt (because
1891 `erc-display-prompt' flushes `buffer-undo-list').
1893 2004-01-29 Johan Bockgard <bojohan@users.sourceforge.net>
1895 * erc-match.el: (erc-add-entry-to-list): Use `symbol-value' instead
1898 2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
1900 * erc.el: (erc-kill-buffer-function): maphash was missing an
1903 2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
1905 * Makefile, erc-autoaway.el, erc-button.el, erc-ibuffer.el,
1906 erc-lang.el, erc-list.el, erc-match.el, erc-menu.el, erc-page.el,
1907 erc-pcomplete.el, erc-speedbar.el, erc.el: HUGE change by jbms.
1908 This makes channel-members a hash, erc-channel-users.
1910 Modified files: Makefile erc-autoaway.el erc-button.el
1911 erc-ibuffer.el erc-lang.el erc-list.el erc-match.el erc-menu.el
1912 erc-page.el erc-pcomplete.el erc-speedbar.el erc.el
1914 The changes are too numerous to document properly. Have fun with
1917 2004-01-27 Jorgen Schaefer <forcer@users.sourceforge.net>
1919 * erc.el: (erc-send-input-line): Add a space to empty lines so the
1922 2004-01-25 Jorgen Schaefer <forcer@users.sourceforge.net>
1924 * erc.el: erc-send-whitespace-lines: New variable.
1925 (erc-send-current-line): Use erc-send-whitespace-lines. Also,
1926 removed superflous test for empty line in the mapc, since the
1927 blank line test should find all. I do like to be able to send an
1928 empty line when i want to!
1929 (erc-send-current-line): Check for point being in input line
1930 before checking for blank lines.
1932 2004-01-21 Lawrence Mitchell <wence@gmx.li>
1934 * erc.el: (erc-display-line-1): Move `erc-update-undo-list' outside
1935 `save-restriction'. Removing need for temporary variable.
1936 (erc-send-current-line): Fix bug introduced by last change, remove
1937 complement in blank line regexp.
1939 2004-01-20 Lawrence Mitchell <wence@gmx.li>
1941 * erc.el: (erc-update-undo-list): Add logic to catch the case when
1942 `buffer-undo-list' is t, indentation cleanup.
1943 (erc-send-current-line): Reverse logic for matching blank lines.
1945 2004-01-20 Lawrence Mitchell <wence@gmx.li>
1947 * erc.el (erc-input-line-position): New variable. If non-nil,
1948 specifies the argument to `recenter' in `erc-scroll-to-bottom'.
1949 (erc-scroll-to-bottom): Use it.
1951 2004-01-20 Lawrence Mitchell <wence@gmx.li>
1953 * erc.el: From Johan Bockgård <bojohan+news@dd.chalmers.se>:
1954 (erc-update-undo-list): New function. Update `buffer-undo-list'
1955 so that calling `undo' in an ERC buffer doesn't mess up the
1957 (erc-display-line-1): Use it.
1959 2004-01-19 Lawrence Mitchell <wence@gmx.li>
1961 * erc.el (erc-beg-of-input-line): Use `forward-line' rather than
1962 `beginning-of-line'. Docstring fix.
1963 (erc-end-of-input-line): Docstring fix.
1965 2004-01-13 Jorgen Schaefer <forcer@users.sourceforge.net>
1967 * erc.el (erc-display-prompt): Remove the undo list after
1968 displaying the prompt, so the user can't undo ERC changes, which
1969 breaks some stuff anyways. This way the user can still undo his
1970 editing, but not ours.
1972 2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1974 * erc.el (erc-scroll-to-bottom): Should recenter on the bottom
1975 line, not the second-to-last one.
1977 2004-01-12 Lawrence Mitchell <wence@gmx.li>
1979 * erc.el: (erc-bol): Fix bug introduced in my changes from 2004-01-11.
1981 2004-01-12 Lawrence Mitchell <wence@gmx.li>
1983 * erc.el: From Brian Palmer <bpalmer@gmail.com>
1984 (erc-cmd-JOIN): Use `erc-member-ignore-case', rather than
1985 `member-ignore-case'.
1987 2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1989 * erc.el: There was an inconsistency where the values of op and
1990 voice in channel-names could be 'on or 'off after an update, t and
1991 nil before. The intended version was to have t or nil, so i fixed
1993 (channel-names): Updated docstring.
1994 (erc-update-current-channel-member): Clarified docstring, fixed so
1995 it sets t or nil on an update as well, not only on an add.
1996 (erc-cmd-OPS): Updated not to check for 'on (the only function that
1999 2004-01-12 Lawrence Mitchell <wence@gmx.li>
2001 * erc.el (erc-part-reason-various-alist,
2002 erc-update-mode-line-buffer): Fix docstring
2004 2004-01-11 Lawrence Mitchell <wence@gmx.li>
2006 * erc.el (erc-update-mode-line): Fix typo.
2008 2004-01-11 Lawrence Mitchell <wence@gmx.li>
2010 * erc.el (erc-prompt-interactive-input): Removed.
2011 (erc-display-prompt): Removed `erc-prompt-interactive-input'
2012 option. (erc-interactive-input-map): Removed.
2014 Major docstring fixes.
2016 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
2018 * erc.el (erc-cmd-OPS): Added this function.
2019 (erc-cmd-IDLE): Switched from using erc-display-message-highlight
2022 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
2024 * erc-list.el (erc-cmd-LIST): Switched from using
2025 erc-display-message-highlight to erc-make-notice.
2027 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
2029 * erc.el (erc-once-with-server-event): Added a sentence to the
2030 docstring. Now returns the uninterned symbol that is added to the
2032 (erc-cmd-IDLE): Changed to use erc-once-with-server-event instead
2033 of erc-once-with-server-event-global.
2035 2004-01-06 Francis Litterio <franl@users.sourceforge.net>
2037 * erc-list.el (erc-chanlist-hide-modeline): New variable.
2038 (erc-chanlist): Now displays message as a notice. Also hides the
2039 modeline if erc-chanlist-hide-modeline is non-nil.
2041 2004-01-05 Francis Litterio <franl@users.sourceforge.net>
2043 * erc.el (erc-server-PRIVMSG-or-NOTICE): Now nicks appear as
2044 <nick> in query buffers, instead of as *nick*.
2046 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
2048 * erc.el (erc-once-with-server-event-global): Changed to return
2049 the uninterned symbol that it creates.
2050 (erc-cmd-LIST): Changed to clean up hooks that don't run.
2052 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
2054 * erc-pcomplete.el (pcomplete/erc-mode/IDLE): Added to support new
2057 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
2059 * erc.el (erc-once-with-server-event-global): New function. Like
2060 erc-once-with-server-event, except it modifies the global value of
2062 (erc-cmd-IDLE): New function. Implements the new /IDLE command.
2063 Usage: /IDLE NICK (erc-seconds-to-string): New function. Converts
2064 a number of seconds to an Engligh phrase.
2066 2004-01-02 Francis Litterio <franl@users.sourceforge.net>
2068 * erc-list.el: Added variable erc-chanlist-mode-hook.
2070 See ChangeLog.03 for earlier changes.
2072 Copyright (C) 2004 Free Software Foundation, Inc.
2073 Copying and distribution of this file, with or without modification,
2074 are permitted provided the copyright notice and this notice are preserved.
2080 ;; arch-tag: cc606d2d-635b-4b36-829b-a50e3c51e2d1