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.
172 (erc-join-buffer, erc-frame-alist, erc-frame-dedicated-flag,
173 erc-reuse-buffers): Use 'erc-buffers as `:group'.
174 (erc-default-coding-system, erc-encoding-coding-alist):
175 Use 'erc-coding-systems as `:group'.
176 (erc-hide-prompt, erc-show-my-nick, erc-prompt,
177 erc-input-line-position, erc-command-indicator, erc-notice-prefix,
178 erc-notice-highlight-type, erc-interpret-controls-p,
179 erc-interpret-mirc-color, erc-minibuffer-notice,
180 erc-format-nick-function): Use 'erc-display as `:group'.
181 (erc-mode-line-format, erc-header-line-format,
182 erc-header-line-uses-help-echo-p, erc-common-server-suffixes,
183 erc-mode-line-away-status-format): Use 'erc-mode-line-and-header
185 (erc-hide-list, erc-ignore-list, erc-ignore-reply-list,
186 erc-minibuffer-ignored): Use 'erc-ignore as `:group'.
187 (erc-auto-query, erc-query-on-unjoined-chan-privmsg,
188 erc-format-query-as-channel-p): Use 'erc-query as `:group'.
189 (erc-kill-buffer-on-part, erc-kill-queries-on-quit,
190 erc-kill-server-buffer-on-quit, erc-quit-reason-various-alist,
191 erc-part-reason-various-alist, erc-quit-reason, erc-part-reason):
192 Use 'erc-quit-and-part as `:group'.
193 (erc-verbose-server-ping, erc-paranoid, erc-disable-ctcp-replies,
194 erc-anonymous-login, erc-show-channel-key-p): Use 'erc-paranoia as
196 (erc-startup-file-list, erc-script-path, erc-script-echo): Use
197 'erc-scripts as `:group'.
198 (erc-nick-completion, erc-nick-completion-ignore-case,
199 erc-nick-completion-postfix): Use 'erc-old-complete as `:group'.
200 (erc-chanlist-progress-message, erc-no-list-networks,
201 erc-chanlist-frame-parameters, erc-chanlist-hide-modeline,
202 erc-chanlist-mode-hook): Use 'erc-list as `:group'.
203 (erc-server-alist, erc-networks-alist): Use 'erc-networks as
205 (erc-settings): Use `defvar' instead of `defcustom' since this is
206 only a draft which doesn't work.
207 (erc-nicklist-window-size): Use 'erc-nicklist as `:group'.
208 (erc-pcomplete-nick-postfix,
209 erc-pcomplete-order-nickname-completions): Use 'erc-pcomplete as
211 (erc-replace-alist): Use 'erc-replace as `:group'.
212 (erc-speak-filter-timestamp): Use 'erc-speak as `:group'.
213 (erc-max-buffer-size): Use 'erc-truncate as `:group'.
215 2004-12-12 Jorgen Schaefer <forcer@users.sourceforge.net>
217 * erc.el (erc-scroll-to-bottom): Go to the end of the buffer
218 before recentering. This allows editing multiple lines more
219 conveniently in CVS Emacs. This also undos a change by antifuchs
220 who said this goto-char would mess up redisplay. Extensive testing
221 couldn't reproduce that problem.
223 2004-12-12 Brian Palmer <bpalmer@gmail.com>
225 * erc.el (erc-send-ctcp-message): upcase the ctcp message (so that
226 version becomes VERSION, for example).
227 (erc-iswitchb): Make the argument optional in non-interactive
228 invocation, so erc-iswitchb can be substituted directly for
231 2004-12-11 Diane Murray <disumu@x3y2z1.net>
233 * erc-track.el (erc-track-position-in-mode-line): Allow for the
234 fact that `erc-track-mode' isn't bound when file is loaded.
236 2004-12-11 Diane Murray <disumu@x3y2z1.net>
238 * erc-track.el (erc-track-position-in-mode-line): New customizable
239 variable. (erc-track-remove-from-mode-line): New function.
240 Remove `erc-modified-channels-string' from the mode-line.
241 (erc-track-add-to-mode-line): New function. Add
242 `erc-modified-channels-string' to the mode-line using the value of
243 `erc-track-position-in-mode-line' to determine whether to add it
244 to the beginning or the end of `mode-line-modes' (only available
245 with GNU Emacs versions above 21.3) or to the end of
246 `global-mode-string'.
247 (erc-track-mode, erc-track-when-inactive-mode): Use the new
250 2004-12-11 Jorgen Schaefer <forcer@users.sourceforge.net>
252 * erc.el (erc-cmd-BANLIST): Use (buffer-name) and not
253 (erc-default-target) for the buffer name - buffer names are case
256 2004-12-11 Brian Palmer <bpalmer@gmail.com>
258 * erc.el (erc-message-type): Added the message "MODE" to the known
259 erc-message-type widget, so that (for example) people can tell
260 erc-track-exclude-types to ignore mode changes. The others tag
261 also needed to be made an inline list, so that it's merged with
262 the given constants, instead of being inserted as a list.
264 2004-12-10 Jorgen Schaefer <forcer@users.sourceforge.net>
266 * erc-track.el, erc.el: Update to get ERC look nicely in CVS Emacs.
268 * erc.el (erc-mode-line-format): When on CVS emacs, use the new
271 * erc-track.el (track module): When on CVS emacs, modify
272 mode-line-modes instead of global-mode-string. The latter is way
273 to far too the right.
275 2004-11-18 Mario Lang <mlang@delysid.org>
277 * Makefile, debian/changelog: debian release 20041118-1
279 2004-11-03 Diane Murray <disumu@x3y2z1.net>
281 * erc-button.el (erc-button-buttonize-nicks): Set default value to
282 `t'. Updated documentation and customization `:type' to reflect
285 2004-10-29 Johan Bockgård <bojohan@users.sourceforge.net>
287 * AUTHORS: Added self.
289 2004-10-17 Diane Murray <disumu@x3y2z1.net>
291 * erc-list.el: Added local variables for this file.
292 (erc-list-version): New.
293 (erc-cmd-LIST): Take &rest rather than &optional arguments, as was
294 done in revision 1.21. Allow for input when called interactively.
295 (erc-prettify-channel-list, erc-chanlist-toggle-sort-state): Use
296 `unless' instead of when not.
298 2004-10-17 Diane Murray <disumu@x3y2z1.net>
300 * erc-backend.el (erc-handle-unknown-server-response): Fixed so
301 that the contents are only shown once.
302 (MOTD): Display lines in the server buffer if it's the first MOTD
303 sent upon connection. This is to avoid the problem of having the
304 MOTD of one server showing up in another server's buffer if it took
305 a while to get connected.
306 (004): Fixed to show the user modes and channel modes correctly.
307 (303): Now displays the nicknames returned by ISON instead of the
309 (367, 368): Moved up into 300's section of the code. Added
310 documentation. Use `multiple-value-bind' to set variables in 367.
311 (391): Fixed so that the server name is shown correctly.
313 2004-10-17 Diane Murray <disumu@x3y2z1.net>
315 * erc.el (erc-process-sentinel): Use CPROC instead of
316 `erc-process' in debug message. Should fix a bug where an error
317 saying "Buffer *scratch* has no process" would occur when
319 (erc-cmd-SV): Check for X toolkit after checking for more specific
320 features. (erc--kill-server): Set `quitting' to non-nil so that
321 we don't automatically reconnect.
323 2004-10-05 Jorgen Schaefer <forcer@users.sourceforge.net>
325 * erc.el (erc-ignored-user-p): Don't require regexes to match the
328 2004-09-11 Jorgen Schaefer <forcer@users.sourceforge.net>
330 * erc.el: group erc: Moved to 'applications (patch by bojohan)
332 2004-09-08 Jorgen Schaefer <forcer@users.sourceforge.net>
334 * erc-button.el (erc-button-remove-old-buttons): Remove 'keymap
337 2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
339 * erc-backend.el: JOIN response handler: Typo fix of the last
342 2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
344 * erc-backend.el: JOIN response handler: Run `erc-join-hook'
345 without arguments as specified in the docstring.
347 2004-08-27 Jorgen Schaefer <forcer@users.sourceforge.net>
349 * erc.el (erc-send-current-line): Removed unused variable SENTP.
351 2004-08-19 Jorgen Schaefer <forcer@users.sourceforge.net>
353 * erc.el: ERC-SEND-COMPLETED-HOOK used to be run when the prompt
354 was already displayed. We restore this behavior (thanks to bojohan
355 and TerryP for noticing). We also fix the docstring of
356 ERC-SEND-COMPLETED-HOOK, since the hook is (and used to be) called
357 even if nothing was sent to the server.
358 (erc-send-completed-hook): Fixed docstring.
359 (erc-send-current-line): Add incantation for
360 erc-send-completed-hook.
361 (erc-send-input): Remove incantation for erc-send-completed-hook.
363 2004-08-18 Jorgen Schaefer <forcer@users.sourceforge.net>
365 * erc-backend.el: response-handler 368: Use s368, not s367.
367 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
369 * erc.el (erc-scroll-to-bottom): Don't scroll when we're not
372 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
374 * erc-backend.el, erc.el: Handle /mode #emacs b output without
375 errors and such. First, handle unknown format specs gracefully
376 (that is, give a useful error). Then, provide handlers for the
379 * erc-backend.el: New handler for 367 and 368. Removed from default
382 * erc.el: Provide english catalog for s367 and s368.
383 (erc-format-message): Give an error message when we don't find an
386 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
388 * erc-fill.el: erc-fill-variable could be confused about really
389 long nicks. We put an upper limit on the length of the fill prefix.
390 (erc-fill-variable): Adjust fill-prefix.
391 erc-fill-variable-maximum-indentation: New variable.
393 2004-08-17 Francis Litterio <franl@users.sourceforge.net>
395 * erc.el (erc-send-input): Fixed a bug where this function
396 referenced variable "input" instead of variable "str".
398 2004-08-16 Francis Litterio <franl@users.sourceforge.net>
400 * erc-list.el (erc-chanlist-highlight-line): Fixed a bug where
401 this function failed to set the correct face for highlighting the
404 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
406 * erc-fill.el (erc-fill-variable): Don't fuck up when the
407 looking-at didn't work.
409 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
411 * erc.el (erc-send-single-line): Call the hooks to change the
412 appearance for something only if we actually inserted something,
414 (erc-display-command): Display the prompt outside of the area that
415 set the text properties on.
417 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
419 * erc.el: Refactored erc-send-current-line. This should fix some
420 dormant bugs, and make the whole thing actually readable. Yay.
421 Some changes in behavior were made. Whitespace at the end of lines
422 sent is not removed anymore, but that shouldn't bother anyone.
423 Additionally, errors in commands or hooks shouldn't prevent the
424 prompt from showing up again now.
425 (erc-parse-current-line): Removed.
426 (erc-send-current-line): Refactored.
427 (erc-send-input): New function.
428 (erc-send-single-line): New function.
429 (erc-display-command): New function.
430 (erc-display-msg): New function.
431 (erc-user-input): New function.
433 2004-08-13 Jorgen Schaefer <forcer@users.sourceforge.net>
435 * erc.el (erc-cmd-SERVER): Use newer keyword call interface to
436 erc-select, and handle the error if it can't resolve the host.
438 2004-08-11 Jorgen Schaefer <forcer@users.sourceforge.net>
440 * erc-backend.el, erc.el: erc-backend.el (404 response handler):
441 New function. We now support "cannot send to channel".
443 * erc.el (erc-define-catalog call): Added s404.
444 (erc-ctcp-ECHO-reply, erc-ctcp-CLIENTINFO-reply,
445 erc-ctcp-FINGER-reply, erc-ctcp-PING-reply, erc-ctcp-TIME-reply,
446 erc-ctcp-VERSION-reply): Display reply in the active window, not
449 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
451 * erc.el (erc-with-all-buffers-of-server): Actually make it left
454 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
456 * erc.el (erc-with-all-buffers-of-server): Evaluate left-to-right
457 so we don't surprise a user.
459 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
461 * erc.el (erc-process-input-line): Parentophobia! Another
464 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
466 * erc-backend.el: PRIVMSG NOTICE response handler: Killed one paren
467 too much. Poor paren. Got resurrected.
469 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
471 * erc-track.el: Make server buffers showing up in the mode line
472 optional. Thanks to Daniel Knapp on the EmacsWiki for this patch.
474 erc-track-exclude-server-buffer: New variable.
475 (erc-track-modified-channels): Return a server buffer only if
476 erc-track-exclude-server-buffer is nil.
478 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
480 * erc.el (erc-cmd-DESCRIBE): Don't parse arguments.
482 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
484 * erc-truncate.el (erc-truncate-buffer-to-size): Use
485 erc-insert-marker, not (point-max), to decide the length of the
486 buffer. A long input line shouldn't make the buffer smaller.
488 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
490 * erc-macs.el, erc-members.el: The change to hashes for channel
491 members has been made some time ago. Clean up the various tries to
494 * erc-macs.el, erc-members.el: Removed.
496 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
498 * erc-backend.el, erc-ibuffer.el, erc-members.el, erc.el: Nothing
499 big changed here. Really. Uhm, maybe the info-buffers are gone or
500 so. Can't really remember. Don't worry, nothing important is
503 erc-speedbar.el looks nice btw, did you know?
505 Adjusted various places in erc.el, erc-backend.el, erc-ibuffer.el
506 and erc-members.el - too numerous to list here, sorry.
508 * erc.el: erc-use-info-buffers: Removed. erc-info-mode-map:
510 (erc-info-mode): Removed.
511 (erc-find-channel-info-buffer): Removed.
512 (erc-update-channel-info-buffer): Removed.
513 (erc-update-channel-info-buffers): Removed.
515 * erc-members.el: erc-update-member renamed to
516 erc-update-channel-member for better clarity.
518 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
520 * erc.el: This change improves the help output on a bogus command
521 invocation. We display the command as it would be typed by the
522 user, not as it is seen by Emacs.
524 (erc-get-arglist): Is now called erc-function-arglist, and returns
525 now an arglist without the enclosing parens.
526 (erc-command-name): New function.
527 (erc-process-input-line): Pass the command name, not the function
530 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
532 * erc.el (erc-process-input-line): Fix bug when the command
533 doesn't have an arglist or no documentation. Thanks bojohan again
536 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
538 * erc-match.el (erc-add-entry-to-list),
539 (erc-remove-entry-from-list): Update docstring, a TEST argument is
542 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
544 * erc.el (erc-with-buffer): Really fix this docstring.
546 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
548 * erc.el (erc-with-buffer): Fix double evaluation in macro, and
551 2004-08-10 Brian Palmer <bpalmer@gmail.com>
553 * erc.el (erc-cmd-JOIN): Use erc-member-ignore-case instead of
556 2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
558 * erc-backend.el: Define an "Edebug specification" for the
559 `define-erc-response-handler' macro. This means that one can step
560 through response handlers defined by this macro with edebug. Maybe
561 more macros would benefit from this?
563 2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
565 * erc-pcomplete.el (pcomplete/erc-mode/CTCP): New function.
566 Completion for the /CTCP command. (erc-pcomplete-ctcp-commands):
567 New variable. List of ctcp commands.
569 2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
571 * erc-list.el: Clean up docstrings.
572 (erc-prettify-channel-list): Extend properties to cover the entire
573 line, including the newline, to make it look
575 (erc-chanlist-highlight-line): Ditto.
576 (erc-chanlist-mode-hook): Make it a defcustom.
578 2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
580 * erc.el (erc-compute-full-name): Typo fix, should be full-name,
583 2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
585 * erc.el (erc): Setup the buffer to be shown in a window at the
586 end of this function. This enables 'window-noselect to work
588 (erc, erc-send-current-line): Fix some
589 goto-char/open-line/goto-char to goto-char/insert.
591 2004-08-08 Jorgen Schaefer <forcer@users.sourceforge.net>
593 * erc.el (erc-parse-user): Live with bogus info from bouncers.
595 2004-07-31 Brian Palmer <bpalmer@gmail.com>
597 * erc.el (erc-select): Change the docstring to reflect the new
598 arguments; include the arguments in the docstring for non-cvs
599 emacs. Change the parameters to call erc-compute-* instead of
600 using the erc-* variables directly.
601 (erc-compute-server): Made argument optional.
602 (erc-compute-nick): ditto.
603 (erc-compute-full-name): ditto. (erc-compute-port): ditto.
605 2004-07-30 Francis Litterio <franl@users.sourceforge.net>
607 * erc.el (erc-cmd-BANLIST): Fixed a bug where channel-banlist was
608 not reset to nil before fetching an updated banlist from the
611 2004-07-30 Francis Litterio <franl@users.sourceforge.net>
613 * erc.el (erc-cmd-BANLIST): Fixed a bug where the
614 'received-from-server property on variable channel-banlist was not
615 being reset to nil. This fixes the symptom where one types
616 /BANLIST and sees "No bans for channel: #whatever" when you know
619 2004-07-23 Brian Palmer <bpalmer@gmail.com>
621 * erc.el (erc-select-read-args): Use erc-compute-nick to
622 calculate the default nickname
624 2004-07-20 Brian Palmer <bpalmer@gmail.com>
626 * erc.el (erc-process-sentinel-1): New function. This is an
627 auxiliary function refactored out of erc-process-sentinel to
628 decide a server buffer's fate (whether it should be killed, and
629 whether erc should attempt to auto-reconnect). Michael Olson
630 <mwolson@gnu.org> helped with this.
631 (erc-kill-server-buffer-on-quit): New variable. Used in
632 erc-process-sentinel-1 to decide whether to kill a server buffer
633 when the user quit normally.
634 (erc-process-sentinel): Auxiliary function erc-process-sentinel-1
635 split out. The function body has `with-current-buffer' wrapped
636 around it, to ensure separation of messages if multiple
637 connections were being made. Use `if' instead of `cond' in places
638 where the decision is binary. The last (useless, since the server
639 connection is closed) prompt in the server buffer is removed.
640 Color "erc terminated" and "erc finished" messages with
641 erc-error-face. Mark the buffer unmodified so that, if not killed
642 automatically, the user is not prompted to save it.
644 2004-07-16 Brian Palmer <bpalmer@gmail.com>
646 * erc.el (erc-select-read-args): New function. Prompts the user
647 for arguments to pass to erc-select and erc-select-ssl.
648 (erc-select): Use (erc-select-read-args) when called interactively
649 to get its arguments. When non-interactively, use keyword
651 (erc-select-ssl): Ditto.
652 (erc-compute-port): New function. Parallel to erc-compute-server,
653 but comes up with a default value for an IRC server's port.
655 2004-07-16 Jorgen Schaefer <forcer@users.sourceforge.net>
657 * erc-match.el (erc-match-message): Quote the current nickname.
659 2004-07-12 Brian Palmer <bpalmer@gmail.com>
661 * erc-list.el (erc-chanlist-mode): Remove explicit invocation of
662 erc-chanlist-mode-hook, since it's automatically invoked by
665 2004-07-03 Jorgen Schaefer <forcer@users.sourceforge.net>
667 * erc-match.el (erc-match-current-nick-p): Quote current nick for
670 2004-06-27 Johan Bockgård <bojohan@users.sourceforge.net>
672 * erc-nickserv.el (erc-nickserv-identify-mode): Fix erroneous
673 parentheses in call to `completing-read'.
675 2004-06-23 Alex Schroeder <alex@gnu.org>
677 * Makefile (release): Depend on autoloads, and copy erc-auto.el
680 2004-06-14 Francis Litterio <franl@users.sourceforge.net>
682 * erc.el (erc-log-irc-protocol): Fixed minor bug where each line
683 received from a server was logged as two lines (one with text and
686 2004-06-08 Brian Palmer <bpalmer@gmail.com>
688 * erc-list.el (erc-chanlist-frame-parameters): Made customizable.
689 (erc-chanlist-header-face): Changed to use defface with some
690 reasonable defaults instead of make-face, and removed the
691 associated -face variable.
692 (erc-chanlist-odd-line-face): Ditto.
693 (erc-chanlist-even-line-face): Ditto.
694 (erc-chanlist-highlight-face): New variable. Holds a face used for
695 highlighting the current line.
696 (erc-cmd-LIST): Use erc-member-ignore-case instead of
698 (erc-chanlist-post-command-hook): Change to move the highlight
699 overlay instead of refontifying the entire buffer.
700 (erc-chanlist-dehighlight-line): Added to detach the highlight
701 overlay from the buffer.
703 2004-05-31 Jorgen Schaefer <forcer@users.sourceforge.net>
705 * erc.el: erc-mode-line-format: Add column numbers.
707 2004-05-31 Adrian Aichner <adrian@xemacs.org>
709 * erc-autojoin.el: Typo fix.
711 * erc-dcc.el (erc-dcc-do-GET-command): Use expand-file-name.
712 (erc-dcc-get-file): XEmacs set-buffer-multibyte compatibility.
714 * erc-log.el: Append `erc-log-setup-logging' to
715 `erc-connect-pre-hook' so that `erc-initialize-log-marker' is run
716 first (markers are needed by `erc-log-setup-logging').
717 (erc-enable-logging): Docstring fix.
718 (erc-log-setup-logging): Move `erc-log-insert-log-on-open' to (1-
719 (point-max)) when doing `erc-log-insert-log-on-open'. Modified
720 version of a patch by Lawrence Mitchell.
721 (erc-log-all-but-server-buffers): Do `save-excursion' as well.
722 (erc-current-logfile): Pass buffer name as target
723 argument to `erc-generate-log-file-name-function' if
724 `erc-default-target' is nil.
725 (erc-generate-log-file-name-with-date): Use expand-file-name.
726 (erc-generate-log-file-name-short): Ditto.
727 (erc-save-buffer-in-logs): Do `save-excursion' and test whether
728 erc-last-saved-position is a marker.
730 * erc-members.el: Avoid miscompiling macro `erc-log' and
731 `with-erc-channel-buffer' by requiring 'erc at compile time.
733 * erc-sound.el: Use expand-file-name.
735 * erc.el (erc-debug-log-file): Ditto.
736 (erc-find-file): Ditto.
738 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
740 * erc.el, erc-backend.el (erc-cmd-BANLIST): Added a missing "'"
741 that was preventing /BANLIST from working. In erc-backend.el,
742 added server response handler for 367 and 368 responses to get
745 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
747 * erc.el: Removed an eval-when-compile that was preventing the
748 byte-compiled version of this file from loading.
750 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
752 * erc.el: Undid part of my last change. I suspect it was wrong.
754 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
756 * erc.el: Silenced several byte-compiler warnings.
758 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
760 * erc.el (erc-log-irc-protocol): Fixed problem where this function
761 misformatted IRC protocol text if multiple lines were received from
762 the server at one time.
764 2004-05-25 Francis Litterio <franl@users.sourceforge.net>
766 * erc.el (erc-toggle-debug-irc-protocol): Cosmetic changes to the
767 informational text in the *erc-protocol* buffer.
769 2004-05-24 Francis Litterio <franl@users.sourceforge.net>
771 * erc.el (erc-log-irc-protocol, erc-process-filter): Now the lines
772 inserted in the *erc-protocol* buffer are prefixed with the name
773 of the network to/from which the data is going/coming. This makes
774 reading the *erc-protocol* buffer much easier when connected to
777 2004-05-23 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
779 * erc-backend.el: Fixes server message parsing so that command
780 arguments specified after the colon are not treated specially. All
781 arguments are added to the `command-args' field, and the
782 `contents' points to the last element in the `command-args' list.
783 This allows ERC to connect to networks such as Undernet. Although
784 keeping `contents' allows many of the response handlers to
785 continue to work as-is, many other are probably broken by this
788 2004-05-20 Lawrence Mitchell <wence@gmx.li>
790 * HACKING: Add comment that C-c C-a can be useful if you write
791 ChangeLog entries using Emacs' standard functions.
793 2004-05-17 Diane Murray <disumu@x3y2z1.net>
795 * erc-speedbar.el: Ignore errors when attempting to require dframe
796 (there are a couple implementations of speedbar, one of which uses
798 (erc-speedbar-version): New.
799 (erc-speedbar-goto-buffer): Use dframe functions if dframe is
802 2004-05-17 Diane Murray <disumu@x3y2z1.net>
804 * erc-autojoin.el: Added local variables for this file.
805 (erc-autojoin-add): The channel name is in `erc-response.contents'.
807 2004-05-17 Mario Lang <mlang@delysid.org>
809 * erc-log.el: Don't autoload a define-key statement, erc-mode-map
810 might not be known yet
812 2004-05-16 Lawrence Mitchell <wence@gmx.li>
814 * erc-backend.el (erc-parse-server-response): Revert to original
815 `erc-parse-line-from-server' version, since new version breaks for
816 a number of edge cases.
818 2004-05-14 Diane Murray <disumu@x3y2z1.net>
820 * erc-backend.el (erc-handle-unknown-server-response): New
821 function. Added to `erc-default-server-functions'. Display
822 unknown responses to the user.
823 (221): Don't show nickname in modes list.
824 (254): Fixed to use 's254.
825 (303): Added docstring.
826 (315, 318, 323, 369): Ignored responses grouped together.
828 (406, 432): Use ?n, not ?c in `erc-display-message'.
829 (431, 445, 446, 451, 462, 463, 464, 465, 481, 483, 485, 491, 501,
830 502): All error responses with no arguments grouped together.
832 2004-05-14 Diane Murray <disumu@x3y2z1.net>
834 * erc.el (erc-message-type-member): Use `erc-response.command'.
835 `erc-track-exclude-types' should be respected again.
836 (erc-cmd-TIME): Fixed to work with and without server given as
838 (erc-define-catalog): Added, s391, s431, s445, s446, s451, s462,
839 s463, s464, s465, s483, s484, s485, s491, s501, s502.
841 2004-05-14 Lawrence Mitchell <wence@gmx.li>
845 2004-05-14 Lawrence Mitchell <wence@gmx.li>
847 * Makefile (erc-auto.el): Pass -f flag to rm so that we don't fail
848 if erc-auto.elc doesn't exist.
850 2004-05-14 Lawrence Mitchell <wence@gmx.li>
852 * erc-backend.el (erc-with-buffer): Autoload.
853 (erc-parse-server-response): XEmacs' `replace-match' only replaces
854 subexpressions when operating on buffers, not strings, work around
856 (461): Command with invalid arguments is `second', not `third'.
858 2004-05-14 Diane Murray <disumu@x3y2z1.net>
860 * erc-notify.el (erc-notify-NICK): Use `erc-response.contents' to
863 2004-05-13 Lawrence Mitchell <wence@gmx.li>
865 * erc-track.el: Indentation fixes.
866 (track-when-inactive): Use `erc-server-FOO-functions', not
867 `erc-server-FOO-hook.
869 2004-05-13 Lawrence Mitchell <wence@gmx.li>
871 * erc-notify.el (notify): Use `erc-server-FOO-functions', not
872 `erc-server-FOO-hook.
873 (erc-notify-timer, erc-notify-JOIN, erc-notify-NICK)
874 (erc-notify-QUIT): Use new accessors for PARSED argument.
876 2004-05-13 Lawrence Mitchell <wence@gmx.li>
878 * erc-nickserv.el (services, erc-nickserv-identify-mode): Use
879 `erc-server-FOO-functions', not `erc-server-FOO-hook.
880 (erc-nickserv-identify-autodetect): Use new accessors for PARSED
883 2004-05-13 Lawrence Mitchell <wence@gmx.li>
885 * erc-netsplit.el (netsplit): Use `erc-server-FOO-functions', not
886 `erc-server-FOO-hook.
887 (erc-netsplit-JOIN, erc-netsplit-MODE, erc-netsplit-QUIT): Use new
888 accessors for PARSED argument.
890 2004-05-13 Lawrence Mitchell <wence@gmx.li>
892 * erc-nets.el: Use `erc-server-FOO-functions', not
893 `erc-server-FOO-hook.
895 2004-05-13 Lawrence Mitchell <wence@gmx.li>
897 * erc-menu.el (erc-menu-definition): Only allow listing of
898 channels if `erc-cmd-LIST' is fboundp.
900 2004-05-13 Lawrence Mitchell <wence@gmx.li>
902 * erc-match.el: Use `erc-server-FOO-functions', not
903 `erc-server-FOO-hook.
904 (erc-get-parsed-vector-nick, erc-get-parsed-vector-type): Use new
905 accessors for PARSED argument.
907 2004-05-13 Lawrence Mitchell <wence@gmx.li>
909 * erc-list.el (erc-chanlist, erc-chanlist-322): Use new accessors
910 for PARSED argument. Use `erc-server-FOO-functions', not
911 `erc-server-FOO-hook.
913 2004-05-13 Lawrence Mitchell <wence@gmx.li>
915 * erc-ezbounce.el (erc-ezb-notice-autodetect): Use new accessors
917 (erc-ezb-initialize): Use `erc-server-FOO-functions', not
918 `erc-server-FOO-hook.
920 2004-05-13 Lawrence Mitchell <wence@gmx.li>
922 * erc-dcc.el: Use `erc-server-FOO-functions', not
923 `erc-server-FOO-hook.
924 (erc-dcc-no-such-nick): Use new accessors for PARSED argument.
926 2004-05-13 Lawrence Mitchell <wence@gmx.li>
928 * erc-bbdb.el (erc-bbdb-whois, erc-bbdb-JOIN, erc-bbdb-NICK): Use
929 new accessors for PARSED argument.
930 (BBDB): Use `erc-server-FOO-functions', not `erc-server-FOO-hook.
932 2004-05-13 Lawrence Mitchell <wence@gmx.li>
934 * erc-autojoin.el (autojoin): Use `erc-server-FOO-functions', not
935 `erc-server-FOO-hook.
936 (erc-autojoin-add, erc-autojoin-remove): Use new accessors for
939 2004-05-13 Lawrence Mitchell <wence@gmx.li>
941 * erc-autoaway.el (autoaway): Use `erc-server-FOO-functions', not
942 `erc-server-FOO-hook.
944 2004-05-13 Lawrence Mitchell <wence@gmx.li>
946 * erc.el (erc-backend): Require.
947 (erc-disconnected-hook, erc-join-hook, erc-quit-hook)
948 (erc-part-hook, erc-kick-hook): Docstring fix, we now use
949 `erc-server-FOO-functions', rather than `erc-server-FOO-hook'.
950 (erc-event-to-hook-name, erc-event-to-hook): Remove.
951 (erc-once-with-server-event)
952 (erc-once-with-server-event-global): Use `erc-get-hook'
953 (erc-process-filter): Use `erc-parse-server-response'.
954 (erc-cmd-IDLE, erc-cmd-BANLIST, erc-cmd-MASSUNBAN): New accessors
955 for PARSED argument. Rename all `erc-server-FOO-hook' to
956 `erc-server-FOO-functions'.
957 (erc-server-364-hook, erc-server-365-hook, erc-server-367-hook)
958 (erc-server-368-hook, erc-server-KILL-hook)
959 (erc-server-PONG-hook, erc-server-200-hook, erc-server-201-hook)
960 (erc-server-202-hook, erc-server-203-hook, erc-server-204-hook)
961 (erc-server-205-hook, erc-server-206-hook, erc-server-208-hook)
962 (erc-server-209-hook, erc-server-211-hook, erc-server-212-hook)
963 (erc-server-213-hook, erc-server-214-hook, erc-server-215-hook)
964 (erc-server-216-hook, erc-server-217-hook, erc-server-218-hook)
965 (erc-server-219-hook, erc-server-241-hook, erc-server-242-hook)
966 (erc-server-243-hook, erc-server-244-hook, erc-server-249-hook)
967 (erc-server-261-hook, erc-server-262-hook, erc-server-302-hook)
968 (erc-server-323-hook, erc-server-342-hook, erc-server-351-hook)
969 (erc-server-381-hook, erc-server-382-hook, erc-server-391-hook)
970 (erc-server-392-hook, erc-server-393-hook, erc-server-394-hook)
971 (erc-server-395-hook, erc-server-402-hook, erc-server-404-hook)
972 (erc-server-407-hook, erc-server-409-hook, erc-server-411-hook)
973 (erc-server-413-hook, erc-server-414-hook, erc-server-415-hook)
974 (erc-server-422-hook, erc-server-423-hook, erc-server-424-hook)
975 (erc-server-431-hook, erc-server-436-hook, erc-server-437-hook)
976 (erc-server-441-hook, erc-server-443-hook, erc-server-444-hook)
977 (erc-server-445-hook, erc-server-446-hook, erc-server-451-hook)
978 (erc-server-462-hook, erc-server-463-hook, erc-server-464-hook)
979 (erc-server-465-hook, erc-server-467-hook, erc-server-471-hook)
980 (erc-server-472-hook, erc-server-473-hook, erc-server-483-hook)
981 (erc-server-491-hook, erc-server-502-hook): Remove.
982 (erc-call-hooks, erc-parse-line-from-server): Remove
983 (erc-server-hook-list): Remove. Remove top-level call too.
984 (erc-server-ERROR, erc-server-INVITE, erc-server-JOIN)
985 (erc-server-KICK, erc-server-MODE, erc-server-NICK)
986 (erc-server-PART, erc-server-PING, erc-server-PONG)
987 (erc-server-PRIVMSG-or-NOTICE, erc-server-QUIT)
988 (erc-server-TOPIC, erc-server-WALLOPS, erc-server-001)
989 (erc-server-004, erc-server-005, erc-server-221, erc-server-252)
990 (erc-server-253, erc-server-254, erc-server-301, erc-server-303)
991 (erc-server-305, erc-server-306, erc-server-311-or-314)
992 (erc-server-312, erc-server-313, erc-server-317, erc-server-319)
993 (erc-server-320, erc-server-321, erc-server-322, erc-server-324)
994 (erc-server-329, erc-server-330, erc-server-331, erc-server-332)
995 (erc-server-333, erc-server-341, erc-server-352, erc-server-353)
996 (erc-server-366, erc-server-MOTD, erc-server-379)
997 (erc-server-401, erc-server-403, erc-server-405, erc-server-406)
998 (erc-server-412, erc-server-421, erc-server-432, erc-server-433)
999 (erc-server-437, erc-server-442, erc-server-461, erc-server-474)
1000 (erc-server-475, erc-server-477, erc-server-481, erc-server-482)
1001 (erc-server-501): Move to erc-backend.el
1002 (erc-auto-query, erc-banlist-store, erc-banlist-finished)
1003 (erc-banlist-update, erc-connection-established)
1004 (erc-process-ctcp-query, erc-display-server-message): Use new
1005 accessors for PARSED argument.
1007 2004-05-13 Lawrence Mitchell <wence@gmx.li>
1009 * erc-backend.el (erc-parse-server-response)
1010 (erc-handle-parsed-server-response, erc-get-hook)
1011 (define-erc-response-handler): New functions.
1012 (erc-response): New struct for server responses.
1013 (erc-server-responses): New variable.
1014 (erc-call-hooks): Move from erc.el and rework.
1015 (ERROR, INVITE, JOIN, KICK, MODE, NICK, PART, PING, PONG)
1016 (PRIVMSG, NOTICE, QUIT, TOPIC, WALLOPS, 001, MOTD, 376, 004)
1017 (252, 253, 254, 250, 301, 303, 305, 306, 311, 312, 313, 315)
1018 (317, 318, 319, 320, 321, 322, 324, 329, 330, 331, 332, 333)
1019 (341, 352, 353, 366, 369, 379, 401, 403, 405, 406, 412, 421)
1020 (432, 433, 437, 442, 461, 474, 477, 481, 482, 501, 323, 221)
1021 (002, 003, 371, 372, 374, 375, 422, 251, 255, 256, 257, 258)
1022 (259, 265, 266, 377, 378, 314, 475, 364, 365, 367, 368, 381)
1023 (382, 391, 392, 393, 394, 395, 200, 201, 202, 203, 204, 205)
1024 (206, 208, 209, 211, 212, 213, 214, 215, 216, 217, 218, 219)
1025 (241, 242, 243, 244, 249, 261, 262, 302, 342, 351, 402, 404)
1026 (407, 409, 411, 413, 414, 415, 423, 424, 431, 436, 441, 443)
1027 (444, 445, 446, 451, 462, 463, 464, 465, 467, 471, 472, 473)
1028 (483, 491, 502, 005, KILL): Move from erc.el and rework using
1029 `define-erc-response-handler' and erc-response struct.
1031 2004-05-12 Diane Murray <disumu@x3y2z1.net>
1033 * erc.el: A few bug fixes to avoid errors after disconnect,
1034 including the "Selecting deleted buffer" bug.
1035 (erc-channel-user-op-p, erc-channel-user-voice-p): Make sure NICK
1036 is non-nil (`erc-current-nick' can return nil).
1037 (erc-server-buffer): Make sure the buffer isn't a #<killed
1039 (erc-server-buffer-live-p): New function.
1040 (erc-display-line, erc-join-channel, erc-prepare-mode-line-format,
1041 erc-away-p): Use `erc-server-buffer-live-p' to make sure process
1043 (erc-send-current-line): If there is no server buffer, let the
1046 2004-05-12 Diane Murray <disumu@x3y2z1.net>
1048 * erc.el, erc-log.el: C-c C-l keybinding now defined in
1050 (erc-log-version): New.
1051 (erc-cmd-JOIN): Fix applied for bug where /join -invite causes
1052 errors when there's no `invitation'.
1054 2004-05-11 Diane Murray <disumu@x3y2z1.net>
1056 * erc.el (erc-cmd-JOIN): Make sure `chnl' is non-nil before trying
1057 to join anything (chnl is not set if /join -invite is used but
1058 there's no `invitation').
1060 2004-05-10 Diane Murray <disumu@x3y2z1.net>
1062 * erc-log.el: Define C-c C-l keybinding outside of `erc-log-mode',
1063 making it available all the time; autoload definition.
1064 (erc-log-version): New.
1066 2004-05-09 Diane Murray <disumu@x3y2z1.net>
1068 * AUTHORS, CREDITS, Makefile, erc-autoaway.el, erc-autojoin.el,
1069 erc-button.el, erc-chess.el, erc-dcc.el, erc-ezbounce.el,
1070 erc-fill.el, erc-ibuffer.el, erc-imenu.el, erc-lang.el,
1071 erc-list.el, erc-log.el, erc-macs.el, erc-match.el, erc-members.el,
1072 erc-menu.el, erc-nets.el, erc-netsplit.el, erc-nickserv.el,
1073 erc-notify.el, erc-page.el, erc-ring.el, erc-speak.el,
1074 erc-speedbar.el, erc-stamp.el, erc-track.el, erc-truncate.el,
1075 erc-xdcc.el, erc.el: Applied all relevant bug fixes and code
1076 cleanup made between the time of the ERC_4_0_RELEASE tag until now.
1078 2004-05-09 Diane Murray <disumu@x3y2z1.net>
1080 * erc-menu.el: Updated copyright years.
1082 2004-05-09 Lawrence Mitchell <wence@gmx.li>
1084 * erc.el (erc-update-channel-info-buffer): Correct bug in sorting
1085 of channel users. Tiny change from Andreas Schwab
1088 2004-05-09 Lawrence Mitchell <wence@gmx.li>
1090 * erc-fill.el (erc-fill-variable): Fix docstring.
1092 2004-05-09 Lawrence Mitchell <wence@gmx.li>
1094 * erc-button.el (erc-button-add-button): Use 'keymap
1095 text-property, rather than 'local-map, since it's cross-emacs
1096 compatible. Pass :mouse-down-action into `widget-convert-button'
1097 as 'erc-button-click-button, to make XEmacs happy. Replace bogus
1098 reference to erc-widget-press-button with erc-button-press-button.
1099 (erc-button-click-button): New (ignored) first argument, to make
1100 XEmacs behave when pressing buttons.
1101 (erc-button-press-button): New (ignored) &rest argument.
1103 2004-05-09 Adrian Aichner <adrian@xemacs.org>
1105 * erc-log.el (erc-conditional-save-buffer): Fix docstring
1106 reference to erc-save-queries-on-quit.
1107 (erc-conditional-save-queries): Ditto.
1109 2004-05-06 Diane Murray <disumu@x3y2z1.net>
1111 * erc-speedbar.el: Updated copyright years. Added local variables
1112 for this file; fixed indenting.
1113 (erc-speedbar): New group.
1114 (erc-speedbar-sort-users-type): New variable.
1115 (erc-speedbar-buttons): Handle query buffers (fixes a bug where an
1116 error would be thrown if the current buffer was a query). Ignore
1118 (erc-speedbar-expand-channel): Show limit and key with channel
1119 modes. Sort users according to `erc-speedbar-sort-users-type'.
1120 (erc-speedbar-insert-user): Fixed bug where only nicks with more
1121 info were being listed, and those were shown twice.
1122 (erc-speedbar-goto-buffer): Don't use dframe functions, as dframe
1123 isn't available with the default speedbar.
1125 2004-05-06 Diane Murray <disumu@x3y2z1.net>
1127 * erc.el (erc-sort-channel-users-alphabetically): New function.
1128 (erc-server-412, erc-server-432, erc-server-475): New functions.
1129 (erc-server-412-hook, erc-server-432-hook, erc-server-475-hook):
1131 (erc-server-401, erc-server-403, erc-server-405)
1132 (erc-server-421, erc-server-474, erc-server-481): Use catalog
1134 (erc-define-catalog): Added s401, s403, s405, s412, s421, s432,
1135 s474, s475, and s481.
1137 2004-05-06 Diane Murray <disumu@x3y2z1.net>
1139 * erc-nickserv.el: Added documentation to Commentary, Usage.
1140 Removed `outline-mode' from file local variables.
1141 (erc-services-mode): Use `erc-nickserv-identify-mode' to add
1143 (erc-nickserv-identify-mode): New function.
1144 (erc-nickserv-identify-mode): New variable.
1145 (erc-prompt-for-nickserv-password, erc-nickserv-passwords):
1147 (erc-nickserv-identify-autodetect): Use
1148 `erc-nickserv-call-identify-function'. Docstring change.
1149 (erc-nickserv-identify-on-connect,
1150 erc-nickserv-identify-on-nick-change,
1151 erc-nickserv-call-identify-function): New functions.
1152 (erc-nickserv-identify): PASSWORD is not optional. Autoload
1155 2004-05-05 Diane Murray <disumu@x3y2z1.net>
1157 * erc.el (erc-join-hook, erc-quit-hook, erc-part-hook,
1158 erc-kick-hook, erc-connect-pre-hook): Now customizable.
1159 (erc-nick-changed-functions): New hook.
1160 (erc-server-NICK): Run `erc-nick-changed-functions' with the
1161 arguments NEW-NICK and OLD-NICK.
1162 (erc-channel-user-voice-p, erc-channel-user-voice-p): Shortened
1165 2004-05-05 Lawrence Mitchell <wence@gmx.li>
1167 * HACKING: New section on function/variable naming and coding
1170 2004-05-05 Lawrence Mitchell <wence@gmx.li>
1172 * erc.el (erc-wash-quit-reason): Quote regexp special characters
1173 in NICK, LOGIN and HOST.
1175 2004-05-04 Diane Murray <disumu@x3y2z1.net>
1177 * erc.el (erc-server-parameters): Typo fix in docstring.
1178 (erc-input-line-position): `:type' is now a choice between integer
1179 and nil. (erc-mode-map): Bind `erc-get-channel-mode-from-keypress'
1180 to C-c C-o instead of C-c RET (C-c C-m). (erc-cmd-GQUIT): Use
1181 REASON as argument when calling `erc-cmd-QUIT'.
1183 2004-05-03 Lawrence Mitchell <wence@gmx.li>
1185 * erc-nicklist.el: Initial version.
1187 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1189 * erc-menu.el: Added local variables for file, fixed indenting.
1190 (erc-menu-version): New variable.
1191 (erc-menu-definition): "List channels": New. "Join channel": Use
1192 `erc-connected' as test. "Start a query": New. "List channel
1193 operators": New. "Input action": Moved up. "Set topic": Fixed
1194 test so it's only active in channels. "Leave this channel": Moved
1195 down. "Track hidden channel buffers": Removed. "Enable/Disable
1198 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1200 * erc.el (erc-mode-map): Removed binding for
1201 `erc-save-buffer-in-logs' (moved to erc-log.el).
1202 (erc-cmd-QUERY, erc-cmd-OPS): Now interactive.
1204 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1206 * erc-log.el: Added local variables for this file.
1207 (erc-log-channels-directory): Added directory as a choice in
1209 (define-erc-module): Define and undefine key binding (C-c
1210 C-l) for `erc-save-buffer-in-logs' here.
1212 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1214 * erc-nets.el: Added local variables for this file.
1215 (erc-networks-alist): Fixed `:type' to work better in
1218 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1220 * erc-match.el: Added local variables for file. (erc-keywords):
1221 Use `list' instead of `cons' in `:type'. Fixes bug where mismatch
1222 was shown in customization. (erc-current-nick-highlight-type):
1223 Escape parentheses in docstring. Added keyword, nick-or-keyword as
1226 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1228 * erc-stamp.el: Added local variables for file.
1229 (erc-away-timestamp-format): Allow nil as a choice in `:type'.
1230 (erc-timestamp-intangible): Changed `:type' to boolean.
1231 (erc-timestamp-right-column): Added `:group' and `:type'.
1233 2004-04-28 Diane Murray <disumu@x3y2z1.net>
1235 * erc.el (erc-modules): Added bbdb, log, match, sound, and stamp
1236 as `:type' options; changed documentation for autojoin, fill,
1237 pcomplete, track. (erc-prompt-for-channel-key): New variable.
1238 (erc-join-channel): Only prompt for key if
1239 `erc-prompt-for-channel-key' is non-nil. (erc-format-my-nick): New
1240 function. (erc-send-message, erc-send-current-line): Use it.
1242 2004-04-24 Johan Bockgård <bojohan@users.sourceforge.net>
1244 * erc-track.el (erc-track-modified-channels): Fix indentation.
1246 2004-04-24 Johan Bockgård <bojohan@users.sourceforge.net>
1248 * erc-match.el (erc-hide-fools): Docstring fix.
1249 (erc-log-matches-types-alist): Added `current-nick' to valid
1252 2004-04-20 Diane Murray <disumu@x3y2z1.net>
1254 * erc-page.el, erc-ezbounce.el, erc-speak.el, erc-match.el,
1255 erc-track.el (erc-ezbounce, erc-page, erc-speak): Groups defined.
1256 (erc-match, erc-track): `erc' is parent group.
1257 (erc-ezb-regexp, erc-ezb-login-alist): Added `:group'.
1259 2004-04-20 Jorgen Schaefer <forcer@users.sourceforge.net>
1261 * erc-fill.el: Fixed erc-fill-static so it breaks the lines at the
1262 right column and respects timestamps. Patch by Simon Siegler
1264 (erc-fill-static): Major rewrite and split up into some functions.
1265 (erc-count-lines): Removed.
1266 (erc-fill-regarding-timestamp): New function.
1267 (erc-timestamp-offset): New function.
1268 (erc-restore-text-properties): New function.
1269 (erc-fill-variable): Respect leftbound timestamp. This is still
1270 broken if someone has both erc-timestamp-only-if-changed-flag set
1271 and erc-insert-timestamp-function set to
1272 'erc-insert-timestamp-left, but otherwise it works now.
1274 2004-04-20 Diane Murray <disumu@x3y2z1.net>
1276 * erc.el (erc-cmd-SV): Show features gtk, mac-carbon, multi-tty.
1277 Fixed so that arguments fit the format (build date was not being
1280 2004-04-19 Lawrence Mitchell <wence@gmx.li>
1282 * erc.el (erc-update-channel-topic): Error if `channel-topic' is
1283 unbound. Remove %-sign substitution.
1284 (erc-update-mode-line-buffer): Escape %-signs in `channel-topic'
1287 2004-04-19 Diane Murray <disumu@x3y2z1.net>
1289 * erc.el (erc-send-action, erc-ctcp-query-ACTION,
1290 erc-ctcp-reply-ECHO-hook): Let `erc-display-message-highlight'
1291 propertize the message.
1292 (erc-display-message-highlight): Allow for any erc-TYPE-face.
1293 (erc-cmd-JOIN): Display error message instead of throwing an error
1294 if there's no `invitation'.
1295 (erc-cmd-PART): Allow for no reason if channel is provided. Fixes
1296 bug where user would part the current channel with the other
1297 channel's name as reason when no reason was given.
1298 (erc-server-vectors, erc-debug-missing-hooks): Added docstring.
1299 (erc-server-JOIN): Moved `erc-join-hook' to JOIN-you section.
1300 `erc-join-hook' called by `run-hook-with-args', sending the ARGS
1301 `chnl' and the channel's buffer. Changed an instance of if
1302 without else to when.
1303 (erc-server-477): New function.
1304 (erc-server-477-hook): Use `erc-server-477'.
1305 (erc-define-catalog): Added `no-invitation'.
1307 2004-04-14 Diane Murray <disumu@x3y2z1.net>
1309 * erc-nickserv.el: Local variables for file added.
1310 (erc-nickserv-passwords): Customization: Network symbols updated
1311 to reflect `erc-nickserv-alist'. Allow user to type in network
1313 (erc-nickserv-alist): Now customizable variable.
1315 2004-04-09 Diane Murray <disumu@x3y2z1.net>
1317 * erc-autoaway.el (erc-autoaway-reset-idletime): Make sure `line'
1318 is a string to avoid errors upon startup.
1320 2004-04-06 Diane Murray <disumu@x3y2z1.net>
1322 * erc-autoaway.el (erc-autoaway-version): New variable.
1323 (erc-auto-discard-away): Updated docstring.
1324 (erc-autoaway-no-auto-back-regexp): New variable.
1325 (erc-autoaway-reset-idletime): Use it. Hopefully a better solution
1326 which allows for aliases to "/away" and any other text that the
1327 user wants to ignore when `erc-auto-discard-away' is non-nil.
1329 2004-04-06 Diane Murray <disumu@x3y2z1.net>
1331 * erc-autoaway.el (erc-autoaway-reset-idletime): Forgot /gaway in
1334 2004-04-06 Diane Murray <disumu@x3y2z1.net>
1336 * erc-autoaway.el (erc-autoaway-reset-idletime): If the user sends
1337 an "/away" command, don't call `erc-autoaway-set-back', fixes bug
1338 where ERC would send "/away" when user was already away and sent an
1339 "/away reason". Changed `l' to `line' for better understanding.
1340 (erc-autoaway-set-back): Changed `l' to `line' for better
1343 2004-04-05 Diane Murray <disumu@x3y2z1.net>
1345 * erc.el (erc-set-channel-key): Now able to remove key.
1346 (erc-set-channel-limit): Now able to remove limit.
1347 (erc-get-channel-mode-from-keypress): Fixed docstring.
1349 2004-04-04 Diane Murray <disumu@x3y2z1.net>
1351 * erc.el (erc-join-channel): Allow for optional channel key.
1352 (erc-set-modes): Need to set `channel-key' to nil in case of mode
1353 changes during split.
1354 (erc-show-channel-key-p): New variable.
1355 (erc-prepare-mode-line-format): Only show key if
1356 `erc-show-channel-key-p' is non-nil.
1358 2004-04-04 Diane Murray <disumu@x3y2z1.net>
1360 * erc.el (channel-key): New variable.
1361 (erc-update-channel-key): New function.
1362 (erc-set-modes, erc-parse-modes, erc-update-modes, erc,
1363 erc-update-channel-info-buffer): Deal with channel keys.
1364 (erc-prepare-mode-line-format): Show channel key in header-line.
1365 (erc-server-NICK): Show nick change in server buffer as well.
1366 (erc, erc-send-command, erc-banlist-store, erc-banlist-update,
1367 erc-load-irc-script-lines,
1368 erc-arrange-session-in-multiple-windows, erc-handle-login,
1369 erc-find-channel-info-buffer): Changed when not to unless.
1370 (erc-server-MODE): Changed if without else to when.
1372 2004-03-27 Adrian Aichner <adrian@xemacs.org>
1374 * erc.el (erc-cmd-BANLIST): Use `truncate-string-to-width'
1375 instead of `truncate-string' alias.
1376 (erc-nickname-in-use): Ditto.
1378 2004-03-27 Francis Litterio <franl@users.sourceforge.net>
1380 * erc-list.el (erc-cmd-list): Fixed error caused by erc-cmd-LIST
1381 passing a non-sequence to erc-chanlist.
1383 2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1385 * erc.el: Add new hook `erc-join-hook', which is run when we join a
1388 2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1390 * erc.el: Replaced existing notice user notification system and
1391 the configuration options, which consisted of
1392 `erc-echo-notices-in-minibuffer-flag' and
1393 `erc-echo-notices-in-current-buffer' with two new hooks,
1394 `erc-echo-notice-hook' and `erc-echo-notice-always-hook'.
1396 When user notification is needed, `erc-echo-notice-always-hook' is
1397 first run using `run-hook-with-args', then `erc-echo-notice-hook'
1398 is run using `run-hook-with-args-until-success'.
1400 In addition to these hooks, a large number of functions, which are
1401 described in the documentation strings of those hooks, were added
1402 which can be used to achieve a large variety of different
1405 The current default behavior, which is identical to the existing
1406 default behavior, is for `erc-echo-notice-always-hook' to be set to
1407 `(erc-echo-notice-in-default-buffer).
1409 2004-03-21 Diane Murray <disumu@x3y2z1.net>
1411 * erc-track.el (erc-modified-channels-display): Added a space
1412 before opening bracket.
1414 2004-03-21 Diane Murray <disumu@x3y2z1.net>
1416 * erc.el (erc-format-query-as-channel-p): New variable.
1417 (erc-server-PRIVMSG-or-NOTICE): If `erc-format-query-as-channel-p'
1418 is nil, messages in the query buffer are formatted like private
1421 (erc-server-252-hook, erc-server-253-hook, erc-server-254-hook,
1422 erc-server-256-hook, erc-server-257-hook, erc-server-258-hook,
1423 erc-server-259-hook, erc-server-371-hook, erc-server-372-hook,
1424 erc-server-374-hook, erc-server-374-hook, erc-server-442-hook,
1425 erc-server-477-hook): Removed, now defined in
1426 `erc-server-hook-list'.
1427 (erc-display-server-message): New function.
1428 (erc-server-252, erc-server-253, erc-server-254, erc-server-442):
1430 (erc-server-hook-list): Added 250, 256, 257, 258, 259, 265, 266,
1431 377, 378, 477 - using `erc-display-server-message'. 251, 255 now
1432 use `erc-display-server-message'. Added 252, 253, 254, 442 -
1433 using respective erc-server-* functions. 371, 372, 374, 375 now
1435 (erc-define-catalog): Added s252, s253, s254, s442.
1436 (erc-server-001, erc-server-004, erc-server-005): Fixed
1439 2004-03-20 Diane Murray <disumu@x3y2z1.net>
1441 * erc-stamp.el: Commentary: Changed `erc-stamp-mode' to
1442 `erc-timestamp-mode'.
1443 (erc-insert-timestamp-left): Use `erc-timestamp-face' on filler
1446 2004-03-19 Diane Murray <disumu@x3y2z1.net>
1448 * erc.el (erc-send-action): Use `erc-input-face'.
1449 (erc-display-message-highlight): If the requested highlighting
1450 type doesn't match, just display the string with no highlighting
1451 and warn about it with `erc-log'.
1452 (erc-cmd-JOIN): If user is already on the requested channel,
1453 switch to that channel's buffer.
1454 (erc-ctcp-query-ACTION): Use `erc-action-face' for nick as well.
1455 (erc-header-line-use-help-echo-p): New variable.
1456 (erc-update-mode-line-buffer): Use `help-echo' for header-line if
1457 `erc-header-line-use-help-echo-p' is non-nil.
1459 2004-03-18 Adrian Aichner <adrian@xemacs.org>
1461 * erc-nets.el: Use two arguments version of `make-obsolete', if
1462 third argument is not supported (for XEmacs).
1464 2004-03-18 Andreas Fuchs <asf@void.at>
1466 * CREDITS: added CREDITS entry for Adrian Aichner
1468 2004-03-18 Andreas Fuchs <asf@void.at>
1470 * erc-xdcc.el, erc.el, erc-autoaway.el, erc-autojoin.el,
1471 erc-button.el, erc-dcc.el, erc-ezbounce.el, erc-imenu.el,
1472 erc-list.el, erc-log.el, erc-match.el, erc-members.el,
1473 erc-menu.el, erc-netsplit.el, erc-notify.el, erc-speedbar.el,
1474 erc-stamp.el, erc-track.el, erc-truncate.el:
1475 (erc-coding-sytem-for-target): Removed.
1476 (erc-coding-system-for-target): New.
1477 (erc-autoaway-use-emacs-idle): Typo fix.
1478 (erc-auto-set-away): Ditto.
1479 (erc-auto-discard-away): Ditto.
1481 (erc-button-alist): Ditto.
1482 (erc-dcc-auto-masks): Ditto.
1483 (erc-dcc-chat-send-input-line): Ditto.
1484 (erc-ezb-get-login): Ditto.
1485 (erc-unfill-notice): Ditto.
1486 (erc-save-buffer-in-logs): Ditto.
1488 (erc-log-matches-types-alist): Ditto.
1489 (erc-match-directed-at-fool-p): Ditto.
1490 (erc-match-message): Ditto.
1491 (erc-update-member): Ditto.
1492 (erc-ignored-reply-p): Ditto.
1493 (erc-menu-definition): Ditto.
1494 (erc-netsplit-QUIT): Ditto.
1495 (erc-notify-list): Ditto.
1496 (erc-speedbar-update-channel): Ditto.
1497 (erc-speedbar-item-info): Ditto.
1499 (erc-timestamp-intangible): Ditto.
1500 (erc-add-timestamp): Ditto.
1501 (erc-timestamp-only-if-changed-flag): Ditto.
1502 (erc-show-timestamps): Ditto.
1503 (erc-track-priority-faces-only): Ditto.
1504 (erc-modified-channels-alist): Ditto.
1505 (erc-unique-substrings): Ditto.
1506 (erc-find-parsed-property): Ditto.
1507 (erc-track-switch-direction): Ditto.
1508 (erc-truncate-buffer-to-size): Ditto.
1510 (erc-auto-reconnect): Ditto.
1511 (erc-startup-file-list): Ditto.
1512 (erc-once-with-server-event): Ditto.
1513 (erc-once-with-server-event-global): Ditto.
1515 (erc-generate-new-buffer-name): Ditto.
1517 (erc-open-ssl-stream): Ditto.
1518 (erc-default-coding-system): Ditto.
1519 (erc-encode-string-for-target): Ditto.
1520 (erc-decode-string-from-target): Ditto.
1521 (erc-scroll-to-bottom): Ditto.
1522 (erc-decode-controls): Ditto.
1523 (erc-channel-members-changed-hook): Ditto.
1524 (erc-put-text-property): Ditto.
1525 (erc-add-default-channel): Ditto.
1527 2004-03-17 Diane Murray <disumu@x3y2z1.net>
1529 * erc.el (erc-process-sentinel): Cancel ping timer upon
1531 (erc-cmd-PART): Use same regexp as `erc-cmd-QUIT' when no #channel
1533 (erc-nick-uniquifier, erc-manual-set-nick-on-bad-nick-p): `:group'
1535 (erc-part-reason-zippy, erc-part-reason-zippy): Removed FIXME
1536 comments. I see no problem allowing typed in reasons.
1538 2004-03-16 Diane Murray <disumu@x3y2z1.net>
1540 * erc-stamp.el (erc-insert-timestamp-left): Added support for
1541 `erc-timestamp-only-if-changed-flag' and added docstring.
1542 (erc-timestamp-only-if-changed-flag): Updated documentation.
1544 2004-03-13 Francis Litterio <franl@users.sourceforge.net>
1546 * erc-nets.el (erc-network-name): No longer marked as obsolete.
1547 Why was this function made obsolete? There is no other function
1548 that performs this task. Some of us use these functions in our
1549 personal ERC configs.
1551 2004-03-12 Lawrence Mitchell <wence@gmx.li>
1553 * erc.el (erc-buffer-filter): Use `with-current-buffer'.
1554 (erc-process-input-line): Append newline to documentation. Fixes a
1555 bug whereby the prompt would be put on the same line as the output.
1556 (erc-cmd-GQUIT): Only try and send QUIT if the process is alive.
1558 2004-03-12 Lawrence Mitchell <wence@gmx.li>
1560 * erc-log.el: Only add top-level hooks if `erc-enable-logging' is
1563 2004-03-10 Damien Elmes <erc@repose.cx>
1565 * erc-nets.el: From Adrian Aichner (adrian /at/ xemacs /dot/ org)
1566 * erc-nets.el: XEmacs make-obsolete only takes two arguments.
1568 2004-03-10 Diane Murray <disumu@x3y2z1.net>
1570 * erc-nets.el (erc-determine-network): Use `erc-session-server' if
1571 `erc-announced-server' is nil to avoid error if server does not
1572 send 004 (RPL_MYINFO) message.
1574 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1576 * erc-nets.el (erc-server-alistm erc-settings): Use lowercase
1577 "freenode", as in `erc-networks-alist'.
1579 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1581 * erc-nickserv.el (erc-nickserv-alist): Use lowercase "freenode",
1582 as in `erc-networks-alist'.
1584 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1586 * erc-dcc.el (pcomplete/erc-mode/DCC): Append "send" as a list.
1588 2004-03-10 Francis Litterio <franl@users.sourceforge.net>
1590 * erc-nets.el (erc-networks-alist): Changed "Freenode" to
1593 2004-03-10 Francis Litterio <franl@users.sourceforge.net>
1595 * erc-list.el (erc-cmd-LIST): Improved the docstring. Made
1596 message to user more accurate depending on whether a single
1597 channel is being listed or not.
1599 2004-03-10 Lawrence Mitchell <wence@gmx.li>
1601 * erc-nets.el (erc-determine-network): Make matching logic simpler
1602 (suggested by Damian Elmes).
1603 (erc-current-network, erc-network-name): Add `make-obsolete' form.
1604 (erc-set-network-name): Indentation fix.
1605 (erc-ports-list): Add docstring. Rework function body to use
1608 2004-03-09 Diane Murray <disumu@x3y2z1.net>
1610 * erc-list.el, erc-notify.el (require 'erc-nets): Added.
1612 2004-03-08 Diane Murray <disumu@x3y2z1.net>
1614 * erc.el (erc-network-name): Function definition moved to
1615 erc-nets.el. The functions `erc-determine-network' and
1616 `erc-network' in erc-nets.el do what this did before. Deprecated.
1617 Use (erc-network) instead.
1619 2004-03-08 Diane Murray <disumu@x3y2z1.net>
1621 * erc-nickserv.el: Changed copyright notice. Now require
1622 erc-nets. erc-nets.el now takes care of network-related functions
1624 (erc-nickserv-alist): Changed network symbols to match those in
1625 `erc-networks-alist' in erc-nets.el.
1626 (erc-nickserv-identify-autodetect): Use `erc-network'.
1627 (erc-nickserv-identify): Use `erc-network'. Changed wording for
1628 interactive use, now shows current nick.
1629 (erc-networks): Removed. Use `erc-networks-alist' as defined in
1631 (erc-current-network): Function definition moved to erc-nets.el.
1632 The functions `erc-determine-network' and `erc-network' in
1633 erc-nets.el do what this did before. Deprecated. Use
1634 (erc-network) instead.
1636 2004-03-08 Diane Murray <disumu@x3y2z1.net>
1638 * erc-nets.el: Added commentary, `erc-nets-version'.
1639 (erc-server-alist): Changed Brasnet to BRASnet.
1640 (erc-networks-alist): All networks (except EFnet and IRCnet) now
1641 have a MATCHER. (erc-network): New variable.
1642 (erc-determine-network): New function. Determine the network the
1643 user is on. Use the server parameter NETWORK, if provided, else
1644 parse the server name and search for a match (regexp and loop by
1645 wencem) in `erc-networks-alist'. Return the name of the network
1646 or "Unknown" as a symbol.
1647 (erc-network): New function. Returns value of `erc-network'. Use
1648 this when the current buffer is not the server process buffer.
1649 (erc-current-network): Returns the value of `erc-network' as
1650 expected by users who used the function as it was defined in
1651 erc-nickserv.el. Deprecated.
1652 (erc-network-name): Returns the value of `erc-network' as expected
1653 by users who used the function as it was defined in erc.el.
1655 (erc-set-network-name): New function. Added to
1656 `erc-server-375-hook' and `erc-server-422-hook'.
1657 (erc-unset-network-name): New function. Added to
1658 `erc-disconnected-hook'.
1659 (erc-server-select): Small documentation word change.
1661 2004-03-07 Diane Murray <disumu@x3y2z1.net>
1663 * AUTHORS, CREDITS: disumu info updated
1665 2004-03-06 Lawrence Mitchell <wence@gmx.li>
1667 * erc-list.el (erc-cmd-LIST): Take &rest rather than &optional
1669 (erc-chanlist): Construct correct LIST command from list of
1672 2004-03-06 Lawrence Mitchell <wence@gmx.li>
1674 * erc.el (erc-update-mode-line-buffer): Add 'help-echo property to
1675 header-line text. This allows header lines longer than the width
1676 of the current window to be seen.
1678 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1680 * erc-match.el (erc-match-directed-at-fool-p): Also check for
1683 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1685 * erc-match.el (erc-match-message): Only use nick-or-keyword if
1686 we're matching our nick.
1688 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1690 * erc-match.el: The highlight type for the current nickname can
1691 now also be 'nick-or-keyword, to highlight the nick of the sender
1692 if that is available, but fall back to highlighting your nickname
1693 in the whole message otherwise.
1694 (erc-current-nick-highlight-type): Adapted docstring accordingly.
1695 (erc-match-message): Added new condition. Also added some comments
1696 to this monster of a function.
1698 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
1700 * erc.el (erc-is-valid-nick-p): Don't check for length less or
1703 2004-03-06 Damien Elmes <erc@repose.cx>
1705 * erc-nickserv.el (erc-current-network): the last change resulted
1706 in this function failing when a network identifies itself as
1707 anything other than var.netname.com, so for instance
1708 'vic.au.austnet.org' fails. This version is only a marginal
1709 improvement over the original, but if we want to be more flexible
1710 we'll probably have to do the iteration ourselves instead of using
1713 2004-03-05 Diane Murray <disumu@x3y2z1.net>
1715 * erc.el: Added erc-server-001 which runs when the server sends
1716 its welcome message. It sets the current-nick to reflect the
1717 server's settings. This fixes a bug where nicks that were too long
1718 and got truncated by the server were still set to the old value.
1719 (nickname-in-use): If user wants to try again manually, let user
1720 know that the nick is taken. If not, go through erc-default-nicks
1721 until none are left, and then try one last time with
1722 erc-nick-uniquifier. If it's still a bad-nick, make the user
1723 change nick manually. When applying uniquifier, use NICKLEN if
1724 it's in the server parameters, otherwise use what RFC 2812 says is
1725 the max nick length (9 chars). Added custom variable
1726 erc-manual-set-nick-on-bad-nick-p, which is set to nil and
1727 erc-nick-change-attempt-count. Reset erc-default-nicks and
1728 erc-nick-change-attempt-count when the nick has been changed
1729 successfully. This fixes the bug where ERC would get caught in a
1730 neverending loop of trying to set the same nick if the nick was
1731 too long and the uniquified nick was not available.
1733 * added erc-cmd-WHOAMI
1735 * added custom variable erc-mode-line-away-status-format, use this
1736 instead of the previous hard-coded setting
1738 * erc-server-315|318|369-hook defvar lines removed - they're
1739 already defined in erc-server-hook-list
1741 2004-03-04 Lawrence Mitchell <wence@gmx.li>
1743 * HACKING: Initial commit. Some thoughts on coding standards.
1745 2004-03-03 Diane Murray <disumu@x3y2z1.net>
1747 * erc-track.el: added the variable erc-track-priority-faces-only
1748 which adds the option to ignore changes in a channel unless there
1749 are faces from the erc-track-faces-priority-list in the message
1750 options are nil, 'all, or a list of channel name strings
1752 2004-03-01 Diane Murray <disumu@x3y2z1.net>
1754 * erc.el, erc-ibuffer.el, erc-menu.el: Changed erc-is-channel-op
1755 and erc-is-channel-voice to erc-channel-user-op-p and
1756 erc-channel-user-voice-p to better match erc-channel-user
1757 structure (and emacs lisp usage)
1759 2004-03-01 Diane Murray <disumu@x3y2z1.net>
1761 * erc.el, erc-ibuffer.el, erc-menu.el:
1762 erc-track-modified-channels-mode is now erc-track-mode
1764 2004-02-29 Diane Murray <disumu@x3y2z1.net>
1766 * erc-match.el: Added 'keyword option to
1767 erc-current-nick-highlight-type highlights all instances of
1768 current-nick in the message ('nickname option in cvs revisions 1.9
1769 - 1.11 had same effect)
1771 2004-02-28 Jorgen Schaefer <forcer@users.sourceforge.net>
1773 * erc-button.el: Add Lisp: prefix for the EmacsWiki Elisp area.
1774 (erc-button-alist): Added Lisp: prefix.
1775 (erc-emacswiki-lisp-url): New variable.
1776 (erc-browse-emacswiki-lisp): New function.
1778 2004-02-27 Lawrence Mitchell <wence@gmx.li>
1780 * erc.el (erc-get-arglist): Use `substitute-command-keys', rather
1781 than hard-coding C-h f for `describe-function'.
1783 2004-02-26 Johan Bockgård <bojohan@users.sourceforge.net>
1785 * erc-log.el (erc-save-buffer-in-logs): bind `inhibit-read-only'
1786 to t around call to `erase-buffer'.
1788 2004-02-23 Edward O'Connor <ted@oconnor.cx>
1790 * erc-chess.el, erc-dcc.el, erc-ezbounce.el, erc-list.el,
1791 erc-macs.el, erc-ring.el, erc-stamp.el, erc.el: Normalized buffer
1792 local variable creation.
1794 2004-02-17 Lawrence Mitchell <wence@gmx.li>
1796 * erc.el (erc-scroll-to-bottom, erc-add-scroll-to-bottom): Mention
1797 `erc-input-line-position' in docstring.
1799 2004-02-13 Jorgen Schaefer <forcer@users.sourceforge.net>
1801 * erc.el (erc-kick-hook): Typo fix.
1803 2004-02-13 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1805 * erc.el: Added `erc-kick-hook', which is called when the local
1806 user is kicked from a channel. Fixed a bug in `erc-cmd-OPS', such
1807 that the command now works. Added `erc-remove-channel-users', in
1808 order to fix a number of significant bugs relating to channel
1811 2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1813 * erc.el (erc-display-prompt): Remove last change. This caused a
1816 2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1818 * erc.el (erc-display-prompt): Also set 'field property, so C-j
1819 works on an empty prompt.
1821 2004-02-12 Lawrence Mitchell <wence@gmx.li>
1823 * erc.el (erc-update-channel-topic): Ensure that `channel-topic'
1824 does not contain any bare format controls.
1826 2004-02-10 Jorgen Schaefer <forcer@users.sourceforge.net>
1828 * erc-stamp.el (erc-timestamp-intangible): New variable (user
1830 (erc-format-timestamp): Use erc-timestamp-intangible.
1832 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1834 * erc-button.el: Fixed bug related to nickname buttonizing and text
1835 fields due to erc-stamp.
1837 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1839 * CREDITS: Added mention of my change of ERC to use hash tables.
1841 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
1843 * AUTHORS: Added myself to the list.
1845 2004-02-05 Lawrence Mitchell <wence@gmx.li>
1847 * erc.el: From Jeremy Maitin-Shepard <jbms@attbi.com>:
1848 (erc-remove-channel-user): Use `delq' not `delete'.
1849 (erc-get-buffer): Pass PROC through to `erc-buffer-filter'.
1850 (erc-process-sentinel): Use `erc' rather than `erc-reconnect' for
1853 2004-02-02 Lawrence Mitchell <wence@gmx.li>
1855 * erc.el (erc-buffer-list-with-nick): Apply `erc-downcase' NICK.
1857 2004-01-30 Alex Schroeder <alex@gnu.org>
1859 * erc.el (erc-get-buffer): Use erc-buffer-filter.
1861 2004-01-30 Johan Bockgård <bojohan@users.sourceforge.net>
1863 * erc.el: From jbms:
1864 (erc-get-channel-nickname-list): New function.
1865 (erc-get-server-nickname-list): New function.
1866 (erc-get-server-nickname-alist): New function.
1867 (erc-get-channel-nickname-alist): New function.
1869 2004-01-30 Johan Bockgård <bojohan@users.sourceforge.net>
1871 * erc-match.el (erc-add-entry-to-list,
1872 erc-remove-entry-from-list): Use `erc-member-ignore-case' to
1874 (erc-add-pal, erc-add-fool): Fix type bug. Use
1875 `erc-get-server-nickname-alist'.
1877 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
1879 * erc.el: From jbms: Adds xemacs compatibility to hash table
1880 channel-members patch.
1882 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
1884 * erc.el (erc-update-undo-list): Rewritten. Update
1885 buffer-undo-list in place. Deal with XEmacsesque
1886 entries (extents) in the list.
1887 (erc-channel-users): Fix unescaped open-paren in left column in
1890 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
1892 * erc-ring.el (erc-replace-current-command): Exclude the prompt
1893 from the deleted region and don't redisplay the prompt (because
1894 `erc-display-prompt' flushes `buffer-undo-list').
1896 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
1898 * erc-match.el (erc-add-entry-to-list): Use `symbol-value' instead
1901 2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
1903 * erc.el (erc-kill-buffer-function): maphash was missing an
1906 2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
1908 * Makefile, erc-autoaway.el, erc-button.el, erc-ibuffer.el,
1909 erc-lang.el, erc-list.el, erc-match.el, erc-menu.el, erc-page.el,
1910 erc-pcomplete.el, erc-speedbar.el, erc.el: HUGE change by jbms.
1911 This makes channel-members a hash, erc-channel-users.
1913 Modified files: Makefile erc-autoaway.el erc-button.el
1914 erc-ibuffer.el erc-lang.el erc-list.el erc-match.el erc-menu.el
1915 erc-page.el erc-pcomplete.el erc-speedbar.el erc.el
1917 The changes are too numerous to document properly. Have fun with
1920 2004-01-27 Jorgen Schaefer <forcer@users.sourceforge.net>
1922 * erc.el (erc-send-input-line): Add a space to empty lines so the
1925 2004-01-25 Jorgen Schaefer <forcer@users.sourceforge.net>
1927 * erc.el: erc-send-whitespace-lines: New variable.
1928 (erc-send-current-line): Use erc-send-whitespace-lines. Also,
1929 removed superfluous test for empty line in the mapc, since the
1930 blank line test should find all. I do like to be able to send an
1931 empty line when i want to!
1932 (erc-send-current-line): Check for point being in input line
1933 before checking for blank lines.
1935 2004-01-21 Lawrence Mitchell <wence@gmx.li>
1937 * erc.el (erc-display-line-1): Move `erc-update-undo-list' outside
1938 `save-restriction'. Removing need for temporary variable.
1939 (erc-send-current-line): Fix bug introduced by last change, remove
1940 complement in blank line regexp.
1942 2004-01-20 Lawrence Mitchell <wence@gmx.li>
1944 * erc.el (erc-update-undo-list): Add logic to catch the case when
1945 `buffer-undo-list' is t, indentation cleanup.
1946 (erc-send-current-line): Reverse logic for matching blank lines.
1948 2004-01-20 Lawrence Mitchell <wence@gmx.li>
1950 * erc.el (erc-input-line-position): New variable. If non-nil,
1951 specifies the argument to `recenter' in `erc-scroll-to-bottom'.
1952 (erc-scroll-to-bottom): Use it.
1954 2004-01-20 Lawrence Mitchell <wence@gmx.li>
1956 * erc.el: From Johan Bockgård <bojohan+news@dd.chalmers.se>:
1957 (erc-update-undo-list): New function. Update `buffer-undo-list'
1958 so that calling `undo' in an ERC buffer doesn't mess up the
1960 (erc-display-line-1): Use it.
1962 2004-01-19 Lawrence Mitchell <wence@gmx.li>
1964 * erc.el (erc-beg-of-input-line): Use `forward-line' rather than
1965 `beginning-of-line'. Docstring fix.
1966 (erc-end-of-input-line): Docstring fix.
1968 2004-01-13 Jorgen Schaefer <forcer@users.sourceforge.net>
1970 * erc.el (erc-display-prompt): Remove the undo list after
1971 displaying the prompt, so the user can't undo ERC changes, which
1972 breaks some stuff anyways. This way the user can still undo his
1973 editing, but not ours.
1975 2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1977 * erc.el (erc-scroll-to-bottom): Should recenter on the bottom
1978 line, not the second-to-last one.
1980 2004-01-12 Lawrence Mitchell <wence@gmx.li>
1982 * erc.el (erc-bol): Fix bug introduced in my changes from 2004-01-11.
1984 2004-01-12 Lawrence Mitchell <wence@gmx.li>
1986 * erc.el: From Brian Palmer <bpalmer@gmail.com>
1987 (erc-cmd-JOIN): Use `erc-member-ignore-case', rather than
1988 `member-ignore-case'.
1990 2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
1992 * erc.el: There was an inconsistency where the values of op and
1993 voice in channel-names could be 'on or 'off after an update, t and
1994 nil before. The intended version was to have t or nil, so i fixed
1996 (channel-names): Updated docstring.
1997 (erc-update-current-channel-member): Clarified docstring, fixed so
1998 it sets t or nil on an update as well, not only on an add.
1999 (erc-cmd-OPS): Updated not to check for 'on (the only function that
2002 2004-01-12 Lawrence Mitchell <wence@gmx.li>
2004 * erc.el (erc-part-reason-various-alist,
2005 erc-update-mode-line-buffer): Fix docstring
2007 2004-01-11 Lawrence Mitchell <wence@gmx.li>
2009 * erc.el (erc-update-mode-line): Fix typo.
2011 2004-01-11 Lawrence Mitchell <wence@gmx.li>
2013 * erc.el (erc-prompt-interactive-input): Removed.
2014 (erc-display-prompt): Removed `erc-prompt-interactive-input'
2015 option. (erc-interactive-input-map): Removed.
2017 Major docstring fixes.
2019 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
2021 * erc.el (erc-cmd-OPS): Added this function.
2022 (erc-cmd-IDLE): Switched from using erc-display-message-highlight
2025 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
2027 * erc-list.el (erc-cmd-LIST): Switched from using
2028 erc-display-message-highlight to erc-make-notice.
2030 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
2032 * erc.el (erc-once-with-server-event): Added a sentence to the
2033 docstring. Now returns the uninterned symbol that is added to the
2035 (erc-cmd-IDLE): Changed to use erc-once-with-server-event instead
2036 of erc-once-with-server-event-global.
2038 2004-01-06 Francis Litterio <franl@users.sourceforge.net>
2040 * erc-list.el (erc-chanlist-hide-modeline): New variable.
2041 (erc-chanlist): Now displays message as a notice. Also hides the
2042 modeline if erc-chanlist-hide-modeline is non-nil.
2044 2004-01-05 Francis Litterio <franl@users.sourceforge.net>
2046 * erc.el (erc-server-PRIVMSG-or-NOTICE): Now nicks appear as
2047 <nick> in query buffers, instead of as *nick*.
2049 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
2051 * erc.el (erc-once-with-server-event-global): Changed to return
2052 the uninterned symbol that it creates.
2053 (erc-cmd-LIST): Changed to clean up hooks that don't run.
2055 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
2057 * erc-pcomplete.el (pcomplete/erc-mode/IDLE): Added to support new
2060 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
2062 * erc.el (erc-once-with-server-event-global): New function. Like
2063 erc-once-with-server-event, except it modifies the global value of
2065 (erc-cmd-IDLE): New function. Implements the new /IDLE command.
2066 Usage: /IDLE NICK (erc-seconds-to-string): New function. Converts
2067 a number of seconds to an English phrase.
2069 2004-01-02 Francis Litterio <franl@users.sourceforge.net>
2071 * erc-list.el: Added variable erc-chanlist-mode-hook.
2073 See ChangeLog.03 for earlier changes.
2075 Copyright (C) 2004, 2006-2014 Free Software Foundation, Inc.
2077 This file is part of GNU Emacs.
2079 GNU Emacs is free software: you can redistribute it and/or modify
2080 it under the terms of the GNU General Public License as published by
2081 the Free Software Foundation, either version 3 of the License, or
2082 (at your option) any later version.
2084 GNU Emacs is distributed in the hope that it will be useful,
2085 but WITHOUT ANY WARRANTY; without even the implied warranty of
2086 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2087 GNU General Public License for more details.
2089 You should have received a copy of the GNU General Public License
2090 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.