1 2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 * erc.el (erc-switch-to-buffer): Fix last change (bug#20187).
5 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7 * erc.el (erc-switch-to-buffer): Rename from erc-iswitchb and rewrite
8 using read-buffer (bug#20116).
9 (erc--buffer-p): New function, extracted from erc-buffer-filter.
10 (erc-buffer-filter): Use it.
11 (erc-with-all-buffers-of-server): Silence compile warning if the return
13 (erc-is-valid-nick-p, erc-common-server-suffixes, erc-get-arglist)
14 (erc-command-name, erc-popup-input-buffer): Use \` and \' to match
17 2015-03-03 Kelvin White <kwhite@gnu.org>
19 * erc.el: Add old version string back to file header for
20 package.el compatibility
22 2015-03-03 Glenn Morris <rgm@gnu.org>
24 * erc.el (erc-rename-buffers): Doc fix. Add :version.
26 2015-03-03 Dima Kogan <dima@secretsauce.net>
28 * erc-backend.el (define-erc-response-handler): Give hook-name
29 default value of nil and add-to-list (bug#19363).
30 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
32 * erc-spelling.el (erc-spelling-init):
33 Use flyspell-generic-check-word-predicate.
35 2015-01-28 Dima Kogan <dima@secretsauce.net>
37 * erc-backend.el (define-erc-response-handler): Give hook-name
38 default value of nil and add-to-list (bug#19363).
40 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
42 Don't downcase system diagnostics' first letters
43 * erc-dcc.el (erc-dcc-server): Ignore case while comparing diagnostics.
45 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
47 * erc-desktop-notifications.el (erc-notifications-bus):
48 New customer option. Supports cases when Emacs hasn't been
49 invoked in the same environment where the notifications shall go to.
50 (erc-notifications-notify): Use it.
52 2014-11-10 Kelvin White <kwhite@gnu.org>
54 * erc-stamp.el (erc-timestamp-intangible): Change version tag to 24.5.
56 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
58 * erc.el (erc-send-input): Bind `str' dynamically (bug#18936).
60 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
62 Simplify use of current-time and friends.
63 * erc-backend.el (TOPIC): Omit unnecessary call to current-time.
64 * erc.el (erc-emacs-time-to-erc-time): Simplify by using float-time.
65 (erc-current-time): Simplify by using erc-emacs-time-to-erc-time.
67 2014-10-20 Glenn Morris <rgm@gnu.org>
69 * Merge in all changes up to 24.4 release.
71 2014-10-15 Ivan Shmakov <ivan@siamics.net>
73 * erc-track.el (erc-modified-channels-display): Update mode line
74 more frequently (bug#18510).
76 2014-10-10 Kelvin White <kwhite@gnu.org>
78 * erc.el (erc-initialize-log-marker): Only initialize
79 erc-last-saved-position if not already a marker.
81 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
83 * erc.el (erc-channel-receive-names): Silence compiler warning.
84 (erc-format-@nick, erc-update-modes): Idem.
86 2014-10-03 Kelvin White <kwhite@gnu.org>
88 * erc.el (erc-rename-buffers): Use defcustom instead of defvar for
89 buffer renaming configuration option.
91 2014-10-02 Paul Eggert <eggert@cs.ucla.edu>
93 * erc.el (erc-nick-at-point): Fix format-string typo (Bug#17755).
95 2014-10-02 Kelvin White <kwhite@gnu.org>
97 * erc.el (erc-rename-buffer-p): When set to t buffers will be
98 renamed to the current irc network.
99 (erc-format-target-and/or-network): Use `erc-rename-buffer-p' when
102 * erc-ring.el (erc-input-ring-setup): Fixes Bug #18599
104 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
106 * erc-track.el (erc-modified-channels-display): Update all mode lines
107 if needed (bug#18510). Remove call to erc-modified-channels-object
108 where we ignored the return value.
109 (erc-modified-channels-update): Don't force-mode-line-update here
112 2014-09-26 Kelvin White <kwhite@gnu.org>
114 * erc.el (erc-format-nick): Fix code regression - Bug #18551
116 2014-09-25 Kelvin White <kwhite@gnu.org>
118 * erc.el: Follow Emacs version instead of tracking it seperately.
119 (erc-quit/part-reason-default) : Clean up quit/part message
120 functions by abstracting repetitive code, change version string.
121 (erc-quit-reason-various, erc-quit-reason-normal, erc-quit-reason-zippy)
122 (erc-part-reason-normal, erc-part-reason-zippy, erc-part-reason-various)
123 (erc-cmd-SV, erc-ctcp-query-VERSION, erc-version, erc-version-string):
124 Change version string.
126 2014-08-13 Kelvin White <kwhite@gnu.org>
128 * erc.el (erc-send-input): Disable display commands in current buffer
129 (erc-format-target-and/or-network): Fix cases when buffer name is set
131 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
133 * erc-stamp.el (erc-timestamp-intangible): Disable by default because
134 `intangible' is evil.
136 2014-08-07 Kelvin White <kwhite@gnu.org>
138 * erc.el (erc-channel-receive-names): Fix variable names
139 (erc-format-target-and/or-network): Rename server-buffers to
140 network name if possible
142 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
144 * erc.el (erc-channel-receive-names): Reduce redundancy.
146 2014-06-19 Kelvin White <kwhite@gnu.org>
148 * erc-backend.el: Handle user modes in relevant server responses
149 * erc.el: Better user mode support.
150 (erc-channel-user): Add members for new modes.
151 (erc-channel-member-halfop-p, erc-channel-user-admin-p)
152 (erc-channel-user-owner-p): Use new struct members.
153 (erc-format-nick, erc-format-@nick): Display user modes as nick prefix.
154 (erc-nick-prefix-face, erc-my-nick-prefix-face): Add new faces
155 (erc-get-user-mode-prefix): Return symbol for mode prefix.
156 (erc-update-channel-member, erc-update-current-channel-member)
157 (erc-channel-receive-names): Update channel users.
158 (erc-nick-at-point): Return correct user info.
160 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
162 * erc.el (erc-invite-only-mode, erc-toggle-channel-mode): Simplify.
163 (erc-load-script): Tighten a regexp.
165 2014-02-25 Julien Danjou <julien@danjou.info>
167 * erc-networks.el (erc-determine-network): Check that NETWORK as a
168 value, some servers set it to nothing.
170 2014-01-31 Glenn Morris <rgm@gnu.org>
172 * erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.
174 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
176 * erc.el (erc): Link to info manual.
178 2013-12-28 Glenn Morris <rgm@gnu.org>
180 * erc-log.el (erc-log-file-coding-system): Specify custom type.
182 2013-11-25 Glenn Morris <rgm@gnu.org>
184 * erc-button.el (erc-nick-popup): Make `nick' available in the
185 eval environment. (Bug#15969)
187 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
189 * erc-pcomplete.el (erc-pcomplete): Set this-command.
191 2013-09-21 Glenn Morris <rgm@gnu.org>
193 * erc.el (erc-invite-only-mode, erc-toggle-channel-mode):
194 Remove unused local variable `erc-force-send'.
196 2013-09-19 Glenn Morris <rgm@gnu.org>
198 * erc-button.el (erc-button-click-button, erc-button-press-button):
199 * erc-list.el (erc-list-handle-322):
200 Mark unused arguments.
202 * erc.el (erc-open-server-buffer-p): Actually use the `buffer' arg.
203 * erc-backend.el (erc-server-process-alive): Take optional `buffer' arg.
205 2013-09-18 Glenn Morris <rgm@gnu.org>
207 * erc-button.el (erc-button-add-buttons): Remove unused local vars.
209 2013-09-14 Vivek Dasmohapatra <vivek@etla.org>
211 * erc.el (erc-update-mode-line-buffer):
212 Handle absent topic. (Bug#15377)
214 2013-09-13 Glenn Morris <rgm@gnu.org>
216 * erc-desktop-notifications.el (dbus-debug): Declare.
218 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
220 * erc.el: Use lexical-binding.
221 (erc-user-full-name): Minor CSE simplification.
222 (erc-mode-map): Assume command-remapping is available.
223 (erc-once-with-server-event): Replace `forms' arg with a function arg.
224 (erc-once-with-server-event-global): Remove.
225 (erc-ison-p): Adjust to change in erc-once-with-server-event.
226 (erc-get-buffer-create): Remove arg `proc'.
227 (iswitchb-make-buflist-hook): Declare.
228 (erc-setup-buffer): Use pcase; avoid ((lambda ..) ..).
229 (read-passwd): Assume it exists.
230 (erc-display-line, erc-cmd-IDLE): Avoid add-to-list, adjust to change
231 in erc-once-with-server-event.
232 (erc-cmd-JOIN, erc-set-channel-limit, erc-set-channel-key)
233 (erc-add-query): Minor CSE simplification.
234 (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Adjust to change
235 in erc-once-with-server-event.
236 (erc-echo-notice-in-user-and-target-buffers): Avoid add-to-list.
237 * erc-track.el: Use lexical-binding.
238 (erc-make-mode-line-buffer-name): Use closures instead of `(lambda...).
239 (erc-faces-in): Avoid add-to-list.
240 * erc-notify.el: Use lexical-binding.
241 (erc-notify-timer): Adjust to change in erc-once-with-server-event.
242 (erc-notify-QUIT): Use a closure instead of `(lambda...).
243 * erc-list.el: Use lexical-binding.
244 (erc-list-install-322-handler, erc-cmd-LIST): Adjust to change in
245 erc-once-with-server-event.
246 * erc-button.el: Use lexical-binding.
247 (erc-button-next-function): Use a closure instead of `(lambda...).
249 2013-05-30 Glenn Morris <rgm@gnu.org>
251 * erc-backend.el: Require erc at run-time too.
253 2013-05-21 Glenn Morris <rgm@gnu.org>
255 * erc-log.el (erc-network-name): Declare.
257 * erc-notify.el (pcomplete--here): Declare.
258 (pcomplete/erc-mode/NOTIFY): Require pcomplete.
260 * erc.el (erc-quit-reason-various-alist)
261 (erc-part-reason-various-alist): Don't mention zippy.
262 (erc-quit-reason, erc-part-reason): Remove zippy options.
263 (erc-quit-reason-zippy, erc-part-reason-zippy): Make obsolete.
264 If yow is not defined, fall back to -normal versions.
266 2013-05-15 Glenn Morris <rgm@gnu.org>
268 * erc-list.el (erc-list):
269 * erc-menu.el (erc-menu):
270 * erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
272 * erc-list.el: Provide a feature.
274 2013-05-09 Glenn Morris <rgm@gnu.org>
276 * erc-desktop-notifications.el (erc-notifications-icon):
279 2013-02-13 Aidan Gauland <aidalgol@no8wireless.co.nz>
281 * erc-match.el (erc-match-message): Fix last commit.
283 2013-02-12 Aidan Gauland <aidalgol@no8wireless.co.nz>
285 * erc-match.el (erc-match-message):
286 Don't truncate action messages. (Bug#13689)
288 2013-02-09 Eli Zaretskii <eliz@gnu.org>
290 * erc-dcc.el (erc-dcc-get-file): Don't reference buffer-file-type.
292 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
294 * erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
295 (erc-dcc-chat-setup): Use point-max-marker.
297 2013-01-04 Glenn Morris <rgm@gnu.org>
299 * erc-backend.el (312): Fix typo. (Bug#13235)
301 2012-11-30 Glenn Morris <rgm@gnu.org>
303 * erc.el (erc-accidental-paste-threshold-seconds): Add :version.
305 2012-11-30 Eric Hanchrow <eric.hanchrow@gmail.com>
307 * erc.el (erc-last-input-time): New variable.
308 (erc-accidental-paste-threshold-seconds): New option to avoid
309 sending accidentally-pasted text to the server (Bug#11592).
310 (erc-send-current-line): Use it.
312 2012-11-30 Chong Yidong <cyd@gnu.org>
314 * erc.el (erc-lurker-cleanup, erc-lurker-p): Use float-time.
316 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
318 * erc-backend.el: Fix last change that missed calls to `second'
321 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
323 Use cl-lib instead of cl, and interactive-p => called-interactively-p.
324 * erc-track.el, erc-networks.el, erc-netsplit.el, erc-dcc.el:
325 * erc-backend.el: Use cl-lib, nth, pcase, and called-interactively-p
327 * erc-speedbar.el, erc-services.el, erc-pcomplete.el, erc-notify.el:
328 * erc-match.el, erc-log.el, erc-join.el, erc-ezbounce.el:
329 * erc-capab.el: Don't require cl since we don't use it.
330 * erc.el: Use cl-lib, nth, pcase, and called-interactively-p i.s.o cl.
331 (erc-lurker-ignore-chars, erc-common-server-suffixes):
332 Move before first use.
334 2012-11-16 Glenn Morris <rgm@gnu.org>
336 * erc.el (erc-modules): Add "notifications". Tweak "hecomplete" doc.
338 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
340 * erc-backend.el: Only require `erc' during compilation (bug#12740).
342 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
344 * erc-backend.el: Require `erc' instead of autoloading its macros
347 2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
349 * erc.el (erc-log): Make it into a defsubst.
350 (erc-with-server-buffer, define-erc-module, erc-with-buffer)
351 (erc-with-all-buffers-of-server): Use `declare'.
352 * erc-backend.el (erc-log): Adjust autoload accordingly.
354 2012-10-07 Deniz Dogan <deniz@dogan.se>
356 * erc-log.el (erc-generate-log-file-name-function):
357 Clarify tags for various choices. (Bug#11186)
359 2012-10-07 Glenn Morris <rgm@gnu.org>
361 * erc-button.el (erc-button-alist): Remove "finger". (Bug#4443)
363 2012-10-07 Antoine Levitt <antoine.levitt@gmail.com>
365 * erc-stamp.el (erc-format-timestamp): Don't apply intangible
366 property to invisible stamps. (Bug#11706)
368 2012-10-07 Glenn Morris <rgm@gnu.org>
370 * erc-backend.el (NICK): Handle pre-existing buffers. (Bug#12002)
372 2012-10-06 Glenn Morris <rgm@gnu.org>
374 * erc.el (erc-lurker):
375 * erc-desktop-notifications.el (erc-notifications):
376 Add missing group :version tags.
378 2012-10-04 Julien Danjou <julien@danjou.info>
380 * erc-desktop-notifications.el: Rename from erc-notifications.el to
381 avoid clash with 8+3 filename format and erc-notify.el.
383 2012-09-25 Chong Yidong <cyd@gnu.org>
385 * erc.el (erc-send-command): Use define-obsolete-function-alias.
387 2012-09-17 Chong Yidong <cyd@gnu.org>
389 * erc-page.el (erc-page-function):
390 * erc-stamp.el (erc-stamp): Doc fix.
392 2012-08-21 Josh Feinstein <jlf@foxtail.org>
394 * erc-join.el (erc-autojoin-timing): Fix defcustom type.
396 2012-08-21 Julien Danjou <julien@danjou.info>
398 * erc-match.el (erc-match-message):
399 Use `erc-match-exclude-server-buffer' not
400 `erc-track-exclude-server-buffer'.
402 2012-08-20 Josh Feinstein <jlf@foxtail.org>
404 * erc.el (erc-display-message): Abstract message hiding decision
405 to new function erc-hide-current-message-p.
406 (erc-lurker): New customization group.
407 (erc-lurker-state, erc-lurker-trim-nicks, erc-lurker-ignore-chars)
408 (erc-lurker-hide-list, erc-lurker-cleanup-interval)
409 (erc-lurker-threshold-time): New variables.
410 (erc-lurker-maybe-trim, erc-lurker-initialize, erc-lurker-cleanup)
411 (erc-hide-current-message-p, erc-canonicalize-server-name)
412 (erc-lurker-update-status, erc-lurker-p): New functions.
413 Together they maintain state about which users have spoken in the last
414 erc-lurker-threshold-time, with all other users being considered
415 lurkers whose messages of types in erc-lurker-hide-list will not
416 be displayed by erc-display-message.
418 2012-08-06 Julien Danjou <julien@danjou.info>
420 * erc-match.el (erc-match-exclude-server-buffer)
421 (erc-match-message): Add new option to exclude server buffer from
424 2012-07-21 Julien Danjou <julien@danjou.info>
426 * erc-notifications.el: New file.
428 2012-06-15 Julien Danjou <julien@danjou.info>
430 * erc.el (erc-open): Use `auth-source' for password retrieval when
433 2012-06-12 Chong Yidong <cyd@gnu.org>
435 * erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
436 erc-dcc-chat-filter-hook, since this is an abnormal hook.
438 2012-06-08 Chong Yidong <cyd@gnu.org>
440 * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
441 (erc-command-indicator-face, erc-notice-face, erc-action-face)
442 (erc-error-face, erc-my-nick-face, erc-nick-default-face)
443 (erc-nick-msg-face): Use new-style face specs, and avoid :bold.
445 * erc-button.el (erc-button):
446 * erc-goodies.el (erc-bold-face, erc-inverse-face)
447 (erc-underline-face, fg:erc-color-*):
448 * erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
449 (erc-pal-face, erc-fool-face, erc-keyword-face):
450 * erc-stamp.el (erc-timestamp-face): Likewise.
452 2012-06-02 Chong Yidong <cyd@gnu.org>
454 * erc-track.el (erc-track, erc-track-faces-priority-list)
455 (erc-track-faces-normal-list, erc-track-find-face)
456 (erc-track-modified-channels): Fix modeline -> mode line in docs.
458 2012-05-14 Mike Kazantsev <mk.fraggod@gmail.com> (tiny change)
460 * erc-dcc.el (erc-dcc-handle-ctcp-send): Fix a regression
461 introduced on 2011-11-28 when fixing quoted filenames matching,
462 the regex group was not corrected.
464 2012-05-13 Teemu Likonen <tlikonen@iki.fi>
466 * erc-backend.el (erc-server-timestamp-format): New variable to
467 allow specifying the timestamp format (bug#10779).
469 2012-04-11 Vivek Dasmohapatra <vivek@etla.org>
471 * erc-services.el (erc-nickserv-passwords): Don't display the
474 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
476 * erc-join.el (erc-server-join-channel): New function to look up
477 the channel password via auth-source.
478 (erc-autojoin-channels): Use it.
479 (erc-autojoin-after-ident): Ditto.
480 (erc-autojoin-channels-alist): Mention auth-source.
482 2012-04-10 Deniz Dogan <deniz@dogan.se>
484 * erc.el (erc-display-prompt): Adds the field text property to the
485 ERC prompt. This allows users to use `kill-whole-line' to kill
486 all text back to the prompt given that it's on a single line
489 2012-04-09 Chong Yidong <cyd@gnu.org>
491 * erc.el (erc-cmd-SET): Call custom-variable-p instead of
494 2012-02-08 Glenn Morris <rgm@gnu.org>
496 * erc-backend.el (erc-coding-system-precedence):
497 * erc-join.el (erc-autojoin-delay, erc-autojoin-timing):
498 Add missing :version settings.
500 2012-01-06 Glenn Morris <rgm@gnu.org>
502 * erc.el (erc-tls): Add autoload cookie. (Bug#10333)
504 2011-12-31 Antoine Levitt <antoine.levitt@gmail.com>
506 * erc-goodies.el (erc-scroll-to-bottom): Use post-command-hook
507 rather than window-scroll-functions. Fixes a bug with word-wrap on
510 2011-11-28 Mike Kazantsev <mk.fraggod@gmail.com> (tiny change)
512 * erc-dcc.el (erc-dcc-ctcp-query-send-regexp): Update regexp to
513 match quoted filenames with spaces inside.
514 (erc-dcc-handle-ctcp-send): Update regexp match group numbers,
515 added processing of escaped quotes and backslashes if filename
516 itself was in quotes.
518 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
520 * erc-log.el (erc-logging-enabled): Fix typo.
522 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
524 * erc-notify.el (erc-notify-interval, erc-cmd-NOTIFY): Fix typos.
526 2011-10-20 Chong Yidong <cyd@gnu.org>
528 * erc.el (define-erc-module): Fix autogenerated docstring to
529 reflect Emacs 24 minor mode changes.
531 * erc-fill.el (erc-fill-mode):
532 * erc-track.el (erc-track-minor-mode): Doc fix.
534 2011-09-23 Antoine Levitt <antoine.levitt@gmail.com>
536 * erc-button.el (erc-button-next-function): Scoping fix
539 2011-07-04 Vivek Dasmohapatra <vivek@etla.org>
541 * erc.el (erc-generate-new-buffer-name): Reuse old buffer names
542 when reconnecting (bug#5563).
544 2011-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
546 * erc.el (erc-ssl): Made into a synonym for erc-tls, which
547 provides a superset of the same functionality.
548 (erc-open-ssl-stream): Remove.
549 (erc-open-tls-stream): Use `open-network-stream' instead of
550 `open-tls-stream' directly to be able to use the built-in TLS
553 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
555 * erc-pcomplete.el (erc-pcompletions-at-point): Mark the completion
556 data as non-exclusive if it's using the default-completion-function.
557 (pcomplete-erc-parse-arguments): Rename pcomplete-parse-erc-arguments.
558 (pcomplete-erc-setup): Use new name.
560 2011-05-03 Debarshi Ray <rishi@gnu.org> (tiny change)
562 * erc-backend.el (671): New response handler.
563 * erc.el (english): Add 671 to catalog.
565 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
567 * erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the
568 suffix that's added by pcomplete-termination-string anyway.
569 (pcomplete-erc-setup): Remove pcomplete-suffix-list setting now that
570 it's not needed any more.
572 2011-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
574 * erc.el (erc-mode-map): Use completion-at-point.
575 (erc-mode): Tell completion-at-point to obey erc-complete-functions.
576 (erc-complete-word-at-point): New function.
577 (erc-complete-word): Make it obsolete.
578 * erc-pcomplete.el (erc-pcompletions-at-point): New function.
580 * erc-dcc.el (erc-dcc-chat-mode-map): Use completion-at-point.
581 (erc-dcc-chat-mode): Tell completion-at-point to obey
582 erc-complete-functions.
583 * erc-button.el (erc-button-next-function): New function extracted from
585 (button, erc-button-next): Use it.
587 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
589 * erc-hecomplete.el: Move to ../obsolete.
591 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
593 * Version 23.3 released.
595 2011-03-04 Julien Danjou <julien@danjou.info>
597 * erc-track.el (erc-track-visibility): Fix :type. (Bug#6369)
599 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
601 * erc-list.el (erc-list-menu-mode-map): Move initialization
604 2011-02-07 Julien Danjou <julien@danjou.info>
606 * erc-track.el (erc-window-configuration-change): New function.
607 This will allow to track buffer visibility when a command is
608 finished to executed. Idea stolen from rcirc.
609 (track): Put erc-window-configuration-change in
610 window-configuration-change-hook.
611 (erc-modified-channels-update): Remove
612 erc-modified-channels-update from post-command-hook after update.
614 2011-02-01 Sam Steingold <sds@gnu.org>
616 * erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
618 2011-01-31 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
620 * erc-track.el (track): Don't reset erc-modified-channels-object
621 each time erc-track-mode is activated.
623 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
626 * erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode.
628 2010-11-11 Glenn Morris <rgm@gnu.org>
630 * erc-lang.el (erc-cmd-LANG): Fix what may have been a typo.
632 2010-11-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
634 * erc-backend.el (erc-coding-system-precedence): New variable.
635 (erc-decode-string-from-target): Use it.
637 2010-10-24 Julien Danjou <julien@danjou.info>
639 * erc-backend.el (erc-server-JOIN): Set the correct target list on join.
641 * erc-backend.el (erc-process-sentinel): Check that buffer is alive
642 before setting it as current buffer.
644 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
646 * erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.
648 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
650 * erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
652 2010-08-14 Vivek Dasmohapatra <vivek@etla.org>
654 * erc-join.el (erc-autojoin-timing, erc-autojoin-delay): New vars.
655 (erc-autojoin-channels-delayed, erc-autojoin-after-ident):
657 (erc-autojoin-channels): Allow autojoining after ident (Bug#5521).
659 2010-08-08 Fran Litterio <flitterio@gmail.com>
661 * erc-backend.el (erc-server-filter-function):
662 Call erc-log-irc-protocol.
664 * erc.el (erc-toggle-debug-irc-protocol):
665 Bind erc-toggle-debug-irc-protocol to t.
667 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
669 * Version 23.2 released.
671 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
675 2010-02-07 Vivek Dasmohapatra <vivek@etla.org>
677 * erc-services.el (erc-nickserv-alist): Fix defcustom type (Bug#5520).
679 2010-01-25 Vivek Dasmohapatra <vivek@etla.org>
681 * erc-backend.el (erc-session-connector): New var.
682 (erc-server-reconnect): Use it to reconnect via old
683 connector (Bug#4958).
685 * erc.el (erc-determine-parameters):
686 Save erc-server-connect-function to erc-session-connector.
688 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
690 * erc.el (erc-display-line-1, erc-process-away):
691 * erc-truncate.el (erc-truncate-buffer-to-size):
692 Use with-current-buffer.
694 2009-10-24 Glenn Morris <rgm@gnu.org>
696 * erc-dcc.el (pcomplete-erc-all-nicks):
697 * erc-notify.el (pcomplete-erc-all-nicks):
698 Autoload it, to silence compiler.
700 * erc-dcc.el (pcomplete/erc-mode/DCC): Replace cl-function
701 remove-duplicates with erc-delete-dups.
703 2009-09-27 Johan Bockgård <bojohan@gnu.org>
705 * erc-button.el (erc-button-keymap): Bind `follow-link'.
707 2009-09-26 Johan Bockgård <bojohan@gnu.org>
709 * erc-button.el (erc-button-add-button): Only call
710 `widget-convert-button' in XEmacs. For Emacs (at least), it
711 doesn't seem to have any purpose except creating lots of overlays,
712 slowing everything down.
714 2009-09-19 Glenn Morris <rgm@gnu.org>
716 * erc-lang.el (line): Define for compiler.
718 2009-07-22 Kevin Ryde <user42@zip.com.au>
720 * erc.el (erc-cmd-MODE): Hyperlink urls in docstring with URL `...'.
722 2009-03-13 D. Goel <deego3@gmail.com>
724 * erc-backend.el: In (multiple-value-bind/setq .. ls),
725 ls-> (values-list ls) throughout.
728 2009-01-18 Michael Olson <mwolson@gnu.org>
730 * erc.el (erc-header-line-uses-tabbar-p): Set to nil by default.
732 2009-01-16 Glenn Morris <rgm@gnu.org>
734 * erc.el (erc-input-message): Conditionalize previous change for XEmacs.
736 * erc-dcc.el (erc-dcc-server): Silence warning about obsolete function
739 2009-01-09 Glenn Morris <rgm@gnu.org>
741 * erc.el (erc-input-message): Replace last-command-char with
744 2009-01-08 Glenn Morris <rgm@gnu.org>
746 * erc.el (tabbar--local-hlf): Silence compiler.
748 2009-01-03 Michael Olson <mwolson@gnu.org>
750 * erc.el (erc-user-input): Do not include text properties when
751 returning user input.
753 2008-11-19 Andy Stewart <lazycat.manatee@gmail.com>
755 * erc.el (erc-header-line-uses-tabbar-p): New option that makes
756 tabbar mode usable with ERC if set to non-nil.
757 (erc-update-mode-line-buffer): Use it.
759 2008-11-19 Glenn Morris <rgm@gnu.org>
761 * erc-compat.el (help-function-arglist): Autoload it.
763 2008-10-03 Michael Olson <mwolson@gnu.org>
765 * erc-dcc.el (english): Increase size heading by two places.
766 (erc-dcc-byte-count): Move higher.
767 (erc-dcc-do-LIST-command): Use erc-dcc-byte-count to get accurate
768 count. Coerce byte total to floating point before performing
769 computation, otherwise division will truncate to 0.
770 (erc-dcc-append-contents): Update erc-dcc-byte-count.
771 (erc-dcc-get-filter): Don't update erc-dcc-byte-count, because
772 that will give incorrect size totals. Instead, figure out how
773 much we have by summing byte count and current buffer size.
774 (erc-dcc-get-sentinel): Don't update erc-dcc-byte-count.
776 2008-10-01 Michael Olson <mwolson@gnu.org>
778 * erc-dcc.el (erc-pack-int): Make sure returned string is within 4
779 bytes. Always return a 4-byte string, so that we conform to the
781 (erc-most-positive-int-bytes): New constant representing the
782 number of bytes that most-positive-fixnum can be stored in.
783 (erc-most-positive-int-msb): New constant representing the
784 contents of the most significant byte of most-positive-fixnum.
785 (erc-unpack-int): Make sure that the integer we get back can be
786 represented in Emacs.
787 (erc-dcc-do-CLOSE-command): Update docstring. Don't use the line
788 variable. Try to disambiguate between type and nick when only one
789 is provided. Validate both type and nick arguments. Allow
790 matching by just nick.
791 (erc-dcc-append-contents): Set inhibit-read-only to t. Prevent
792 auto-compression from triggering when we write the contents to a
794 (erc-dcc-get-file): Prevent auto-compression from triggering when
797 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
799 * erc.el: Remove code for Carbon.
801 2008-06-07 Glenn Morris <rgm@gnu.org>
803 * erc-autoaway.el, erc-ibuffer.el, erc-menu.el:
804 * erc-stamp.el, erc.el: Remove unnecessary eval-when-compiles.
806 2008-05-30 Diane Murray <disumu@x3y2z1.net>
808 * erc-backend.el (328): New response handler.
810 * erc.el (english): Add 328 to catalog.
812 2008-05-29 Diane Murray <disumu@x3y2z1.net>
814 * erc-services.el (erc-nickserv-alist): Update REGEXP and
815 SUCCESS-REGEXP for freenode.
817 2008-05-05 Juanma Barranquero <lekktu@gmail.com>
819 * erc-goodies.el (erc-noncommands-list, noncommands)
820 (erc-control-characters, erc-interpret-controls-p)
821 (erc-interpret-mirc-color): Fix typos in docstrings.
822 (erc-controls-highlight): Reflow docstring.
824 2008-04-26 Johan Bockgård <bojohan@gnu.org>
826 * erc.el (erc-put-text-properties): Don't use mapcar*.
827 (erc-display-line-1): Fix argument order in call to
828 erc-put-text-properties.
830 2008-04-14 Michael Olson <mwolson@gnu.org>
832 * erc.el (erc-remove-text-properties-region): Disable this command
833 by default. Thanks to e1f for the suggestion.
835 2008-02-20 Michael Olson <mwolson@gnu.org>
837 * erc.el (erc-notice-face): Fix this face for Emacs 21 users.
839 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
841 * erc.el (erc-valid-nick-regexp):
842 * erc-button.el (erc-button-syntax-table):
843 * erc-match.el (erc-match-syntax-table): Replace `legal' with `valid'.
845 2008-02-04 Jeremy Maitin-Shepard <jbms@cmu.edu>
847 * erc.el (erc-cmd-QUERY): Bind the value of `erc-auto-query' to
848 `erc-query-display' rather than `erc-join-buffer'. This fixes a
849 bug where the value of erc-auto-query was being ignored.
851 2008-01-31 Michael Olson <mwolson@gnu.org>
853 * erc-dcc.el (erc-dcc-do-GET-command, erc-dcc-do-SEND-command):
854 Improve docstring. If FILE argument is split into multiple
855 arguments, re-join them into a single string, separated by a
856 space. This fixes an issue where the user wants to send or
857 receive a file with spaces in its name. It is assumed that no one
858 will try sending or receiving a file with multiple consecutive
859 spaces in its name, otherwise this fix will fail.
861 * erc.el (erc-mode-map): Add binding for C-c C-x to
862 erc-quit-server, since rcirc.el binds its quit command in a
863 similar manner. Thanks to Jari Aalto for the suggestion.
865 2008-01-28 Diane Murray <disumu@x3y2z1.net>
867 * erc-list-old.el (list-old): Define module as list-old, not list.
868 This fixes a bug where an unknown module error would occur when
869 starting ERC and using the list-old module.
871 * erc-track.el (erc-track-find-face): If no choice was found
872 return nil to use the default mode-line faces.
874 2008-01-26 Michael Olson <mwolson@gnu.org>
876 * erc.el (erc-version-string): Release ERC 5.3.
878 * Makefile (VERSION): Update.
879 (EXTRAS): Remove erc-list.el after all, because this is mainly for
880 users of the version that comes with Emacs, and they will have
881 erc-list.el by Emacs 23.
882 (MISC): Add ChangeLog.07.
883 (elpa): Fix build issue. Add proper version to erc-pkg.el.
885 * README.extras: Mention Emacs 23.
887 * erc-pkg.el: Make the version string a template.
889 * erc.texi (Obtaining ERC): Update extras URLs for 5.3.
890 (Development): Write instructions for git, and remove those for Arch.
891 (History): Mention the switch to git.
893 2008-01-25 Michael Olson <mwolson@gnu.org>
897 * erc-goodies.el (keep-place): New module which keeps your place
898 in unvisited ERC buffers when new messages arrive. This is mostly
899 taken from Johan Bockgård's init file.
900 (erc-noncommands-list): Move to correct place.
902 * erc-networks.el: Add a module definition.
904 * erc-services.el (erc-nickserv-identify-mode): Force-enable the
905 networks module, because we need it to set erc-network for us.
907 * erc-track.el (erc-track-faces-normal-list): Indicate in the
908 docstring that this variable can be set to nil.
910 * erc.el: On second thought, don't load erc-networks. Just enable
911 the networks module by default.
912 (erc-modules): Add option for keep-place and networks. Enable
914 (erc-version-string): Make release candidate 1 available.
916 2008-01-24 Michael Olson <mwolson@gnu.org>
918 * erc.el: Load erc-networks.el so that functions get access to the
919 `erc-network-name' function.
921 * erc-track.el (erc-track-faces-normal-list): Add
922 erc-dangerous-host-face.
923 (erc-track-exclude-types): Add 333 and 353 to the default list of
924 things to ignore, and explain what they are in the docstring.
926 2008-01-23 Michael Olson <mwolson@gnu.org>
928 * erc-track.el (erc-track-faces-priority-list): Move
929 erc-nick-default-face higher, so that it can be used for the
930 activity indication effect. Add erc-current-nick-face,
931 erc-pal-face, erc-dangerous-host-face, and erc-fool-face by
933 (erc-track-faces-normal-list): New option that contains a list of
934 faces to consider "normal".
935 (erc-track-position-in-mode-line): Minor docfix.
936 (erc-track-find-face): Use erc-track-faces-normal-list to produce
937 a sort of blinking activity effect.
939 2008-01-22 Michael Olson <mwolson@gnu.org>
941 * erc-button.el (erc-button-add-nickname-buttons): When in a
942 channel buffer, only look at nicks from the current channel.
943 Thanks to e1f for the report.
945 2008-01-21 Michael Olson <mwolson@gnu.org>
947 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): Remove,
948 since we can use the default `assert' function without it causing
949 us any problems, even in Emacs 21. Thanks to bojohan for the
952 * erc-goodies.el (move-to-prompt): Use the "XEmacs" method
953 instead, because the [remap ...] method interferes with
954 delete-selection-mode.
955 (erc-move-to-prompt): Rename from erc-move-to-prompt-xemacs.
956 Deactivate mark and call push-mark before moving point. Thanks to
957 bojohan for the suggestion.
958 (erc-move-to-prompt-setup): Rename from
959 erc-move-to-prompt-init-xemacs.
961 * erc-track.el (erc-track-faces-priority-list): Replace erc-button
962 with '(erc-button erc-default-face) so that we only care about
963 buttons that are part of normal text. Adjust customization type
964 to handle this case. Make erc-nick-default-face a list. Handle
965 pals, fools, current nick, and dangerous hosts.
966 (erc-track-find-face): Simplify. Adapt for list of faces case.
967 (erc-faces-in): Don't deflate lists of faces. Add them as-is.
968 (erc-track-face-priority): Use equal instead of eq.
970 2008-01-20 Michael Olson <mwolson@gnu.org>
972 * erc-goodies.el (erc-move-to-prompt, erc-move-to-prompt-xemacs):
973 Fix off-by-one error that caused the point to move when placed at
974 the beginning of some already-typed text. Thanks to e1f for the
977 * erc-dcc.el, erc-xdcc.el: Add simple module definitions.
979 * erc.el (erc-modules): Add dcc and xdcc.
981 2008-01-19 Michael Olson <mwolson@gnu.org>
983 * erc-bbdb.el (erc-bbdb-insinuate-and-show-entry): Work around bug
984 in XEmacs 21.4 that throws an error when the first argument to
987 * erc-button.el (button): Undo XEmacs-specific change to all ERC
988 buffers when module is removed.
989 (erc-button-setup): Rename from erc-button-add-keys, and move
990 XEmacs-specific stuff here.
992 * erc-goodies.el (erc-unmorse): Improve regexp for detecting
993 morse. Deal with the morse style that has "/ " at the end of
995 (erc-imenu-setup): New function that sets up Imenu support. Add
996 it instead of a lambda form to erc-mode-hook.
997 (scrolltobottom): Remove erc-scroll-to-bottom from all ERC buffers
998 when module is removed. Activate the functionality in all ERC
999 buffers when the module is activated, rather than leaving it up to
1001 (move-to-prompt): New module that moves to the ERC prompt if a
1002 user tries to type elsewhere in the buffer, and then inserts their
1003 keystrokes there. This is mostly taken from Johan Bockgård's init
1005 (erc-move-to-prompt): New function that implements this.
1006 (erc-move-to-prompt-xemacs): New function that implements this for
1008 (erc-move-to-prompt-init-xemacs): New function to perform the
1009 extra initialization step needed for XEmacs.
1011 * erc-page.el, erc-replace.el: Fix header and footer.
1013 * erc-track.el (erc-track-minor-mode-maybe): Take an optional
1014 buffer arg so that we can put this in erc-connect-pre-hook. If
1015 given this argument, include it in the check to determine whether
1016 to activate erc-track-minor-mode.
1017 (track): Add erc-track-minor-mode-maybe to erc-connect-pre-hook,
1018 so that we can use it as soon as a connection is attempted.
1020 * erc.el (erc-format-network, erc-format-target-and/or-network):
1021 Use erc-network-name function instead, and check to see whether
1022 that function is bound. This fixes an error in process filter for
1023 people who did not have erc-services or erc-networks loaded.
1024 (erc-modules): Add move-to-prompt module and enable it by
1025 default. Thanks to e1f for the suggestion.
1027 2008-01-18 Michael Olson <mwolson@gnu.org>
1029 * Makefile (EXTRAS): Include erc-list-old.el.
1031 * erc-dcc.el (erc-dcc-verbose): Rename from erc-verbose-dcc.
1032 (erc-pack-int): Rewrite to not depend on a count argument.
1033 (erc-unpack-int): Rewrite to remove 4-character limitation.
1034 (erc-dcc-server): Call set-process-coding-system and
1035 set-process-filter-multibyte so that the contents get sent out
1036 without modification.
1037 (erc-dcc-send-filter): Don't take a substring -- just pass the
1038 whole string to erc-unpack-int.
1039 (erc-dcc-receive-cache): New option that indicates the number of
1040 bytes to let the receive buffer grow before flushing it.
1041 (erc-dcc-file-name): New buffer-local variable to keep track of
1042 the filename of the currently-received file.
1043 (erc-dcc-get-file): Disable undo for a speed increase. Set
1044 erc-dcc-file-name. Truncate the file before writing to it.
1045 (erc-dcc-append-contents): New function to append the contents of
1046 a buffer to a file and then erase the contents of the buffer.
1047 (erc-dcc-get-filter): Flush buffer contents after exceeding
1048 erc-dcc-receive-cache. This allows large files to be downloaded
1049 without storing the whole thing in memory.
1050 (erc-dcc-get-sentinel): Flush any remaining contents before
1051 closing. No need to save buffer.
1052 (erc-dcc-listen-host): New option that determines which IP address
1054 (erc-dcc-public-host): New option that determines which IP address
1055 to advertise when sending a file. This is useful for people who
1056 are on a local subnet. Together, these two options replace
1059 * erc.el (erc-mode-line-format): Add %N and %S. %N is the name of
1060 the network, and %S is much like %s but with the network name
1061 trumping the server name. Default to "%S %a". Thanks to e1f for
1063 (erc-format-network): New function that formats the network name.
1064 (erc-format-target-and/or-network): New function that formats both
1065 the network name and target, falling back on the server name if
1066 the network name is not available.
1067 (erc-update-mode-line-buffer): Add the new format spec items.
1069 2008-01-17 Michael Olson <mwolson@gnu.org>
1071 * erc.el (erc-join-buffer): Improve documentation.
1072 (erc-query-display): New option indicating how to display a query
1073 buffer that is made by using the /QUERY command. The default is
1074 to display the query in a new window.
1075 (erc-cmd-QUERY): Use it. Improve docstring.
1076 (erc-auto-query): Default this to 'window-noselect instead,
1077 because I've already seen bug reports about new users thinking
1078 that ERC didn't display their test messages. Improve
1080 (erc-notice-face): Make this work with XEmacs.
1081 (erc-join-buffer): Mention 'buffer in docstring. Improve
1084 * erc-dcc.el (erc-dcc-send-sentinel): Better handle case where elt
1085 is nil, in order to avoid an error. Thanks to Brent Goodrick for
1087 (erc-dcc-display-send): New function split from erc-dcc-send-hook.
1088 (erc-dcc-send-connect-hook): Use it -- we don't like lambda forms
1090 (erc-dcc-send-filter): Display byte count if the client confirmed
1091 too much, and kill the buffer. Otherwise a DoS might be possible
1092 by making Emacs run out of RAM.
1094 * erc-backend.el (erc-server-connect): Detect early on whether the
1095 connection attempt has failed in order to avoid confusing error
1098 * erc-networks.el (erc-server-alist): Add Rizon network.
1100 * erc-services.el (erc-nickserv-passwords): Add Rizon to options.
1101 (erc-nickserv-alist): Add support for Rizon.
1103 * erc-track.el (erc-track-find-face): Don't let buttons in notices
1104 trump default text. Use catch/throw. Default to first element of
1105 FACES is nothing is found.
1107 * erc-xdcc.el: Add local variables for proper indentation setup.
1109 2008-01-15 Michael Olson <mwolson@gnu.org>
1111 * erc-backend.el (erc-server-coding-system): Docfix.
1112 (erc-coding-system-for-target): Pass the `target' argument along
1113 as the first and only argument. It's not good to just depend on a
1116 2008-01-10 Michael Olson <mwolson@gnu.org>
1118 * erc-backend.el (321, 322): Split message-displaying parts into
1119 new functions, which are added to each response's respective
1120 hook. This makes them easier to disable.
1122 * erc-list.el: New file from Tom Tromey. Use erc-propertize
1123 instead of propertize. Require 'erc.
1124 (list): New module definition. Remove message-displaying
1125 functions for 321 and 322 response handlers when enabling the
1126 module, and restore them when disabling. As a sanity check,
1127 remove the erc-list-handle-322 function when disabling the module.
1128 (erc-list-handle-322): Handle the case where we run the LIST
1129 command, but do not go through the normal steps.
1130 (erc-cmd-LIST): Add docstring. Strip initial space from line if
1131 it is non-nil. Use make-local-variable to silence compiler
1132 warning. Capture current buffer and pass it to
1133 erc-list-install-322-handler.
1134 (erc-list-install-322-handler): Take server-buffer argument, so
1135 that we are certain of being in the right buffer. Use 4th
1136 argument to add-hook, so that erc-server-322-functions is only
1137 modified in one buffer.
1139 * erc-list-old.el: Renamed from old erc-list.el.
1141 * erc.el (erc-modules): Add list-old.
1142 (erc-set-topic): Handle case where there are no newlines in the
1143 existing topic, which happens when /LIST is run.
1144 (erc-notice-face): If we have less than 88 colors, make this
1145 blue. Otherwise the text will be pink in a tty, which looks
1146 dreadful. Thanks to e1f for the report.
1147 (erc-remove-parsed-property): New option that determines whether
1148 to remove the erc-parsed property after displaying a message.
1149 This should have the effect of making ERC take up less memory.
1150 (erc-display-line-1): Use it.
1152 2008-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * erc-ibuffer.el (erc-channel-modes):
1155 Pass mode-name through format-mode-line
1157 2007-12-16 Diane Murray <disumu@x3y2z1.net>
1159 * erc-services.el (erc-nickserv-alist): Removed autodetect regexp,
1160 added identified regexp for OFTC.
1161 (erc-nickserv-identification-autodetect): Make sure success-regex
1163 (erc-nickserv-identify-autodetect): Make sure identify-regex is
1166 2007-12-13 Diane Murray <disumu@x3y2z1.net>
1168 * erc-backend.el (PRIVMSG, QUIT, TOPIC, WALLOPS, 376, 004, 221)
1169 (312, 315, 319, 330, 331, 333, 367, 368, 391, 405, 406, 412)
1170 (421, 432, 433, 437, 442, 461, 474, 477, 482, 431): Doc fix.
1172 2007-12-09 Michael Olson <mwolson@gnu.org>
1174 * erc-services.el (erc-nickserv-alist): Fix regexps for GRnet.
1176 2007-12-09 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1178 * erc-backend.el, erc.el:
1179 Parse 275 (secure connection) responses.
1181 * erc-services.el: Add identification hooks for GRnet, the Greek
1182 IRC network <http://www.irc.gr>.
1184 2007-12-08 David Kastrup <dak@gnu.org>
1186 * erc-stamp.el (erc-echo-timestamp):
1187 * erc-lang.el (language):
1188 * erc-backend.el (erc-server-connect): Fix buggy call to `message'.
1190 2007-12-07 Edward O'Connor <ted@oconnor.cx>
1192 * erc-services.el: Provide a hook that runs when nickserv confirms
1193 that the user has successfully identified.
1194 (services, erc-nickserv-identify-mode): Add and remove
1195 erc-nickserv-identification-autodetect from
1196 erc-server-NOTICE-functions.
1197 (erc-nickserv-alist): Add SUCCESS-REGEXP to each entry.
1198 (erc-nickserv-alist-identified-regexp)
1199 (erc-nickserv-identification-autodetect): New functions.
1200 (erc-nickserv-identified-hook): New hook.
1202 2007-12-06 Deepak Goel <deego3@gmail.com>
1204 * erc-match.el (erc-add-entry-to-list): Fix buggy call to `error'.
1206 2007-12-01 Glenn Morris <rgm@gnu.org>
1208 * erc-backend.el (erc-server-send-ping): Move after definition of
1211 2007-11-29 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1213 * erc-backend.el, erc.el:
1214 Parse 307 (nick has identified) responses.
1216 2007-11-15 Juanma Barranquero <lekktu@gmail.com>
1218 * erc.el (erc-open):
1219 * erc-backend.el (define-erc-response-handler):
1221 * erc-match.el (erc-log-matches): Fix typos in docstrings.
1223 2007-11-11 Michael Olson <mwolson@gnu.org>
1225 * erc-autoaway.el (erc-autoaway-possibly-set-away):
1226 * erc-netsplit.el (erc-netsplit-timer):
1227 * erc-notify.el (erc-notify-timer):
1228 * erc-track.el (erc-user-is-active): Only run if we have
1229 successfully established a connection to the server and have
1230 logged in. I suspect that sending messages too soon may make some
1231 IRC servers not respond well, particularly when the network
1232 connection is iffy or subject to traffic-shaping.
1234 2007-11-01 Michael Olson <mwolson@gnu.org>
1236 * erc-compat.el (erc-set-write-file-functions): New compatibility
1237 function to set the write hooks appropriately.
1239 * erc-log.el (erc-log-setup-logging): Use
1240 erc-set-write-file-functions. This fixes a byte-compiler warning.
1242 * erc-stamp.el: Silence byte-compiler warning about
1245 * erc.el (erc-with-all-buffers-of-server): Bind the result of
1246 mapcar to a variable in order to silence a byte-compiler warning.
1248 2007-10-29 Michael Olson <mwolson@gnu.org>
1250 * erc-ibuffer.el (erc-modified-channels-alist): Use
1251 eval-when-compile, and explain why we are doing this.
1253 2007-10-25 Dan Nicolaescu <dann@ics.uci.edu>
1255 * erc-ibuffer.el (erc-modified-channels-alist): Pacify
1258 2007-10-13 Glenn Morris <rgm@gnu.org>
1260 * erc-track.el (erc-modified-channels-update): Use mapc rather
1263 2007-10-12 Diane Murray <disumu@x3y2z1.net>
1265 * erc.el (erc-join-channel): Prompt for channel key if C-u or
1266 another prefix-arg was typed.
1268 * NEWS: Noted this change.
1270 2007-10-07 Michael Olson <mwolson@gnu.org>
1272 * erc.el (erc-cmd-ME'S): New command that handles the case where
1273 someone types "/me's". It concatenates the text " 's" to the
1274 beginning of the input and then sends the result like a normal
1276 (erc-command-regexp): Permit single-quote character.
1278 2007-09-30 Aidan Kehoe <kehoea@parhasard.net> (tiny change)
1280 * erc-log.el (erc-save-buffer-in-logs): Prevent spurious warnings
1281 when looking at a log file and concurrently saving to it.
1283 2007-09-18 Exal de Jesus Garcia Carrillo <exal@gnu.org> (tiny change)
1285 * erc.texi (Special-Features): Fix small typo.
1287 2007-09-16 Michael Olson <mwolson@gnu.org>
1289 * erc-track.el (erc-track-switch-direction): Mention
1290 erc-track-faces-priority-list. Thanks to Leo for the suggestion.
1292 2007-09-11 Exal de Jesus Garcia Carrillo <exal@gnu.org> (tiny change)
1294 * erc-sound.el: Fix typo in setting up instructions.
1296 2007-09-10 Michael Olson <mwolson@gnu.org>
1298 * Makefile (elpa): Copy dir template rather than echoing a few
1299 lines. The reason for this is that the ELPA package for ERC was
1300 getting a corrupt dir entry.
1302 * dir-template: Template for the ELPA dir file.
1304 2007-09-08 Michael Olson <mwolson@gnu.org>
1306 * erc-log.el (erc-log-filter-function): New option that specifies
1307 the function to call for filtering text before writing it to a log
1308 file. Thanks to David O'Toole for the suggestion.
1309 (erc-save-buffer-in-logs): Use erc-log-filter-function. Make sure
1310 we carry along the value of coding-system-for-write, because this
1311 could potentially be shadowed by the temporary buffer.
1313 * erc.el (erc-version-string): Update to 5.3, development version.
1315 2007-09-07 Glenn Morris <rgm@gnu.org>
1317 * erc.el (erc-toggle-debug-irc-protocol): Fix call to
1318 erc-view-mode-enter.
1320 2007-08-08 Glenn Morris <rgm@gnu.org>
1322 * erc-log.el, erc.el: Replace `iff' in doc-strings and comments.
1324 2007-09-03 Michael Olson <mwolson@gnu.org>
1326 * erc.el (erc-default-port): Make this an integer value rather
1327 than a string. Thanks to Luca Capello for the report.
1329 2007-08-27 Michael Olson <mwolson@gnu.org>
1331 * erc.el (erc-cmd-GQUIT): If erc-kill-queries-on-quit is non-nil,
1332 kill all query buffers after 4 seconds.
1334 2007-08-16 Michael Olson <mwolson@gnu.org>
1336 * NEWS: Add ERC 5.3 changes section, and mention jbms' erc-track
1339 * erc-track.el (erc-track-list-changed-hook): Turn this into a
1340 customizable option.
1341 (erc-track-switch-direction): Add 'importance option.
1342 (erc-modified-channels-display): If erc-track-switch-direction is
1343 'importance, call erc-track-sort-by-importance.
1344 (erc-track-face-priority): New function that returns a number
1345 indicating the position of a face in erc-track-faces-priority-list.
1346 (erc-track-sort-by-importance): New function that sorts
1347 erc-modified-channels-list according to erc-track-face-priority.
1348 (erc-track-get-active-buffer): Make 'oldest a rough opposite of
1351 2007-08-14 Jeremy Maitin-Shepard <jbms@cmu.edu>
1353 * erc-track.el (erc-track-remove-disconnected-buffers): New
1354 variable which controls whether buffers associated with a server
1355 that is disconnected should be removed from
1356 `erc-modified-channels-alist'. Existing behavior is to
1357 unconditionally remove such buffers, which is achieved by setting
1358 `erc-track-removed-disconnected-buffers' to t. When set to t,
1359 which is the new default value, such buffers remain in the list,
1360 which I think is often the desired behavior, since the user may
1361 likely wish to find out about activity that occurred in a channel
1362 prior to it being disconnected.
1363 (erc-track-list-changed-hook): New hook that is run whenever the
1364 contents of `erc-modified-channels-alist' changes; it is useful
1365 for users such as myself that don't use the default mode-line
1366 notification but instead use a separate mechanism (which is tied
1367 to my window manager) to provide notification of channel activity.
1368 (erc-track-get-buffer-window): New function that acts as a wrapper
1369 around `get-buffer-window' that handles the `selected-visible'
1370 option of `erc-track-visibility'; previously, the value of
1371 `erc-track-visibility' was passed directly to `get-buffer-window',
1372 which does not support `selected-visible'; consequently,
1373 `selected-visible' was not properly supported.
1374 (erc-track-modified-channels): Fix a bug in the logic for removing
1375 buffers from the list in certain cases.
1376 (erc-track-position-in-mode-line): Add a supported value that
1377 specifies that the tracking information should not be added to the
1378 mode line at all. The value of nil is used to indicate that the
1379 information should not be added at all to the mode line.
1380 (erc-track-add-to-mode-line): Check for position eq to t, rather
1382 (erc-buffer-visible): Use erc-track-get-buffer-window.
1383 (erc-modified-channels-update): Take
1384 erc-track-remove-disconnected-buffers into account.
1385 (erc-modified-channels-display): Run `erc-track-list-changed-hook'.
1387 * erc.el (erc-reuse-frames): New option that determines whether
1388 new frames are always created. Defaults to t. This only has an
1389 effect when erc-join-buffer is set to 'frame.
1390 (erc-setup-buffer): Use it.
1392 2007-08-14 Michael Olson <mwolson@gnu.org>
1394 * erc-backend.el (erc-server-reconnect): If the server buffer has
1395 been killed, use the current buffer instead. If the current
1396 buffer is not an ERC buffer, give an error. This fixes a bug when
1397 /reconnect is run from a channel buffer whose server buffer has
1398 been deleted. Thanks to jbms for the report.
1399 (erc-process-sentinel-1): Take server buffer as an argument, so
1400 that we can make sure that it is current.
1401 (erc-process-sentinel): Pass buffer to erc-process-sentinel-1.
1402 (erc-process-sentinel-2): New function split from
1403 erc-process-sentinel-1. If server buffer is deleted during a
1404 reconnect attempt, stop trying to reconnect. Fix bug where
1405 reconnect was not happening when erc-server-reconnect-attempts was
1406 t. Call erc-server-reconnect-p only once each time. If we are
1407 instructed to try connecting indefinitely, tell the user that they
1408 can stop this by killing the server buffer. Call the process
1409 sentinel by means of run-at-time, so that there is time to kill
1410 the buffer if need be; this also removes the need for a while
1411 loop. Refuse to reconnect again if erc-server-reconnect-timeout
1414 * erc.el (erc-command-no-process-p): Fix bug: the return value of
1415 erc-extract-command-from-line is a list rather than a single
1416 symbol. Thanks to jbms for the report.
1417 (erc-cmd-RECONNECT): Use simpler logic, and use buffer-live-p
1418 rather than bufferp.
1419 (erc-send-current-line, erc-display-command, erc-display-msg):
1420 Handle case where erc-server-process is nil, so that /reconnect
1423 2007-08-12 Michael Olson <mwolson@gnu.org>
1425 * erc-identd.el (erc-identd-filter): Instead of sending an EOF
1426 character, which now confuses freenode, stop the server process,
1427 so that no new connections are accepted, and kill the current
1430 2007-07-29 Michael Olson <mwolson@gnu.org>
1432 * erc-list.el: Relicense to GPLv3. Since the file was already
1433 licensed under version 2 or later, it turns out that we do not
1434 need the permission of all of the authors in order to proceed.
1436 2007-07-13 Michael Olson <mwolson@gnu.org>
1438 * erc-goodies.el (erc-get-bg-color-face, erc-get-fg-color-face):
1439 Use erc-error rather than message and beep.
1441 * erc-sound.el: Indentation fix.
1443 * erc.el (erc-command-no-process-p): New function that determines
1444 if its argument is an ERC command that can be run when the server
1445 process is not alive.
1446 (erc-cmd-SET, erc-cmd-CLEAR, erc-cmd-COUNTRY, erc-cmd-HELP)
1447 (erc-cmd-LASTLOG, erc-cmd-QUIT, erc-cmd-GQUIT)
1448 (erc-cmd-RECONNECT, erc-cmd-SERVER): Denote that these commands
1449 can be run even when the server process is not alive.
1450 (erc-send-current-line): Call erc-command-no-process-p if the
1451 server process is not alive, to determine if we have a command
1452 that can be run anyway. Thanks to Tom Tromey for the bug report.
1453 (erc-error): New function that either displays a message or throws
1454 an error, depending on whether debug-on-error is non-nil.
1455 (erc-cmd-SERVER, erc-send-current-line): Use it.
1457 2007-07-10 Michael Olson <mwolson@gnu.org>
1459 * Relicense all FSF-assigned code to GPLv3.
1461 2007-06-25 Michael Olson <mwolson@gnu.org>
1463 * erc.texi (Options): Fix typo.
1464 (Getting Help and Reporting Bugs): Update webpage URL. Make Gmane
1467 2007-06-20 Michael Olson <mwolson@gnu.org>
1469 * erc-stamp.el (erc-timestamp-format-left): New option that
1470 specifies the left timestamp to use for
1471 erc-insert-timestamp-left-and-right.
1472 (erc-timestamp-format-right): New option that specifies the right
1473 timestamp to use for erc-insert-timestamp-left-and-right.
1474 (erc-insert-timestamp-function): Change default to
1475 erc-insert-timestamp-left-and-right.
1476 (erc-insert-away-timestamp-function): Ditto.
1477 (erc-timestamp-last-inserted-left)
1478 (erc-timestamp-last-inserted-right): New variables to keep track
1479 of data for erc-insert-timestamp-left-and-right.
1480 (erc-insert-timestamp-left-and-right): New function that places
1481 timestamps on both the left and right sides of the screen, but
1482 only if each timestamp has changed since it was last computed.
1483 Thanks to offby1 for urging me to merge this.
1485 * erc.el (erc-open-ssl-stream): Display informative error when
1487 (erc-tls): New function to connect using tls.el.
1488 (erc-open-tls-stream): New function to initiate tls connection.
1489 Display informative error when tls.el not found.
1491 2007-06-19 Michael Olson <mwolson@gnu.org>
1493 * erc-log.el: Update header with accurate instructions.
1495 2007-06-17 Michael Olson <mwolson@gnu.org>
1497 * erc-pkg.el: Update description to match what is currently in ELPA.
1499 2007-06-14 Juanma Barranquero <lekktu@gmail.com>
1501 * erc-goodies.el (erc-scroll-to-bottom): Remove redundant check.
1503 2007-06-13 Michael Olson <mwolson@gnu.org>
1505 * erc-compat.el (erc-with-selected-window): New compatibility
1506 macro that implements `with-selected-window'.
1508 * erc-goodies.el (erc-scroll-to-bottom): Use it. This fixes a bug
1509 with buffer ordering where ERC buffers would move to the top.
1510 Thanks to Ivan Kanis for the patch.
1512 2007-06-10 Michael Olson <mwolson@gnu.org>
1514 * erc-log.el (erc-logging-enabled): Fix a bug that occurred when
1515 `erc-log-channels-directory' had the name of a function.
1517 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
1519 * erc.el (erc-show-channel-key-p, erc-startup-file-list):
1520 Fix typo in docstring.
1522 2007-06-03 Michael Olson <mwolson@gnu.org>
1524 * erc-compat.el (erc-view-mode-enter): Make this its own function,
1525 in order to document what we do, and provide sane fallback
1528 * erc.el (erc-toggle-debug-irc-protocol): Don't pass any arguments
1529 to erc-view-mode-enter, since we don't do anything special with
1530 the exit function. This fixes a bug with Emacs 21 and Emacs 22.
1531 Thanks to Leo for noticing.
1533 2007-05-30 Michael Olson <mwolson@gnu.org>
1535 * erc-compat.el (erc-user-emacs-directory): New variable that
1536 determines where to find user-specific Emacs settings. For Emacs,
1537 this is usually ~/.emacs.d, and for XEmacs this is usually
1540 * erc.el (erc-startup-file-list): Use erc-user-emacs-directory.
1542 2007-05-28 Michael Olson <mwolson@gnu.org>
1544 * erc-button.el (erc-button-url-regexp): Recognize parentheses as
1545 part of URLs. Thanks to Lawrence Mitchell for the fix.
1547 2007-05-26 Michael Olson <mwolson@gnu.org>
1549 * erc.texi (Modules): Fix references to completion modules.
1551 2007-05-21 Michael Olson <mwolson@gnu.org>
1553 * Makefile (SOURCE): Remove erc-pkg.el.
1554 (debclean): New rule to clean old Debian packages of ERC.
1555 (debprepare): Don't modify the released tarball, but copy it as
1556 the .orig.tar.gz file.
1557 (debrelease, debrevision): Remove.
1558 (debinstall): New target that copies the generated Debian file to
1559 a distro-specific location.
1560 (deb): New rule that chains together the stages in building a
1562 (EXTRAS): Add erc-nicklist.el, since it is not release-quality.
1563 (extras): Copy images directory.
1565 * erc-nicklist.el (erc-nicklist-icons-directory): Use
1566 locate-library to find the "images" directory. This should be
1567 more failsafe. Thanks to Tom Tromey for the idea.
1569 2007-05-19 Michael Olson <mwolson@gnu.org>
1571 * Makefile (ELPA): New variable that contains the location of my
1572 local ELPA repository.
1573 (elpa): New rule that makes an ELPA package for ERC.
1575 2007-04-19 Michael Olson <mwolson@gnu.org>
1577 * erc.el (erc-parse-prefix): New function that retrieves the
1578 PREFIX server parameter from the current server and returns an
1579 alist of prefix type to prefix character.
1580 (erc-channel-receive-names): Use `erc-parse-prefix' to determine
1581 whether the first character of a nick is a prefix character or
1582 not. This should fix a bug reported by bromine about needing to
1583 type "%" first to complete nicks of people who are "hops" on
1584 Slashnet. This should also support for very exotic IRC server
1585 setups, if any exist.
1586 (erc-update-current-channel-member): Indentation.
1588 2007-04-15 Michael Olson <mwolson@gnu.org>
1590 * erc-log.el (erc-generate-log-file-name-function): Docfix.
1591 Mention how to deal with the case for putting log files in
1592 different directories. Change a customization type from `symbol'
1594 (erc-log-channels-directory): Allow this to contain a function
1595 name, which is called with the same args as in
1596 `erc-generate-log-file-name-function'. Thanks to andrewy for the
1597 report and use case.
1598 (erc-current-logfile): Detect if `erc-log-channels-directory' is a
1599 function and call it with arguments if so.
1601 2007-04-12 Michael Olson <mwolson@gnu.org>
1603 * erc-backend.el (define-erc-response-handler): Mention that hook
1604 processing stops when the function returns non-nil. This should
1605 help avoid a nasty "gotcha" when making custom functions. Thanks
1606 to John Sullivan for the report.
1608 2007-04-08 Diane Murray <disumu@x3y2z1.net>
1610 * erc-nicklist.el (erc-nicklist-voiced-position): Fixed
1611 customization mismatch.
1613 2007-04-01 Michael Olson <mwolson@gnu.org>
1615 * erc.el (erc-version-string): Release ERC 5.2.
1617 * erc-auto.in, erc-chess.el, erc-list.el, erc-speak.el:
1618 * erc-viper.el: Update copyright notices.
1620 * erc.texi: Make Emacs Lisp source code in this document
1621 essentially public domain. Update version to 5.2.
1622 (Obtaining ERC): Mention extras tarball.
1623 (Releases): Mention local GNU mirror.
1624 (Sample Configuration): Remove notice.
1626 * FOR-RELEASE (5.3): Add item for erc-nicklist.
1627 Mark NEWS as done. Mark extras tarball as done.
1629 * Makefile (VERSION): Increment to 5.2.
1631 (EXTRAS): New variable containing the contents of our "Emacs 22
1633 (SOURCE): Remove $(TESTING).
1634 (MISC): Add COPYING and ChangeLog.06. Fix ChangeLog.NNNN ->
1636 (release): Use $(SNAPDIR) instead of erc-$(VERSION).
1637 (extras): New rule which implements the building of the extras
1639 (upload-extras): New rule to upload the extras tarball. It's
1640 yucky to replicate upload, but oh well.
1641 (DISTRIBUTOR): New variable used to differentiate between building
1642 packages for Ubuntu and Debian.
1643 (debrelease, debrevision): Use it.
1644 (debbuild): Run linda in addition to lintian.
1646 * NEWS: Mention extras tarball. Note which files have been
1647 renamed. Note that erc-list is enabled by default, except in
1650 * README.extras: New file which serves as a README for the extras
1653 2007-03-31 Michael Olson <mwolson@gnu.org>
1655 * NEWS: Update for the 5.2 release.
1657 * FOR-RELEASE: Finish up 5.2 manual item. Add documentation item
1660 * erc.texi (Sample Session): Flesh out. Mention #erc.
1661 (Modules): Defer to 5.3 release.
1662 (Advanced Usage): Move Sample Configuration chapter ahead of
1663 unfinished chapters.
1664 (Sample Configuration): Write.
1665 (Options): Mention how to see available ERC options. Defer to 5.3
1667 (Tips and Tricks): Remove, since it seems better to just include
1668 tips and tricks in the sample configuration, commented out.
1670 * erc-bbdb.el (erc-bbdb-search-name-and-create): Make prompt more
1671 informative about how to skip merging.
1672 (erc-bbdb-insinuate-and-show-entry-1): Move contents of
1673 erc-bbdb-insinuate-and-show-entry here.
1674 (erc-bbdb-insinuate-and-show-entry): Run
1675 erc-bbdb-insinuate-and-show-entry-1 "outside" of the calling
1676 function, so that we can avoid triggering a process-filter error
1677 if the user hits C-g.
1679 2007-03-30 Michael Olson <mwolson@gnu.org>
1681 * FOR-RELEASE: Solve C-c C-SPC keybinding dilemma.
1683 * erc-autoaway.el (erc-autoaway-idle-method): Use `if' rather than
1684 `cond' and `set' rather than `set-default'.
1686 * erc-log.el: Avoid compiler warning by requiring erc-network
1688 (erc-generate-log-file-name-function): Add tag to each option.
1689 Add erc-generate-log-file-name-network.
1690 (erc-generate-log-file-name-network): New function which generates
1691 a log file name that uses network name rather than server name,
1694 * erc-track.el (track): Assimilate track-when-inactive module,
1695 since there's no need to have two modules in one file -- an option
1696 will do. Remove track-modified-channels alias. Call
1697 erc-track-minor-mode-maybe, and tear down the minor mode when
1699 (erc-track-when-inactive): New option which determines whether to
1700 track visible buffers when inactive. The default is not to do so.
1701 (erc-track-visibility): Mention erc-track-when-inactive.
1702 (erc-buffer-visible): Use erc-track-when-inactive.
1703 (erc-track-enable-keybindings): New option which determines
1704 whether to enable the global-level tracking keybindings. The
1705 default is to do so, unless they would override another binding,
1706 in which case we prompt the user about it.
1707 (erc-track-minor-mode-map): Move global keybindings here.
1708 (erc-track-minor-mode): New minor mode which only enables the
1709 keybindings and does nothing else.
1710 (erc-track-minor-mode-maybe): New function which starts
1711 erc-track-minor-mode, but only if it hasn't already been started,
1712 an ERC buffer exists, and the user OK's it, depending on the value
1713 of `erc-track-enable-keybindings'.
1714 (erc-track-switch-buffer): Display a message if someone calls this
1715 without first enabling erc-track-mode.
1717 2007-03-17 Michael Olson <mwolson@gnu.org>
1719 * erc.texi (Development): Mention ErcDevelopment page on
1721 (Getting Started): Mention ~/.emacs.d/.ercrc.el and the Customize
1723 (Sample Session): New section that has a very rough draft for a
1725 (Special Features): New section that explains some of the special
1726 features of ERC. Taken from ErcFeatures on emacswiki, with
1729 2007-03-12 Diane Murray <disumu@x3y2z1.net>
1731 * erc-autoaway.el (erc-autoaway-idle-method): When setting the new
1732 value, disable and re-enable `erc-autoaway-mode' only if it was
1733 already enabled. This fixes a bug where autoaway was enabled just
1734 by loading the file.
1736 2007-03-10 Diane Murray <disumu@x3y2z1.net>
1738 * erc-capab.el: Added more information to the Usage section.
1739 (erc-capab-identify-prefix): Doc fix.
1740 (erc-capab-identify-unidentified): New face.
1741 (290): Removed. Definition moved to erc-backend.el.
1742 (erc-capab-identify-send-messages): Renamed from
1743 `erc-capab-send-identify-messages'.
1744 (erc-capab-identify-setup): Use it.
1745 (erc-capab-identify-get-unidentified-nickname): Renamed from
1746 `erc-capab-get-unidentified-nickname'.
1747 (erc-capab-identify-add-prefix): Use it. Use
1748 `erc-capab-identify-unidentified' as the face.
1750 * erc-backend.el (290): Moved here from erc-capab.el.
1752 * erc.el (erc-select): Added an autoload cookie.
1753 (erc-message-type-member, erc-restore-text-properties): Use
1754 `erc-get-parsed-vector'.
1755 (erc-auto-query): Set the default to 'bury since many new users
1756 expect private messages from others to be in dedicated query
1757 buffers, not the server buffer.
1758 (erc-common-server-suffixes): Use "freenode" for freenode.net, not
1759 "OPN". Added oftc.net.
1761 * NEWS: Added note about erc-auto-query's new default setting.
1763 2007-03-03 Michael Olson <mwolson@gnu.org>
1765 * erc.el (erc-open, erc): Docfixes.
1767 2007-03-02 Michael Olson <mwolson@gnu.org>
1769 * FOR-RELEASE: Make section for 5.3 release and move erc-backend
1770 cleanup there. Awaiting discussion before doing other things.
1771 Add tasks for merging filename changes from the 5.2 release
1772 branch, and for making a tarball of modules not in Emacs 22. Add
1773 item to remind me to update NEWS. Mark backtab entry as done.
1775 * erc-button.el (button): Add call to `erc-button-add-keys'.
1776 (erc-button-keys-added): New variable tracking whether we've added
1778 (erc-button-add-keys): New function that adds the <backtab> key to
1781 * erc.texi: Change version to 5.2 (pre-release).
1783 2007-02-15 Michael Olson <mwolson@gnu.org>
1787 * erc-backend.el (erc-server-send-ping-interval): Change to use a
1788 default of 30 seconds. Improve customize interface.
1789 (erc-server-send-ping-timeout): New option that determines when to
1790 consider a connection stalled and restart it. The default is
1792 (erc-server-send-ping): Use erc-server-send-ping-timeout instead
1793 of erc-server-send-ping-interval. If
1794 erc-server-send-ping-timeout is nil, do not ever kill and restart
1797 * erc.el (erc-modules): Include the name of the module in its
1798 description. This should make it easier for people to find and
1799 enable a particular module.
1801 2007-02-15 Vivek Dasmohapatra <vivek@etla.org>
1803 * erc.el (erc-cmd-RECONNECT): Kill old process if it is still
1805 (erc-message-english-PART): Properly escape "%" characters in
1808 * erc-backend.el (erc-server-reconnecting): New variable that is
1809 set when the user requests a reconnect, but the old process is
1810 still alive. This forces the reconnect to work even though the
1811 process is killed manually during reconnect.
1812 (erc-server-connect): Initialize it.
1813 (erc-server-reconnect-p): Use it.
1814 (erc-process-sentinel-1): Set it to nil after the first reconnect
1817 2007-02-07 Diane Murray <disumu@x3y2z1.net>
1819 * erc-menu.el (erc-menu-definition): Fixed so that the separator
1820 is between "Current channel" and "Pals, fools and other keywords",
1821 not at the bottom of the "Current channel" submenu.
1823 2007-01-25 Diane Murray <disumu@x3y2z1.net>
1825 * erc-networks.el (erc-server-alist): Removed SSL server for now
1826 since `erc-server-select' doesn't know to use `erc-ssl'.
1828 * erc-networks.el (erc-server-alist, erc-networks-alist): Added
1829 definitions for oftc.net.
1831 * erc-services.el (erc-nickserv-alist): Fixed OFTC message regexp.
1833 2007-01-22 Michael Olson <mwolson@gnu.org>
1835 * erc-backend.el (erc-server-error-occurred): New variable that
1836 indicates when an error has been signaled by the server. This
1837 should fix an infinite reconnect bug when giving some servers a
1838 bogus :full-name. Thanks to Angelina Carlton for the report.
1839 (erc-server-connect): Initialize erc-server-error-occurred.
1840 (erc-server-reconnect-p): Use it.
1843 * erc-services.el (erc-nickserv-alist): Alphabetize and add Ars
1844 and QuakeNet. Standardize look of entries. Fix type mismatch
1845 error in customize interface.
1846 (erc-nickserv-passwords): Alphabetize and add missing entries from
1849 2007-01-21 Michael Olson <mwolson@gnu.org>
1851 * erc.el (erc-header-line-format): Document how to disable the
1852 header line, and add a customization type for it. Also, make the
1853 changes take effect immediately.
1855 2007-01-19 Michael Olson <mwolson@gnu.org>
1857 * erc.texi (Modules): Document new menu module. Thanks to Leo
1860 2007-01-16 Diane Murray <disumu@x3y2z1.net>
1862 * erc-stamp.el (erc-insert-timestamp-left): Fixed so that the
1863 whitespace string filler is hidden correctly when timestamps are
1865 (erc-toggle-timestamps): New function to use instead of
1866 `erc-show-timestamps' and `erc-hide-timestamps'.
1868 * erc.el (erc-restore-text-properties): Moved here from
1869 erc-fill.el since it could be useful in general.
1871 * erc-fill.el (erc-restore-text-properties): Removed.
1873 2007-01-13 Michael Olson <mwolson@gnu.org>
1875 * erc.el (erc-command-regexp): New variable that is used to match
1877 (erc-send-input): Use it. This fixes a bug where paths --
1878 "/usr/bin/foo", for example -- were being displayed as commands,
1879 but still sent correctly.
1880 (erc-extract-command-from-line): Use it.
1882 * erc.texi (Modules): Document erc-capab-identify.
1884 2007-01-11 Diane Murray <disumu@x3y2z1.net>
1886 * erc.el (erc-find-parsed-property): Moved here from erc-track.el
1887 since it can be useful in general.
1889 * erc-track.el (erc-find-parsed-property): Removed.
1891 * erc-capab.el (erc-capab-find-parsed): Removed.
1892 (erc-capab-identify-add-prefix): Use `erc-find-parsed-property'.
1894 * erc.el (erc-open): Run `erc-before-connect' hook here. This
1895 makes sure the hook always gets called before a connection is
1896 made, as some functions, like `erc-handle-irc-url', use `erc-open'
1898 (erc): Removed `erc-before-connect' hook.
1900 * erc-menu.el (erc-menu-definition): Put items specific to
1901 channels in a "Current channel" submenu.
1903 * erc-backend.el (321, 323): Display channel list in server buffer
1904 when not using the channel list module.
1906 * erc.el: Updated copyright years.
1907 (erc-version-string): Set to 5.2 (devel).
1908 (erc-format-lag-time): Fixed to work when `erc-server-lag' is nil.
1909 (erc-update-mode-line-buffer): Set the header face.
1911 2007-01-11 Michael Olson <mwolson@gnu.org>
1913 * erc-bbdb.el (erc-bbdb-popup-type): Fix customization type and
1916 * erc-services.el (erc-nickserv-identify-mode): Improve
1917 documentation for nick-change option and move higher to fix
1918 compiler warning. Avoid a recursive load error.
1919 (erc-nickserv-alist): Add simple entry for BitlBee, to avoid
1920 "NickServ is AWAY: User is offline" error. Oddly enough, bitlbee
1921 was smart enough to recognize that as an authentication request
1922 and log in regardless, which is why I didn't notice this earlier.
1923 (erc-nickserv-alist-sender, erc-nickserv-alist-regexp)
1924 (erc-nickserv-alist-nickserv, erc-nickserv-alist-ident-keyword)
1925 (erc-nickserv-alist-use-nick-p)
1926 (erc-nickserv-alist-ident-command): New accessors for
1927 erc-nickserv-alist. Using nth is unwieldy.
1928 (erc-nickserv-identify-autodetect)
1929 (erc-nickserv-identify-on-connect)
1930 (erc-nickserv-identify-on-nick-change, erc-nickserv-identify): Use
1933 2007-01-11 Diane Murray <disumu@x3y2z1.net>
1935 * NEWS: Added note for `erc-my-nick-face'. Fixed capab-identify
1938 2007-01-10 Diane Murray <disumu@x3y2z1.net>
1940 * erc.el (erc-mode-line-format): Added %l to documentation.
1941 (erc-header-line-format): Removed "[IRC]". Use the new %l
1942 replacement character. Doc fix.
1943 (erc-format-channel-modes): Removed lag code. Removed parentheses
1945 (erc-format-lag-time): New function.
1946 (erc-update-mode-line-buffer): Use it.
1948 2007-01-10 Michael Olson <mwolson@gnu.org>
1950 * erc.el: Fix typo in url-irc-function instructions.
1952 2007-01-09 Michael Olson <mwolson@gnu.org>
1954 * erc.el (erc-system-name): New option that determines the system
1955 name to use when logging in. The default is to figure this out by
1956 calling `system-name'.
1957 (erc-login): Use it.
1959 2007-01-07 Michael Olson <mwolson@gnu.org>
1961 * erc.el (erc-modules): Add the menu module. This should fix a
1962 bug with incorrect ERC submenus being displayed.
1964 * erc-menu.el: Turn this into a module.
1965 (erc-menu-add, erc-menu-remove): New functions that add and remove
1968 2006-12-28 Michael Olson <mwolson@gnu.org>
1970 * erc-list.el: Change header to mention that this is part of ERC,
1971 rather than GNU Emacs.
1973 * erc-networks.el (erc-server-alist): Add Ars OpenIRC and
1974 LinuxChix networks. Thanks to Angelina Carlton for mentioning
1975 them. Properly escape periods in Konfido.Net and Kewl.Org.
1976 (erc-networks-alist): Add entries for Ars and LinuxChix, though
1977 the latter does not actually provide an announced network name.
1979 * erc-services.el (erc-nickserv-identify-mode): Add 'both method,
1980 which waits for a NickServ message if the network supports it,
1981 otherwise sends the password after connecting.
1982 (erc-nickserv-identify-mode): Default to 'both.
1983 (erc-nickserv-passwords): Add OFTC and Azzurra to custom options.
1984 (erc-nickserv-alist): Indentation fix.
1985 (erc-nickserv-identify-on-connect)
1986 (erc-nickserv-identify-on-nick-change): Handle 'both method.
1988 2006-12-28 Leo Liu <sdl.web@gmail.com> (tiny change)
1990 * erc.el (erc-iswitchb): Wrap body in unwind-protect so that
1991 hitting C-g does not leave iswitchb-mode on.
1993 2006-12-27 Michael Olson <mwolson@gnu.org>
1995 * erc.el (erc-cmd-RECONNECT): New command that calls
1996 erc-server-reconnect.
1998 * erc-backend.el (erc-server-reconnect-count): New server variable
1999 that keeps track of reconnection attempts.
2000 (erc-server-reconnect-attempts): New option that determines the
2001 number of reconnection attempts that ERC will make per server.
2002 (erc-server-reconnect-timeout): New option that determines the
2003 amount of time, in seconds, that ERC will wait between successive
2005 (erc-server-reconnect): New function that reestablishes the
2006 current IRC connection. Move some commands from
2007 erc-process-sentinel-1 here.
2008 (erc-process-sentinel-1): If we have been disconnected, loop until
2009 we either reconnect or run out of attempts.
2010 (erc-server-reconnect-p): Move higher and make this a defsubst,
2011 since I'm worried about the current buffer changing from
2012 underneath us. Implement limit of number of reconnect attempts..
2014 * erc.texi (Getting Started): Update for /RECONNECT command.
2016 2006-12-26 Michael Olson <mwolson@gnu.org>
2018 * erc.el (erc-open): Restore old point correctly, or at least get
2019 closer to doing so than before.
2021 2006-12-13 Leo Liu <sdl.web@gmail.com> (tiny change)
2023 * erc.el (erc-iswitchb): Temporarily enable iswitchb mode if it
2024 isn't active already, instead of leaving it on.
2026 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
2028 * erc-ezbounce.el (erc-ezb-init-session-list): Doc fix.
2030 2006-12-08 Michael Olson <mwolson@gnu.org>
2032 * erc.el: Re-evaluate contributions from a contributor, and found
2033 them under 15 lines of non-obvious code, so it is safe to remove
2034 the copyright notice.
2035 (erc-modules): Remove list module.
2037 * erc-list.el: Remove, since a contributor who has not completed
2038 their assignment has contributed significantly more than 15 lines
2039 of code to this file.
2041 2006-11-28 Juanma Barranquero <lekktu@gmail.com>
2043 * erc.el (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Simplify.
2044 (erc-prompt-for-channel-key, erc-ignore-reply-list, erc-send-post-hook)
2045 (erc-active-buffer, erc-join-buffer, erc-frame-alist, erc-with-buffer)
2046 (erc-modules, erc-display-message-highlight, erc-process-input-line)
2047 (erc-cmd-HELP, erc-server-hooks, erc-echo-notice-in-user-buffers)
2048 (erc-format-my-nick, erc-echo-notice-in-user-and-target-buffers)
2049 (erc-echo-notice-in-first-user-buffer, erc-connection-established)
2050 (erc-update-user-nick, erc-update-channel-member, erc-highlight-notice)
2051 (erc-command-symbol, erc-add-query, erc-process-script-line)
2052 (erc-determine-parameters, erc-client-info, erc-popup-input-buffer):
2053 (erc-script-echo): Fix typos in docstrings.
2054 (erc-channel-user-op-p, erc-channel-user-voice-p, erc-startup-file-list)
2055 (define-erc-module, erc-once-with-server-event)
2056 (erc-once-with-server-event-global, erc-debug-irc-protocol)
2057 (erc-log-irc-protocol, erc-cmd-LOAD, erc-update-user)
2058 (erc-update-current-channel-member, erc-load-script):
2059 (erc-mode-line-away-status-format): Doc fixes.
2061 2006-11-20 Andrea Russo <rastandy@inventati.org> (tiny change)
2063 * erc-dcc.el (erc-dcc-chat-setup): Initialize `erc-input-marker'
2064 before calling `erc-display-prompt'.
2066 2006-11-24 Juanma Barranquero <lekktu@gmail.com>
2068 * erc.el (erc-after-connect, erc-open-ssl-stream)
2069 (erc-display-line-1, erc-display-line):
2070 * erc-backend.el (005): Fix space/tab mixup in docstrings.
2072 2006-11-20 Michael Olson <mwolson@gnu.org>
2074 * erc.el (erc-version-string): Call this Version 5.2 stable
2075 pre-release, since it diverges slightly from our 5.2 branch, in
2076 that unstable features are not included.
2077 (erc-update-modules): Display better error message when module not
2080 2006-11-12 Michael Olson <mwolson@gnu.org>
2082 * erc-log.el: Save all log buffers when Emacs exits, in case
2083 someone ignores the warning about open processes. Remove the
2084 advice code in the commentary.
2085 (erc-save-query-buffers): Docfix.
2086 (erc-log-save-all-buffers): New function that saves all ERC
2088 (erc-current-logfile): Fix bug in filename selection, where the
2089 current buffer was erroneously being preferred over the given
2092 2006-11-08 Michael Olson <mwolson@gnu.org>
2094 * erc.el (erc-string-to-port): Avoid error when a numerical port
2095 is passed. Thanks to Zekeriya KOÇ for the report.
2097 2006-11-08 Łukasz Demianiuk <ldemianiuk@gmail.com> (tiny change)
2099 * erc.el (erc-header-line): Fix typo.
2101 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
2103 * erc-dcc.el (erc-dcc-send-file): Fix typo in error message.
2105 * erc.el (read-passwd):
2106 * erc-autoaway.el (erc-autoaway-reestablish-idletimer):
2107 * erc-truncate.el (truncate): Fix typo in docstring.
2109 2006-10-21 Michael Olson <mwolson@gnu.org>
2111 * erc.el (erc-iswitchb): Fix bug when hitting C-c C-b without
2112 first loading iswitchb. Thanks to Leo for the report.
2114 2006-10-10 Michael Olson <mwolson@gnu.org>
2116 * erc.el (erc-default-port): Make the default be 6667 instead of
2117 ircd. since Mac OS X apparently has problems with looking up that
2120 * erc-backend.el (353): Receive names after displaying the initial
2121 message, instead of before.
2123 2006-10-05 Diane Murray <disumu@x3y2z1.net>
2125 * erc.el (erc-my-nick-face): New face.
2126 (erc): Use FULL-NAME argument, not `erc-user-full-name'. This
2127 fixes a bug where the :full-name argument passed to the function
2129 (erc-format-my-nick): Use `erc-my-nick-face'. This should help
2130 make it easier to find messages you sent in conversations when
2131 `erc-show-my-nick' is non-nil.
2132 (erc-compute-server): Doc fix.
2134 2006-10-01 John J Foerch <jjfoerch@earthlink.net> (tiny change)
2136 * erc-stamp.el (erc-insert-timestamp-right): Exclude the newline
2137 from the erc-timestamp field.
2139 2006-09-11 Michael Olson <mwolson@gnu.org>
2141 * erc-nicklist.el (erc-nicklist-insert-contents): Add missing
2142 parenthesis. Thanks to Stephan Stahl for the report.
2144 2006-09-10 Eric Hanchrow <offby1@blarg.net>
2146 * erc.el (erc-cmd-IGNORE): Prompt user if this might be a regexp
2147 instead of a single user.
2149 2006-09-10 Michael Olson <mwolson@gnu.org>
2151 * erc.el (erc-generate-new-buffer-name): If this is a server
2152 buffer and a process exists already, create a new buffer.
2153 (erc-open): If the IRC session was continued, restore the old
2154 point. Thanks to Stephan Stahl for the report.
2155 (erc-member-ignore-case): Coding style tweak.
2156 (erc-cmd-UNIGNORE): Quote the user before comparison. If we don't
2157 find the user listed verbatim, try to match them against the list
2158 using string-match. In this case, prompt as to whether the regexp
2160 (erc-ignored-user-p): Remove CL-ism.
2162 * erc-autoaway.el (erc-autoaway-possibly-set-away): Check to see
2163 whether we are already away.
2165 * erc-menu.el: Fix potential compiler warning.
2167 2006-09-07 Diane Murray <disumu@x3y2z1.net>
2169 * erc.el: Updated Commentary and URL.
2170 (erc-iswitchb, erc-display-line, erc-set-modes, erc-update-modes)
2171 (erc-arrange-session-in-multiple-windows): No need to check if
2172 `erc-server-process' is bound.
2173 (erc-server-buffer-live-p): Doc fix.
2174 (erc-part-from-channel): Don't use any initial contents at prompt.
2175 (erc-format-nick, erc-format-@nick): Doc fix. Use `when'.
2176 (s367): Fixed to support only banmask and channel which is the
2177 standard. Also, there's no reason to add a message to each banned
2178 user entry trying to persuade the user to use /banlist instead of
2179 /mode #channel +b. That part of the message was a little
2181 (s367-set-by): New catalog entry. The user who set the ban and
2182 the time of ban seem to be specific to only certain servers such
2185 * erc-autoaway.el (erc-autoaway-idletimer): Doc fix.
2187 * erc-backend.el (erc-server-process-alive): No need to check if
2188 `erc-server-process' is bound.
2189 (367): Use s367 or s367-set-by where appropriate.
2191 * erc-compat.el: Fixed URL.
2193 * erc-dcc.el: Updated copyright years. Added Usage section.
2194 Changed supported Emacs version number from 21.3.50 to 22 in
2197 * erc-ibuffer.el (erc-server-name, erc-target, erc-away): No need
2198 to check if `erc-server-process' is bound.
2200 * erc-nicklist.el: Added to the Commentary section an explanation
2201 that `erc-nicklist-quit' should be called from within the nicklist
2202 buffer. Set file coding to utf-8 so a contributor's name is
2203 displayed correctly.
2204 (erc-nicklist-icons-directory): Use customize type directory
2206 (erc-nicklist-insert-contents): Set bbdb-nick to an empty string
2207 if it wasn't found. This fixes a bug where an error would occur
2208 when using `string=' on bbdb-nick if it was nil.
2210 * erc-replace.el: Removed URL from file information since it
2213 * erc-sound.el: Updated copyright years. Fixed Commentary and
2214 added Usage section.
2215 (define-erc-module): Add and remove `erc-ctcp-query-SOUND' to
2216 `erc-ctcp-query-SOUND-hook' here. Removed the keybinding
2218 (erc-play-sound, erc-default-sound, erc-cmd-SOUND)
2219 (erc-ctcp-query-SOUND): Doc fix.
2220 (erc-play-command): Removed, not necessary anymore.
2221 (erc-ctcp-query-SOUND-hook): Set to nil as default. Moved up
2222 higher in code, added docstring.
2223 (erc-play-sound): Use `play-sound-file'. It exists in GNU Emacs
2224 as well since version 21 or earlier. Removed commented-out older
2225 version of function.
2227 * NEWS: Fixed formatting, added channel tracking change.
2229 2006-09-03 Diane Murray <disumu@x3y2z1.net>
2231 * erc.el: M-x erc RET can now be used to start ERC.
2232 (erc-open): Renamed from `erc'.
2233 (erc-before-connect): Change erc-select to erc.
2234 (erc): Renamed from `erc-select'. Use `erc-open'.
2235 (erc-select): Defined as alias of `erc'.
2236 (erc-ssl): Renamed from `erc-select-ssl'. Use `erc'.
2237 (erc-select-ssl): Defined as alias of `erc-ssl'.
2238 (erc-cmd-SERVER): Use `erc'.
2239 (erc-query, erc-handle-irc-url): Use `erc-open'.
2241 * erc-backend.el (erc-process-sentinel-1, JOIN): Use `erc-open'.
2243 * erc-menu.el (erc-menu-definition): Use `erc'.
2245 * erc-networks.el: Updated copyright years.
2246 (erc-server-select): Use keyword arguments when calling `erc'.
2248 * erc.texi (Getting Started, Connecting): Changed erc-select to
2251 * README: Changed erc-select to erc.
2253 * NEWS: Added note about these changes.
2255 * FOR-RELEASE: Marked this item as done.
2257 2006-08-21 Diane Murray <disumu@x3y2z1.net>
2259 * erc-track.el (erc-track-mode-line-mouse-face): New variable.
2260 (erc-make-mode-line-buffer-name): Add help-echo and mouse-face
2261 properties to channel name.
2263 2006-08-20 Michael Olson <mwolson@gnu.org>
2265 * erc-identd.el (erc-identd): New customization group.
2266 (erc-identd-port): New option that specifies the port to use if
2267 none is given as an argument to erc-identd-start.
2268 (identd): Place erc-identd-quickstart in erc-connect-pre-hook
2269 instead of erc-identd-start so that we deal with the different
2270 meaning of the first argument.
2271 (erc-identd-start): Use erc-identd-port.
2272 (erc-identd-quickstart): New function that ignores any arguments
2273 and calls erc-identd-start.
2275 * erc.el (erc-with-server-buffer): New macro that switches to the
2276 current ERC server buffer and runs some code. If no server buffer
2277 is available, return nil. This is a useful way to access
2278 variables in the server buffer.
2279 (erc-get-server-user, erc-add-server-user)
2280 (erc-remove-server-user, erc-change-user-nickname)
2281 (erc-get-server-nickname-list, erc-get-server-nickname-alist)
2282 (erc-ison-p, erc-active-buffer, erc-cmd-IGNORE)
2283 (erc-cmd-UNIGNORE, erc-cmd-IDLE, erc-cmd-NICK, erc-cmd-BANLIST)
2284 (erc-cmd-MASSUNBAN, erc-nickname-in-use, erc-ignored-user-p)
2285 (erc-format-channel-modes): Use it.
2286 (erc-once-with-server-event, erc-once-with-server-event-global)
2287 (erc-with-buffer, erc-with-all-buffers-of-server): Use make-symbol
2289 (erc-open-server-buffer-p): New function that returns non-nil if
2290 the given buffer is an ERC server buffer that has an open IRC
2292 (erc-with-buffer): Use buffer-live-p here to set a good example,
2293 though it isn't really needed here.
2294 (erc-away): Mention erc-away-time.
2295 (erc): Don't propagate the erc-away setting, since it makes more
2296 sense to access it from the server buffer. Set up the prompt
2297 before connecting rather than after. Run erc-connect-pre-hook
2298 with the buffer as an argument, instead of no arguments.
2299 (erc-cmd-GAWAY): Use erc-open-server-buffer-p instead of
2300 erc-server-buffer-p so that only open connections are set away.
2301 (erc-cmd-GQUIT): Use erc-open-server-buffer-p.
2302 (erc-process-away): Docfix. Don't set erc-away in channel
2304 (erc-set-current-nick): Make this uniform with the style used in
2306 (erc-away-time): Rename from erc-away-p, since this is no longer a
2307 boolean-style predicate.
2308 (erc-format-away-status): Use it.
2309 (erc-initialize-log-marker): Accept a `buffer' argument.
2310 (erc-connect-pre-hook): Docfix.
2311 (erc-connection-established): Make sure this runs in the correct
2313 (erc-set-initial-user-mode): Accept a `buffer' argument.
2315 * erc-stamp.el (erc-add-timestamp): Use erc-away-time.
2317 * erc-spelling.el (erc-spelling-init): Use
2318 erc-with-server-buffer. Accept `buffer' argument.
2319 (spelling): Call erc-spelling-init with the `buffer' argument.
2321 * erc-speedbar.el (erc-speedbar-buttons): Use erc-server-buffer-p.
2323 * erc-pcomplete.el (pcomplete/erc-mode/UNIGNORE)
2324 (pcomplete-erc-all-nicks): Use erc-with-server-buffer.
2326 * erc-notify.el (erc-notify-timer, erc-cmd-NOTIFY): Use
2327 erc-with-server-buffer.
2329 * erc-networks.el (erc-network, erc-current-network)
2330 (erc-network-name): Use erc-with-server-buffer.
2332 * erc-netsplit.el (erc-cmd-WHOLEFT): Use erc-with-server-buffer.
2334 * erc-match.el (erc-log-matches, erc-log-matches-come-back): Use
2337 * erc-log.el (log): Use erc-away-time. Remove unnecessary check.
2338 Pass `buffer' argument to erc-log-setup-logging instead of setting
2339 the current buffer. Ditto for erc-log-disable-logging.
2340 (erc-log-setup-logging, erc-log-disable-logging): Accept a `buffer'
2343 * erc-list.el (erc-chanlist): Use erc-with-server-buffer.
2345 * erc-ibuffer.el (erc-away): Use erc-away-time.
2347 * erc-dcc.el (erc-dcc-get-filter): Temporarily make the buffer
2348 read only instead of permanently doing so.
2350 * erc-compat.el (erc-gensym, *erc-sym-counter*): Remove, since
2351 Emacs Lisp has make-symbol, which is better.
2353 * erc-chess.el (erc-chess-handler, erc-cmd-CHESS): Use
2354 erc-with-server-buffer.
2356 * erc-capab.el (capab-identify): Only deal with server buffers
2357 that have an open IRC process.
2358 (erc-capab-identify-add-prefix): Use erc-with-server-buffer.
2360 * erc-backend.el (erc-server-connected): Docfix. Recommend the
2361 `erc-server-process-alive' function.
2362 (erc-coding-system-for-target): Supply a default target if one is
2364 (erc-server-send): Simplify slightly.
2365 (erc-call-hooks): Use erc-with-server-buffer.
2366 (erc-server-connect, erc-server-setup-periodical-ping): Accept
2369 * erc-autoaway.el (erc-autoaway-reestablish-idletimer): Move
2370 higher to avoid an automatic load snafu.
2371 (erc-autoaway-some-server-buffer): New function that returns an
2372 ERC server buffer with a live connection, or nil otherwise.
2373 (erc-autoaway-insinuate-maybe): New function that adds the
2374 autoaway reset function to post-command-hook if at least one ERC
2376 (erc-autoaway-remove-maybe): New function that removes the
2377 autoaway reset function from post-command-hook if no ERC process
2379 (autoaway): Don't touch post-command-hook unless an IRC process is
2380 already open. Remove our addition to post-command-hook as soon as
2381 there are no more IRC processes open. Reset the indicators before
2382 connecting to an IRC server, which fixes a bug when re-connecting.
2383 (erc-autoaway-reset-idle-user): Call erc-autoaway-remove-maybe if
2384 there are no more IRC processes open.
2385 (erc-autoaway-set-back): Pick an open IRC process. Accept an
2386 argument which is a function call if we can't find one.
2387 (erc-autoaway-some-open-server-buffer): New function which returns
2388 an ERC server buffer with an open connection and a user that is
2390 (erc-autoaway-possibly-set-away, erc-autoaway-set-away): Use it.
2391 (erc-autoaway-set-away): Accept a `notest' argument which is used
2392 to avoid testing the same thing twice.
2393 (erc-autoaway-last-sent-time, erc-autoaway-caused-away): Move
2394 higher in file to fix byte-compile warning.
2396 2006-08-20 Diane Murray <disumu@x3y2z1.net>
2398 * erc-backend.el (erc-process-sentinel-1): Doc fix. Let
2399 `erc-server-reconnect-p' check all condition cases.
2400 (erc-server-reconnect-p): Moved rest of checks from
2401 `erc-process-sentinel-1' to here. Now takes an argument, EVENT.
2403 2006-08-14 Diane Murray <disumu@x3y2z1.net>
2405 * erc-menu.el: Updated copyright years. Removed EmacsWiki URL.
2406 (erc-menu-definition): Name the menu "ERC" instead of "IRC" to
2407 avoid confusion with rcirc and other clients.
2409 * erc-backend.el (erc-server-banned): New variable.
2410 (erc-server-connect): Set `erc-server-banned' to nil.
2411 (erc-process-sentinel-1): Use `erc-server-reconnect-p'.
2412 (erc-server-reconnect-p): New function. Return non-nil if the
2413 user wants automatic reconnects and if the user has not been
2414 banned from the server. This should fix a bug where ERC gets into
2415 a loop trying to reconnect with no way to stop it when the user is
2416 denied access to the server due to a server ban. It might also
2417 help when Tor users are blocked from freenode if freenode servers
2418 send the 465 message before disconnecting.
2419 (465): Handle "banned from server" error notices.
2421 2006-08-13 Romain Francoise <romain@orebokech.com>
2423 * erc-match.el (erc-log-matches-make-buffer): End `y-or-n-p'
2424 prompt with a space.
2426 2006-08-13 Michael Olson <mwolson@gnu.org>
2428 * erc-backend.el (erc-server-timed-out): New variable that
2429 indicates whether the current connection has timed out due to
2430 failure to respond to a ping.
2431 (erc-server-send-ping): Set erc-server-timed-out to t.
2432 (erc-server-connect): Initialize erc-server-timed-out to nil.
2433 (erc-process-sentinel-1): Consult erc-server-timed-out.
2435 2006-08-11 Michael Olson <mwolson@gnu.org>
2437 * erc-fill.el (erc-fill): Skip any initial empty lines so that we
2438 avoid errors when inserting disconnect messages and other messages
2439 that begin with newlines.
2441 2006-08-07 Michael Olson <mwolson@gnu.org>
2443 * erc-backend.el (erc-process-sentinel-1): Use erc-display-message
2444 in several places instead of inserting text.
2445 (erc-process-sentinel): Move to the input-marker before removing
2448 * erc.el (erc-port): Fix customization options.
2449 (erc-display-message): Handle null type explicitly. Previously,
2450 this was relying on a chance side-effect. Cosmetic indentation
2452 (english): Add 'finished and 'terminated entries to the catalog.
2453 Add initial and terminal newlines to 'disconnected and
2454 'disconnected-noreconnect entries. Avoid long lines.
2455 (erc-cmd-QUIT): Bind the current erc-server-process to
2456 server-proc. If the IRC server responds quickly, it is possible
2457 for the connection to close, and hence server buffer to be killed,
2458 if erc-kill-server-buffer-on-quit is non-nil. This avoids that
2461 2006-08-06 Michael Olson <mwolson@gnu.org>
2463 * erc-backend.el (erc-server-send-queue): Update from Circe
2464 version of this function.
2465 (erc-server-ping-timer-alist): New variable that keeps track of
2466 ping timers according to their associated server.
2467 (erc-server-last-received-time): New variable that specifies the
2468 time of the last message we received from the server. This is
2469 used to detect hung processes.
2470 (erc-server-send-ping): New function that sends a ping to the IRC
2471 process corresponding with the given buffer. Split from
2472 erc-server-setup-periodical-ping. If the server buffer no longer
2473 exists, cancel the timer. If the server process has not given us
2474 a message, including PING responses, since the last PING, kill it.
2475 This is necessary to deal with some aberrant freenode behavior.
2476 Idea taken from rcirc.
2477 (erc-server-setup-periodical-ping): Rename from
2478 erc-server-setup-periodical-server-ping.
2479 (erc-server-filter-function): Use erc-current-time instead of
2482 * erc.el (erc-arrange-session-in-multiple-windows): Fix bug with
2484 (erc-select-startup-file): Fix bug introduced by recent change.
2485 (erc-cmd-QUIT): If the IRC process has not terminated itself
2486 within 4 seconds of completing our quit-hook, kill it manually.
2487 Freenode in particular needs this.
2488 (erc-connection-established): Use erc-server-setup-periodical-ping
2489 instead of erc-server-setup-periodical-server-ping.
2491 2006-08-05 Michael Olson <mwolson@gnu.org>
2493 * erc-log.el (erc-log-standardize-name): New function that returns
2494 a filename that is safe for use for a log file.
2495 (erc-current-logfile): Use it.
2497 * erc.el (erc-startup-file-list): Search in ~/.emacs.d first,
2498 since that is a fairly standard directory.
2499 (erc-select-startup-file): Re-write to use
2500 convert-standard-filename, which will ensure that MS-DOS systems
2501 look for the _ercrc.el file.
2503 2006-08-02 Michael Olson <mwolson@gnu.org>
2505 * erc.el (erc-version-string): Release ERC 5.1.4.
2507 * Makefile, NEWS, erc.texi: Update for the 5.1.4 release.
2509 * erc.el (erc-active-buffer): Fix bug that caused messages to go
2510 to the wrong buffer. Thanks to offby1 for the report.
2512 * erc-backend.el (erc-coding-system-for-target): Handle case where
2513 target is nil. Thanks to Kai Fan for the patch.
2515 2006-07-29 Michael Olson <mwolson@gnu.org>
2517 * erc-log.el (erc-log-setup-logging): Don't offer to save the
2518 buffer. It will be saved automatically killed. Thanks to Johan
2519 Bockgård and Tassilo Horn for pointing this out.
2521 2006-07-27 Johan Bockgård <bojohan@users.sourceforge.net>
2523 * erc.el (define-erc-module): Make find-function and find-variable
2524 find the names constructed by `define-erc-module' in Emacs 22.
2526 2006-07-14 Michael Olson <mwolson@gnu.org>
2528 * erc-log.el (log): Make sure that we enable logging on
2529 already-opened buffers as well, in case the user toggles this
2530 module after loading ERC. Also be sure to remove logging ability
2531 from all ERC buffers when the module is disabled.
2532 (erc-log-setup-logging): Set buffer-file-name to nil rather than
2533 the empty string. This should fix some errors that occur when
2534 quitting Emacs without first killing all ERC buffers.
2535 (erc-log-disable-logging): New function that removes the logging
2536 ability from the current buffer.
2538 * erc-spelling.el (spelling): Use dolist and buffer-live-p.
2540 2006-07-12 Michael Olson <mwolson@gnu.org>
2542 * erc-match.el (erc-log-matches): Bind inhibit-read-only rather
2543 than call toggle-read-only.
2545 * erc.el (erc-handle-irc-url): Move here from erc-goodies.el and
2546 add autoload cookie.
2548 2006-07-09 Michael Olson <mwolson@gnu.org>
2550 * erc.el (erc-version-string): Release ERC 5.1.3.
2552 * erc.texi: Update for the 5.1.3 release.
2554 * erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning
2555 from being set automatically away and current buffer is not an ERC
2558 * erc-identd.el: Fix compiler error.
2560 * erc.texi (Development): Use @subheading instead of @subsection.
2561 (Advanced Usage): Add menu.
2562 (Connecting): Fully document how to connect to an IRC server.
2563 (Options, Tips and Tricks, Sample Configuration): New unwritten
2566 * erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier)
2567 (erc-user-full-name, erc-password): Docfixes and customization
2569 (erc-try-new-nick-p): Rename from
2570 `erc-manual-set-nick-on-bad-nick-p' and invert meaning.
2571 (erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length
2572 of `erc-nick-uniquifier', in case someone wants multiple
2574 (erc-compute-server, erc-compute-nick, erc-compute-full-name)
2575 (erc-compute-port): Docfixes.
2577 * erc-log.el (log): Move all add-hook calls here, rather than
2578 executing them immediately, and also cause them to be un-hooked
2579 when the module is removed.
2580 (erc-save-buffer-on-part): Move next to
2581 `erc-save-queries-on-quit'.
2582 (erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t.
2583 (erc-log-write-after-send, erc-log-write-after-insert): Default to
2584 nil. This makes things fast, but reasonably failsafe, by default.
2586 2006-07-08 Michael Olson <mwolson@gnu.org>
2588 * erc-log.el (erc-log-insert-log-on-open): Make this nil by
2589 default, since most IRC clients don't do this.
2590 (erc-log-write-after-send): New option that determines whether the
2591 log file will be written to after every sent message.
2592 (erc-log-write-after-insert): New option that determines whether
2593 the log file will be written to when new text is added to a logged
2595 (log): Use the aforementioned options.
2597 * erc.texi (Modules): Document the "completion" module.
2599 * erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't
2600 have a nil element in the list when ignore-self is non-nil.
2602 2006-07-05 Michael Olson <mwolson@gnu.org>
2604 * erc.el (erc-modules): Use `set' instead of `set-default', since
2605 this setting should never be buffer-local. Add the `page' module
2608 * erc.texi (Modules): Add entries for `list' and `page' modules.
2609 Change "spell" to "spelling".
2610 (History): Use past tense throughout.
2612 2006-07-02 Michael Olson <mwolson@gnu.org>
2614 * erc-backend.el (erc-call-hooks): Fix (stringp nil) error that
2615 can happen when doing /PART.
2617 * erc.el (erc-quit-reason-various-alist)
2618 (erc-part-reason-various-alist): In the example, use "^$" as an
2619 example, since "" matches anything.
2620 (erc-quit-reason-various, erc-part-reason-various): If no argument
2621 is given, and no matches are found, use our default reason instead
2624 2006-06-30 Michael Olson <mwolson@gnu.org>
2626 * erc.texi (Modules): Mention identd.
2627 (Releases): Update mailing list address and download location.
2628 (Development): Refactor. Provide updated directions for Arch.
2629 Make URLs clickable.
2630 (Keystroke Summary): Typo fix. Use more Texinfo syntax.
2631 (Getting Started): Give simpler example. We do not need to
2632 explicitly load every module.
2635 * erc-autoaway.el, erc-join.el, erc-backend.el, erc-bbdb.el:
2636 erc-button.el, erc-chess.el, erc-compat.el, erc-hecomplete.el:
2637 erc-dcc.el, erc-ezbounce.el, erc-fill.el, erc-ibuffer.el:
2638 erc-imenu.el, erc-list.el, erc-log.el, erc-match.el, erc-menu.el:
2639 erc-networks.el, erc-netsplit.el, erc-nicklist.el:
2640 erc-services.el, erc-pcomplete.el, erc-replace.el, erc-ring.el:
2641 erc-speedbar.el, erc-spelling.el, erc-stamp.el, erc-track.el:
2642 erc.el: Remove version strings.
2644 * erc.el (erc-cmd-SMV): Remove, since we do not have meaningful
2645 module versions anymore.
2646 (erc-version-modules): Remove, since we do not use this function
2648 (erc-latest-version, erc-ediff-latest-version): Remove, since this
2649 was only useful back when ERC consisted of one file.
2650 (erc-modules): Add line for identd.
2651 (erc-get-channel-mode-from-keypress): Typo fix.
2653 * erc-imenu.el: Remove unnecessary lines in header.
2655 * erc-goodies.el (erc-handle-irc-url): Docfix.
2657 * erc-identd.el: Define an ERC module for this.
2658 (erc-identd-start): Don't create a process buffer if possible.
2659 Otherwise, use conventional hidden names for process buffers.
2661 2006-06-29 Michael Olson <mwolson@gnu.org>
2663 * erc-backend.el (erc-coding-system-for-target): Match
2664 case-insensitively. Use a pattern match instead of `assoc', as
2665 per the documentation for `erc-encoding-coding-alist'.
2667 * erc-track.el (erc-track-shorten-aggressively): Fix typo.
2669 2006-06-27 Michael Olson <mwolson@gnu.org>
2671 * erc.el: Update maintainer information and URLs.
2673 2006-06-14 Michael Olson <mwolson@gnu.org>
2675 * erc.el (erc-active-buffer): If the active buffer has been
2676 deleted, default to the server buffer.
2677 (erc-toggle-flood-control): When the user hits C-c C-f, make flood
2678 control really toggle, not unconditionally turn off.
2680 2006-06-12 Michael Olson <mwolson@gnu.org>
2682 * NEWS: Add items since the 5.1.2 release.
2684 * erc-autoaway.el (erc-autoaway-caused-away): New variable that
2685 indicates whether the current away status was caused by this
2687 (erc-autoaway-set-back): Only set back if this module set the user
2689 (erc-autoaway-set-away): Update `erc-autoaway-caused-away'.
2690 (erc-autoaway-reset-indicators): New function that resets some
2691 indicators when the user is no longer away.
2692 (autoaway): Add the above function to the 305 hook.
2694 2006-06-05 Romain Francoise <romain@orebokech.com>
2696 * erc.texi (History): Fix various typos.
2698 2006-06-04 Michael Olson <mwolson@gnu.org>
2700 * erc-autoaway.el (erc-autoaway-idle-method): Move after the
2701 definition of the autoaway module.
2702 (autoaway): Don't do anything if erc-autoaway-idle-method is
2703 unbound. This prevents an error on startup.
2705 2006-06-03 Michael Olson <mwolson@gnu.org>
2707 * erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch.
2708 (erc-autoaway-idle-method): Renamed from
2709 `erc-autoaway-use-emacs-idle'. We have more than two choices for
2710 how to do this, so it's best to make this take symbol values.
2711 Improve documentation. Remove warning against Emacs idle-time;
2712 the point is moot now that we get user idle time via a different
2713 method. Make sure we disable and re-enable the module when
2714 changing this value.
2715 (autoaway): Conditionalize on the above option. If using the idle
2716 timer or user idle methods, don't add anything to the
2717 send-completed or server-001 hooks, since it is unnecessary.
2718 (erc-autoaway-reestablish-idletimer, erc-autoaway-message):
2720 (erc-autoaway-idle-seconds): Use erc-autoaway-idle-method.
2721 (erc-autoaway-reset-idle-irc): Renamed from
2722 `erc-autoaway-reset-idle'. Don't pass line to
2723 `erc-autoaway-set-away', since it is not used.
2724 (erc-autoaway-reset-idle-user): New function that resets the idle
2725 state for user idle time.
2726 (erc-autoaway-set-back): Remove line argument, since it is not
2729 2006-06-01 Michael Olson <mwolson@gnu.org>
2731 * erc.el (erc-buffer-filter): Make sure all buffers returned from
2734 2006-05-01 Edward O'Connor <ted@oconnor.cx>
2736 * erc-goodies.el (erc-handle-irc-url): New function, suitable as
2737 a value for `url-irc-function'.
2739 2006-04-18 Diane Murray <disumu@x3y2z1.net>
2741 * erc-pcomplete.el (pcomplete-erc-nicks): Added new optional
2742 argument IGNORE-SELF. If this is non-nil, don't return the user's
2743 current nickname. Doc fix.
2744 (pcomplete/erc-mode/complete-command): Don't complete the current
2747 2006-04-05 Diane Murray <disumu@x3y2z1.net>
2749 * erc.el (erc-cmd-SV): Removed the exclamation point. Show the
2750 build date as it's shown in `emacs-version'.
2752 * erc-capab.el (erc-capab-identify-add-prefix): Insert the prefix
2753 with the same face property as the previous character.
2755 2006-04-02 Michael Olson <mwolson@gnu.org>
2757 * erc-backend.el, erc-ezbounce.el, erc-join.el, erc-netsplit.el,
2758 erc.el: Make sure to include a newline inside of negated classes,
2759 so that a newline is not matched.
2761 2006-04-01 Michael Olson <mwolson@gnu.org>
2763 * erc-backend.el (erc-server-connect-function): Don't try to
2764 detect the existence of the `open-network-stream-nowait' function,
2765 since I can't find it in Emacs21, XEmacs21, or Emacs22.
2767 2006-03-27 Michael Olson <mwolson@gnu.org>
2769 * erc.texi: Update direntry. Remove unneeded local variables.
2771 2006-03-26 Michael Olson <mwolson@gnu.org>
2773 * erc.el (erc-header-line): New face that will be used to colorize
2774 the text of the header-line, provided that
2775 `erc-header-line-face-method' is non-nil.
2776 (erc-prompt-face): Fix formatting.
2777 (erc-header-line-face-method): New option that determines the
2778 method used for colorizing header-line text. This may be a
2779 function, nil, or non-nil.
2780 (erc-update-mode-line-buffer): Use the aforementioned option and
2781 face to colorize the header-line text, if that is what the user
2783 (erc-send-input): If flood control is not activated, don't split
2786 2006-03-25 Michael Olson <mwolson@gnu.org>
2788 * erc.el (erc-cmd-QUOTE): Install patch from Aravind Gottipati
2789 that fixes the case where there is no leading whitespace. Only
2790 remove the first space character, though.
2792 * erc-identd.el (erc-identd-start): Fix a bug by making sure that
2793 erc-identd-process is set properly.
2794 (erc-identd-start, erc-identd-stop): Add autoload cookies.
2795 (erc-identd-start): Pass :host parameter so this works with Emacs
2798 2006-03-09 Diane Murray <disumu@x3y2z1.net>
2800 * erc-button.el (erc-button-keymap): Use <backtab> rather than
2801 <C-tab> for `erc-button-previous' as it is a more standard key
2802 binding for this type of function.
2804 2006-02-28 Diane Murray <disumu@x3y2z1.net>
2806 * erc-capab.el: Removed things that were accidentally committed on
2807 2006-02-20. Removed Todo section.
2808 (erc-capab-unidentified): Removed.
2810 2006-02-26 Michael Olson <mwolson@gnu.org>
2812 * erc-capab.el: Use (eval-when-compile (require 'cl)).
2813 (erc-capab-unidentified): Fix compiler warning by specifying
2816 2006-02-20 Diane Murray <disumu@x3y2z1.net>
2818 * erc-capab.el (erc-capab-send-identify-messages): Fixed comment
2819 to explain thoughts better. `erc-server-parameters' is an
2820 associated list when it's set, not a string.
2822 2006-02-19 Michael Olson <mwolson@gnu.org>
2824 * erc-capab.el (erc-capab-send-identify-messages): Make sure some
2825 parameters are strings before using them. Thanks to Alejandro
2826 Benitez for the report.
2828 * erc.el (erc-version-string): Release ERC 5.1.2.
2830 2006-02-19 Diane Murray <disumu@x3y2z1.net>
2832 * erc-button.el (erc-button-keymap): Bind `erc-button-previous' to
2834 (erc-button-previous): New function.
2836 2006-02-15 Michael Olson <mwolson@gnu.org>
2838 * NEWS: Add category for ERC 5.2.
2840 * erc.el (erc): Move to the end of the buffer when a continued
2841 session is detected. Thanks to e1f and indio for the report and
2842 testing a potential fix.
2844 2006-02-14 Michael Olson <mwolson@gnu.org>
2846 * debian/changelog: Prepare a new Debian package.
2848 * Makefile (debprepare): New rule that creates an ERC snapshot
2849 directory for use in both new Debian releases and revisions for
2851 (debrelease, debrevision-mwolson): Use debprepare.
2853 * NEWS: Bring up-to-date.
2855 * erc-stamp.el (erc-insert-timestamp-right): For now, put
2856 timestamps before rather than after erc-fill-column when
2857 erc-timestamp-right-column is nil. This way we won't surprise
2858 anyone unpleasantly, or so it is hoped.
2860 2006-02-13 Michael Olson <mwolson@gnu.org>
2862 * erc-dcc.el: Use (eval-when-compile (require 'cl)).
2864 2006-02-12 Michael Olson <mwolson@gnu.org>
2866 * erc-autoaway.el, erc-dcc.el, erc-ezbounce.el, erc-fill.el
2867 * erc-goodies.el, erc-hecomplete.el, erc-ibuffer.el, erc-identd.el
2868 * erc-imenu.el, erc-join.el, erc-lang.el, erc-list.el, erc-log.el
2869 * erc-match.el, erc-menu.el, erc-netsplit.el, erc-networks.el
2870 * erc-notify.el, erc-page.el, erc-pcomplete.el, erc-replace.el
2871 * erc-ring.el, erc-services.el, erc-sound.el, erc-speedbar.el
2872 * erc-spelling.el, erc-track.el, erc-truncate.el, erc-xdcc.el:
2873 Add 2006 to copyright years, to comply with the changed guidelines.
2875 2006-02-11 Michael Olson <mwolson@gnu.org>
2877 * erc.el (erc-update-modules): Handle erc-capab-identify
2878 correctly. Make some requirements shorter, so that it's easier to
2879 see why they are needed.
2881 * erc-capab.el: Add autoload cookie for capab-identify.
2882 (erc-capab-send-identify-messages, erc-capab-identify-activate):
2883 Minor whitespace fix in code.
2885 * erc-stamp.el (erc-timestamp-use-align-to): Renamed from
2886 `erc-timestamp-right-align-by-pixel'. Set the default based on
2887 whether we are in Emacs 22, and using X. Improve documentation.
2888 (erc-insert-aligned): Remove calculation of offset, since
2889 :align-to pos works after all. Unlike the previous solution, this
2890 one works when erc-stamp.el is compiled.
2891 (erc-insert-timestamp-right): Don't add length of string, and then
2892 later remove its displayed width. This puts timestamps after
2893 erc-fill-column when erc-timestamp-right-column is nil, rather
2894 than before it. It also fixes a subtle bug. Remove use of
2895 `current-window', since there is no variable by that name in
2896 Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
2897 `erc-fill-column' is non-nil before using it.
2899 2006-02-11 Diane Murray <disumu@x3y2z1.net>
2901 * erc-list.el: Define `list' module which sets the alias
2902 `erc-cmd-LIST' to `erc-list-channels' when enabled and
2903 `erc-list-channels-simple' when disabled.
2904 (erc-list-channels): Was `erc-cmd-LIST', renamed.
2905 (erc-list-channels-simple): New function.
2907 * erc.el (erc-modules): Added `list' to enabled modules. Changed
2908 `capab-identify' description. Moved customization options left in
2911 * erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
2913 * erc-capab.el: Put a little more detail into Usage section.
2914 (define-erc-module): Run `erc-capab-identify-setup' in all open
2915 server buffers when enabling.
2916 (erc-capab-identify-setup): Make PROC and PARSED optional
2918 (erc-capab-identify-add-prefix): Simplified nickname regexp. This
2919 should now also match nicknames that are formatted differently
2922 * erc-spelling.el (define-erc-module): Make sure there's a buffer
2923 before calling `with-current-buffer'.
2925 2006-02-10 Michael Olson <mwolson@gnu.org>
2927 * Makefile (debbuild): Split from debrelease.
2928 (debrevision-mwolson): New rule that causes a Debian revision to
2931 * erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
2933 (erc-modules): Change use of 'pcomplete to 'completion.
2935 2006-02-09 Diane Murray <disumu@x3y2z1.net>
2937 * erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
2938 * erc-capab.el: Require erc.
2939 (erc-capab-send-identify-messages): Use `erc-server-send'.
2940 (erc-capab-identify-remove/set-identified-flag): Use 1 and 0 as
2941 the flags so we can also check whether the `erc-identified' text
2942 property is there at all.
2943 (erc-capab-identify-add-prefix): Use `erc-capab-find-parsed'.
2944 This fixes a bug where the prefix wasn't inserted when timestamps
2945 are inserted on the right. Tweaked nickname regexp.
2946 (erc-capab-find-parsed): New function.
2947 (erc-capab-get-unidentified-nickname): Updated to check for 0
2948 flag. Only get nickname if there's a nickuserhost associated with
2951 * erc-capab.el: New file. Adds the new module
2952 `erc-capab-identify', which allows flagging of unidentified users
2953 on servers running an ircd based on dancer - irc.freenode.net, for
2956 * erc.el (erc-modules): Added `capab-identify' to options.
2957 (erc-get-parsed-vector, erc-get-parsed-vector-nick)
2958 (erc-get-parsed-vector-type): Moved here from erc-match.el.
2960 * erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
2961 (erc-get-parsed-vector-type): Moved these functions to erc.el
2962 since they can be useful outside of the text matching module.
2964 * NEWS: Added erc-capab.el.
2966 * erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
2969 2006-02-07 Michael Olson <mwolson@gnu.org>
2971 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
2972 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
2973 the filenames in DOS.
2975 * erc-goodies.el: Comment fix.
2977 * erc-hecomplete.el: Rename from erc-complete.el. Update
2978 commentary. Use define-erc-module so that it's possible to
2980 (erc-hecomplete): Rename function from `erc-complete'.
2981 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
2983 * erc-join.el: Rename from erc-autojoin.el.
2985 * erc-networks.el: Rename from erc-nets.el.
2987 * erc-services.el: Rename from erc-nickserv.el.
2989 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
2990 the simpler `indent-to' function when
2991 `erc-timestamp-right-align-by-pixel' is nil.
2992 (erc-insert-timestamp-right): If the timestamp goes on the
2993 following line, don't add timestamp properties to the spaces in
2996 * erc.el (erc-migrate-modules): New function that eases migration
2998 (erc-modules): Call erc-migrate-modules in the :get accessor.
2999 (erc-modules, erc-update-modules): Update for new modules names.
3000 (erc-cmd-SMV): Remove, since this does not give useful output due
3001 to the version strings being removed from ERC modules.
3003 2006-02-05 Michael Olson <mwolson@gnu.org>
3005 * erc-spelling.el (erc-spelling-init): If
3006 `erc-spelling-dictionaries' is nil, do not set
3007 ispell-local-dictionary. Before, it was being set to nil, which
3008 was causing a long delay while the ispell process restarted.
3009 (erc-spelling-unhighlight-word): New function that removes
3010 flyspell properties from a spell-checked word.
3011 (erc-spelling-flyspell-verify): Don't spell-check nicks or words
3012 that have '/' before them.
3014 2006-02-04 Michael Olson <mwolson@gnu.org>
3016 * erc-autojoin.el: Use (eval-when-compile (require 'cl)).
3018 * erc-complete.el (erc-nick-completion-exclude-myself)
3019 (erc-try-complete-nick): Use better function for getting list of
3022 * erc-goodies.el: Docfix.
3024 * erc-stamp.el: Use new arch tagline, since the other one wasn't
3025 being treated properly.
3027 * erc.el (erc-version-string): Release ERC 5.1.1.
3029 2006-02-03 Zhang Wei <id.brep@gmail.com>
3031 * erc.el (erc-version-string): Don't hard-code Emacs version.
3032 (erc-version): Use emacs-version.
3034 2006-01-31 Michael Olson <mwolson@gnu.org>
3036 * erc-stamp.el: Update copyright years.
3038 2006-01-30 Simon Josefsson <jas@extundo.com>
3040 * erc.el (erc-open-ssl-stream): Use tls.el.
3042 2006-01-30 Michael Olson <mwolson@gnu.org>
3044 * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
3045 that determines whether to use pixel values to align right
3046 timestamps. The default is not to do so, since it only works with
3047 Emacs22 on X, and even then some people have trouble.
3048 (erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
3050 2006-01-29 Michael Olson <mwolson@gnu.org>
3052 * ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
3053 ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
3054 earlier changes. Use utf-8 encoding. Fix some accent typos.
3056 * erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
3058 (erc-speedbar-goto-buffer): Fix compiler warning.
3060 * erc-ibuffer.el: Use `define-ibuffer-filter' instead of
3061 `ibuffer-define-limiter'. Use `define-ibuffer-column' instead of
3062 `ibuffer-define-column'. Require 'ibuf-ext so that the macros
3063 work without compiler warnings.
3065 * erc.texi (Obtaining ERC, Installation): Note that these
3066 sections may be skipped if using the version of ERC that comes
3069 2006-01-29 Edward O'Connor <ted@oconnor.cx>
3071 * erc-viper.el: Remove. Now that ERC is included in Emacs, these
3072 work-arounds live in Viper itself.
3074 2006-01-28 Michael Olson <mwolson@gnu.org>
3076 * erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
3079 * erc-*.el: Space out copyright years like the rest of Emacs. Use
3080 the Emacs copyright statement. Refer to ourselves as ERC rather
3081 than "Emacs IRC Client", since there are now several IRC clients
3084 * erc-compat.el (erc-emacs-build-time): Define as a variable.
3086 * erc-log.el (erc-log-setup-logging): Use write-file-functions.
3088 * erc-ibuffer.el: Require 'erc.
3090 * erc-stamp.el (erc-insert-aligned): Only use the special text
3091 property when window-system is X.
3093 * erc.texi: Adapt for inclusion in Emacs.
3095 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
3097 * erc.el (erc-format-message): More `cl' breakage; don't use
3100 2006-01-27 Michael Olson <mwolson@gnu.org>
3102 * debian/changelog: Update for new release.
3104 * debian/control (Description): Update.
3106 * debian/rules: Concatenate ChangeLog for 2005.
3108 * Makefile (MISC): Include ChangeLog.2005 and erc.texi.
3109 (debrelease, release): Copy images directory.
3111 * NEWS: Spelling fixes. Add items for recent changes.
3113 * erc.el (erc): Move call to erc-update-modules before the call to
3114 erc-mode. This should fix a timestamp display issue.
3115 (erc-version-string): Release ERC 5.1.
3117 2006-01-26 Michael Olson <mwolson@gnu.org>
3119 * erc-stamp.el (erc-insert-aligned): New function that inserts
3120 text in an perfectly-aligned way relative to the right margin. It
3121 only works well with Emacs22. A sane fallback is provided for
3122 other versions of Emacs.
3123 (erc-insert-timestamp-right): Use the new function.
3125 2006-01-25 Edward O'Connor <ted@oconnor.cx>
3127 * erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
3128 before `erc-match-mode'.
3130 * erc-match.el (match): Append `erc-match-message' to
3131 `erc-insert-modify-hook'.
3133 2006-01-25 Michael Olson <mwolson@gnu.org>
3135 * FOR-RELEASE: Mark last release requirement as done.
3137 * Makefile (realclean, distclean): Remove docs.
3139 * erc.texi: Take care of all pre-5.1 items.
3141 * erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
3142 `process-send-string' in `condition-case' to avoid an error when
3145 * erc-stamp.el (erc-insert-timestamp-right): Try to deal with
3146 variable-width characters in the timestamp and on the same line.
3147 The latter is a kludge, but it seems to work with most of the
3148 input I've thrown at it so far. It's certainly better than going
3149 past the end of line consistently when we have variable-width
3150 characters on the same line. When `erc-timestamp-intangible' is
3151 non-nil, add intangible properties to the whitespace as well, so
3152 that hitting <end> does what you'd expect.
3154 * erc.el (erc-flood-protect, erc-toggle-flood-control): Update
3155 this to only use boolean values for `erc-flood-protect'. Update
3157 (erc-cmd-QUIT): Set the active buffer to be the server buffer, so
3158 that any QUIT-related messages go there.
3159 (erc): Try to be more clever about re-using channel buffers when
3160 automatically re-connecting. Thanks to e1f for noticing.
3162 2006-01-23 Michael Olson <mwolson@gnu.org>
3164 * ChangeLog.2005: Remove erroneous line.
3166 * FOR-RELEASE: Make that the Makefile tweaking is complete.
3167 (NEWS): Mark as done.
3169 * Makefile (MANUAL): New option indicating the name of the manual.
3170 (PREFIX, ELISPDIR, INFODIR): New options that specify the
3171 directories to install lisp code and info manuals to. PREFIX is
3172 used only by ELISPDIR and INFODIR.
3173 (all): Call `lisp' and create the manual.
3174 (lisp): Compile lisp code.
3175 (%.info, %.html): New rules that make Info files and HTML files,
3176 respectively, from a TexInfo source.
3177 (doc): Create both the Info and HTML versions of the manual. This
3178 is for the user -- we never call it automatically.
3179 (install-info): Install Info files.
3180 (install-bin): Install compiled and source Lisp files.
3181 (todo): Remove, since it seems pointless.
3185 * README: Add Installation instructions. Tweak layout.
3187 * erc.texi: Work on some pre-5.1 items.
3189 * erc-stamp.el, erc-track.el: Move some functions and options in
3190 order to get rid of a few compiler warnings.
3192 * erc.el (erc-modules): Enable readonly by default. This will
3193 prevent new users from accidentally removing old messages, which
3194 could be disconcerting. Also enable stamp by default, since
3195 timestamps are a fairly standard feature among IRC clients.
3197 * erc-button.el: Munge whitespace.
3199 * erc-identd.el (erc-identd-start): Instead of throwing an error,
3200 just try to use the obsolete function.
3202 2006-01-22 Michael Olson <mwolson@gnu.org>
3204 * erc-backend.el (erc-decode-string-from-target): Make sure that
3205 we have a string as an argument. If not, coerce it to the empty
3206 string. Hopefully, this will work painlessly around an edge case
3207 related to quitting ERC around the same time a message comes in.
3209 2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
3211 * erc-track.el: Use `(eval-when-compile (require 'cl))' (for
3213 (erc-find-parsed-property): Simplify.
3214 (erc-track-get-active-buffer): Fix logic. Simplify.
3215 (erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
3217 * erc-speak.el: Doc fixes.
3218 (erc-speak-region): `propertize' --> `erc-propertize'.
3220 * erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
3223 * erc-button.el (erc-button-add-button): Take erc-fill-prefix into
3224 account when wrapping URLs.
3226 * erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
3228 * erc-backend.el (define-erc-response-handler): Doc fix.
3230 2006-01-22 Michael Olson <mwolson@gnu.org>
3232 * erc.el (erc-update-modules): Use `require' instead of `load',
3233 but prevent it from causing errors, in order to preserve the
3236 2006-01-21 Michael Olson <mwolson@gnu.org>
3238 * FOR-RELEASE (Source): Mark cl task as done.
3240 * Makefile (erc-auto.el): Call erc-generate-autoloads rather than
3242 (erc-auto.el, %.elc): Don't show command, just its output.
3244 * NEWS: Add items from 2005-01-01 to 2005-08-13.
3246 * debian/copyright (Copyright): Update.
3248 * erc-auto.in (erc-generate-autoloads): Rename from
3251 * erc.el, erc-autoaway.el, erc-backend.el: Use
3252 erc-server-process-alive instead of erc-process-alive.
3254 * erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
3255 erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
3256 erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
3257 Use (eval-when-compile (require 'cl)), so that compilation doesn't
3260 * erc-fill.el, erc-truncate.el: Whitespace munging.
3262 * erc.el: Update copyright notice. Remove eval-after-load code.
3263 (erc-with-buffer): Docfix.
3264 (erc-once-with-server-event, erc-once-with-server-event-global)
3265 (erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
3267 (erc-banlist-update): Use erc-delete-if instead of delete-if.
3268 (erc): Call `erc-update-modules' here.
3270 * erc-backend.el: Require 'erc-compat to minimize compiler
3272 (erc-decode-parsed-server-response): Docfix.
3273 (erc-server-process-alive): Move here from erc.el and rename from
3274 `erc-process-alive'.
3275 (erc-server-send, erc-remove-channel-users): Make sure process is
3276 alive before sending data to it.
3278 * erc-bbdb.el: Update copyright years.
3279 (erc-bbdb-whois): Remove overexuberant comment.
3281 * erc-button.el: Require erc-fill, since we make liberal use of
3284 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
3285 functions, the latter of which provides an `assert' equivalent.
3286 (erc-remove-if-not): New function that provides a simple
3287 implementation of `remove-if-not'.
3288 (erc-gensym): New function that provides a simple implementation
3290 (erc-delete-if): New function that provides a simple
3291 implementation of `delete-if'.
3292 (erc-member-if): New function that provides a simple
3293 implementation of `member-if'.
3294 (field-end): Remove this, since it is unused, and later versions
3295 of XEmacs have this function already.
3296 (erc-function-arglist): Moved here from erc.el.
3297 (erc-delete-dups): New compatibility function for dealing with
3299 (erc-subseq): New function copied from cl-extra.el.
3301 * erc-dcc.el: Require pcomplete during compilation to avoid
3303 (erc-unpack-int, erc-dcc-send-filter)
3304 (erc-dcc-get-filter): Use erc-assert instead of assert.
3305 (pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
3308 * erc-match.el (erc-log-matches): Fix compiler warning.
3310 * erc-nicklist.el: Update copyright notice.
3311 (erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
3312 (erc-nicklist-bitlbee-connected-p): Remove.
3313 (erc-nicklist-insert-medium-name-or-icon): Accept channel
3314 argument. Use it to determine whether we are on bitlbee. Now
3315 that bitlbee names its channel "&bitlbee", this is trivial.
3316 (erc-nicklist-insert-contents): Pass channel as specified above.
3317 Don't try to determine whether we are on bitlbee here.
3318 (erc-nicklist-channel-users-info): Use erc-remove-if-not instead
3320 (erc-nicklist-search-for-nick): Use erc-member-if instead of
3323 * erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
3324 partially-evaluated lambda expression instead of `delete' and
3327 * erc-track.el: Use erc-assert.
3328 (erc-track-modified-channels): Remove use of `return'.
3329 (erc-track-modified-channels): Use `cadr' instead of `second',
3330 since otherwise we would need yet another eval-when-compile line.
3332 2006-01-19 Michael Olson <mwolson@gnu.org>
3334 * erc-backend.el (erc-process-sentinel-1): Remove attempt to
3335 detect SIGPIPE, since it doesn't work.
3337 2006-01-10 Diane Murray <disumu@x3y2z1.net>
3339 * erc-spelling.el: Updated copyright years.
3340 (define-erc-module): Enable/disable `flyspell-mode' for all open
3341 ERC buffers as well.
3342 (erc-spelling-dictionaries): Reworded customize description.
3344 * erc.el (erc-command-symbol): New function.
3345 (erc-extract-command-from-line): Use `erc-command-symbol'. This
3346 fixes a bug where "Symbol's function definition is void:
3347 erc-cmd-LIST" would be shown after typing /list at the prompt (the
3348 command was interned because erc-menu.el uses it and is enabled by
3349 default whereas erc-list.el is not).
3351 * NEWS: Started a list of renamed variables.
3353 * erc.el: Reworded the message sent when defining variable
3355 (erc-command-indicator-face): Doc fix.
3356 (erc-modules): Enable the match module by default which makes
3357 current nickname highlighting on as the default.
3359 * erc-button.el: Updated copyright years.
3360 (erc-button): New face.
3361 (erc-button-face): Use `erc-button'.
3362 (erc-button-nickname-face): New customizable variable.
3363 (erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
3364 new argument to `erc-button-add-button'.
3365 (erc-button-add-button): Doc fix. Added new argument to function
3366 definition, NICK-P. If it's a nickname, use
3367 `erc-button-nickname-face', otherwise use `erc-button-face'. This
3368 makes channel tracking and buttons work better together when
3369 `erc-button-buttonize-nicks' is enabled, since there is a nickname
3370 on just about every line.
3372 * erc-track.el (erc-track-use-faces): Doc fix.
3373 (erc-track-faces-priority-list): Added `erc-button' to list.
3374 (erc-track-priority-faces-only): Doc fix.
3376 2006-01-09 Diane Murray <disumu@x3y2z1.net>
3378 * erc-button.el (erc-button-url-regexp): Use `concat' so the
3379 regexp is not one long line.
3380 (erc-button-alist): Fixed so that customizing works correctly.
3381 Reorganized. Removed lambda functions with more than two lines.
3383 (erc-button-describe-symbol, erc-button-beats-to-time): New
3384 functions. Moved from `erc-button-alist'.
3386 2006-01-07 Michael Olson <mwolson@gnu.org>
3388 * erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
3389 process if a SIGPIPE occurs. This happens when a new message
3390 comes in at the same time a /quit is requested.
3391 (erc-process-sentinel): Use string-match rather than string= to do
3392 these comparisons. Matching literal newlines makes me nervous.
3394 * erc-track.el (erc-track-remove-from-mode-line): Handle case
3395 where global-mode-string is not a list. Emacs22 permits this.
3397 2005-11-23 Johan Bockgård <bojohan@users.sourceforge.net>
3399 * erc.el (erc-cmd-SAY): Strip leading space in input line.
3401 2005-10-29 Michael Olson <mwolson@gnu.org>
3403 * FOR-RELEASE: Add stuff that needs to be done before the 5.1
3404 release. Longer-term items can be added to the 5.2 section.
3406 * Makefile (SITEFLAG): New variable that indicates what variant of
3407 "--site-flag" to use. XEmacs needs "-site-flag".
3408 (INSTALLINFO): New variable indicating how we should call
3409 install-info when installing documentation.
3410 (erc-auto.el, .elc.el): Use $(SITEFLAG).
3412 * NEWS: Note that last release was 5.0.4.
3414 * erc.texi: Initial and incomplete draft of ERC documentation.
3415 Commence collaborate-documentation-hack-mode :^) .
3417 2005-10-29 Diane Murray <disumu@x3y2z1.net>
3419 * erc-ring.el (erc-replace-current-command): Revert last change
3420 since it made the prompt disappear when using `erc-next-command'
3421 and `erc-previous-command'.
3423 2005-10-28 Michael Olson <mwolson@gnu.org>
3425 * erc.el (erc-input-marker): New variable that indicates the
3426 position where text from the user begins, after the prompt.
3427 (erc-mode-map): Bind <HOME> to erc-bol, just like C-a.
3428 (erc): Initialize erc-input-marker.
3429 (erc-display-prompt): Even in case where no prompt is desired by
3430 the user, clear the undo buffer and set the input marker.
3431 (erc-bol, erc-user-input): Simplify by using erc-input-marker.
3433 * erc-pcomplete.el (pcomplete-parse-erc-arguments): Use
3436 * erc-ring.el (erc-previous-command)
3437 (erc-replace-current-command): Use erc-insert-marker.
3439 * erc-spelling.el (erc-spelling-init): Make sure that even Emacs21
3440 obeys erc-spelling-flyspell-verify.
3441 (erc-spelling-flyspell-verify): Use erc-input-marker. This should
3442 make it considerably faster when switching to a buffer that has
3443 seen a lot of activity since last viewed.
3445 2005-10-25 Diane Murray <disumu@x3y2z1.net>
3447 * erc-backend.el (erc-server-version, 004): Re-added setting of
3448 `erc-server-version'. It doesn't hurt to set, and it could be
3449 used in modules or users' settings.
3451 * NEWS: Added descriptions of some new features.
3453 2005-10-20 Diane Murray <disumu@x3y2z1.net>
3455 * erc-match.el (erc-current-nick-highlight-type): Set to `keyword'
3457 (erc-beep-match-types): New variable.
3458 (erc-text-matched-hook): Doc fix. Added `erc-beep-on-match' to
3459 customization options.
3460 (erc-beep-on-match): New function. If the MATCH-TYPE is found in
3461 `erc-beep-match-types', beep.
3463 * erc-compat.el (erc-make-obsolete, erc-make-obsolete-variable):
3464 New functions to deal with the difference in the number of
3465 arguments accepted by `make-obsolete' and `make-obsolete-variable'
3466 in Emacs and XEmacs.
3468 * erc.el, erc-nets.el: Use `erc-make-obsolete' and
3469 `erc-make-obsolete-variable'.
3471 * erc-compat.el (erc-make-obsolete, erc-make-obsolete-variable):
3472 Handle `wrong-number-of-arguments' error instead of checking for
3473 xemacs feature as future versions of XEmacs might accept three
3476 2005-10-18 Edward O'Connor <ted@oconnor.cx>
3478 * erc.el: Tell emacs-lisp-mode how to font-lock define-erc-module
3481 2005-10-08 Diane Murray <disumu@x3y2z1.net>
3483 * AUTHORS, CREDITS, ChangeLog, ChangeLog.2002, ChangeLog.2004:
3484 Updated my email address.
3486 2005-10-06 Michael Olson <mwolson@gnu.org>
3488 * erc.el (erc-send-input-line, erc-cmd-KICK, erc-cmd-PART)
3489 (erc-cmd-QUIT, erc-cmd-TOPIC, erc-kill-server, erc-kill-channel):
3490 Adapt to new TARGET parameter of erc-server-send.
3492 * erc-backend.el (erc-server-connect): Don't specify encoding for
3493 erc-server-process, since we set this each time we send a line to
3495 (erc-encode-string-for-target): Remove.
3496 (erc-server-send): Allow TARGET to be specified. This was how it
3497 used to be before my more-backend work. Set encoding of server
3498 process just before sending text to it. Associate encoding with
3499 text if we are using the queue.
3500 (erc-server-send-queue): Pull encoding from queue.
3501 (erc-message, erc-send-ctcp-message, erc-send-ctcp-notice): Adapt
3502 to new TARGET parameter of erc-server-send.
3504 2005-10-05 Michael Olson <mwolson@gnu.org>
3506 * erc.el (erc-toggle-debug-irc-protocol): Use erc-view-mode-enter
3507 rather than view-mode.
3509 * erc-backend.el (erc-encode-string-for-target): If given a nil or
3510 empty string, return "".
3511 (erc-server-send-queue): XEmacs fix: Use erc-cancel-timer rather
3514 * erc-compat.el (erc-view-mode-enter): New function that is
3515 aliased to the correct way of entering view-mode.
3517 * erc-match.el (erc-log-matches-make-buffer): Use
3518 erc-view-mode-enter rather than view-mode-enter.
3520 2005-10-05 Edward O'Connor <ted@oconnor.cx>
3522 * erc-backend.el (erc-encode-string-for-target): If str is nil,
3523 pass the empty string to erc-encode-coding-string instead, which
3524 allows one to /part and /quit without providing a reason again.
3526 2005-10-03 Michael Olson <mwolson@gnu.org>
3528 * erc-backend.el (erc-message, erc-send-ctcp-message)
3529 (erc-send-ctcp-notice): Encode string for target before sending.
3531 * erc.el (erc-cmd-KICK, erc-cmd-PART, erc-cmd-QUIT, erc-cmd-TOPIC)
3532 (erc-kill-server, erc-kill-channel): Ditto.
3534 2005-09-05 Johan Bockgård <bojohan@users.sourceforge.net>
3536 * erc-page.el (erc-ctcp-query-PAGE): (message text) -> (message
3538 (erc-cmd-PAGE): Simplify regexp. Put `do-not-parse-args' t.
3540 2005-09-05 Michael Olson <mwolson@gnu.org>
3542 * erc.el (erc-flood-limit, erc-flood-limit2): Remove since they
3543 are no longer needed.
3544 (erc-send-input): Detect whether we want flood control to be
3545 active. The previous behavior was to always force the message.
3546 (erc-toggle-flood-control): Adapt to new flood control method. No
3548 (erc-cmd-SV): Use concat rather than
3550 (erc-format-target, erc-format-target-and/or-server): Shorten
3553 * erc-compat.el (erc-emacs-build-time): Use a string
3554 representation rather than trying to coerce a time out of a string
3557 * erc-identd.el (erc-identd-start): Use make-network-process
3558 instead of open-network-stream. Error out if this is not defined.
3560 * erc-backend.el (erc-send-line): New command that sends a line
3561 using flood control, using a callback for display. It isn't used
3564 2005-09-04 Michael Olson <mwolson@gnu.org>
3566 * erc.el: Add defvaralias and make-obsolete-variable for
3567 erc-default-coding-system.
3568 (channel-topic, channel-modes, channel-user-limit, channel-key,
3569 invitation, away, channel-list, bad-nick): Rename globally to
3570 erc-{name-of-variable}.
3572 2005-09-03 Johan Bockgård <bojohan@users.sourceforge.net>
3574 * erc.el (erc-message): Simplify regexp.
3575 (erc-cmd-DEOP, erc-cmd-OP): Simplify.
3577 2005-08-29 Michael Olson <mwolson@gnu.org>
3579 * erc.el: Alias erc-send-command to erc-server-send. ErBot needs
3580 this to work without modification. Add defvaralias for
3581 erc-process. Make this and the other backwards-compatibility
3582 functions and variables be marked obsolete as of ERC 5.1.
3584 * erc-backend.el: Add autoload for erc-log macro.
3585 (erc-server-connect): Set some variables before defining process
3586 handlers. It probably doesn't make any difference.
3588 2005-08-26 Michael Olson <mwolson@gnu.org>
3590 * erc.el: Add defvaralias for erc-announced-server-name, since
3591 this seems to be widely used.
3593 2005-08-17 Michael Olson <mwolson@gnu.org>
3595 * erc.el (erc): Remove unnecessary boundp check.
3597 * erc-autoaway.el: Fix compiler warning.
3599 * erc-backend.el (erc-server-version): Since this isn't used by
3600 any code, and isn't generally useful, remove it.
3601 (erc-server-send-queue): Use erc-current-time rather than
3603 (004): Don't set erc-server-version.
3605 * erc-dcc.el (erc-dcc-chat-request, erc-dcc-get-parent): Move to
3606 fix a compiler warning.
3608 * erc-ibuffer.el (erc-server): Remove unnecessary boundp check.
3610 * erc-identd.el (erc-identd-start): Use read-string instead of
3613 * erc-imenu.el (erc-unfill-notice): Use a while loop instead of
3616 * erc-nicklist.el: Add conditional dependency on erc-bbdb.
3617 (erc-nicklist-insert-contents): Tighten some regexps.
3619 * erc-notify.el (erc-notify-list): Docfix.
3621 * erc-spelling.el (erc-spelling-dictionaries): Add :type and
3622 :group to silence a compiler warning.
3624 2005-08-14 Michael Olson <mwolson@gnu.org>
3626 * erc-backend.el (erc-session-server, erc-session-port)
3627 (erc-announced-server-name, erc-server-version)
3628 (erc-server-parameters): Moved here from erc.el.
3629 (erc-server-last-peers): Moved, renamed from last-peers.
3630 (erc-server-lag): Moved, renamed from erc-lag.
3631 (erc-server-duplicates): Moved, renamed from erc-duplicates.
3632 (erc-server-duplicate-timeout): Moved, renamed from
3633 erc-duplicate-timeout.
3634 (erc-server): New customization group hosting all options from
3636 (erc-server-prevent-duplicates): Moved, renamed from
3637 erc-prevent-duplicates.
3638 (erc-server-duplicate-timeout): Moved, renamed from
3639 erc-duplicate-timeout.
3640 (erc-server-auto-reconnect, erc-split-line-length)
3641 (erc-server-coding-system, erc-encoding-coding-alist)
3642 (erc-server-connect-function, erc-server-flood-margin)
3643 (erc-server-flood-penalty): Change group to 'erc-server.
3644 (erc-server-send-ping-interval): Moved, renamed from
3646 (erc-server-ping-handler): Moved, renamed from erc-ping-handler.
3647 (erc-server-setup-periodical-server-ping): Moved, renamed from
3648 erc-setup-periodical-server-ping.
3649 (erc-server-connect): Add to docstring. Move more initialization
3651 (erc-server-processing-p): Docfix.
3652 (erc-server-connect): Use 'raw-text like in the original version.
3653 (erc-server-filter-function): Don't reset process coding system.
3655 * erc-stamp.el (erc-add-timestamp): If the text at point is
3656 invisible, don't insert a timestamp. Thanks to Pascal
3657 J. Bourguignon for the suggestion.
3659 * erc-match.el (erc-text-matched-hook): Don't hide fools by
3660 default, but include it in the available options.
3662 2005-08-13 Michael Olson <mwolson@gnu.org>
3664 * erc-*.el: s/erc-send-command/erc-server-send/g.
3665 s/erc-process/erc-server-process/g (sort of). Occasional
3666 whitespace and indentation fixes.
3668 * erc-backend.el: Specify a few local variables for indentation.
3669 Take one item off of the TODO list.
3670 (erc-server-filter-data): Renamed from erc-previous-read. From
3672 (erc-server-processing-p): New variable that indicates when we're
3673 currently processing a message. From circe.
3674 (erc-split-line-length): New option that gives the maximum line
3675 length of a single message. From circe.
3676 (erc-default-coding-system): Moved here from erc.el.
3677 (erc-split-line): Renamed from erc-split-command and taken from
3679 (erc-connect-function, erc-connect, erc-process-sentinel-1)
3680 (erc-process-sentinel, erc-flood-exceeded-p, erc-send-command)
3681 (erc-message, erc-upcase-first-word, erc-send-ctcp-message)
3682 (erc-send-ctcp-notice): Moved here from erc.el.
3683 (erc-server-filter-function): Renamed from erc-process-filter.
3685 (erc-server-process): Renamed from `erc-process' and moved here
3687 (erc-server-coding-system): Renamed from
3688 `erc-default-coding-system'.
3689 (erc-encoding-coding-alist): Moved here from erc.el.
3690 (erc-server-flood-margin, erc-server-flood-penalty):
3691 (erc-server-flood-last-message, erc-server-flood-queue):
3692 (erc-server-flood-timer): New options from circe that allow
3693 tweaking of flood control.
3694 (erc-server-connect-function): Renamed from erc-connect-function.
3695 (erc-flood-exceeded-p): Removed.
3696 (erc-coding-system-for-target)
3697 (erc-encode-string-for-target, erc-decode-string-from-target):
3698 Moved here from erc.el
3699 (erc-server-send): Renamed from erc-send-command. Adapted from
3700 the circe function by the same name.
3701 (erc-server-send-queue): New function from circe that implements
3702 handling of a flood queue.
3703 (erc-server-current-nick): Renamed from current-nick.
3704 (erc-server-quitting): Renamed from `quitting'.
3705 (erc-server-last-sent-time): Renamed from `last-sent-time'.
3706 (erc-server-last-ping-time): Renamed from `last-ping-time'.
3707 (erc-server-lines-sent): Renamed from `lines-sent'.
3708 (erc-server-auto-reconnect): Renamed from `erc-auto-reconnect'.
3709 (erc-server-coding-system): Docfix.
3710 (erc-server-connect): Renamed from `erc-connect'. Require SERVER
3711 and PORT parameters. Initialize several variables here. Don't
3712 set `erc-insert-marker'. Use a per-server coding system via
3713 erc-server-default-encoding.
3715 * erc.el (erc-version-string): Changed to indicate we are running
3716 the `more-backend' branch.
3717 (erc-send-single-line): Implement flood control using
3719 (erc-send-input): Move functionality of erc-send-single-line in
3721 (erc-send-single-line): Assimilated!
3722 (erc-display-command, erc-display-msg): Handle display hooks.
3723 (erc-auto-reconnect, current-nick, last-sent-time)
3724 (last-ping-time, last-ctcp-time, erc-lines-sent, erc-bytes-sent)
3725 (quitting): Moved to erc-backend.el.
3726 (erc): Docfix. Don't initialize quite so many things here.
3728 2005-08-10 Michael Olson <mwolson@gnu.org>
3730 * debian/copyright (Copyright): Remove notices for 4 people, since
3731 they didn't contribute legally-significant changes, or have had
3732 these changes overwritten.
3734 * erc-log.el: Remove copyright notice.
3736 * erc.el: Remove 3 copyright notices.
3738 2005-08-09 Michael Olson <mwolson@gnu.org>
3740 * debian/changelog: Create 5.0.4-3 package. This doesn't serve
3741 any purpose other than to thank Romain Francoise for some advice.
3743 * Makefile (debrelease): Allow last upload and extra build options
3746 2005-08-08 Michael Olson <mwolson@gnu.org>
3748 * debian/changelog: Create 5.0.4-2 package.
3750 * debian/control (Uploaders): Add Romain Francoise.
3751 (Standards-Version): Update to 3.6.2.
3752 (Depends): Add `emacsen'.
3754 * debian/scripts/startup.erc (load-path): Minor whitespace fixup.
3756 * Makefile (clean): Split target from realclean and make it remove
3757 files that aren't packaged in releases.
3758 (clean, release): Minor cleanups.
3759 (debrelease): Use debuild rather than dpkg-buildpackage since the
3760 former calls lintian. Minor cleanups.
3761 (debrelease-mwolson): New target that removes old Debian packages,
3762 calls debrelease, and copies the resulting package to my dist dir.
3763 (upload): New target that automates the process of uploading an
3764 ERC release to sourceforge.
3766 * erc.el (erc-mode): Use `make-local-variable' instead of
3767 `make-variable-buffer-local'.
3769 2005-07-12 Michael Olson <mwolson@gnu.org>
3771 * debian/changelog: Build 5.0.4-1.
3773 * Makefile (release): Prepare zip file in addition to tarball.
3775 * NEWS: Add item for the undo fix.
3777 2005-07-09 Michael Olson <mwolson@gnu.org>
3779 * erc-nicklist.el (erc-nicklist-insert-contents): Check
3780 erc-announced-name before erc-session-server. Make sure that we
3781 can never get a stringp (nil) error.
3782 (erc-nicklist-call-erc-command): If given no command, do nothing.
3783 This fixes an error that used to occur when a stray mouse click
3784 was made outside of the popup window, but on the erc-nicklist
3787 * erc-bbdb.el (erc-bbdb-search-name-and-create): Get rid of the
3788 infinite input loop when you want to create a new record. Replace
3789 most of that with a completing read of existing nicks. If no nick
3790 is chosen, create a new John Doe record. The net effect of this
3791 is that the old behavior is re-instated, with the addition of one
3792 completing read that happens when you do a /whois.
3794 2005-07-09 Johan Bockgård <bojohan@users.sourceforge.net>
3796 * erc.el (erc-process-input-line): Docfix.
3797 (erc-update-mode-line-buffer): Use `erc-propertize' instead of
3799 (erc-propertize): Move to erc-compat.el.
3801 * erc-compat.el (erc-propertize): Move here from erc.el. Always
3802 return a copy of the string (like `propertize' in GNU Emacs).
3804 * erc-nicklist.el (erc-nicklist-icons-directory)
3805 (erc-nicklist-voiced-position)
3806 (erc-nicklist-insert-medium-name-or-icon): Docfix.
3807 (erc-nicklist-insert-contents): Simplify.
3808 (erc-nicklist-mode-map): Bind RET instead of `return'. Bind
3809 `down-mouse-3' instead of `mouse-3'.
3810 (erc-nicklist-kbd-cmd-QUERY): Cleanup regexp.
3811 (erc-nicklist-channel-users-info): Docfix. Simplify.
3813 2005-07-02 Michael Olson <mwolson@gnu.org>
3815 * images: New directory containing the images that are used by
3816 erc-nicklist.el. These are from Gaim, and are thought to be
3817 available under the terms of the GPL.
3819 * erc-bbdb.el: Add local variables section to preserve tabs, since
3820 that is the style used throughout this file. Apply patch from
3821 Edgar Gonçalves as follows.
3822 (erc-bbdb-bitlbee-name-field): New variable that indicates the
3823 field name to use for annotating the "displayed name" of a bitlbee
3825 (erc-bbdb-irc-highlight-field): Docfix.
3826 (erc-bbdb-search-name-and-create): Prompt the user for the name of
3827 a contact if none was found. Merge the new entries into the
3828 specified contact. If new arg SILENT is non-nil, do not prompt
3829 the user for a name or offer to merge the new entry.
3830 (erc-bbdb-insinuate-and-show-entry): New arg SILENT is accepted,
3831 which is passed on to erc-bbdb-search-name-and-create.
3832 (erc-bbdb-whois): Tell erc-bbdb-search-name-and-create to prompt
3833 for name if necessary.
3834 (erc-bbdb-JOIN, erb-bbdb-NICK): Forbid
3835 erc-bbdb-search-name-and-create from prompting for a name.
3837 * erc-nicklist.el: Add local variables section to preserve tabs,
3838 since that is the style used throughout this file. Apply patch
3839 from Edgar Gonçalves as follows.
3840 (erc-nicklist-use-icons): New option; if non-nil, display an icon
3841 instead of the name of the chat medium.
3842 (erc-nicklist-icons-directory): New option indicating the path to
3843 the PNG files that are used for chat icons.
3844 (erc-nicklist-use-icons): New option indicating whether to put
3845 voiced nicks on top, bottom, or not to differentiate them. The
3846 default is to put them on the bottom.
3847 (erc-nicklist-bitlbee-connected-p): New variable that indicates
3848 whether or not we are currently using bitlbee. An attempt will be
3849 made to auto-detect the proper value. This is bound in the
3850 `erc-nicklist-insert-contents' function.
3851 (erc-nicklist-nicklist-images-alist): New variable that maps a
3852 host type to its icon. This is set by `erc-nicklist'.
3853 (erc-nicklist-insert-medium-name-or-icon): New function that
3854 inserts an icon or string that identifies the current host type.
3855 (erc-nicklist-search-for-nick): New function that attempts to find
3856 a BBDB record that corresponds with this contact given its
3857 finger-host. If found, return its bitlbee-nick field.
3858 (erc-nicklist-insert-contents): New function that inserts the
3859 contents of the nick list, including text properties and images.
3860 (erc-nicklist): Populate `erc-nicklist-images-alist'. Move
3861 nicklist content generation code to
3862 `erc-nicklist-insert-contents'.
3863 (erc-nicklist-mode-map): Map C-j to erc-nicklist-kbd-menu and RET
3864 to erc-nicklist-kbd-cmd-QUERY.
3865 (erc-nicklist-call-erc-command): Make use of
3866 `switch-to-buffer-other-window'.
3867 (erc-nicklist-cmd-QUERY): New function that opens a query buffer
3868 for the given contact.
3869 (erc-nicklist-kbd-cmd-QUERY): Ditto; contains most of the code.
3870 (erc-nicklist-kbd-menu): New function that shows the nicklist
3872 (erc-nicklist-channel-users-info): Renamed from
3873 `erc-nicklist-channel-nicks'. Implement sorting voiced users.
3875 2005-06-29 Johan Bockgård <bojohan+sf@dd.chalmers.se>
3877 * erc-nickserv.el (erc-nickserv-alist): Fix regexp for Azzurra.
3879 2005-06-26 Michael Olson <mwolson@gnu.org>
3881 * erc-autojoin.el (erc-autojoin-add, erc-autojoin-remove): Use
3882 `erc-session-server' if `erc-announced-server-name' is nil. This
3883 happens when servers don't send a 004 message.
3885 * erc.el (erc-quit-server): Ditto.
3887 * erc-ibuffer.el (erc-server, erc-server-name): Ditto.
3889 * erc-notify.el (erc-notify-JOIN, erc-notify-NICK)
3890 (erc-notify-QUIT): Ditto.
3892 2005-06-24 Johan Bockgård <bojohan+sf@dd.chalmers.se>
3894 * erc.el (erc-default-coding-system)
3895 (erc-handle-user-status-change): Docstring fix.
3896 (with-erc-channel-buffer): Removed.
3897 (erc-ignored-reply-p): Replace `with-erc-channel-buffer' with
3899 (erc-display-line-1): Fix broken undo.
3901 2005-06-23 Michael Olson <mwolson@gnu.org>
3903 * CREDITS: Add entries for Luigi Panzeri and Andreas Schwab.
3905 * erc-nickserv.el (erc-nickserv-alist): Add entries for Azzurra
3906 and OFTC. Thanks to Luigi Panzeri and Andreas Schwab for
3909 2005-06-16 Michael Olson <mwolson@gnu.org>
3911 * CREDITS: Add John Paul Wallington.
3913 * erc.el: Thanks to John Paul Wallington for the following.
3914 (erc-nickname-in-use): Use `string-to-number' instead of
3917 * erc-dcc.el (erc-dcc-handle-ctcp-send)
3918 (erc-dcc-handle-ctcp-chat, erc-dcc-get-file)
3919 (erc-dcc-chat-accept): Ditto.
3921 * erc-identd.el (erc-identd-start): Ditto.
3923 2005-06-16 Johan Bockgård <bojohan+sf@dd.chalmers.se>
3925 * erc.el (erc-mode-map): Suppress `font-lock-fontify-block' key
3926 binding since it destroys face properties.
3928 2005-06-08 Michael Olson <mwolson@gnu.org>
3930 * erc.el (erc-cmd-UNIGNORE): Use `erc-member-ignore-case' instead
3931 of `member-ignore-case'. Thanks to bpalmer for the heads up.
3933 2005-06-06 Michael Olson <mwolson@gnu.org>
3935 * erc.el (erc-modules): Fix a mistake I made when editing this a
3936 few days ago. Modes should now be disabled properly.
3937 (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Remove unnecessary call to
3938 `format'. Thanks to Andreas Schwab for reporting this.
3940 * debian/changelog: Close "README file missing" bug.
3942 * debian/rules (binary-erc): Install README file.
3944 2005-06-03 Michael Olson <mwolson@gnu.org>
3946 * erc.el (erc-with-buffer): Set `lisp-indent-function' so Emacs
3947 Lisp mode knows how to indent erc-with-buffer blocks.
3948 (with-erc-channel-buffer): Ditto.
3949 (erc-with-all-buffers-of-server): Ditto.
3950 (erc-modules): Use pcomplete by default, not completion, since
3951 erc-complete.el is deprecated. Use `fboundp' instead of
3952 `symbol-value' to check for existence of a function before calling
3953 it. This was causing an error when untoggling the `completion'
3954 option and trying to save via the customize interface.
3956 * erc-track.el (erc-modified-channels-update): If a buffer is not
3957 currently connected, remove it from the modified channels list.
3958 This should fix the problem where residue was left on the mode
3959 line after quitting ERC.
3961 * erc-list.el (erc-prettify-channel-list): Docfix; thanks to John
3962 Paul Wallington for reporting this.
3964 2005-05-31 Michael Olson <mwolson@gnu.org>
3966 * debian/changelog: First draft of entries for the 5.0.3 release.
3968 * debian/README.Debian: Note that ERC will now install correctly
3969 on versions of Emacs or XEmacs that do not have the `format-spec'
3970 library. Correct some grammar and prune the content a bit.
3972 * debian/scripts/install (emacs20): Remove line since we no longer
3973 need to deal with format-spec.el.
3975 * NEWS: Add entries for the upcoming 5.0.3 release.
3977 * erc.el: Don't require format-spec since this is provided in
3979 (erc-process-sentinel, erc-setup-periodical-server-ping): Use
3980 `erc-cancel-timer' instead of `cancel-timer'.
3981 (erc-version-string): Update to 5.0.3.
3983 * erc-autoaway.el (autoaway, erc-autoaway-reestablish-idletimer):
3984 Use `erc-cancel-timer' instead of `cancel-timer'.
3986 * erc-compat.el (format-spec, format-spec-make): If we cannot load
3987 the `format-spec' library, provide versions of these functions.
3988 This should keep problems from surfacing with Emacs21 Debian
3990 (erc-cancel-timer): New function created to take the place of
3991 `cancel-timer' since XEmacs calls it something else.
3993 * erc-track.el (erc-modified-channels-update): Accept any number
3994 of arguments, which are ignored. This allows it to be run from
3995 `erc-disconnected-hook' without extra bother.
3996 (track): Add `erc-modified-channels-update' to
3997 `erc-disconnected-hook' so that the indicators are removed
3998 correctly in some edge cases.
3999 (erc-modified-channels-display): Make sure that we never pass nil
4000 to the function in `erc-track-shorten-function'. This happens
4001 when we have deleted buffers in `erc-modified-channels-alist'.
4002 Also, make sure that the buffer has a non-nil short-name before
4003 adding it to the string list. This should fix some XEmacs
4004 warnings when running /quit with unchecked buffers, as well as get
4005 rid of a stray buffer problem (or so it is hoped).
4007 2005-05-31 Johan Bockgård <bojohan+sf@dd.chalmers.se>
4009 * erc-replace.el, erc-speak.el: Clean up comment formatting.
4011 * erc-ring.el (ring, erc-input-ring-index, erc-clear-input-ring):
4012 Clean up docstring formatting.
4014 2005-05-30 Johan Bockgård <bojohan+sf@dd.chalmers.se>
4016 * erc.el (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Delete superfluous
4018 (erc-load-irc-script): Use `insert-file-contents' instead of
4019 `insert-file'. Simplify.
4021 2005-05-29 Michael Olson <mwolson@gnu.org>
4023 * erc.el (erc-version-string): Move this up so that it is
4024 evaluated before the `require' statements. Not a major change.
4026 2005-04-27 Johan Bockgård <bojohan+sf@dd.chalmers.se>
4028 * erc.el (erc-complete-word): Simplify.
4030 2005-04-27 Michael Olson <mwolson@gnu.org>
4032 * Makefile (debrelease): Use a slightly different approach when
4033 removing CVS and Arch cruft.
4035 * debian/changelog: Update for 5.0.2-1 package.
4037 2005-04-25 Michael Olson <mwolson@gnu.org>
4039 * erc-autoaway.el (erc-autoaway-reestablish-idletimer): Move code
4040 block higher in file to fix a load failure when using Emacs21.
4041 Thanks to Daniel Brockman for the report and fix.
4043 2005-04-24 Adrian Aichner <adrian@xemacs.org>
4045 * erc-backend.el (JOIN): save-excursion so that
4046 `erc-current-logfile' inserts into the correct channel buffers
4047 when using erc-log-insert-log-on-open in combination with autojoin
4048 to multiple channels.
4050 2005-04-17 Adrian Aichner <adrian@xemacs.org>
4052 * erc-log.el: Remove stray whitespace.
4055 2005-04-09 Aidan Kehoe <kehoea@parhasard.net>
4057 * erc.el: autoload erc-select-read-args, which, because it parses
4058 erc-select's args, can be called before erc.el is loaded.
4060 2005-04-07 Edward O'Connor <ted@oconnor.cx>
4062 * erc-viper.el: Remove final newlines from previously-existing ERC
4063 buffers. (Minor bug fix.)
4065 2005-04-06 Michael Olson <mwolson@gnu.org>
4067 * Makefile (debrelease): Ignore errors from deleting Arch and CVS
4070 2005-04-05 Michael Olson <mwolson@gnu.org>
4072 * ChangeLog, CREDITS, AUTHORS: Correct name and email address of
4075 2005-04-04 Michael Olson <mwolson@gnu.org>
4077 * erc.el (erc-modules): Add entry for spelling module.
4079 * erc-spelling.el: Add autoload line.
4081 * erc-backend.el: Apply latest non-ascii patch from Kai Fan.
4082 (erc-decode-parsed-server-response): Search
4083 erc-response.command-args for channel name. Decode the
4084 erc-response struct using this channel name as key according to
4085 the `erc-encoding-coding-alist'.
4087 * erc-track.el: Apply patch from Henrik Enberg.
4088 (erc-modified-channels-object): Use optimal amount of whitespace
4089 around modified channels indicator.
4091 2005-04-02 Johan Bockgård <bojohan+sf@dd.chalmers.se>
4093 * erc.el (define-erc-module, erc-with-buffer)
4094 (erc-with-all-buffers-of-server, with-erc-channel-buffer): Add
4097 * erc-compat.el (erc-define-minor-mode): Ditto.
4099 2005-03-29 Jorgen Schaefer <forcer@forcix.cx>
4101 * erc-spelling.el: New file.
4103 2005-03-24 Johan Bockgård <bojohan+sf@dd.chalmers.se>
4105 * erc-backend.el (define-erc-response-handler): Add
4106 `definition-name' property to constructed symbols so that
4107 find-function and find-variable will find them.
4109 2005-03-21 Michael Olson <mwolson@gnu.org>
4111 * erc-dcc.el, erc-goodies.el, erc-list.el, erc-notify.el,
4112 erc-ring.el, erc.el: Copyright assignment occurred.
4114 * debian/scripts/install: Make a shell wrapper around the original
4115 Makefile and inline the Makefile. The problem is that Debian
4116 passes all the Emacs variants at once, rotating them at every
4117 invocation of the install script, which happens once per variant.
4118 This caused each installation to happen N-1 times more often than
4119 it should have. As a result, we need to only deal with the first
4121 (ELFILES): Only add format-spec.el if we are compiling for
4122 emacs21. Don't filter out erc-compat.el.
4123 (SITEFLAG): New variable that indicates that the "nosite" option
4125 (.DEFAULT): Use $(FLAVOUR) instead of $@ for clarity.
4127 * debian/rules: Install NEWS file and compress it.
4129 * debian/maint/postinst: Be more cautious about configuration
4132 * debian/copyright (Copyright): Another assignment came in.
4134 * debian/control (Standards-Version): Update to a newer version as
4135 recommended by lintian.
4137 * debian/changelog: Changes made for the Debian package.
4139 * debian/README.Debian: Keep only the General Notes section.
4141 * NEWS: Move old history items here from debian/README.Debian.
4143 * Makefile (SNAPSHOTDATE): Deprecate this option since we hope to
4146 2005-03-20 Jorgen Schaefer <forcer@users.sourceforge.net>
4148 * erc.el (erc-define-catalog, `ctcp-request-to'): Fix typo (%: ->
4151 2005-03-01 Michael Olson <mwolson@gnu.org>
4153 * erc-log.el (erc-save-buffer-in-logs): Replace tabs with spaces
4154 in code indentation.
4156 2005-02-28 Michael Olson <mwolson@gnu.org>
4158 * erc.el (erc-display-message): Apply corrected patch from Henrik
4161 2005-02-27 Michael Olson <mwolson@gnu.org>
4163 * erc.el (erc-display-message): Apply patch from Henrik Enberg.
4164 Check here to see if a message should be hidden, rather than
4165 relying on code in each individual command.
4166 (erc-version-string): Add "(CVS)" to the version string for
4169 * erc-backend.el (JOIN, KICK, MODE, NICK, PART, QUIT, TOPIC):
4170 Don't check `erc-hide-list' here.
4172 * erc-list.el, erc-match.el, erc.el, debian/copyright: Update
4173 copyright information as a few more people have assignments
4176 2005-02-06 Michael Olson <mwolson@gnu.org>
4178 * erc-backend.el: Apply patch from Kai Fan for non-ASCII character
4180 (erc-parse-server-response): Add call to
4181 `erc-decode-parsed-server-response'.
4182 (erc-decode-parsed-server-response): New function that decodes a
4183 pre-parsed server response before it can be handled.
4184 (PRIVMSG): Comment out call to `erc-decode-string-from-target'.
4187 2005-02-01 Jorgen Schaefer <forcer@users.sourceforge.net>
4189 * erc.el (erc-process-sentinel-1): Don't reconnect on connection
4190 refused. This error is reported differently when using
4191 open-network-stream-nowait.
4193 2005-01-26 Diane Murray <disumu@x3y2z1.net>
4195 * erc.el (erc-cmd-APPENDTOPIC, erc-set-topic): The control
4196 character in `channel-topic' was changed to \C-o - replaced \C-c
4197 with \C-o so that these functions work as expected again.
4198 (erc-get-channel-mode-from-keypress): Doc fix.
4200 2005-01-25 Diane Murray <disumu@x3y2z1.net>
4202 * erc.el, erc-button.el, erc-compat.el, erc-goodies.el,
4203 erc-match.el, erc-nets.el, ChangeLog, NEWS: Merged bug fixes made
4204 on release_5_0_branch since 5.0.1 release.
4206 2005-01-24 Johan Bockgård <bojohan+sf@dd.chalmers.se>
4208 * erc.el (erc-input-action): Quote `erc-action-history-list' so
4209 that input history actually works.
4210 (erc-process-ctcp-query): Fix and simplify logic.
4211 (erc-get-channel-mode-from-keypress): Use `C-' string syntax.
4212 (erc-load-irc-script-lines): Use `erc-command-indicator' instead
4215 2005-01-23 Edward O'Connor <ted@oconnor.cx>
4217 * erc-viper.el: Ensure that `viper-comint-mode-hook' runs in
4218 buffers whose `erc-mode-hook' has already run when this file is
4220 Explicitly `require' erc.el.
4222 2005-01-22 Edward O'Connor <ted@oconnor.cx>
4224 * erc.el (erc-mode): Remove frobbing of `require-final-newline'.
4226 * erc-log.el (erc-save-buffer-in-logs): Remove frobbing of
4227 `require-final-newline'.
4229 * erc-viper.el: New file. This is where all ERC/Viper
4230 compatibility code should live. When and if ERC is bundled with
4231 Emacs, some of the hacks in this file should be merged into Viper
4234 2005-01-21 Edward O'Connor <ted@oconnor.cx>
4236 * erc.el (erc-mode): Set `require-final-newline' to nil in ERC
4237 buffers. This prevents a Viper misfeature whereby extraneous
4238 newlines are inserted into the ERC buffer when switching between
4241 * erc-log.el (erc-save-buffer-in-logs): Bind `require-final-newline'
4242 to t when calling `write-region' to ensure that further log
4243 entries start on fresh lines.
4245 2005-01-21 Diane Murray <disumu@x3y2z1.net>
4247 * erc-button.el (erc-button-add-face): Reverted my change to the
4248 order faces since it had the unwanted effect of putting the button
4249 face after all others.
4250 (erc-button-face-has-priority): Removed this variable as it is not
4251 necessary anymore - it was used to compensate for the above
4254 * NEWS: Added the latest fixes.
4256 2005-01-20 Diane Murray <disumu@x3y2z1.net>
4258 * erc-button.el, erc-match.el:
4259 (erc-button-syntax-table, erc-match-syntax-table): Added \ as a
4260 legal character for nicknames.
4262 * erc-nets.el (erc-server-select): Fixed so that only networks
4263 with servers found in `erc-server-alist' are available as choices.
4265 * erc.el, erc-compat.el, erc-goodies.el:
4266 (erc-replace-match-subexpression-in-string): New function. Needed
4267 because `replace-match' in XEmacs doesn't replace regular
4268 expression subexpressions in strings, only in buffers.
4269 (erc-seconds-to-string, erc-controls-interpret): Use the new
4272 * erc-button.el (erc-button-add-button): Use the `:button-face'
4273 key combined with an `erc-mode' local `widget-button-face' set to
4274 nil to get the widget overlay face suppressed in XEmacs.
4276 2005-01-19 Francis Litterio <franl@world.std.com>
4278 * erc-button.el (erc-button-add-face): The face added by this
4279 function is more important than the existing text's face, so we
4280 now prepend erc-button-face to the list of existing faces when
4281 adding a button. To instead append erc-button-face to existing
4282 faces, set variable `erc-button-face-has-priority' to nil.
4283 (erc-button-face-has-priority): New variable to control how
4284 erc-button-add-face adds erc-button-face to existing faces.
4285 (erc-button-press-button): Silenced a byte-compiler warning about
4286 too few arguments in a call to `error'.
4288 2005-01-19 Diane Murray <disumu@x3y2z1.net>
4290 * NEWS: Added list of 5.0.1 fixes.
4292 2005-01-19 Michael Olson <mwolson@gnu.org>
4294 * AUTHORS: Move to format that cscvs can understand. As an added
4295 perk, entries line up nicer.
4297 * erc.el, erc-fill.el, erc-pcomplete.el, debian/copyright: Merge a
4298 few more copyright lines thanks to Alex Schroeder's BBDB file.
4300 * Makefile: Change version to correspond with our new scheme.
4302 2005-01-18 Diane Murray <disumu@x3y2z1.net>
4304 * erc-list.el (erc-chanlist-channel-line-regexp): Now matches
4305 private channels, the channels `#' and `&', and channels with
4306 names including non-ascii characters.
4307 (erc-chanlist-join-channel): Don't attempt to join private
4308 channels since the channel name is unknown.
4310 * erc-goodies.el (erc-make-read-only): Add `rear-nonsticky'
4311 property to avoid `Text is read-only' errors during connection.
4312 `front-nonsticky' does not exist, changed to `front-sticky'.
4313 (erc-controls-interpret, erc-controls-strip): Just work on the
4314 string, don't open a temporary buffer.
4315 (erc-controls-propertize): Now accepts optional argument STR.
4317 2005-01-17 Michael Olson <mwolson@gnu.org>
4319 * Makefile: Version is 5.01, but only in the Makefile. It has not
4322 * erc-auto.in, erc-autojoin.el, erc-bbdb.el, erc-button.el,
4323 erc-chess.el, erc-complete.el, erc-dcc.el, erc-fill.el,
4324 erc-goodies.el, erc-ibuffer.el, erc-identd.el, erc-imenu.el,
4325 erc-list.el, erc-match.el, erc-menu.el, erc-nets.el,
4326 erc-netsplit.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el,
4327 erc-ring.el, erc-speak.el, erc-speedbar.el, erc-stamp.el,
4328 erc-track.el, erc-xdcc.el, erc.el, debian/copyright: Update
4329 copyright notices. If anyone has signed papers for Emacs in
4330 general, merge them with the FSF's entry.
4332 2005-01-16 Diane Murray <disumu@x3y2z1.net>
4334 * erc.el (erc): `erc-set-active-buffer' was being called before
4335 `erc-process' was set, so that channels weren't being marked
4336 active correctly upon join; fixed.
4338 2005-01-15 Johan Bockgård <bojohan+sf@dd.chalmers.se>
4340 * erc-backend.el (def-edebug-spec): This macro caused problems (in
4341 XEmacs). Use its expansion directly.
4343 2005-01-15 Diane Murray <disumu@x3y2z1.net>
4345 * erc-button.el (erc-button-add-button): Reverted previous change
4346 since `:suppress-face' doesn't seem to be checked for a certain
4348 (erc-button-add-face): FACE is now appended to the `old' face.
4349 This should fix the problem of faces being "covered" by
4352 2005-01-14 Diane Murray <disumu@x3y2z1.net>
4354 * erc.el, erc-backend.el (erc-cmd-OPS, erc-cmd-COUNTRY,
4355 erc-cmd-NICK, erc-process-ctcp-query, ERROR, PONG, 311, 312, 313,
4356 314, 317, 319, 320, 321, 322, 330, 352): Use catalog entries
4357 instead of hard-coded text messages.
4358 (english): Added new catalog entries `country', `country-unknown',
4359 `ctcp-empty', `ctcp-request-to', `ctcp-too-many', `nick-too-long',
4360 `ops', `ops-none', `ERROR', `PONG', `s311', `s312', `s313',
4361 `s314', `s317', `s317-on-since', `s319', `s320', `s321', `s322',
4363 (erc-send-current-line): Use `erc-set-active-buffer' (change was
4364 lost in previous bug fix).
4366 2005-01-14 Francis Litterio <franl@world.std.com>
4368 * erc-button.el (erc-button-add-button): Fixed a bug where the
4369 overlay created by widget-convert-button has a `face' property
4370 that hides the `face' property set on the underlying button text.
4372 * erc-goodies.el: Docstring fix.
4374 * erc-button.el: Improved docstring for variable erc-button-face.
4376 2005-01-13 Diane Murray <disumu@x3y2z1.net>
4378 * erc-menu.el (erc-menu-definition): "Topic set by channel
4379 operator": Small word change. "Identify to NickServ...": Check
4380 that we're connected to the server. Added "Save buffer in log"
4381 and "Truncate buffer".
4383 2005-01-13 Lawrence Mitchell <wence@gmx.li>
4385 * erc.el (erc-display-line-1): Widen before we try to insert
4386 anything, this makes sure input isn't broken when the buffer is
4387 narrowed by the user.
4388 (erc-beg-of-input-line): Simplify, just return the position of
4389 `erc-insert-marker' or error if does not exist.
4390 (erc-send-current-line): Widen before trying to send anything.
4392 2005-01-13 Diane Murray <disumu@x3y2z1.net>
4394 * erc.el, erc-backend.el, erc-list.el:
4395 (erc-update-mode-line-buffer): Strip controls characters from
4396 `channel-topic' since we add our own control character to it.
4397 (TOPIC, 332): Use \C-o instead of \C-c to force an end of IRC
4398 control characters as it also ends bold, underline, and inverse -
4399 \C-c only ends colors.
4400 (erc-chanlist-322): Strip control characters from channel and
4401 topic. No need to interpret controls when we're applying overlays
4404 * erc.el, erc-backend.el, erc-button.el, erc-netsplit.el,
4405 erc-nicklist.el: Fixed so that each server has an active buffer.
4406 (erc-active-buffer): Now a buffer-local variable.
4407 (erc-active-buffer, erc-set-active-buffer): New functions.
4408 (erc-display-line, erc-echo-notice-in-active-non-server-buffer,
4409 erc-process-away, MODE): Call `erc-active-buffer' to get the
4410 active buffer for the current server.
4411 (erc, erc-process-sentinel-1, erc-grab-region, erc-input-action,
4412 erc-send-current-line, erc-invite-only-mode,
4413 erc-toggle-channel-mode, erc-channel-names, MODE, erc-nick-popup,
4414 erc-nicklist-call-erc-command): Use `erc-set-active-buffer' to set
4415 the active buffer for the current server.
4416 (erc-cmd-WHOLEFT): Use 'active as BUFFER in `erc-display-message'.
4418 * erc-track.el (erc-track-modified-channels): Server buffers are
4419 now treated the same as channels and queries. This means that
4420 `erc-track-priority-faces-only', `erc-track-exclude', and
4421 `erc-track-exclude-types' now work with server buffers.
4423 2005-01-12 Diane Murray <disumu@x3y2z1.net>
4425 * erc-backend.el (475): Prompt for the channel's key if
4426 `erc-prompt-for-channel-key' is non-nil. Send a new JOIN message
4427 with the key if a key is provided.
4429 * erc.el (erc-command-indicator): Fixed customization choices so
4430 that there's no `mismatch' message when nil is the value.
4432 2005-01-11 Michael Olson <mwolson@gnu.org>
4434 * erc-bbdb.el (bbdb): Lowercase the name of the module. This
4435 fixes a bug which caused an error to occur when trying to enable
4436 the module using the customization interface.
4438 2005-01-08 Edward O'Connor <ted@oconnor.cx>
4440 * erc-track.el: Support using faces to indicate channel activity
4441 in the modeline under XEmacs.
4442 (erc-modified-channels-object): New function.
4443 (erc-modified-channels-display): Use it.
4444 `erc-modified-channels-string' renamed to
4445 `erc-modified-channels-object' (because it's no longer a string on
4446 XEmacs). The new function `erc-modified-channels-object' is used
4447 to generate updated values for the same-named variable.
4449 2005-01-08 Diane Murray <disumu@x3y2z1.net>
4451 * ChangeLog.2002: Changed instances of my sourceforge username and
4452 email address to real name and email.
4454 * erc.el (erc-modules): Changed customization tag descriptions, so
4455 that they all start with a verb; added new modules to choices.
4457 2005-01-08 Mario Lang <mlang@delysid.org>
4459 * debian/rules: Introduce new variable DOCDIR to simplify stuff a
4462 2005-01-08 Michael Olson <mwolson@gnu.org>
4464 * AUTHORS, ChangeLog.2004: Change bpalmer's email address as
4467 * CREDITS: Add everyone who is mentioned in the ChangeLogs.
4469 * debian/copyright (Copyright): Add last few people. This can now
4470 be considered a complete list, as far as CVS entries are
4471 concerned. If people have assigned copyright to the FSF, merge
4472 them with the entry for the FSF.
4474 * debian/README.Debian: Add entry for XEmacs-related change in
4477 * erc.el (erc-cmd-MODE): New command that changes or displays the
4478 mode for a channel or user. The functionality was present before
4479 this change, but there was no documentation for it.
4481 * erc-auto.in, erc-*.el: Fully investigate copyright headers and
4482 change them appropriately. If a file has been pulled off of
4483 erc.el at one time, keep track of copyright from the time of
4484 separation, but not before. If a file has been derived from a
4485 work outside of erc, keep copyright statements in place.
4487 * Makefile (VERSION): Change to 5.0! :^) Congrats on all the great
4488 work. I'll wait until hober commits his XEmacs compatibility
4489 patch to erc-track.el, and then release.
4490 (distclean): Alias for `realclean' target.
4492 2005-01-07 Michael Olson <mwolson@gnu.org>
4494 * AUTHORS: Add Marcelo Toledo, who has CVS access to this project.
4496 * ChangeLog.2004: Add my name to my one contribution to erc last
4499 * CREDITS: Add people that were discovered while scouring
4502 * debian/copyright: Add everyone from `AUTHORS' to Upstream
4503 Authors. Anyone who has contributed 15 or more lines of
4504 code (according to ChangeLogs) is listed in Copyright section.
4505 Accurate years are included.
4507 * debian/README.Debian: Paste content of NEWS and reformat
4510 * debian/rules: Concatenate the ChangeLogs during the Debian
4511 install process and then gzip them.
4513 * Makefile (MISC): Add ChangeLog.yyyy files to list.
4514 (ChangeLog): Remove rule since we do not dynamically generate the
4517 * MkChangeLog: Removed since we do not use it to generate the
4518 ChangeLog anymore. cvs2cl does a much better job anyway.
4520 * NEWS: Use 3rd level heading instead of bullets for lists that
4521 contain descriptions.
4523 2005-01-07 Diane Murray <disumu@x3y2z1.net>
4525 * erc-list.el: Require 'sort.
4526 (erc-chanlist): Disable undo in the channel list buffer.
4528 * erc.el, erc-menu.el: The `IRC' menu is now automatically added
4529 to the menu-bar. Add the call to `easy-menu-add' to
4530 `erc-mode-hook' when running in XEmacs (without this the menu
4533 * NEWS: Added the information from
4534 http://emacswiki.org/cgi-bin/wiki/ErcCvsFeatures and the newer
4535 changes which weren't yet documented on that page.
4537 2005-01-06 Hoan Ton-That <hoan@ton-that.org>
4539 * erc-log.el (erc-current-logfile): Only downcase the logfile
4540 name, not the whole filename. Also expand relative to
4541 `erc-log-channels-directory'.
4542 (erc-generate-log-file-name-with-date)
4543 (erc-generate-log-file-name-short)
4544 (erc-generate-log-file-name-long): Don't expand filename, done in
4545 `erc-current-logfile'.
4547 2005-01-06 Lawrence Mitchell <wence@gmx.li>
4549 * NEWS: New file, details user visible changes from version to
4552 * HACKING (NEWS entries): Mention NEWS file, and what its purpose
4555 2005-01-05 Michael Olson <mwolson@gnu.org>
4557 * FOR-RELEASE: New file containing the list of release-critical
4558 tasks. Feel free to add to it.
4560 * debian/rules (binary-erc): Add ChangeLog files.
4562 2005-01-04 Michael Olson <mwolson@gnu.org>
4564 * ChangeLog.2001, ChangeLog.2002, ChangeLog.2003, ChangeLog.2004:
4565 ChangeLog entries from previous years.
4567 * ChangeLog: New file containing ChangeLog entries for the current
4568 year. Please update this file manually whenever a change is
4569 committed. This is a new policy.
4571 * AUTHORS: Add myself to list. Some entries were space-delimited
4572 instead of TAB-delimited, and since the latter seemed to be the
4573 default, make the other entries conform.
4575 * HACKING (ChangeLog Entries): Update section to reflect new
4576 policy toward ChangeLog entries, which is that they should be
4577 manually updated whenever a change is committed.
4579 2005-01-04 Diane Murray <disumu@x3y2z1.net>
4581 * erc.el (erc-connection-established, erc-login): Update the
4583 (erc-update-mode-line-buffer): If `erc-current-nick' returns nil,
4584 use an empty string for ?n character in format spec. Set
4585 `mode-line-process' to ":connecting" while the connection is being
4588 2005-01-04 Lawrence Mitchell <wence@gmx.li>
4590 * AUTHORS: Update list of authors.
4592 2005-01-02 Diane Murray <disumu@x3y2z1.net>
4594 * erc-goodies.el (erc-control-characters): New customization
4596 (erc-interpret-controls-p): Small fix, addition to
4597 documentation. Updated customization to allow 'remove as a value.
4598 Use 'erc-control-characters as `:group'.
4599 (erc-interpret-mirc-color): Use 'erc-control-characters as
4601 (erc-beep-p): Updated documentation. Use 'erc-control-characters
4603 (define-erc-module irccontrols): Add `erc-controls-highlight' to
4604 `erc-insert-modify-hook' and `erc-send-modify-hook' since it
4605 changes the text's appearance.
4606 (erc-controls-remove-regexp, erc-controls-interpret-regexp): New
4608 (erc-controls-highlight): Fixed so that highlighting works even if
4609 there is no following control character. Fixed mirc color
4610 highlighting; now respecting `erc-interpret-mirc-color'. Fixed a
4611 bug where emacs would get stuck in a loop when \C-g was in a
4612 message and `erc-beep-p' was set to nil (default setting).
4614 2004-12-29 Francis Litterio <franl@users.sourceforge.net>
4616 * erc-goodies.el (erc-interpret-controls-p): Changed docstring to
4617 reflect the new meaning if this is set to 'remove.
4618 (erc-controls-interpret): Rephrased docstring to be more accurate.
4619 (erc-controls-strip): New function that behaves like the
4620 recently-removed erc-strip-controls -- it removes all IRC color
4621 and highlighting control characters.
4622 (erc-controls-highlight): Changed to support the new 'remove value
4623 that variable erc-interpret-controls-p might have.
4625 2004-12-28 Francis Litterio <franl@users.sourceforge.net>
4627 * erc-ibuffer.el, erc-list.el, erc-page.el, erc-speedbar.el:
4628 Changed all calls to erc-interpret-controls (which no longer
4629 exists) to call erc-controls-interpret (the new name of the same
4632 2004-12-28 Francis Litterio <franl@users.sourceforge.net>
4634 * erc-goodies.el (erc-controls-interpret): Added this function to
4635 replace the recently-removed erc-interpret-controls. Also added
4636 a (require 'erc) to solve a byte-compile problem.
4638 2004-12-28 Francis Litterio <franl@users.sourceforge.net>
4640 * erc.el (erc-controls-interpret): Added this function to replace
4641 the recently-removed erc-interpret-controls.
4643 2004-12-27 Jorgen Schaefer <forcer@users.sourceforge.net>
4645 * erc-truncate.el (erc-truncate-buffer-to-size): Check for
4646 logging even better (via lawrence).
4648 2004-12-26 Jorgen Schaefer <forcer@users.sourceforge.net>
4650 * erc-truncate.el (erc-truncate-buffer-to-size): Much saner
4651 logging detection (via lawrence).
4653 2004-12-25 Jorgen Schaefer <forcer@users.sourceforge.net>
4655 * erc-goodies.el (erc-controls-highlight): Treat single C-c
4658 2004-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
4660 * erc-goodies.el, erc.el: Deleted IRC control character processing
4661 and implemented a sane version in erc-goodies.el as a module.
4663 * erc.el (erc-merge-controls, erc-interpret-controls,
4664 erc-decode-controls, erc-strip-controls, erc-make-property-list,
4665 erc-prepend-properties): Removed.
4667 (erc-interpret-controls-p, erc-interpret-mirc-color, erc-bold-face
4668 erc-inverse-face, erc-underline-face, fg:erc-color-face0,
4669 fg:erc-color-face1, fg:erc-color-face2, fg:erc-color-face3,
4670 fg:erc-color-face4, fg:erc-color-face5, fg:erc-color-face6,
4671 fg:erc-color-face7, fg:erc-color-face8, fg:erc-color-face9,
4672 fg:erc-color-face10, fg:erc-color-face11, fg:erc-color-face2,
4673 fg:erc-color-face13, fg:erc-color-face14, fg:erc-color-face15,
4674 bg:erc-color-face1, bg:erc-color-face2, bg:erc-color-face3,
4675 bg:erc-color-face4, bg:erc-color-face5, bg:erc-color-face6,
4676 bg:erc-color-face7, bg:erc-color-face8, bg:erc-color-face9,
4677 bg:erc-color-face10, bg:erc-color-face11, bg:erc-color-face2,
4678 bg:erc-color-face13, bg:erc-color-face14, bg:erc-color-face15,
4679 erc-get-bg-color-face, erc-get-fg-color-face,
4680 erc-toggle-interpret-controls): Moved.
4682 * erc-goodies.el (erc-beep-p, irccontrols, erc-controls-highlight,
4683 erc-controls-propertize): New.
4685 2004-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
4687 * erc-goodies.el, erc.el: The Small Extraction of Stuff[tm] commit.
4688 Moved some functions from erc.el to erc-goodies.el, and
4689 transformed them to erc modules in the process.
4690 - imenu autoload stuff moved. I don't know why it is here at all.
4691 - Moved: scroll-to-bottom, make-read-only, distinguish-noncommands,
4692 smiley, unmorse, erc-occur (the last isn't a module, but still
4694 (erc-input-line-position, erc-add-scroll-to-bottom,
4695 erc-scroll-to-bottom, erc-make-read-only, erc-noncommands-list,
4696 erc-send-distinguish-noncommands, erc-smiley, erc-unmorse,
4697 erc-occur): Moved from erc.el to erc-goodies.el.
4698 (smiley): Module moved from erc.el to erc-goodies.el.
4699 (scrolltobottom, readonly, noncommands, unmorse): New modules.
4701 2004-12-20 Diane Murray <disumu@x3y2z1.net>
4703 * erc.el (erc-format-away-status): Use `a', not `away' - that's
4705 (erc-update-mode-line-buffer): The values of `mode-line-process'
4706 and `mode-line-buffer-identification' are normally lists.
4709 2004-12-18 Jorgen Schaefer <forcer@users.sourceforge.net>
4711 * erc.el (erc-process-ctcp-query, erc-process-ctcp-reply): Display
4712 message in the active window, not the server window.
4714 2004-12-16 Edward O'Connor <ted@oconnor.cx>
4716 * erc-track.el (erc-track-position-in-mode-line): Check for
4717 'erc-track-mode variable with boundp. From Adrian Aichner
4718 <adrian@xemacs.org>.
4720 2004-12-16 Jorgen Schaefer <forcer@users.sourceforge.net>
4722 * erc.el (erc-upcase-first-word): New function. The old way used
4723 in erc-send-ctcp-message would eat consecutive whitespace etc.
4724 (erc-send-ctcp-message, erc-send-ctcp-notice): Use it.
4726 2004-12-15 Edward O'Connor <ted@oconnor.cx>
4728 * erc.el (erc-send-ctcp-message): Fix braino with my previous
4729 patch. It always helps to C-x C-s before `cvs commit'.
4731 2004-12-15 Edward O'Connor <ted@oconnor.cx>
4733 * erc.el (erc-send-ctcp-message): Only upcase the ctcp command,
4734 and not the entire message. Brian Palmer's change of 2004-12-12 had broken /me.
4737 2004-12-14 Diane Murray <disumu@x3y2z1.net>
4739 * erc-nets.el (erc-networks-alist): Change undernet to Undernet as
4740 is used in `erc-server-alist', so that completion works when using
4741 `erc-server-select'. This should fix Debian bug #282003 (erc:
4742 cannot connect to Undernet).
4744 2004-12-14 Diane Murray <disumu@x3y2z1.net>
4746 * erc-backend.el (def-edebug-spec): Only run this if 'edebug is
4749 2004-12-14 Diane Murray <disumu@x3y2z1.net>
4751 * erc.el: The last change to `erc-mode-line-format' introduced a
4752 bug in XEmacs - it can't handle the #(" "...) strings at all. The
4753 following changes fix the bug and simplify the mode-line handling
4754 considerably. (erc-mode-line-format): Now defined as a string
4755 which will be formatted using `format-spec' and take the place of
4756 `mode-line-buffer-identification' in the mode line.
4757 (erc-header-line-format): Now defined as a string to be formatted
4758 using `format-spec'.
4759 (erc-prepare-mode-line-format): Removed.
4760 (erc-format-target, erc-format-target-and/or-server,
4761 erc-format-away-status, erc-format-channel-modes): New functions.
4762 Basically the old `erc-prepare-mode-line-format' split apart.
4763 (erc-update-mode-line-buffer): Set
4764 `mode-line-buffer-identification' to the formatted
4765 `erc-mode-line-format', set `mode-line-process' to ": CLOSED" if
4766 the connection has been terminated, and set `header-line-format'
4767 (if it is bound) to the formatted `erc-header-line-format', then
4768 do a `force-mode-line-update'.
4770 2004-12-12 Diane Murray <disumu@x3y2z1.net>
4772 * erc.el (erc-modules): Disable modules removed with `customize'.
4773 (erc-update-modules): Try to give a more descriptive error
4776 2004-12-12 Diane Murray <disumu@x3y2z1.net>
4778 * erc-complete.el, erc.el, erc-list.el, erc-nets.el,
4779 * erc-nicklist.el, erc-pcomplete.el, erc-replace.el, erc-speak.el,
4780 * erc-truncate.el (erc-buffers, erc-coding-systems, erc-display,
4781 erc-mode-line-and-header, erc-ignore, erc-query,
4782 erc-quit-and-part, erc-paranoia, erc-scripts, erc-old-complete,
4783 erc-list, erc-networks, erc-nicklist, erc-pcomplete, erc-replace,
4784 erc-truncate): New customization groups.
4785 (erc-join-buffer, erc-frame-alist, erc-frame-dedicated-flag,
4786 erc-reuse-buffers): Use 'erc-buffers as `:group'.
4787 (erc-default-coding-system, erc-encoding-coding-alist):
4788 Use 'erc-coding-systems as `:group'.
4789 (erc-hide-prompt, erc-show-my-nick, erc-prompt,
4790 erc-input-line-position, erc-command-indicator, erc-notice-prefix,
4791 erc-notice-highlight-type, erc-interpret-controls-p,
4792 erc-interpret-mirc-color, erc-minibuffer-notice,
4793 erc-format-nick-function): Use 'erc-display as `:group'.
4794 (erc-mode-line-format, erc-header-line-format,
4795 erc-header-line-uses-help-echo-p, erc-common-server-suffixes,
4796 erc-mode-line-away-status-format): Use 'erc-mode-line-and-header
4798 (erc-hide-list, erc-ignore-list, erc-ignore-reply-list,
4799 erc-minibuffer-ignored): Use 'erc-ignore as `:group'.
4800 (erc-auto-query, erc-query-on-unjoined-chan-privmsg,
4801 erc-format-query-as-channel-p): Use 'erc-query as `:group'.
4802 (erc-kill-buffer-on-part, erc-kill-queries-on-quit,
4803 erc-kill-server-buffer-on-quit, erc-quit-reason-various-alist,
4804 erc-part-reason-various-alist, erc-quit-reason, erc-part-reason):
4805 Use 'erc-quit-and-part as `:group'.
4806 (erc-verbose-server-ping, erc-paranoid, erc-disable-ctcp-replies,
4807 erc-anonymous-login, erc-show-channel-key-p): Use 'erc-paranoia as
4809 (erc-startup-file-list, erc-script-path, erc-script-echo): Use
4810 'erc-scripts as `:group'.
4811 (erc-nick-completion, erc-nick-completion-ignore-case,
4812 erc-nick-completion-postfix): Use 'erc-old-complete as `:group'.
4813 (erc-chanlist-progress-message, erc-no-list-networks,
4814 erc-chanlist-frame-parameters, erc-chanlist-hide-modeline,
4815 erc-chanlist-mode-hook): Use 'erc-list as `:group'.
4816 (erc-server-alist, erc-networks-alist): Use 'erc-networks as
4818 (erc-settings): Use `defvar' instead of `defcustom' since this is
4819 only a draft which doesn't work.
4820 (erc-nicklist-window-size): Use 'erc-nicklist as `:group'.
4821 (erc-pcomplete-nick-postfix,
4822 erc-pcomplete-order-nickname-completions): Use 'erc-pcomplete as
4824 (erc-replace-alist): Use 'erc-replace as `:group'.
4825 (erc-speak-filter-timestamp): Use 'erc-speak as `:group'.
4826 (erc-max-buffer-size): Use 'erc-truncate as `:group'.
4828 2004-12-12 Jorgen Schaefer <forcer@users.sourceforge.net>
4830 * erc.el (erc-scroll-to-bottom): Go to the end of the buffer
4831 before recentering. This allows editing multiple lines more
4832 conveniently in CVS Emacs. This also undos a change by antifuchs
4833 who said this goto-char would mess up redisplay. Extensive testing
4834 couldn't reproduce that problem.
4836 2004-12-12 Brian Palmer <bpalmer@gmail.com>
4838 * erc.el (erc-send-ctcp-message): upcase the ctcp message (so that
4839 version becomes VERSION, for example).
4840 (erc-iswitchb): Make the argument optional in non-interactive
4841 invocation, so erc-iswitchb can be substituted directly for
4844 2004-12-11 Diane Murray <disumu@x3y2z1.net>
4846 * erc-track.el (erc-track-position-in-mode-line): Allow for the
4847 fact that `erc-track-mode' isn't bound when file is loaded.
4849 2004-12-11 Diane Murray <disumu@x3y2z1.net>
4851 * erc-track.el (erc-track-position-in-mode-line): New customizable
4852 variable. (erc-track-remove-from-mode-line): New function.
4853 Remove `erc-modified-channels-string' from the mode-line.
4854 (erc-track-add-to-mode-line): New function. Add
4855 `erc-modified-channels-string' to the mode-line using the value of
4856 `erc-track-position-in-mode-line' to determine whether to add it
4857 to the beginning or the end of `mode-line-modes' (only available
4858 with GNU Emacs versions above 21.3) or to the end of
4859 `global-mode-string'.
4860 (erc-track-mode, erc-track-when-inactive-mode): Use the new
4863 2004-12-11 Jorgen Schaefer <forcer@users.sourceforge.net>
4865 * erc.el (erc-cmd-BANLIST): Use (buffer-name) and not
4866 (erc-default-target) for the buffer name - buffer names are case
4869 2004-12-11 Brian Palmer <bpalmer@gmail.com>
4871 * erc.el (erc-message-type): Added the message "MODE" to the known
4872 erc-message-type widget, so that (for example) people can tell
4873 erc-track-exclude-types to ignore mode changes. The others tag
4874 also needed to be made an inline list, so that it's merged with
4875 the given constants, instead of being inserted as a list.
4877 2004-12-10 Jorgen Schaefer <forcer@users.sourceforge.net>
4879 * erc-track.el, erc.el: Update to get ERC look nicely in CVS Emacs.
4881 * erc.el (erc-mode-line-format): When on CVS emacs, use the new
4884 * erc-track.el (track module): When on CVS emacs, modify
4885 mode-line-modes instead of global-mode-string. The latter is way
4886 to far too the right.
4888 2004-11-18 Mario Lang <mlang@delysid.org>
4890 * Makefile, debian/changelog: debian release 20041118-1
4892 2004-11-03 Diane Murray <disumu@x3y2z1.net>
4894 * erc-button.el (erc-button-buttonize-nicks): Set default value to
4895 `t'. Updated documentation and customization `:type' to reflect
4898 2004-10-29 Johan Bockgård <bojohan@users.sourceforge.net>
4900 * AUTHORS: Added self.
4902 2004-10-17 Diane Murray <disumu@x3y2z1.net>
4904 * erc-list.el: Added local variables for this file.
4905 (erc-list-version): New.
4906 (erc-cmd-LIST): Take &rest rather than &optional arguments, as was
4907 done in revision 1.21. Allow for input when called interactively.
4908 (erc-prettify-channel-list, erc-chanlist-toggle-sort-state): Use
4909 `unless' instead of when not.
4911 2004-10-17 Diane Murray <disumu@x3y2z1.net>
4913 * erc-backend.el (erc-handle-unknown-server-response): Fixed so
4914 that the contents are only shown once.
4915 (MOTD): Display lines in the server buffer if it's the first MOTD
4916 sent upon connection. This is to avoid the problem of having the
4917 MOTD of one server showing up in another server's buffer if it took
4918 a while to get connected.
4919 (004): Fixed to show the user modes and channel modes correctly.
4920 (303): Now displays the nicknames returned by ISON instead of the
4922 (367, 368): Moved up into 300's section of the code. Added
4923 documentation. Use `multiple-value-bind' to set variables in 367.
4924 (391): Fixed so that the server name is shown correctly.
4926 2004-10-17 Diane Murray <disumu@x3y2z1.net>
4928 * erc.el (erc-process-sentinel): Use CPROC instead of
4929 `erc-process' in debug message. Should fix a bug where an error
4930 saying "Buffer *scratch* has no process" would occur when
4932 (erc-cmd-SV): Check for X toolkit after checking for more specific
4933 features. (erc--kill-server): Set `quitting' to non-nil so that
4934 we don't automatically reconnect.
4936 2004-10-05 Jorgen Schaefer <forcer@users.sourceforge.net>
4938 * erc.el (erc-ignored-user-p): Don't require regexes to match the
4941 2004-09-11 Jorgen Schaefer <forcer@users.sourceforge.net>
4943 * erc.el: group erc: Moved to 'applications (patch by bojohan)
4945 2004-09-08 Jorgen Schaefer <forcer@users.sourceforge.net>
4947 * erc-button.el (erc-button-remove-old-buttons): Remove 'keymap
4950 2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
4952 * erc-backend.el: JOIN response handler: Typo fix of the last
4955 2004-09-03 Jorgen Schaefer <forcer@users.sourceforge.net>
4957 * erc-backend.el: JOIN response handler: Run `erc-join-hook'
4958 without arguments as specified in the docstring.
4960 2004-08-27 Jorgen Schaefer <forcer@users.sourceforge.net>
4962 * erc.el (erc-send-current-line): Removed unused variable SENTP.
4964 2004-08-19 Jorgen Schaefer <forcer@users.sourceforge.net>
4966 * erc.el: ERC-SEND-COMPLETED-HOOK used to be run when the prompt
4967 was already displayed. We restore this behavior (thanks to bojohan
4968 and TerryP for noticing). We also fix the docstring of
4969 ERC-SEND-COMPLETED-HOOK, since the hook is (and used to be) called
4970 even if nothing was sent to the server.
4971 (erc-send-completed-hook): Fixed docstring.
4972 (erc-send-current-line): Add incantation for
4973 erc-send-completed-hook.
4974 (erc-send-input): Remove incantation for erc-send-completed-hook.
4976 2004-08-18 Jorgen Schaefer <forcer@users.sourceforge.net>
4978 * erc-backend.el: response-handler 368: Use s368, not s367.
4980 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
4982 * erc.el (erc-scroll-to-bottom): Don't scroll when we're not
4985 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
4987 * erc-backend.el, erc.el: Handle /mode #emacs b output without
4988 errors and such. First, handle unknown format specs gracefully
4989 (that is, give a useful error). Then, provide handlers for the
4992 * erc-backend.el: New handler for 367 and 368. Removed from default
4995 * erc.el: Provide english catalog for s367 and s368.
4996 (erc-format-message): Give an error message when we don't find an
4999 2004-08-17 Jorgen Schaefer <forcer@users.sourceforge.net>
5001 * erc-fill.el: erc-fill-variable could be confused about really
5002 long nicks. We put an upper limit on the length of the fill prefix.
5003 (erc-fill-variable): Adjust fill-prefix.
5004 erc-fill-variable-maximum-indentation: New variable.
5006 2004-08-17 Francis Litterio <franl@users.sourceforge.net>
5008 * erc.el (erc-send-input): Fixed a bug where this function
5009 referenced variable "input" instead of variable "str".
5011 2004-08-16 Francis Litterio <franl@users.sourceforge.net>
5013 * erc-list.el (erc-chanlist-highlight-line): Fixed a bug where
5014 this function failed to set the correct face for highlighting the
5017 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
5019 * erc-fill.el (erc-fill-variable): Don't fuck up when the
5020 looking-at didn't work.
5022 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
5024 * erc.el (erc-send-single-line): Call the hooks to change the
5025 appearance for something only if we actually inserted something,
5027 (erc-display-command): Display the prompt outside of the area that
5028 set the text properties on.
5030 2004-08-14 Jorgen Schaefer <forcer@users.sourceforge.net>
5032 * erc.el: Refactored erc-send-current-line. This should fix some
5033 dormant bugs, and make the whole thing actually readable. Yay.
5034 Some changes in behavior were made. Whitespace at the end of lines
5035 sent is not removed anymore, but that shouldn't bother anyone.
5036 Additionally, errors in commands or hooks shouldn't prevent the
5037 prompt from showing up again now.
5038 (erc-parse-current-line): Removed.
5039 (erc-send-current-line): Refactored.
5040 (erc-send-input): New function.
5041 (erc-send-single-line): New function.
5042 (erc-display-command): New function.
5043 (erc-display-msg): New function.
5044 (erc-user-input): New function.
5046 2004-08-13 Jorgen Schaefer <forcer@users.sourceforge.net>
5048 * erc.el (erc-cmd-SERVER): Use newer keyword call interface to
5049 erc-select, and handle the error if it can't resolve the host.
5051 2004-08-11 Jorgen Schaefer <forcer@users.sourceforge.net>
5053 * erc-backend.el, erc.el: erc-backend.el (404 response handler):
5054 New function. We now support "cannot send to channel".
5056 * erc.el (erc-define-catalog call): Added s404.
5057 (erc-ctcp-ECHO-reply, erc-ctcp-CLIENTINFO-reply,
5058 erc-ctcp-FINGER-reply, erc-ctcp-PING-reply, erc-ctcp-TIME-reply,
5059 erc-ctcp-VERSION-reply): Display reply in the active window, not
5062 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5064 * erc.el (erc-with-all-buffers-of-server): Actually make it left
5067 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5069 * erc.el (erc-with-all-buffers-of-server): Evaluate left-to-right
5070 so we don't surprise a user.
5072 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5074 * erc.el (erc-process-input-line): Parentophobia! Another
5077 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5079 * erc-backend.el: PRIVMSG NOTICE response handler: Killed one paren
5080 too much. Poor paren. Got resurrected.
5082 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5084 * erc-track.el: Make server buffers showing up in the mode line
5085 optional. Thanks to Daniel Knapp on the EmacsWiki for this patch.
5087 erc-track-exclude-server-buffer: New variable.
5088 (erc-track-modified-channels): Return a server buffer only if
5089 erc-track-exclude-server-buffer is nil.
5091 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5093 * erc.el (erc-cmd-DESCRIBE): Don't parse arguments.
5095 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5097 * erc-truncate.el (erc-truncate-buffer-to-size): Use
5098 erc-insert-marker, not (point-max), to decide the length of the
5099 buffer. A long input line shouldn't make the buffer smaller.
5101 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5103 * erc-macs.el, erc-members.el: The change to hashes for channel
5104 members has been made some time ago. Clean up the various tries to
5105 do this in the past.
5107 * erc-macs.el, erc-members.el: Removed.
5109 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5111 * erc-backend.el, erc-ibuffer.el, erc-members.el, erc.el: Nothing
5112 big changed here. Really. Uhm, maybe the info-buffers are gone or
5113 so. Can't really remember. Don't worry, nothing important is
5116 erc-speedbar.el looks nice btw, did you know?
5118 Adjusted various places in erc.el, erc-backend.el, erc-ibuffer.el
5119 and erc-members.el - too numerous to list here, sorry.
5121 * erc.el: erc-use-info-buffers: Removed. erc-info-mode-map:
5123 (erc-info-mode): Removed.
5124 (erc-find-channel-info-buffer): Removed.
5125 (erc-update-channel-info-buffer): Removed.
5126 (erc-update-channel-info-buffers): Removed.
5128 * erc-members.el: erc-update-member renamed to
5129 erc-update-channel-member for better clarity.
5131 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5133 * erc.el: This change improves the help output on a bogus command
5134 invocation. We display the command as it would be typed by the
5135 user, not as it is seen by Emacs.
5137 (erc-get-arglist): Is now called erc-function-arglist, and returns
5138 now an arglist without the enclosing parens.
5139 (erc-command-name): New function.
5140 (erc-process-input-line): Pass the command name, not the function
5143 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5145 * erc.el (erc-process-input-line): Fix bug when the command
5146 doesn't have an arglist or no documentation. Thanks bojohan again
5149 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5151 * erc-match.el (erc-add-entry-to-list),
5152 (erc-remove-entry-from-list): Update docstring, a TEST argument is
5155 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5157 * erc.el (erc-with-buffer): Really fix this docstring.
5159 2004-08-10 Jorgen Schaefer <forcer@users.sourceforge.net>
5161 * erc.el (erc-with-buffer): Fix double evaluation in macro, and
5164 2004-08-10 Brian Palmer <bpalmer@gmail.com>
5166 * erc.el (erc-cmd-JOIN): Use erc-member-ignore-case instead of
5169 2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
5171 * erc-backend.el: Define an "Edebug specification" for the
5172 `define-erc-response-handler' macro. This means that one can step
5173 through response handlers defined by this macro with edebug. Maybe
5174 more macros would benefit from this?
5176 2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
5178 * erc-pcomplete.el (pcomplete/erc-mode/CTCP): New function.
5179 Completion for the /CTCP command. (erc-pcomplete-ctcp-commands):
5180 New variable. List of ctcp commands.
5182 2004-08-09 Johan Bockgård <bojohan@users.sourceforge.net>
5184 * erc-list.el: Clean up docstrings.
5185 (erc-prettify-channel-list): Extend properties to cover the entire
5186 line, including the newline, to make it look
5188 (erc-chanlist-highlight-line): Ditto.
5189 (erc-chanlist-mode-hook): Make it a defcustom.
5191 2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
5193 * erc.el (erc-compute-full-name): Typo fix, should be full-name,
5196 2004-08-09 Jorgen Schaefer <forcer@users.sourceforge.net>
5198 * erc.el (erc): Setup the buffer to be shown in a window at the
5199 end of this function. This enables 'window-noselect to work
5201 (erc, erc-send-current-line): Fix some
5202 goto-char/open-line/goto-char to goto-char/insert.
5204 2004-08-08 Jorgen Schaefer <forcer@users.sourceforge.net>
5206 * erc.el (erc-parse-user): Live with bogus info from bouncers.
5208 2004-07-31 Brian Palmer <bpalmer@gmail.com>
5210 * erc.el (erc-select): Change the docstring to reflect the new
5211 arguments; include the arguments in the docstring for non-cvs
5212 emacs. Change the parameters to call erc-compute-* instead of
5213 using the erc-* variables directly.
5214 (erc-compute-server): Made argument optional.
5215 (erc-compute-nick): ditto.
5216 (erc-compute-full-name): ditto. (erc-compute-port): ditto.
5218 2004-07-30 Francis Litterio <franl@users.sourceforge.net>
5220 * erc.el (erc-cmd-BANLIST): Fixed a bug where channel-banlist was
5221 not reset to nil before fetching an updated banlist from the
5224 2004-07-30 Francis Litterio <franl@users.sourceforge.net>
5226 * erc.el (erc-cmd-BANLIST): Fixed a bug where the
5227 'received-from-server property on variable channel-banlist was not
5228 being reset to nil. This fixes the symptom where one types
5229 /BANLIST and sees "No bans for channel: #whatever" when you know
5232 2004-07-23 Brian Palmer <bpalmer@gmail.com>
5234 * erc.el (erc-select-read-args): Use erc-compute-nick to
5235 calculate the default nickname
5237 2004-07-20 Brian Palmer <bpalmer@gmail.com>
5239 * erc.el (erc-process-sentinel-1): New function. This is an
5240 auxiliary function refactored out of erc-process-sentinel to
5241 decide a server buffer's fate (whether it should be killed, and
5242 whether erc should attempt to auto-reconnect). Michael Olson
5243 <mwolson@gnu.org> helped with this.
5244 (erc-kill-server-buffer-on-quit): New variable. Used in
5245 erc-process-sentinel-1 to decide whether to kill a server buffer
5246 when the user quit normally.
5247 (erc-process-sentinel): Auxiliary function erc-process-sentinel-1
5248 split out. The function body has `with-current-buffer' wrapped
5249 around it, to ensure separation of messages if multiple
5250 connections were being made. Use `if' instead of `cond' in places
5251 where the decision is binary. The last (useless, since the server
5252 connection is closed) prompt in the server buffer is removed.
5253 Color "erc terminated" and "erc finished" messages with
5254 erc-error-face. Mark the buffer unmodified so that, if not killed
5255 automatically, the user is not prompted to save it.
5257 2004-07-16 Brian Palmer <bpalmer@gmail.com>
5259 * erc.el (erc-select-read-args): New function. Prompts the user
5260 for arguments to pass to erc-select and erc-select-ssl.
5261 (erc-select): Use (erc-select-read-args) when called interactively
5262 to get its arguments. When non-interactively, use keyword
5264 (erc-select-ssl): Ditto.
5265 (erc-compute-port): New function. Parallel to erc-compute-server,
5266 but comes up with a default value for an IRC server's port.
5268 2004-07-16 Jorgen Schaefer <forcer@users.sourceforge.net>
5270 * erc-match.el (erc-match-message): Quote the current nickname.
5272 2004-07-12 Brian Palmer <bpalmer@gmail.com>
5274 * erc-list.el (erc-chanlist-mode): Remove explicit invocation of
5275 erc-chanlist-mode-hook, since it's automatically invoked by
5278 2004-07-03 Jorgen Schaefer <forcer@users.sourceforge.net>
5280 * erc-match.el (erc-match-current-nick-p): Quote current nick for
5283 2004-06-27 Johan Bockgård <bojohan@users.sourceforge.net>
5285 * erc-nickserv.el (erc-nickserv-identify-mode): Fix erroneous
5286 parentheses in call to `completing-read'.
5288 2004-06-23 Alex Schroeder <alex@gnu.org>
5290 * Makefile (release): Depend on autoloads, and copy erc-auto.el
5293 2004-06-14 Francis Litterio <franl@users.sourceforge.net>
5295 * erc.el (erc-log-irc-protocol): Fixed minor bug where each line
5296 received from a server was logged as two lines (one with text and
5299 2004-06-08 Brian Palmer <bpalmer@gmail.com>
5301 * erc-list.el (erc-chanlist-frame-parameters): Made customizable.
5302 (erc-chanlist-header-face): Changed to use defface with some
5303 reasonable defaults instead of make-face, and removed the
5304 associated -face variable.
5305 (erc-chanlist-odd-line-face): Ditto.
5306 (erc-chanlist-even-line-face): Ditto.
5307 (erc-chanlist-highlight-face): New variable. Holds a face used for
5308 highlighting the current line.
5309 (erc-cmd-LIST): Use erc-member-ignore-case instead of
5311 (erc-chanlist-post-command-hook): Change to move the highlight
5312 overlay instead of refontifying the entire buffer.
5313 (erc-chanlist-dehighlight-line): Added to detach the highlight
5314 overlay from the buffer.
5316 2004-05-31 Jorgen Schaefer <forcer@users.sourceforge.net>
5318 * erc.el: erc-mode-line-format: Add column numbers.
5320 2004-05-31 Adrian Aichner <adrian@xemacs.org>
5322 * erc-autojoin.el: Typo fix.
5324 * erc-dcc.el (erc-dcc-do-GET-command): Use expand-file-name.
5325 (erc-dcc-get-file): XEmacs set-buffer-multibyte compatibility.
5327 * erc-log.el: Append `erc-log-setup-logging' to
5328 `erc-connect-pre-hook' so that `erc-initialize-log-marker' is run
5329 first (markers are needed by `erc-log-setup-logging').
5330 (erc-enable-logging): Docstring fix.
5331 (erc-log-setup-logging): Move `erc-log-insert-log-on-open' to (1-
5332 (point-max)) when doing `erc-log-insert-log-on-open'. Modified
5333 version of a patch by Lawrence Mitchell.
5334 (erc-log-all-but-server-buffers): Do `save-excursion' as well.
5335 (erc-current-logfile): Pass buffer name as target
5336 argument to `erc-generate-log-file-name-function' if
5337 `erc-default-target' is nil.
5338 (erc-generate-log-file-name-with-date): Use expand-file-name.
5339 (erc-generate-log-file-name-short): Ditto.
5340 (erc-save-buffer-in-logs): Do `save-excursion' and test whether
5341 erc-last-saved-position is a marker.
5343 * erc-members.el: Avoid miscompiling macro `erc-log' and
5344 `with-erc-channel-buffer' by requiring 'erc at compile time.
5346 * erc-sound.el: Use expand-file-name.
5348 * erc.el (erc-debug-log-file): Ditto.
5349 (erc-find-file): Ditto.
5351 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
5353 * erc.el, erc-backend.el (erc-cmd-BANLIST): Added a missing "'"
5354 that was preventing /BANLIST from working. In erc-backend.el,
5355 added server response handler for 367 and 368 responses to get
5358 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
5360 * erc.el: Removed an eval-when-compile that was preventing the
5361 byte-compiled version of this file from loading.
5363 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
5365 * erc.el: Undid part of my last change. I suspect it was wrong.
5367 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
5369 * erc.el: Silenced several byte-compiler warnings.
5371 2004-05-26 Francis Litterio <franl@users.sourceforge.net>
5373 * erc.el (erc-log-irc-protocol): Fixed problem where this function
5374 misformatted IRC protocol text if multiple lines were received from
5375 the server at one time.
5377 2004-05-25 Francis Litterio <franl@users.sourceforge.net>
5379 * erc.el (erc-toggle-debug-irc-protocol): Cosmetic changes to the
5380 informational text in the *erc-protocol* buffer.
5382 2004-05-24 Francis Litterio <franl@users.sourceforge.net>
5384 * erc.el (erc-log-irc-protocol, erc-process-filter): Now the lines
5385 inserted in the *erc-protocol* buffer are prefixed with the name
5386 of the network to/from which the data is going/coming. This makes
5387 reading the *erc-protocol* buffer much easier when connected to
5390 2004-05-23 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
5392 * erc-backend.el: Fixes server message parsing so that command
5393 arguments specified after the colon are not treated specially. All
5394 arguments are added to the `command-args' field, and the
5395 `contents' points to the last element in the `command-args' list.
5396 This allows ERC to connect to networks such as Undernet. Although
5397 keeping `contents' allows many of the response handlers to
5398 continue to work as-is, many other are probably broken by this
5401 2004-05-20 Lawrence Mitchell <wence@gmx.li>
5403 * HACKING: Add comment that C-c C-a can be useful if you write
5404 ChangeLog entries using Emacs' standard functions.
5406 2004-05-17 Diane Murray <disumu@x3y2z1.net>
5408 * erc-speedbar.el: Ignore errors when attempting to require dframe
5409 (there are a couple implementations of speedbar, one of which uses
5411 (erc-speedbar-version): New.
5412 (erc-speedbar-goto-buffer): Use dframe functions if dframe is
5415 2004-05-17 Diane Murray <disumu@x3y2z1.net>
5417 * erc-autojoin.el: Added local variables for this file.
5418 (erc-autojoin-add): The channel name is in `erc-response.contents'.
5420 2004-05-17 Mario Lang <mlang@delysid.org>
5422 * erc-log.el: Don't autoload a define-key statement, erc-mode-map
5423 might not be known yet
5425 2004-05-16 Lawrence Mitchell <wence@gmx.li>
5427 * erc-backend.el (erc-parse-server-response): Revert to original
5428 `erc-parse-line-from-server' version, since new version breaks for
5429 a number of edge cases.
5431 2004-05-14 Diane Murray <disumu@x3y2z1.net>
5433 * erc-backend.el (erc-handle-unknown-server-response): New
5434 function. Added to `erc-default-server-functions'. Display
5435 unknown responses to the user.
5436 (221): Don't show nickname in modes list.
5437 (254): Fixed to use 's254.
5438 (303): Added docstring.
5439 (315, 318, 323, 369): Ignored responses grouped together.
5441 (406, 432): Use ?n, not ?c in `erc-display-message'.
5442 (431, 445, 446, 451, 462, 463, 464, 465, 481, 483, 485, 491, 501,
5443 502): All error responses with no arguments grouped together.
5445 2004-05-14 Diane Murray <disumu@x3y2z1.net>
5447 * erc.el (erc-message-type-member): Use `erc-response.command'.
5448 `erc-track-exclude-types' should be respected again.
5449 (erc-cmd-TIME): Fixed to work with and without server given as
5451 (erc-define-catalog): Added, s391, s431, s445, s446, s451, s462,
5452 s463, s464, s465, s483, s484, s485, s491, s501, s502.
5454 2004-05-14 Lawrence Mitchell <wence@gmx.li>
5456 * HACKING: Typo fix.
5458 2004-05-14 Lawrence Mitchell <wence@gmx.li>
5460 * Makefile (erc-auto.el): Pass -f flag to rm so that we don't fail
5461 if erc-auto.elc doesn't exist.
5463 2004-05-14 Lawrence Mitchell <wence@gmx.li>
5465 * erc-backend.el (erc-with-buffer): Autoload.
5466 (erc-parse-server-response): XEmacs' `replace-match' only replaces
5467 subexpressions when operating on buffers, not strings, work around
5469 (461): Command with invalid arguments is `second', not `third'.
5471 2004-05-14 Diane Murray <disumu@x3y2z1.net>
5473 * erc-notify.el (erc-notify-NICK): Use `erc-response.contents' to
5476 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5478 * erc-track.el: Indentation fixes.
5479 (track-when-inactive): Use `erc-server-FOO-functions', not
5480 `erc-server-FOO-hook.
5482 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5484 * erc-notify.el (notify): Use `erc-server-FOO-functions', not
5485 `erc-server-FOO-hook.
5486 (erc-notify-timer, erc-notify-JOIN, erc-notify-NICK)
5487 (erc-notify-QUIT): Use new accessors for PARSED argument.
5489 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5491 * erc-nickserv.el (services, erc-nickserv-identify-mode): Use
5492 `erc-server-FOO-functions', not `erc-server-FOO-hook.
5493 (erc-nickserv-identify-autodetect): Use new accessors for PARSED
5496 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5498 * erc-netsplit.el (netsplit): Use `erc-server-FOO-functions', not
5499 `erc-server-FOO-hook.
5500 (erc-netsplit-JOIN, erc-netsplit-MODE, erc-netsplit-QUIT): Use new
5501 accessors for PARSED argument.
5503 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5505 * erc-nets.el: Use `erc-server-FOO-functions', not
5506 `erc-server-FOO-hook.
5508 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5510 * erc-menu.el (erc-menu-definition): Only allow listing of
5511 channels if `erc-cmd-LIST' is fboundp.
5513 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5515 * erc-match.el: Use `erc-server-FOO-functions', not
5516 `erc-server-FOO-hook.
5517 (erc-get-parsed-vector-nick, erc-get-parsed-vector-type): Use new
5518 accessors for PARSED argument.
5520 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5522 * erc-list.el (erc-chanlist, erc-chanlist-322): Use new accessors
5523 for PARSED argument. Use `erc-server-FOO-functions', not
5524 `erc-server-FOO-hook.
5526 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5528 * erc-ezbounce.el (erc-ezb-notice-autodetect): Use new accessors
5529 for PARSED argument.
5530 (erc-ezb-initialize): Use `erc-server-FOO-functions', not
5531 `erc-server-FOO-hook.
5533 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5535 * erc-dcc.el: Use `erc-server-FOO-functions', not
5536 `erc-server-FOO-hook.
5537 (erc-dcc-no-such-nick): Use new accessors for PARSED argument.
5539 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5541 * erc-bbdb.el (erc-bbdb-whois, erc-bbdb-JOIN, erc-bbdb-NICK): Use
5542 new accessors for PARSED argument.
5543 (BBDB): Use `erc-server-FOO-functions', not `erc-server-FOO-hook.
5545 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5547 * erc-autojoin.el (autojoin): Use `erc-server-FOO-functions', not
5548 `erc-server-FOO-hook.
5549 (erc-autojoin-add, erc-autojoin-remove): Use new accessors for
5552 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5554 * erc-autoaway.el (autoaway): Use `erc-server-FOO-functions', not
5555 `erc-server-FOO-hook.
5557 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5559 * erc.el (erc-backend): Require.
5560 (erc-disconnected-hook, erc-join-hook, erc-quit-hook)
5561 (erc-part-hook, erc-kick-hook): Docstring fix, we now use
5562 `erc-server-FOO-functions', rather than `erc-server-FOO-hook'.
5563 (erc-event-to-hook-name, erc-event-to-hook): Remove.
5564 (erc-once-with-server-event)
5565 (erc-once-with-server-event-global): Use `erc-get-hook'
5566 (erc-process-filter): Use `erc-parse-server-response'.
5567 (erc-cmd-IDLE, erc-cmd-BANLIST, erc-cmd-MASSUNBAN): New accessors
5568 for PARSED argument. Rename all `erc-server-FOO-hook' to
5569 `erc-server-FOO-functions'.
5570 (erc-server-364-hook, erc-server-365-hook, erc-server-367-hook)
5571 (erc-server-368-hook, erc-server-KILL-hook)
5572 (erc-server-PONG-hook, erc-server-200-hook, erc-server-201-hook)
5573 (erc-server-202-hook, erc-server-203-hook, erc-server-204-hook)
5574 (erc-server-205-hook, erc-server-206-hook, erc-server-208-hook)
5575 (erc-server-209-hook, erc-server-211-hook, erc-server-212-hook)
5576 (erc-server-213-hook, erc-server-214-hook, erc-server-215-hook)
5577 (erc-server-216-hook, erc-server-217-hook, erc-server-218-hook)
5578 (erc-server-219-hook, erc-server-241-hook, erc-server-242-hook)
5579 (erc-server-243-hook, erc-server-244-hook, erc-server-249-hook)
5580 (erc-server-261-hook, erc-server-262-hook, erc-server-302-hook)
5581 (erc-server-323-hook, erc-server-342-hook, erc-server-351-hook)
5582 (erc-server-381-hook, erc-server-382-hook, erc-server-391-hook)
5583 (erc-server-392-hook, erc-server-393-hook, erc-server-394-hook)
5584 (erc-server-395-hook, erc-server-402-hook, erc-server-404-hook)
5585 (erc-server-407-hook, erc-server-409-hook, erc-server-411-hook)
5586 (erc-server-413-hook, erc-server-414-hook, erc-server-415-hook)
5587 (erc-server-422-hook, erc-server-423-hook, erc-server-424-hook)
5588 (erc-server-431-hook, erc-server-436-hook, erc-server-437-hook)
5589 (erc-server-441-hook, erc-server-443-hook, erc-server-444-hook)
5590 (erc-server-445-hook, erc-server-446-hook, erc-server-451-hook)
5591 (erc-server-462-hook, erc-server-463-hook, erc-server-464-hook)
5592 (erc-server-465-hook, erc-server-467-hook, erc-server-471-hook)
5593 (erc-server-472-hook, erc-server-473-hook, erc-server-483-hook)
5594 (erc-server-491-hook, erc-server-502-hook): Remove.
5595 (erc-call-hooks, erc-parse-line-from-server): Remove
5596 (erc-server-hook-list): Remove. Remove top-level call too.
5597 (erc-server-ERROR, erc-server-INVITE, erc-server-JOIN)
5598 (erc-server-KICK, erc-server-MODE, erc-server-NICK)
5599 (erc-server-PART, erc-server-PING, erc-server-PONG)
5600 (erc-server-PRIVMSG-or-NOTICE, erc-server-QUIT)
5601 (erc-server-TOPIC, erc-server-WALLOPS, erc-server-001)
5602 (erc-server-004, erc-server-005, erc-server-221, erc-server-252)
5603 (erc-server-253, erc-server-254, erc-server-301, erc-server-303)
5604 (erc-server-305, erc-server-306, erc-server-311-or-314)
5605 (erc-server-312, erc-server-313, erc-server-317, erc-server-319)
5606 (erc-server-320, erc-server-321, erc-server-322, erc-server-324)
5607 (erc-server-329, erc-server-330, erc-server-331, erc-server-332)
5608 (erc-server-333, erc-server-341, erc-server-352, erc-server-353)
5609 (erc-server-366, erc-server-MOTD, erc-server-379)
5610 (erc-server-401, erc-server-403, erc-server-405, erc-server-406)
5611 (erc-server-412, erc-server-421, erc-server-432, erc-server-433)
5612 (erc-server-437, erc-server-442, erc-server-461, erc-server-474)
5613 (erc-server-475, erc-server-477, erc-server-481, erc-server-482)
5614 (erc-server-501): Move to erc-backend.el
5615 (erc-auto-query, erc-banlist-store, erc-banlist-finished)
5616 (erc-banlist-update, erc-connection-established)
5617 (erc-process-ctcp-query, erc-display-server-message): Use new
5618 accessors for PARSED argument.
5620 2004-05-13 Lawrence Mitchell <wence@gmx.li>
5622 * erc-backend.el (erc-parse-server-response)
5623 (erc-handle-parsed-server-response, erc-get-hook)
5624 (define-erc-response-handler): New functions.
5625 (erc-response): New struct for server responses.
5626 (erc-server-responses): New variable.
5627 (erc-call-hooks): Move from erc.el and rework.
5628 (ERROR, INVITE, JOIN, KICK, MODE, NICK, PART, PING, PONG)
5629 (PRIVMSG, NOTICE, QUIT, TOPIC, WALLOPS, 001, MOTD, 376, 004)
5630 (252, 253, 254, 250, 301, 303, 305, 306, 311, 312, 313, 315)
5631 (317, 318, 319, 320, 321, 322, 324, 329, 330, 331, 332, 333)
5632 (341, 352, 353, 366, 369, 379, 401, 403, 405, 406, 412, 421)
5633 (432, 433, 437, 442, 461, 474, 477, 481, 482, 501, 323, 221)
5634 (002, 003, 371, 372, 374, 375, 422, 251, 255, 256, 257, 258)
5635 (259, 265, 266, 377, 378, 314, 475, 364, 365, 367, 368, 381)
5636 (382, 391, 392, 393, 394, 395, 200, 201, 202, 203, 204, 205)
5637 (206, 208, 209, 211, 212, 213, 214, 215, 216, 217, 218, 219)
5638 (241, 242, 243, 244, 249, 261, 262, 302, 342, 351, 402, 404)
5639 (407, 409, 411, 413, 414, 415, 423, 424, 431, 436, 441, 443)
5640 (444, 445, 446, 451, 462, 463, 464, 465, 467, 471, 472, 473)
5641 (483, 491, 502, 005, KILL): Move from erc.el and rework using
5642 `define-erc-response-handler' and erc-response struct.
5644 2004-05-12 Diane Murray <disumu@x3y2z1.net>
5646 * erc.el: A few bug fixes to avoid errors after disconnect,
5647 including the "Selecting deleted buffer" bug.
5648 (erc-channel-user-op-p, erc-channel-user-voice-p): Make sure NICK
5649 is non-nil (`erc-current-nick' can return nil).
5650 (erc-server-buffer): Make sure the buffer isn't a #<killed
5652 (erc-server-buffer-live-p): New function.
5653 (erc-display-line, erc-join-channel, erc-prepare-mode-line-format,
5654 erc-away-p): Use `erc-server-buffer-live-p' to make sure process
5656 (erc-send-current-line): If there is no server buffer, let the
5659 2004-05-12 Diane Murray <disumu@x3y2z1.net>
5661 * erc.el, erc-log.el: C-c C-l keybinding now defined in
5663 (erc-log-version): New.
5664 (erc-cmd-JOIN): Fix applied for bug where /join -invite causes
5665 errors when there's no `invitation'.
5667 2004-05-11 Diane Murray <disumu@x3y2z1.net>
5669 * erc.el (erc-cmd-JOIN): Make sure `chnl' is non-nil before trying
5670 to join anything (chnl is not set if /join -invite is used but
5671 there's no `invitation').
5673 2004-05-10 Diane Murray <disumu@x3y2z1.net>
5675 * erc-log.el: Define C-c C-l keybinding outside of `erc-log-mode',
5676 making it available all the time; autoload definition.
5677 (erc-log-version): New.
5679 2004-05-09 Diane Murray <disumu@x3y2z1.net>
5681 * AUTHORS, CREDITS, Makefile, erc-autoaway.el, erc-autojoin.el,
5682 erc-button.el, erc-chess.el, erc-dcc.el, erc-ezbounce.el,
5683 erc-fill.el, erc-ibuffer.el, erc-imenu.el, erc-lang.el,
5684 erc-list.el, erc-log.el, erc-macs.el, erc-match.el, erc-members.el,
5685 erc-menu.el, erc-nets.el, erc-netsplit.el, erc-nickserv.el,
5686 erc-notify.el, erc-page.el, erc-ring.el, erc-speak.el,
5687 erc-speedbar.el, erc-stamp.el, erc-track.el, erc-truncate.el,
5688 erc-xdcc.el, erc.el: Applied all relevant bug fixes and code
5689 cleanup made between the time of the ERC_4_0_RELEASE tag until now.
5691 2004-05-09 Diane Murray <disumu@x3y2z1.net>
5693 * erc-menu.el: Updated copyright years.
5695 2004-05-09 Lawrence Mitchell <wence@gmx.li>
5697 * erc.el (erc-update-channel-info-buffer): Correct bug in sorting
5698 of channel users. Tiny change from Andreas Schwab
5701 2004-05-09 Lawrence Mitchell <wence@gmx.li>
5703 * erc-fill.el (erc-fill-variable): Fix docstring.
5705 2004-05-09 Lawrence Mitchell <wence@gmx.li>
5707 * erc-button.el (erc-button-add-button): Use 'keymap
5708 text-property, rather than 'local-map, since it's cross-emacs
5709 compatible. Pass :mouse-down-action into `widget-convert-button'
5710 as 'erc-button-click-button, to make XEmacs happy. Replace bogus
5711 reference to erc-widget-press-button with erc-button-press-button.
5712 (erc-button-click-button): New (ignored) first argument, to make
5713 XEmacs behave when pressing buttons.
5714 (erc-button-press-button): New (ignored) &rest argument.
5716 2004-05-09 Adrian Aichner <adrian@xemacs.org>
5718 * erc-log.el (erc-conditional-save-buffer): Fix docstring
5719 reference to erc-save-queries-on-quit.
5720 (erc-conditional-save-queries): Ditto.
5722 2004-05-06 Diane Murray <disumu@x3y2z1.net>
5724 * erc-speedbar.el: Updated copyright years. Added local variables
5725 for this file; fixed indenting.
5726 (erc-speedbar): New group.
5727 (erc-speedbar-sort-users-type): New variable.
5728 (erc-speedbar-buttons): Handle query buffers (fixes a bug where an
5729 error would be thrown if the current buffer was a query). Ignore
5731 (erc-speedbar-expand-channel): Show limit and key with channel
5732 modes. Sort users according to `erc-speedbar-sort-users-type'.
5733 (erc-speedbar-insert-user): Fixed bug where only nicks with more
5734 info were being listed, and those were shown twice.
5735 (erc-speedbar-goto-buffer): Don't use dframe functions, as dframe
5736 isn't available with the default speedbar.
5738 2004-05-06 Diane Murray <disumu@x3y2z1.net>
5740 * erc.el (erc-sort-channel-users-alphabetically): New function.
5741 (erc-server-412, erc-server-432, erc-server-475): New functions.
5742 (erc-server-412-hook, erc-server-432-hook, erc-server-475-hook):
5744 (erc-server-401, erc-server-403, erc-server-405)
5745 (erc-server-421, erc-server-474, erc-server-481): Use catalog
5747 (erc-define-catalog): Added s401, s403, s405, s412, s421, s432,
5748 s474, s475, and s481.
5750 2004-05-06 Diane Murray <disumu@x3y2z1.net>
5752 * erc-nickserv.el: Added documentation to Commentary, Usage.
5753 Removed `outline-mode' from file local variables.
5754 (erc-services-mode): Use `erc-nickserv-identify-mode' to add
5756 (erc-nickserv-identify-mode): New function.
5757 (erc-nickserv-identify-mode): New variable.
5758 (erc-prompt-for-nickserv-password, erc-nickserv-passwords):
5760 (erc-nickserv-identify-autodetect): Use
5761 `erc-nickserv-call-identify-function'. Docstring change.
5762 (erc-nickserv-identify-on-connect,
5763 erc-nickserv-identify-on-nick-change,
5764 erc-nickserv-call-identify-function): New functions.
5765 (erc-nickserv-identify): PASSWORD is not optional. Autoload
5768 2004-05-05 Diane Murray <disumu@x3y2z1.net>
5770 * erc.el (erc-join-hook, erc-quit-hook, erc-part-hook,
5771 erc-kick-hook, erc-connect-pre-hook): Now customizable.
5772 (erc-nick-changed-functions): New hook.
5773 (erc-server-NICK): Run `erc-nick-changed-functions' with the
5774 arguments NEW-NICK and OLD-NICK.
5775 (erc-channel-user-voice-p, erc-channel-user-voice-p): Shortened
5778 2004-05-05 Lawrence Mitchell <wence@gmx.li>
5780 * HACKING: New section on function/variable naming and coding
5783 2004-05-05 Lawrence Mitchell <wence@gmx.li>
5785 * erc.el (erc-wash-quit-reason): Quote regexp special characters
5786 in NICK, LOGIN and HOST.
5788 2004-05-04 Diane Murray <disumu@x3y2z1.net>
5790 * erc.el (erc-server-parameters): Typo fix in docstring.
5791 (erc-input-line-position): `:type' is now a choice between integer
5792 and nil. (erc-mode-map): Bind `erc-get-channel-mode-from-keypress'
5793 to C-c C-o instead of C-c RET (C-c C-m). (erc-cmd-GQUIT): Use
5794 REASON as argument when calling `erc-cmd-QUIT'.
5796 2004-05-03 Lawrence Mitchell <wence@gmx.li>
5798 * erc-nicklist.el: Initial version.
5800 2004-04-28 Diane Murray <disumu@x3y2z1.net>
5802 * erc-menu.el: Added local variables for file, fixed indenting.
5803 (erc-menu-version): New variable.
5804 (erc-menu-definition): "List channels": New. "Join channel": Use
5805 `erc-connected' as test. "Start a query": New. "List channel
5806 operators": New. "Input action": Moved up. "Set topic": Fixed
5807 test so it's only active in channels. "Leave this channel": Moved
5808 down. "Track hidden channel buffers": Removed. "Enable/Disable
5811 2004-04-28 Diane Murray <disumu@x3y2z1.net>
5813 * erc.el (erc-mode-map): Removed binding for
5814 `erc-save-buffer-in-logs' (moved to erc-log.el).
5815 (erc-cmd-QUERY, erc-cmd-OPS): Now interactive.
5817 2004-04-28 Diane Murray <disumu@x3y2z1.net>
5819 * erc-log.el: Added local variables for this file.
5820 (erc-log-channels-directory): Added directory as a choice in
5822 (define-erc-module): Define and undefine key binding (C-c
5823 C-l) for `erc-save-buffer-in-logs' here.
5825 2004-04-28 Diane Murray <disumu@x3y2z1.net>
5827 * erc-nets.el: Added local variables for this file.
5828 (erc-networks-alist): Fixed `:type' to work better in
5831 2004-04-28 Diane Murray <disumu@x3y2z1.net>
5833 * erc-match.el: Added local variables for file. (erc-keywords):
5834 Use `list' instead of `cons' in `:type'. Fixes bug where mismatch
5835 was shown in customization. (erc-current-nick-highlight-type):
5836 Escape parentheses in docstring. Added keyword, nick-or-keyword as
5839 2004-04-28 Diane Murray <disumu@x3y2z1.net>
5841 * erc-stamp.el: Added local variables for file.
5842 (erc-away-timestamp-format): Allow nil as a choice in `:type'.
5843 (erc-timestamp-intangible): Changed `:type' to boolean.
5844 (erc-timestamp-right-column): Added `:group' and `:type'.
5846 2004-04-28 Diane Murray <disumu@x3y2z1.net>
5848 * erc.el (erc-modules): Added bbdb, log, match, sound, and stamp
5849 as `:type' options; changed documentation for autojoin, fill,
5850 pcomplete, track. (erc-prompt-for-channel-key): New variable.
5851 (erc-join-channel): Only prompt for key if
5852 `erc-prompt-for-channel-key' is non-nil. (erc-format-my-nick): New
5853 function. (erc-send-message, erc-send-current-line): Use it.
5855 2004-04-24 Johan Bockgård <bojohan@users.sourceforge.net>
5857 * erc-track.el (erc-track-modified-channels): Fix indentation.
5859 2004-04-24 Johan Bockgård <bojohan@users.sourceforge.net>
5861 * erc-match.el (erc-hide-fools): Docstring fix.
5862 (erc-log-matches-types-alist): Added `current-nick' to valid
5865 2004-04-20 Diane Murray <disumu@x3y2z1.net>
5867 * erc-page.el, erc-ezbounce.el, erc-speak.el, erc-match.el,
5868 erc-track.el (erc-ezbounce, erc-page, erc-speak): Groups defined.
5869 (erc-match, erc-track): `erc' is parent group.
5870 (erc-ezb-regexp, erc-ezb-login-alist): Added `:group'.
5872 2004-04-20 Jorgen Schaefer <forcer@users.sourceforge.net>
5874 * erc-fill.el: Fixed erc-fill-static so it breaks the lines at the
5875 right column and respects timestamps. Patch by Simon Siegler
5877 (erc-fill-static): Major rewrite and split up into some functions.
5878 (erc-count-lines): Removed.
5879 (erc-fill-regarding-timestamp): New function.
5880 (erc-timestamp-offset): New function.
5881 (erc-restore-text-properties): New function.
5882 (erc-fill-variable): Respect leftbound timestamp. This is still
5883 broken if someone has both erc-timestamp-only-if-changed-flag set
5884 and erc-insert-timestamp-function set to
5885 'erc-insert-timestamp-left, but otherwise it works now.
5887 2004-04-20 Diane Murray <disumu@x3y2z1.net>
5889 * erc.el (erc-cmd-SV): Show features gtk, mac-carbon, multi-tty.
5890 Fixed so that arguments fit the format (build date was not being
5893 2004-04-19 Lawrence Mitchell <wence@gmx.li>
5895 * erc.el (erc-update-channel-topic): Error if `channel-topic' is
5896 unbound. Remove %-sign substitution.
5897 (erc-update-mode-line-buffer): Escape %-signs in `channel-topic'
5900 2004-04-19 Diane Murray <disumu@x3y2z1.net>
5902 * erc.el (erc-send-action, erc-ctcp-query-ACTION,
5903 erc-ctcp-reply-ECHO-hook): Let `erc-display-message-highlight'
5904 propertize the message.
5905 (erc-display-message-highlight): Allow for any erc-TYPE-face.
5906 (erc-cmd-JOIN): Display error message instead of throwing an error
5907 if there's no `invitation'.
5908 (erc-cmd-PART): Allow for no reason if channel is provided. Fixes
5909 bug where user would part the current channel with the other
5910 channel's name as reason when no reason was given.
5911 (erc-server-vectors, erc-debug-missing-hooks): Added docstring.
5912 (erc-server-JOIN): Moved `erc-join-hook' to JOIN-you section.
5913 `erc-join-hook' called by `run-hook-with-args', sending the ARGS
5914 `chnl' and the channel's buffer. Changed an instance of if
5915 without else to when.
5916 (erc-server-477): New function.
5917 (erc-server-477-hook): Use `erc-server-477'.
5918 (erc-define-catalog): Added `no-invitation'.
5920 2004-04-14 Diane Murray <disumu@x3y2z1.net>
5922 * erc-nickserv.el: Local variables for file added.
5923 (erc-nickserv-passwords): Customization: Network symbols updated
5924 to reflect `erc-nickserv-alist'. Allow user to type in network
5926 (erc-nickserv-alist): Now customizable variable.
5928 2004-04-09 Diane Murray <disumu@x3y2z1.net>
5930 * erc-autoaway.el (erc-autoaway-reset-idletime): Make sure `line'
5931 is a string to avoid errors upon startup.
5933 2004-04-06 Diane Murray <disumu@x3y2z1.net>
5935 * erc-autoaway.el (erc-autoaway-version): New variable.
5936 (erc-auto-discard-away): Updated docstring.
5937 (erc-autoaway-no-auto-back-regexp): New variable.
5938 (erc-autoaway-reset-idletime): Use it. Hopefully a better solution
5939 which allows for aliases to "/away" and any other text that the
5940 user wants to ignore when `erc-auto-discard-away' is non-nil.
5942 2004-04-06 Diane Murray <disumu@x3y2z1.net>
5944 * erc-autoaway.el (erc-autoaway-reset-idletime): Forgot /gaway in
5947 2004-04-06 Diane Murray <disumu@x3y2z1.net>
5949 * erc-autoaway.el (erc-autoaway-reset-idletime): If the user sends
5950 an "/away" command, don't call `erc-autoaway-set-back', fixes bug
5951 where ERC would send "/away" when user was already away and sent an
5952 "/away reason". Changed `l' to `line' for better understanding.
5953 (erc-autoaway-set-back): Changed `l' to `line' for better
5956 2004-04-05 Diane Murray <disumu@x3y2z1.net>
5958 * erc.el (erc-set-channel-key): Now able to remove key.
5959 (erc-set-channel-limit): Now able to remove limit.
5960 (erc-get-channel-mode-from-keypress): Fixed docstring.
5962 2004-04-04 Diane Murray <disumu@x3y2z1.net>
5964 * erc.el (erc-join-channel): Allow for optional channel key.
5965 (erc-set-modes): Need to set `channel-key' to nil in case of mode
5966 changes during split.
5967 (erc-show-channel-key-p): New variable.
5968 (erc-prepare-mode-line-format): Only show key if
5969 `erc-show-channel-key-p' is non-nil.
5971 2004-04-04 Diane Murray <disumu@x3y2z1.net>
5973 * erc.el (channel-key): New variable.
5974 (erc-update-channel-key): New function.
5975 (erc-set-modes, erc-parse-modes, erc-update-modes, erc,
5976 erc-update-channel-info-buffer): Deal with channel keys.
5977 (erc-prepare-mode-line-format): Show channel key in header-line.
5978 (erc-server-NICK): Show nick change in server buffer as well.
5979 (erc, erc-send-command, erc-banlist-store, erc-banlist-update,
5980 erc-load-irc-script-lines,
5981 erc-arrange-session-in-multiple-windows, erc-handle-login,
5982 erc-find-channel-info-buffer): Changed when not to unless.
5983 (erc-server-MODE): Changed if without else to when.
5985 2004-03-27 Adrian Aichner <adrian@xemacs.org>
5987 * erc.el (erc-cmd-BANLIST): Use `truncate-string-to-width'
5988 instead of `truncate-string' alias.
5989 (erc-nickname-in-use): Ditto.
5991 2004-03-27 Francis Litterio <franl@users.sourceforge.net>
5993 * erc-list.el (erc-cmd-list): Fixed error caused by erc-cmd-LIST
5994 passing a non-sequence to erc-chanlist.
5996 2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
5998 * erc.el: Add new hook `erc-join-hook', which is run when we join a
6001 2004-03-22 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
6003 * erc.el: Replaced existing notice user notification system and
6004 the configuration options, which consisted of
6005 `erc-echo-notices-in-minibuffer-flag' and
6006 `erc-echo-notices-in-current-buffer' with two new hooks,
6007 `erc-echo-notice-hook' and `erc-echo-notice-always-hook'.
6009 When user notification is needed, `erc-echo-notice-always-hook' is
6010 first run using `run-hook-with-args', then `erc-echo-notice-hook'
6011 is run using `run-hook-with-args-until-success'.
6013 In addition to these hooks, a large number of functions, which are
6014 described in the documentation strings of those hooks, were added
6015 which can be used to achieve a large variety of different
6018 The current default behavior, which is identical to the existing
6019 default behavior, is for `erc-echo-notice-always-hook' to be set to
6020 `(erc-echo-notice-in-default-buffer).
6022 2004-03-21 Diane Murray <disumu@x3y2z1.net>
6024 * erc-track.el (erc-modified-channels-display): Added a space
6025 before opening bracket.
6027 2004-03-21 Diane Murray <disumu@x3y2z1.net>
6029 * erc.el (erc-format-query-as-channel-p): New variable.
6030 (erc-server-PRIVMSG-or-NOTICE): If `erc-format-query-as-channel-p'
6031 is nil, messages in the query buffer are formatted like private
6034 (erc-server-252-hook, erc-server-253-hook, erc-server-254-hook,
6035 erc-server-256-hook, erc-server-257-hook, erc-server-258-hook,
6036 erc-server-259-hook, erc-server-371-hook, erc-server-372-hook,
6037 erc-server-374-hook, erc-server-374-hook, erc-server-442-hook,
6038 erc-server-477-hook): Removed, now defined in
6039 `erc-server-hook-list'.
6040 (erc-display-server-message): New function.
6041 (erc-server-252, erc-server-253, erc-server-254, erc-server-442):
6043 (erc-server-hook-list): Added 250, 256, 257, 258, 259, 265, 266,
6044 377, 378, 477 - using `erc-display-server-message'. 251, 255 now
6045 use `erc-display-server-message'. Added 252, 253, 254, 442 -
6046 using respective erc-server-* functions. 371, 372, 374, 375 now
6048 (erc-define-catalog): Added s252, s253, s254, s442.
6049 (erc-server-001, erc-server-004, erc-server-005): Fixed
6052 2004-03-20 Diane Murray <disumu@x3y2z1.net>
6054 * erc-stamp.el: Commentary: Changed `erc-stamp-mode' to
6055 `erc-timestamp-mode'.
6056 (erc-insert-timestamp-left): Use `erc-timestamp-face' on filler
6059 2004-03-19 Diane Murray <disumu@x3y2z1.net>
6061 * erc.el (erc-send-action): Use `erc-input-face'.
6062 (erc-display-message-highlight): If the requested highlighting
6063 type doesn't match, just display the string with no highlighting
6064 and warn about it with `erc-log'.
6065 (erc-cmd-JOIN): If user is already on the requested channel,
6066 switch to that channel's buffer.
6067 (erc-ctcp-query-ACTION): Use `erc-action-face' for nick as well.
6068 (erc-header-line-use-help-echo-p): New variable.
6069 (erc-update-mode-line-buffer): Use `help-echo' for header-line if
6070 `erc-header-line-use-help-echo-p' is non-nil.
6072 2004-03-18 Adrian Aichner <adrian@xemacs.org>
6074 * erc-nets.el: Use two arguments version of `make-obsolete', if
6075 third argument is not supported (for XEmacs).
6077 2004-03-18 Andreas Fuchs <asf@void.at>
6079 * CREDITS: added CREDITS entry for Adrian Aichner
6081 2004-03-18 Andreas Fuchs <asf@void.at>
6083 * erc-xdcc.el, erc.el, erc-autoaway.el, erc-autojoin.el,
6084 erc-button.el, erc-dcc.el, erc-ezbounce.el, erc-imenu.el,
6085 erc-list.el, erc-log.el, erc-match.el, erc-members.el,
6086 erc-menu.el, erc-netsplit.el, erc-notify.el, erc-speedbar.el,
6087 erc-stamp.el, erc-track.el, erc-truncate.el:
6088 (erc-coding-sytem-for-target): Removed.
6089 (erc-coding-system-for-target): New.
6090 (erc-autoaway-use-emacs-idle): Typo fix.
6091 (erc-auto-set-away): Ditto.
6092 (erc-auto-discard-away): Ditto.
6094 (erc-button-alist): Ditto.
6095 (erc-dcc-auto-masks): Ditto.
6096 (erc-dcc-chat-send-input-line): Ditto.
6097 (erc-ezb-get-login): Ditto.
6098 (erc-unfill-notice): Ditto.
6099 (erc-save-buffer-in-logs): Ditto.
6101 (erc-log-matches-types-alist): Ditto.
6102 (erc-match-directed-at-fool-p): Ditto.
6103 (erc-match-message): Ditto.
6104 (erc-update-member): Ditto.
6105 (erc-ignored-reply-p): Ditto.
6106 (erc-menu-definition): Ditto.
6107 (erc-netsplit-QUIT): Ditto.
6108 (erc-notify-list): Ditto.
6109 (erc-speedbar-update-channel): Ditto.
6110 (erc-speedbar-item-info): Ditto.
6112 (erc-timestamp-intangible): Ditto.
6113 (erc-add-timestamp): Ditto.
6114 (erc-timestamp-only-if-changed-flag): Ditto.
6115 (erc-show-timestamps): Ditto.
6116 (erc-track-priority-faces-only): Ditto.
6117 (erc-modified-channels-alist): Ditto.
6118 (erc-unique-substrings): Ditto.
6119 (erc-find-parsed-property): Ditto.
6120 (erc-track-switch-direction): Ditto.
6121 (erc-truncate-buffer-to-size): Ditto.
6123 (erc-auto-reconnect): Ditto.
6124 (erc-startup-file-list): Ditto.
6125 (erc-once-with-server-event): Ditto.
6126 (erc-once-with-server-event-global): Ditto.
6128 (erc-generate-new-buffer-name): Ditto.
6130 (erc-open-ssl-stream): Ditto.
6131 (erc-default-coding-system): Ditto.
6132 (erc-encode-string-for-target): Ditto.
6133 (erc-decode-string-from-target): Ditto.
6134 (erc-scroll-to-bottom): Ditto.
6135 (erc-decode-controls): Ditto.
6136 (erc-channel-members-changed-hook): Ditto.
6137 (erc-put-text-property): Ditto.
6138 (erc-add-default-channel): Ditto.
6140 2004-03-17 Diane Murray <disumu@x3y2z1.net>
6142 * erc.el (erc-process-sentinel): Cancel ping timer upon
6144 (erc-cmd-PART): Use same regexp as `erc-cmd-QUIT' when no #channel
6146 (erc-nick-uniquifier, erc-manual-set-nick-on-bad-nick-p): `:group'
6148 (erc-part-reason-zippy, erc-part-reason-zippy): Removed FIXME
6149 comments. I see no problem allowing typed in reasons.
6151 2004-03-16 Diane Murray <disumu@x3y2z1.net>
6153 * erc-stamp.el (erc-insert-timestamp-left): Added support for
6154 `erc-timestamp-only-if-changed-flag' and added docstring.
6155 (erc-timestamp-only-if-changed-flag): Updated documentation.
6157 2004-03-13 Francis Litterio <franl@users.sourceforge.net>
6159 * erc-nets.el (erc-network-name): No longer marked as obsolete.
6160 Why was this function made obsolete? There is no other function
6161 that performs this task. Some of us use these functions in our
6162 personal ERC configs.
6164 2004-03-12 Lawrence Mitchell <wence@gmx.li>
6166 * erc.el (erc-buffer-filter): Use `with-current-buffer'.
6167 (erc-process-input-line): Append newline to documentation. Fixes a
6168 bug whereby the prompt would be put on the same line as the output.
6169 (erc-cmd-GQUIT): Only try and send QUIT if the process is alive.
6171 2004-03-12 Lawrence Mitchell <wence@gmx.li>
6173 * erc-log.el: Only add top-level hooks if `erc-enable-logging' is
6176 2004-03-10 Damien Elmes <erc@repose.cx>
6178 * erc-nets.el: From Adrian Aichner (adrian /at/ xemacs /dot/ org)
6179 * erc-nets.el: XEmacs make-obsolete only takes two arguments.
6181 2004-03-10 Diane Murray <disumu@x3y2z1.net>
6183 * erc-nets.el (erc-determine-network): Use `erc-session-server' if
6184 `erc-announced-server' is nil to avoid error if server does not
6185 send 004 (RPL_MYINFO) message.
6187 2004-03-10 Lawrence Mitchell <wence@gmx.li>
6189 * erc-nets.el (erc-server-alistm erc-settings): Use lowercase
6190 "freenode", as in `erc-networks-alist'.
6192 2004-03-10 Lawrence Mitchell <wence@gmx.li>
6194 * erc-nickserv.el (erc-nickserv-alist): Use lowercase "freenode",
6195 as in `erc-networks-alist'.
6197 2004-03-10 Lawrence Mitchell <wence@gmx.li>
6199 * erc-dcc.el (pcomplete/erc-mode/DCC): Append "send" as a list.
6201 2004-03-10 Francis Litterio <franl@users.sourceforge.net>
6203 * erc-nets.el (erc-networks-alist): Changed "Freenode" to
6206 2004-03-10 Francis Litterio <franl@users.sourceforge.net>
6208 * erc-list.el (erc-cmd-LIST): Improved the docstring. Made
6209 message to user more accurate depending on whether a single
6210 channel is being listed or not.
6212 2004-03-10 Lawrence Mitchell <wence@gmx.li>
6214 * erc-nets.el (erc-determine-network): Make matching logic simpler
6215 (suggested by Damian Elmes).
6216 (erc-current-network, erc-network-name): Add `make-obsolete' form.
6217 (erc-set-network-name): Indentation fix.
6218 (erc-ports-list): Add docstring. Rework function body to use
6221 2004-03-09 Diane Murray <disumu@x3y2z1.net>
6223 * erc-list.el, erc-notify.el (require 'erc-nets): Added.
6225 2004-03-08 Diane Murray <disumu@x3y2z1.net>
6227 * erc.el (erc-network-name): Function definition moved to
6228 erc-nets.el. The functions `erc-determine-network' and
6229 `erc-network' in erc-nets.el do what this did before. Deprecated.
6230 Use (erc-network) instead.
6232 2004-03-08 Diane Murray <disumu@x3y2z1.net>
6234 * erc-nickserv.el: Changed copyright notice. Now require
6235 erc-nets. erc-nets.el now takes care of network-related functions
6237 (erc-nickserv-alist): Changed network symbols to match those in
6238 `erc-networks-alist' in erc-nets.el.
6239 (erc-nickserv-identify-autodetect): Use `erc-network'.
6240 (erc-nickserv-identify): Use `erc-network'. Changed wording for
6241 interactive use, now shows current nick.
6242 (erc-networks): Removed. Use `erc-networks-alist' as defined in
6244 (erc-current-network): Function definition moved to erc-nets.el.
6245 The functions `erc-determine-network' and `erc-network' in
6246 erc-nets.el do what this did before. Deprecated. Use
6247 (erc-network) instead.
6249 2004-03-08 Diane Murray <disumu@x3y2z1.net>
6251 * erc-nets.el: Added commentary, `erc-nets-version'.
6252 (erc-server-alist): Changed Brasnet to BRASnet.
6253 (erc-networks-alist): All networks (except EFnet and IRCnet) now
6254 have a MATCHER. (erc-network): New variable.
6255 (erc-determine-network): New function. Determine the network the
6256 user is on. Use the server parameter NETWORK, if provided, else
6257 parse the server name and search for a match (regexp and loop by
6258 wencem) in `erc-networks-alist'. Return the name of the network
6259 or "Unknown" as a symbol.
6260 (erc-network): New function. Returns value of `erc-network'. Use
6261 this when the current buffer is not the server process buffer.
6262 (erc-current-network): Returns the value of `erc-network' as
6263 expected by users who used the function as it was defined in
6264 erc-nickserv.el. Deprecated.
6265 (erc-network-name): Returns the value of `erc-network' as expected
6266 by users who used the function as it was defined in erc.el.
6268 (erc-set-network-name): New function. Added to
6269 `erc-server-375-hook' and `erc-server-422-hook'.
6270 (erc-unset-network-name): New function. Added to
6271 `erc-disconnected-hook'.
6272 (erc-server-select): Small documentation word change.
6274 2004-03-07 Diane Murray <disumu@x3y2z1.net>
6276 * AUTHORS, CREDITS: disumu info updated
6278 2004-03-06 Lawrence Mitchell <wence@gmx.li>
6280 * erc-list.el (erc-cmd-LIST): Take &rest rather than &optional
6282 (erc-chanlist): Construct correct LIST command from list of
6285 2004-03-06 Lawrence Mitchell <wence@gmx.li>
6287 * erc.el (erc-update-mode-line-buffer): Add 'help-echo property to
6288 header-line text. This allows header lines longer than the width
6289 of the current window to be seen.
6291 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
6293 * erc-match.el (erc-match-directed-at-fool-p): Also check for
6296 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
6298 * erc-match.el (erc-match-message): Only use nick-or-keyword if
6299 we're matching our nick.
6301 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
6303 * erc-match.el: The highlight type for the current nickname can
6304 now also be 'nick-or-keyword, to highlight the nick of the sender
6305 if that is available, but fall back to highlighting your nickname
6306 in the whole message otherwise.
6307 (erc-current-nick-highlight-type): Adapted docstring accordingly.
6308 (erc-match-message): Added new condition. Also added some comments
6309 to this monster of a function.
6311 2004-03-06 Jorgen Schaefer <forcer@users.sourceforge.net>
6313 * erc.el (erc-is-valid-nick-p): Don't check for length less or
6316 2004-03-06 Damien Elmes <erc@repose.cx>
6318 * erc-nickserv.el (erc-current-network): the last change resulted
6319 in this function failing when a network identifies itself as
6320 anything other than var.netname.com, so for instance
6321 'vic.au.austnet.org' fails. This version is only a marginal
6322 improvement over the original, but if we want to be more flexible
6323 we'll probably have to do the iteration ourselves instead of using
6326 2004-03-05 Diane Murray <disumu@x3y2z1.net>
6328 * erc.el: Added erc-server-001 which runs when the server sends
6329 its welcome message. It sets the current-nick to reflect the
6330 server's settings. This fixes a bug where nicks that were too long
6331 and got truncated by the server were still set to the old value.
6332 (nickname-in-use): If user wants to try again manually, let user
6333 know that the nick is taken. If not, go through erc-default-nicks
6334 until none are left, and then try one last time with
6335 erc-nick-uniquifier. If it's still a bad-nick, make the user
6336 change nick manually. When applying uniquifier, use NICKLEN if
6337 it's in the server parameters, otherwise use what RFC 2812 says is
6338 the max nick length (9 chars). Added custom variable
6339 erc-manual-set-nick-on-bad-nick-p, which is set to nil and
6340 erc-nick-change-attempt-count. Reset erc-default-nicks and
6341 erc-nick-change-attempt-count when the nick has been changed
6342 successfully. This fixes the bug where ERC would get caught in a
6343 neverending loop of trying to set the same nick if the nick was
6344 too long and the uniquified nick was not available.
6346 * added erc-cmd-WHOAMI
6348 * added custom variable erc-mode-line-away-status-format, use this
6349 instead of the previous hard-coded setting
6351 * erc-server-315|318|369-hook defvar lines removed - they're
6352 already defined in erc-server-hook-list
6354 2004-03-04 Lawrence Mitchell <wence@gmx.li>
6356 * HACKING: Initial commit. Some thoughts on coding standards.
6358 2004-03-03 Diane Murray <disumu@x3y2z1.net>
6360 * erc-track.el: added the variable erc-track-priority-faces-only
6361 which adds the option to ignore changes in a channel unless there
6362 are faces from the erc-track-faces-priority-list in the message
6363 options are nil, 'all, or a list of channel name strings
6365 2004-03-01 Diane Murray <disumu@x3y2z1.net>
6367 * erc.el, erc-ibuffer.el, erc-menu.el: Changed erc-is-channel-op
6368 and erc-is-channel-voice to erc-channel-user-op-p and
6369 erc-channel-user-voice-p to better match erc-channel-user
6370 structure (and emacs lisp usage)
6372 2004-03-01 Diane Murray <disumu@x3y2z1.net>
6374 * erc.el, erc-ibuffer.el, erc-menu.el:
6375 erc-track-modified-channels-mode is now erc-track-mode
6377 2004-02-29 Diane Murray <disumu@x3y2z1.net>
6379 * erc-match.el: Added 'keyword option to
6380 erc-current-nick-highlight-type highlights all instances of
6381 current-nick in the message ('nickname option in cvs revisions 1.9
6382 - 1.11 had same effect)
6384 2004-02-28 Jorgen Schaefer <forcer@users.sourceforge.net>
6386 * erc-button.el: Add Lisp: prefix for the EmacsWiki Elisp area.
6387 (erc-button-alist): Added Lisp: prefix.
6388 (erc-emacswiki-lisp-url): New variable.
6389 (erc-browse-emacswiki-lisp): New function.
6391 2004-02-27 Lawrence Mitchell <wence@gmx.li>
6393 * erc.el (erc-get-arglist): Use `substitute-command-keys', rather
6394 than hard-coding C-h f for `describe-function'.
6396 2004-02-26 Johan Bockgård <bojohan@users.sourceforge.net>
6398 * erc-log.el (erc-save-buffer-in-logs): bind `inhibit-read-only'
6399 to t around call to `erase-buffer'.
6401 2004-02-23 Edward O'Connor <ted@oconnor.cx>
6403 * erc-chess.el, erc-dcc.el, erc-ezbounce.el, erc-list.el,
6404 erc-macs.el, erc-ring.el, erc-stamp.el, erc.el: Normalized buffer
6405 local variable creation.
6407 2004-02-17 Lawrence Mitchell <wence@gmx.li>
6409 * erc.el (erc-scroll-to-bottom, erc-add-scroll-to-bottom): Mention
6410 `erc-input-line-position' in docstring.
6412 2004-02-13 Jorgen Schaefer <forcer@users.sourceforge.net>
6414 * erc.el (erc-kick-hook): Typo fix.
6416 2004-02-13 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
6418 * erc.el: Added `erc-kick-hook', which is called when the local
6419 user is kicked from a channel. Fixed a bug in `erc-cmd-OPS', such
6420 that the command now works. Added `erc-remove-channel-users', in
6421 order to fix a number of significant bugs relating to channel
6424 2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
6426 * erc.el (erc-display-prompt): Remove last change. This caused a
6429 2004-02-12 Jorgen Schaefer <forcer@users.sourceforge.net>
6431 * erc.el (erc-display-prompt): Also set 'field property, so C-j
6432 works on an empty prompt.
6434 2004-02-12 Lawrence Mitchell <wence@gmx.li>
6436 * erc.el (erc-update-channel-topic): Ensure that `channel-topic'
6437 does not contain any bare format controls.
6439 2004-02-10 Jorgen Schaefer <forcer@users.sourceforge.net>
6441 * erc-stamp.el (erc-timestamp-intangible): New variable (user
6443 (erc-format-timestamp): Use erc-timestamp-intangible.
6445 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
6447 * erc-button.el: Fixed bug related to nickname buttonizing and text
6448 fields due to erc-stamp.
6450 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
6452 * CREDITS: Added mention of my change of ERC to use hash tables.
6454 2004-02-07 Jeremy Bertram Maitin-Shepard <jbms@gentoo.org>
6456 * AUTHORS: Added myself to the list.
6458 2004-02-05 Lawrence Mitchell <wence@gmx.li>
6460 * erc.el: From Jeremy Maitin-Shepard <jbms@attbi.com>:
6461 (erc-remove-channel-user): Use `delq' not `delete'.
6462 (erc-get-buffer): Pass PROC through to `erc-buffer-filter'.
6463 (erc-process-sentinel): Use `erc' rather than `erc-reconnect' for
6466 2004-02-02 Lawrence Mitchell <wence@gmx.li>
6468 * erc.el (erc-buffer-list-with-nick): Apply `erc-downcase' NICK.
6470 2004-01-30 Alex Schroeder <alex@gnu.org>
6472 * erc.el (erc-get-buffer): Use erc-buffer-filter.
6474 2004-01-30 Johan Bockgård <bojohan@users.sourceforge.net>
6476 * erc.el: From jbms:
6477 (erc-get-channel-nickname-list): New function.
6478 (erc-get-server-nickname-list): New function.
6479 (erc-get-server-nickname-alist): New function.
6480 (erc-get-channel-nickname-alist): New function.
6482 2004-01-30 Johan Bockgård <bojohan@users.sourceforge.net>
6484 * erc-match.el (erc-add-entry-to-list,
6485 erc-remove-entry-from-list): Use `erc-member-ignore-case' to
6487 (erc-add-pal, erc-add-fool): Fix type bug. Use
6488 `erc-get-server-nickname-alist'.
6490 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
6492 * erc.el: From jbms: Adds xemacs compatibility to hash table
6493 channel-members patch.
6495 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
6497 * erc.el (erc-update-undo-list): Rewritten. Update
6498 buffer-undo-list in place. Deal with XEmacsesque
6499 entries (extents) in the list.
6500 (erc-channel-users): Fix unescaped open-paren in left column in
6503 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
6505 * erc-ring.el (erc-replace-current-command): Exclude the prompt
6506 from the deleted region and don't redisplay the prompt (because
6507 `erc-display-prompt' flushes `buffer-undo-list').
6509 2004-01-29 Johan Bockgård <bojohan@users.sourceforge.net>
6511 * erc-match.el (erc-add-entry-to-list): Use `symbol-value' instead
6514 2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
6516 * erc.el (erc-kill-buffer-function): maphash was missing an
6519 2004-01-28 Jorgen Schaefer <forcer@users.sourceforge.net>
6521 * Makefile, erc-autoaway.el, erc-button.el, erc-ibuffer.el,
6522 erc-lang.el, erc-list.el, erc-match.el, erc-menu.el, erc-page.el,
6523 erc-pcomplete.el, erc-speedbar.el, erc.el: HUGE change by jbms.
6524 This makes channel-members a hash, erc-channel-users.
6526 Modified files: Makefile erc-autoaway.el erc-button.el
6527 erc-ibuffer.el erc-lang.el erc-list.el erc-match.el erc-menu.el
6528 erc-page.el erc-pcomplete.el erc-speedbar.el erc.el
6530 The changes are too numerous to document properly. Have fun with
6533 2004-01-27 Jorgen Schaefer <forcer@users.sourceforge.net>
6535 * erc.el (erc-send-input-line): Add a space to empty lines so the
6538 2004-01-25 Jorgen Schaefer <forcer@users.sourceforge.net>
6540 * erc.el: erc-send-whitespace-lines: New variable.
6541 (erc-send-current-line): Use erc-send-whitespace-lines. Also,
6542 removed superfluous test for empty line in the mapc, since the
6543 blank line test should find all. I do like to be able to send an
6544 empty line when i want to!
6545 (erc-send-current-line): Check for point being in input line
6546 before checking for blank lines.
6548 2004-01-21 Lawrence Mitchell <wence@gmx.li>
6550 * erc.el (erc-display-line-1): Move `erc-update-undo-list' outside
6551 `save-restriction'. Removing need for temporary variable.
6552 (erc-send-current-line): Fix bug introduced by last change, remove
6553 complement in blank line regexp.
6555 2004-01-20 Lawrence Mitchell <wence@gmx.li>
6557 * erc.el (erc-update-undo-list): Add logic to catch the case when
6558 `buffer-undo-list' is t, indentation cleanup.
6559 (erc-send-current-line): Reverse logic for matching blank lines.
6561 2004-01-20 Lawrence Mitchell <wence@gmx.li>
6563 * erc.el (erc-input-line-position): New variable. If non-nil,
6564 specifies the argument to `recenter' in `erc-scroll-to-bottom'.
6565 (erc-scroll-to-bottom): Use it.
6567 2004-01-20 Lawrence Mitchell <wence@gmx.li>
6569 * erc.el: From Johan Bockgård <bojohan+news@dd.chalmers.se>:
6570 (erc-update-undo-list): New function. Update `buffer-undo-list'
6571 so that calling `undo' in an ERC buffer doesn't mess up the
6573 (erc-display-line-1): Use it.
6575 2004-01-19 Lawrence Mitchell <wence@gmx.li>
6577 * erc.el (erc-beg-of-input-line): Use `forward-line' rather than
6578 `beginning-of-line'. Docstring fix.
6579 (erc-end-of-input-line): Docstring fix.
6581 2004-01-13 Jorgen Schaefer <forcer@users.sourceforge.net>
6583 * erc.el (erc-display-prompt): Remove the undo list after
6584 displaying the prompt, so the user can't undo ERC changes, which
6585 breaks some stuff anyways. This way the user can still undo his
6586 editing, but not ours.
6588 2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
6590 * erc.el (erc-scroll-to-bottom): Should recenter on the bottom
6591 line, not the second-to-last one.
6593 2004-01-12 Lawrence Mitchell <wence@gmx.li>
6595 * erc.el (erc-bol): Fix bug introduced in my changes from 2004-01-11.
6597 2004-01-12 Lawrence Mitchell <wence@gmx.li>
6599 * erc.el: From Brian Palmer <bpalmer@gmail.com>
6600 (erc-cmd-JOIN): Use `erc-member-ignore-case', rather than
6601 `member-ignore-case'.
6603 2004-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
6605 * erc.el: There was an inconsistency where the values of op and
6606 voice in channel-names could be 'on or 'off after an update, t and
6607 nil before. The intended version was to have t or nil, so i fixed
6609 (channel-names): Updated docstring.
6610 (erc-update-current-channel-member): Clarified docstring, fixed so
6611 it sets t or nil on an update as well, not only on an add.
6612 (erc-cmd-OPS): Updated not to check for 'on (the only function that
6615 2004-01-12 Lawrence Mitchell <wence@gmx.li>
6617 * erc.el (erc-part-reason-various-alist,
6618 erc-update-mode-line-buffer): Fix docstring
6620 2004-01-11 Lawrence Mitchell <wence@gmx.li>
6622 * erc.el (erc-update-mode-line): Fix typo.
6624 2004-01-11 Lawrence Mitchell <wence@gmx.li>
6626 * erc.el (erc-prompt-interactive-input): Removed.
6627 (erc-display-prompt): Removed `erc-prompt-interactive-input'
6628 option. (erc-interactive-input-map): Removed.
6630 Major docstring fixes.
6632 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
6634 * erc.el (erc-cmd-OPS): Added this function.
6635 (erc-cmd-IDLE): Switched from using erc-display-message-highlight
6638 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
6640 * erc-list.el (erc-cmd-LIST): Switched from using
6641 erc-display-message-highlight to erc-make-notice.
6643 2004-01-07 Francis Litterio <franl@users.sourceforge.net>
6645 * erc.el (erc-once-with-server-event): Added a sentence to the
6646 docstring. Now returns the uninterned symbol that is added to the
6648 (erc-cmd-IDLE): Changed to use erc-once-with-server-event instead
6649 of erc-once-with-server-event-global.
6651 2004-01-06 Francis Litterio <franl@users.sourceforge.net>
6653 * erc-list.el (erc-chanlist-hide-modeline): New variable.
6654 (erc-chanlist): Now displays message as a notice. Also hides the
6655 modeline if erc-chanlist-hide-modeline is non-nil.
6657 2004-01-05 Francis Litterio <franl@users.sourceforge.net>
6659 * erc.el (erc-server-PRIVMSG-or-NOTICE): Now nicks appear as
6660 <nick> in query buffers, instead of as *nick*.
6662 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
6664 * erc.el (erc-once-with-server-event-global): Changed to return
6665 the uninterned symbol that it creates.
6666 (erc-cmd-LIST): Changed to clean up hooks that don't run.
6668 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
6670 * erc-pcomplete.el (pcomplete/erc-mode/IDLE): Added to support new
6673 2004-01-03 Francis Litterio <franl@users.sourceforge.net>
6675 * erc.el (erc-once-with-server-event-global): New function. Like
6676 erc-once-with-server-event, except it modifies the global value of
6678 (erc-cmd-IDLE): New function. Implements the new /IDLE command.
6679 Usage: /IDLE NICK (erc-seconds-to-string): New function. Converts
6680 a number of seconds to an English phrase.
6682 2004-01-02 Francis Litterio <franl@users.sourceforge.net>
6684 * erc-list.el: Added variable erc-chanlist-mode-hook.
6686 2003-12-30 Francis Litterio <franl@users.sourceforge.net>
6688 * erc.el(erc-cmd-HELP):
6689 Changed to prefer giving help for erc-cmd-* functions over
6690 similarly-named Elisp functions (e.g., erc-cmd-LIST vs. list).
6692 2003-12-28 Francis Litterio <franl@users.sourceforge.net>
6694 * erc.el(erc-query-buffer-p): Added this function.
6696 2003-12-28 Jorgen Schaefer <forcer@users.sourceforge.net>
6698 * erc.el(erc-cmd-SV): Use erc-emacs-build-time.
6700 * erc-compat.el: erc-emacs-build-time: New variable.
6702 * erc.el(erc-cmd-SAY):
6703 Reintroduced the feature where the spaces between
6704 "/SAY" and the rest of the line were being sent with the message.
6706 2003-12-28 Francis Litterio <franl@users.sourceforge.net>
6708 * erc.el(erc-server-buffer-p):
6709 Fixed a bug where this function sometimes would return
6710 nil when it should return t.
6712 2003-12-27 Francis Litterio <franl@users.sourceforge.net>
6714 * erc.el(erc-generate-new-buffer-name):
6715 Really fixed a bug where ERC would reuse
6716 a connected server buffer when erc-reuse-buffers is non-nil.
6717 (erc-cmd-JOIN): Now we tell the user when he attempts to join the same
6718 channel twice on the same server.
6720 * erc.el(erc-generate-new-buffer-name):
6721 Fixed a bug where ERC would reuse a connected server buffer when erc-reuse-buffers is non-nil.
6723 * erc.el(erc-cmd-SAY):
6724 Fixed a bug where the spaces between "/SAY" and the rest of the
6725 line were being sent with the message.
6727 * erc-list.el: Fixed another typo.
6729 * erc-list.el: Fixed a typo.
6732 Added text to the top of the channel list buffer describing the keybinding for
6733 function erc-chanlist-join-channel.
6735 * erc-list.el: Minor appearance changes. No functional change.
6738 Implemented function erc-chanlist-join-channel. Added variable
6739 erc-chanlist-channel-line-regexp. Got rid of function
6740 erc-chanlist-pre-command-hook. Changed the logic for how channel lines are
6743 2003-12-26 Francis Litterio <franl@users.sourceforge.net>
6746 Removed a bunch of unused code. No semantic change.
6748 * erc-list.el: Added lots of functionality.
6750 2003-12-15 Mario Lang <mlang@delysid.org>
6752 * erc-track.el, erc.el:
6753 New custom type erc-message-type, use it in erc-hide-list and erc-track-exclude-types
6755 2003-12-14 Alex Schroeder <alex@gnu.org>
6757 * erc-track.el(track-when-inactive): New module.
6758 (erc-track-visibility): New option.
6759 (erc-buffer-activity): New variable.
6760 (erc-buffer-activity-timeout): New variable.
6761 (erc-user-is-active): New function.
6762 (erc-buffer-visible): New function.
6763 (erc-modified-channels-update): Replace get-buffer-window call
6764 with call to erc-buffer-visible.
6765 (erc-track-modified-channels): Ditto.
6767 2003-12-14 Lawrence Mitchell <wence@gmx.li>
6769 * erc-track.el(erc-modified-channels-update):
6770 Force update of modeline. Makes sure
6771 that the tracked channels disappear in other buffers too.
6773 2003-12-06 Lawrence Mitchell <wence@gmx.li>
6775 * erc.el(define-erc-module):
6776 New optional argument LOCAL-P. If non-nil, then
6777 mode will be created as buffer-local rather than a global mode.
6778 (erc-cmd-CTCP): Fix indentation from last commit.
6780 * erc-compat.el(erc-define-minor-mode):
6781 Deal with :global and :group keywords.
6783 * erc-nickserv.el(erc-current-network):
6784 Make server regex more permissive.
6786 * erc.el(erc-cmd-CTCP):
6787 Don't add a space to end of command when ARGS are
6788 empty. This fixes a bug whereby requests of the form "VERSION " were
6789 being sent, and ignored.
6791 2003-11-27 Lawrence Mitchell <wence@gmx.li>
6793 * erc-log.el: From Adrian Aichner <adrian@xemacs.org>
6794 * erc-log.el (erc-log-file-coding-system): Use 'binary
6795 coding-system under XEmacs (instead of 'emacs-mule).
6796 * erc-log.el (erc-w32-invalid-file-characters): Removed as no
6798 * erc-log.el (erc-generate-log-file-name-long): Use
6799 `convert-standard-filename', which exists in XEmacs too.
6801 2003-11-16 Mario Lang <mlang@delysid.org>
6803 * erc-identd.el: Code provided by johnw, thanks!
6805 2003-11-09 Lawrence Mitchell <wence@gmx.li>
6807 * erc.el(erc-latest-version): Clean up docstring.
6808 Remove requirement for w3, wrap REQUIRE statement in IGNORE-ERRORS.
6809 Update viewcvs url to correct location.
6810 (erc-ediff-latest-version): Make sure that we find the uncompiled
6811 erc.el, error if not.
6813 2003-11-07 Mario Lang <mlang@delysid.org>
6815 * erc.el: Add more info to /sv
6817 2003-11-06 Francis Litterio <franl@users.sourceforge.net>
6819 * erc.el: Added optional argument BUFFER to erc-server-buffer-p.
6821 2003-11-04 Mario Lang <mlang@delysid.org>
6823 * AUTHORS: Add sachac
6825 2003-11-02 Lawrence Mitchell <wence@gmx.li>
6827 * erc.el(erc-server-366):
6828 chnl is 4th element of parsed, not fifth.
6829 (erc-channel-end-receiving-names): Pass correct number of arguments
6832 * erc.el(erc-update-current-channel-member):
6833 Use erc-downcase when comparing
6834 nick entries. Cleanup indentation.
6836 2003-11-01 Lawrence Mitchell <wence@gmx.li>
6838 * erc-sound.el: Added a (provide 'erc-sound) line.
6840 * erc.el(erc-cmd-NAMES): send to TGT, not CHANNEL.
6842 2003-10-29 Sandra Jean Chua <sacha@free.net.ph>
6844 * erc-pcomplete.el, erc.el, CREDITS:
6845 Merged Jeremy Maitin-Shepard's patch for time-sensitive nick completion.
6847 2003-10-27 Mario Lang <mlang@delysid.org>
6849 * Makefile, debian/changelog:
6850 New Debian package 4.0.cvs.20031027
6852 2003-10-25 Mario Lang <mlang@delysid.org>
6854 * erc.el: Fix typo tuncate->truncate
6856 2003-10-24 Mario Lang <mlang@delysid.org>
6858 * erc-dcc.el: From Stephan Stahl <stl@isogmbh.de>:
6859 (erc-dcc-send-block): Kill buffer if transfer completed correctly.
6861 2003-10-22 Mario Lang <mlang@delysid.org>
6863 * erc-track.el(erc-track-disable):
6864 Do not deactivate all advices for `switch-to-buffer',
6865 just disable the erc specific one. (Bug#217022).
6867 2003-10-18 Lawrence Mitchell <wence@gmx.li>
6869 * erc-log.el(erc-log-file-coding-system): New variable.
6870 (erc-save-buffer-in-logs): Use it.
6872 2003-10-17 Mario Lang <mlang@delysid.org>
6874 * erc.el(erc-interpret-mirc-color): New boolean defcustom
6876 * erc.el: Do not use -nowait on darwin (thanks johnw)
6878 2003-10-15 Lawrence Mitchell <wence@gmx.li>
6880 * erc.el(define-erc-module):
6881 Set erc-FOO-mode appropriately in erc-FOO-enable
6882 and erc-FOO-disable.
6884 2003-10-12 Jorgen Schaefer <forcer@users.sourceforge.net>
6886 * erc-autoaway.el(erc-mode):
6887 Reset idletime on connect. Fixes an annoying bug which
6888 flooded the server with always on reconnect.
6889 (erc-autoway-reset-idletime): Accept optional args so we can hook it
6890 onto erc-server-001-hook.
6892 2003-10-10 Mario Lang <mlang@delysid.org>
6894 * erc.el(erc-hide-list): Add a nice defcustom type
6896 2003-10-08 Mario Lang <mlang@delysid.org>
6898 * Makefile, debian/changelog, debian/control:
6899 Debian snapshot 20031008
6902 Patch from Eric M. Ludlam <eric@siege-engine.com>:
6903 - (erc-install-speedbar-variables): Add functions list (needs new speedbar?)
6904 - (erc-speedbar-buttons): Add doc. Clear the buffer
6905 - (erc-speedbar-sort-channel-members): New function.
6906 - (erc-speedbar-expand-channel): Call new sort function. Change some visuals.
6907 - (erc-speedbar-insert-user): Change some visuals based on channel data.
6908 - (erc-speedbar-line-text, erc-speedbar-item-info): New functions
6909 Add proper elisp file header.
6911 2003-10-02 Lawrence Mitchell <wence@gmx.li>
6913 * erc-match.el(erc-match-syntax-table): New variable.
6914 (erc-match-current-nick-p): Use it.
6916 * erc.el(erc-quit-reason-zippy, erc-part-reason-zippy): Use
6917 `erc-replace-regexp-in-string' rather than
6918 `replace-regexp-in-string'.
6919 (erc-command-indicator-face): New face, used to show commands if
6920 `erc-hide-prompt' is nil and `erc-command-indicator' is non-nil.
6921 (erc-command-indicator): Clean up doc-string.
6922 (erc-display-prompt): New optional argument FACE, use this rather
6923 than `erc-prompt-face' to fontify the prompt if non-nil.
6924 (erc-send-current-line): Pass in `erc-command-indicator-face' to
6925 `erc-display-prompt'.
6927 * erc-compat.el(erc-replace-regexp-in-string): New function.
6928 Alias for `replace-regexp-in-string' on Emacs 21.
6929 Argument massaging for `replace-in-string' for XEmacs.
6931 2003-09-28 Jorgen Schaefer <forcer@users.sourceforge.net>
6933 * erc.el(erc-keywords): Removed. Wasn't used by anything.
6935 2003-09-25 Lawrence Mitchell <wence@gmx.li>
6937 * erc.el: ERC-HIDE-PROMPT: add custom group
6938 ERC-COMMAND-INDICATOR: new variable.
6939 ERC-COMMAND-INDICATOR: new function.
6940 ERC-DISPLAY-PROMPT: new argument, PROMPT, used to override default
6942 ERC-SEND-CURRENT-LINE: pass ERC-COMMAND-INDICATOR to ERC-DISPLAY-PROMPT.
6944 2003-09-24 Jorgen Schaefer <forcer@users.sourceforge.net>
6946 * erc.el(erc-parse-line-from-server):
6947 Ignore empty lines as required by RFC.
6949 2003-09-17 Mario Lang <mlang@delysid.org>
6951 * erc.el: Add lag time calculation
6953 2003-09-13 Mario Lang <mlang@delysid.org>
6955 * Makefile, debian/README.Debian, debian/changelog:
6959 Call erc-notify-install-message-catalogs on load, not on module init
6961 * erc.el(erc-update-modules):
6962 Use `load' instead of `require'. XEmacs appears
6963 to have the NOERROR arg only sometimes... Strange
6965 * erc.el: No fboundp if we have a defvar
6967 * erc.el: Properly defvar erc-ping-handler
6969 2003-09-11 Damien Elmes <erc@repose.cx>
6971 * erc.el(erc-setup-periodical-server-ping):
6972 check if erc-ping-handler is
6973 bound before referencing it
6975 2003-09-10 Mario Lang <mlang@delysid.org>
6977 * erc.el(erc-cmd-NICK):
6978 Warn about exceeded NICKLEN if we know it.
6980 * erc.el: Make erc-server-PONG obey erc-verbose-server-ping.
6981 Cancel old `erc-ping-handler' timer when restablishing connection in the same
6984 * debian/changelog, Makefile: New debian snapshot
6986 * erc-dcc.el, erc-xdcc.el:
6987 Use new function erc-dcc-file-to-name to convert spaces to underscores
6989 * erc-xdcc.el: Add autoload for erc-xdcc-add-file
6991 2003-09-08 Mario Lang <mlang@delysid.org>
6993 * erc-dcc.el: indent fixes and copyright update
6996 erc-send-ping-interval: New defcustom which defaults to 60.
6997 Every 60 seconds, we send PING now.
6998 This should fix the "connection silently lost" bug.
6999 Please test this change extensively, and report problems.
7001 2003-09-07 Alex Schroeder <alex@gnu.org>
7003 * erc.el(erc-default-coding-system):
7004 Test for undecided and utf-8
7007 2003-09-01 Mario Lang <mlang@delysid.org>
7009 * erc.el(erc-modules): Add some more symbols to the set
7011 * erc.el(erc-modules): Add :greedy t to the set in
7014 More autoloads which make dcc autoload upon ctcp dcc query received.
7016 * erc-dcc.el(erc-cmd-DCC): Add Autoload.
7017 (pcomplete/erc-mode/DCC): Ditto, makes DCC autoloadable just by using
7019 Also only offer "send" if fboundp make-network-process.
7021 * erc-autojoin.el: Update copyright
7023 * erc-autojoin.el(erc-autojoin-add):
7024 Only add the channel if it is not already there.
7027 Use `define-erc-module' instead of old `erc-notify-initialize'.
7028 Now defines the global minor mode erc-notify-mode, and should also
7029 be controllable via `erc-modules' with symbol `notify'.
7031 * erc.el(erc-modules):
7032 Fix paren-in-column-zero bug in docstring.
7033 Add a sort of bogus, but still better :type.
7034 Add autojoin and netsplit by default.
7035 (erc-update-modules): Don't barf with an error if `require' fails.
7036 We can still error out if the mode is not defined.
7038 2003-08-31 Andreas Fuchs <asf@void.at>
7041 * make 353 (NAMES reply) output go into the appropriate channel buffer
7042 (if it exists) or into the active erc buffer (if not).
7044 2003-08-29 mtoledo <mtoledo@confusibombus>
7047 Added the variable erc-echo-notices-in-current-buffer to make possible display notices in the current buffer (queries to nickserv/chanserv/memoserv). Defaults to nil so nothing changes from what we have today.
7049 2003-08-29 Mario Lang <mlang@delysid.org>
7051 * erc.el: Fix typo in varname which led to a compiler warning
7053 * AUTHORS: Added lawrence
7055 2003-08-27 Mario Lang <mlang@delysid.org>
7058 Set process and file-coding system to 'binary (for Windows)
7060 * erc-stamp.el: Rename custom group erc-timestamp to erc-stamp.
7062 2003-08-07 Lawrence Mitchell <wence@gmx.li>
7064 * erc-fill.el(erc-fill-disable):
7065 Remove erc-fill, not erc-fill-static from
7066 erc-insert-modify-hook.
7068 2003-08-05 Francis Litterio <franl@users.sourceforge.net>
7070 * erc.el(erc-send-current-line):
7071 Now we display the prompt for previously entered commands
7072 based on the value of customization variable erc-hide-prompt. This change is
7073 closely related to the immediate previous version by wencem.
7075 2003-08-04 Lawrence Mitchell <wence@gmx.li>
7077 * erc.el(erc-send-current-line):
7078 If we're sending a command, don't display
7081 2003-08-04 Damien Elmes <erc@repose.cx>
7083 * erc-track.el: patch from David Edmondson (dme AT dme DOT org)
7085 This patch makes button 3 on the erc-track buffer names in the
7086 modeline show the selected buffer in another window. It's analogous to
7087 button 2 which shows the buffer in the current window.
7089 2003-07-31 Francis Litterio <franl@users.sourceforge.net>
7091 * erc.el(erc-display-line-1):
7092 Fixed bad indentation on one line. No semantic change.
7094 2003-07-29 Lawrence Mitchell <wence@gmx.li>
7097 Quote open paren in docstring of erc-text-matched-hook
7099 * erc.el: Anchor match only at beginning in erc-ignored-user-p.
7101 * erc-button.el: New variable erc-button-wrap-long-urls.
7102 Modified erc-button-add-buttons:
7103 New optional argument REGEXP.
7104 If we're buttonizing a URL and erc-button-wrap-long-urls is
7105 non-nil, try and wrap them
7107 Modified erc-button-add-buttons-1:
7108 Pass regexp to erc-button-add-buttons.
7110 2003-07-28 Francis Litterio <franl@users.sourceforge.net>
7112 * erc.el(erc-network-name):
7113 Improved docstring. Removed an unnecessary call to erc-server-buffer.
7115 2003-07-28 Mario Lang <mlang@delysid.org>
7117 * erc.el: By lawrence:
7118 (erc-ignored-user-p): Use anchored regexp.
7119 (smiley): Fix missing quote in `remove-hook' call.
7121 2003-07-26 Francis Litterio <franl@users.sourceforge.net>
7123 * erc-nets.el, erc-nickserv.el, erc.el:
7124 Changed all references to Openprojects into references to Freenode.
7126 2003-07-25 Francis Litterio <franl@users.sourceforge.net>
7129 Now variable erc-debug-irc-protocol is defvar'ed instead of defcustom'ed.
7130 Made the docstring clearer too.
7132 * erc.el: Fixed a wrong-type-argument error from window-live-p.
7134 2003-07-15 Damien Elmes <erc@repose.cx>
7136 * erc-log.el(erc-log-setup-logging):
7137 set buffer-file-name to "", as (basic-save-buffer)
7138 will prompt for a buffer name before invoking hooks. the buffer-file-name
7139 will be overridden by (erc-save-buffer-in-logs) anyway - the main danger
7140 of doing this is write-file-contents hooks. Let's see if anyone complains.
7141 (erc-save-buffer-in-logs): return t, so that further write hooks are not run
7143 2003-07-09 Damien Elmes <erc@repose.cx>
7145 * erc-dcc.el(erc-dcc-open-network-stream):
7146 -nowait still crashes emacs cvs - disable for now
7148 2003-07-02 Francis Litterio <franl@users.sourceforge.net>
7150 * erc.el(erc): Minor docstring modification.
7152 2003-07-01 Damien Elmes <erc@repose.cx>
7154 * erc-match.el(erc-match-current-nick-p):
7155 match only on word boundaries
7157 * erc-log.el(erc-log-setup-logging):
7158 not sure how this crept in again - make sure we set
7159 buffer-file-name to nil, since otherwise it is not possible to open
7160 previous correspondence in another buffer while a conversation is open
7162 2003-06-28 Francis Litterio <franl@users.sourceforge.net>
7164 * erc.el(erc-network-name):
7165 Now makes some intelligent guesses if the server didn't tell
7166 us the network name.
7168 2003-06-28 Alex Schroeder <alex@gnu.org>
7170 * erc.el(erc-default-coding-system): Use utf-8 as the default
7171 encoding for outgoing stuff and undecided as the default for
7173 (erc-coding-sytem-for-target): New.
7174 (erc-encode-string-for-target): Use it.
7175 (erc-decode-string-from-target): Use it. Removed the flet
7176 erc-default-target hack and documented the dynamically bound
7177 variable `target' instead.
7179 2003-06-25 Francis Litterio <franl@users.sourceforge.net>
7181 * erc.el(erc-log-irc-protocol):
7182 Now we keep point on the bottom line of the window
7183 displaying the *erc-protocol* buffer if it is at the end of the
7184 *erc-protocol* buffer.
7187 Added some text to the docstring for variable erc-debug-irc-protocol.
7189 2003-06-23 Francis Litterio <franl@users.sourceforge.net>
7191 * erc-dcc.el(erc-dcc-auto-mask-p):
7192 Fixed a docstring typo that caused a load-time error.
7194 * erc-dcc.el(erc-dcc-auto-mask-p):
7195 Changed reference to undefined variable erc-dcc-auto-mask-list
7196 to erc-dcc-auto-masks.
7197 Changed default value of variable erc-dcc-auto-masks to nil and added text to its
7200 * erc-notify.el(erc-notify-timer and erc-notify-QUIT):
7201 Added network name to notify_off message.
7203 * erc.el(erc-network-name):
7204 Now returns the name of the IRC server if the network name
7205 cannot be determined.
7207 * erc-notify.el(erc-notify-JOIN and erc-notify-NICK):
7208 Added argument ?m to call to erc-display-message.
7210 * erc-dcc.el(erc-dcc-do-LIST-command):
7211 Fixed a bug where I assumed (plist-get elt :type)
7212 returns a string -- it really returns a symbol.
7214 * erc-notify.el(erc-notify-timer):
7215 Now we include the network name in the notify_on message.
7218 New function: erc-network-name. Returns the name of the network that the
7219 current buffer is associate with. Not every server sends the 005 messages
7220 that enable the network name to be known. If the network name is
7221 not known, the string "UNKNOWN" is returned.
7223 * erc-dcc.el(erc-dcc-chat-setup):
7224 Added a comment. Fixed a bug where a DCC CHAT buffer has no
7225 prompt when it first appears.
7227 * erc-dcc.el(erc-dcc-chat-parse-output):
7228 Now a DCC chat buffer displays the nick using
7229 erc-nick-default-face just like in a channel buffer.
7231 2003-06-22 Francis Litterio <franl@users.sourceforge.net>
7233 * erc.el(erc-display-prompt):
7234 Fixed incorrect indentation. No semantic change.
7236 * erc.el(erc-strip-controls):
7237 Minor change to regexp that matches IRC color control
7238 codes. I was seeing usage as follows: ^C07colored text^C^C04other color.
7239 Now we strip a ^C followed by zero, one, or two digits. Before this change,
7240 we stripped a ^C followed by one or two digits.
7242 * erc-dcc.el(erc-dcc-do-LIST-command):
7243 Improved format of output of /DCC LIST. Now the
7244 "Size" column for a DCC GET includes the percentage of the file that has
7246 (erc-dcc-do-GET-command): Now it works if erc-dcc-default-directory is set.
7248 2003-06-19 Damien Elmes <erc@repose.cx>
7251 * added quickstart information to the comments up the top
7253 2003-06-16 Mario Lang <mlang@delysid.org>
7256 Default to open-network-stream on MS Windows. (thanks lawrence)
7258 2003-06-11 Damien Elmes <erc@repose.cx>
7260 * erc.el(erc-process-input-line):
7261 refactor so that wrong-number-of-arguments is
7262 caught when using do-not-parse-args - this lets do-not-parse-args
7263 commands display help messages on incorrect syntax in a uniform manner.
7264 This no longer raises a bad-syntax error - was this a catch-all to stop a
7265 backtrace? Does it belong?
7266 (erc-cmd-APPENDTOPIC): the correct way to display help when you want to
7267 accept an arbitrary string is to (signal 'wrong-number-of-arguments nil).
7268 This fixes a bug where people could not /at topics with a space in them.
7270 2003-06-09 Damien Elmes <erc@repose.cx>
7273 Re-add the last few changes which weren't merged for some reason.
7275 * erc.el(erc-cmd-APPENDTOPIC): show help when given no arguments
7277 Patch from MrBump. Fixes problem with erc-set-topic inserting ^C characters
7278 into the topic. Also removes dependency on CL.
7280 2003-06-08 Jorgen Schaefer <forcer@users.sourceforge.net>
7283 Added comment to explain (eval-after-load "erc" '(erc-update-modules)).
7285 2003-06-01 Mario Lang <mlang@delysid.org>
7287 * erc-pcomplete.el: Add completion for /unignore
7289 2003-05-31 Alex Schroeder <alex@gnu.org>
7291 * erc-compat.el(erc-encode-coding-string): The default binding,
7292 if encode-coding-string was not available, must be a defun that
7293 takes multiple arguments. Did that.
7295 2003-05-30 Mario Lang <mlang@delysid.org>
7298 Add handlers for 313 and 330 (by arne@rfc2549.org, thanks)
7300 2003-05-30 Damien Elmes <erc@repose.cx>
7303 patch from MrBump to make /mode #foo +b work again (erc-cmd-BANLIST only
7304 temporarily changes them now)
7306 2003-05-29 Alex Schroeder <alex@gnu.org>
7308 * erc.el(erc-select):
7309 server is now defaulted with erc-compute-server.
7310 A few cosmetic fixes.
7311 (erc-default-coding-system): Renamed from erc-encoding-default.
7312 (erc-encoding-default): Renamed to erc-default-coding-system.
7313 (erc-encoding-coding-alist): Documentation updated to cover regexps.
7314 (erc-encode-string-for-target): Now considers keys of
7315 erc-encoding-coding-alist to be regexps. Rely on erc-compat
7317 (erc-decode-string-from-target): New function.
7318 (erc-send-current-line): eq -> char-equal fix.
7319 (erc-server-TOPIC): topic is now decoded with
7320 erc-decode-string-from-target.
7321 (erc-parse-line-from-server): Line from server is no longer decoded
7323 (erc-server-PRIVMSG-or-NOTICE): Message from a user is decoded here,
7324 sspec -> sender-spec for clarity. Cosmetic if -> when fix.
7325 (erc-server-TOPIC): sspec -> sender-spec
7326 (erc-server-WALLOPS): Ditto.
7328 * erc-compat.el(erc-decode-coding-string):
7329 Now requires coding-system as an argument.
7331 2003-05-15 Mario Lang <mlang@delysid.org>
7334 erc-part|quit-hook is only run on a part|quit directed to our nick, reflect that in the docstring to avoid confusion
7336 2003-05-01 Andreas Fuchs <asf@void.at>
7339 * erc-truncate-buffer-to-size: use fboundp. Scheme takes its toll...
7341 2003-05-01 Jorgen Schaefer <forcer@users.sourceforge.net>
7343 * erc-truncate.el: remove require of erc-log
7344 (erc-truncate-buffer-to-size): use erc-save-buffer-in-logs when it's
7347 2003-04-29 Andreas Fuchs <asf@void.at>
7349 * erc-log.el, erc-truncate.el, erc.el: erc.el:
7350 * erc-cmd-QUIT: Remove references to code in erc-log.el, to
7351 not force autoloading of erc-log.el
7352 * erc-server-PART: ditto.
7353 * erc-quit-hook: new hook, run when /quit command is
7355 * erc-cmd-QUIT: use it.
7356 * erc-part-hook: new hook, run then PART message is
7358 * erc-cmd-PART: use it.
7359 * erc-connect-pre-hook: new hook, run before connection to IRC
7362 * erc-max-buffer-size: Move truncation variables and functions
7364 * erc-truncate-buffer-on-save: moved to erc-log.el
7365 * erc-initialize-log-marker: new function.
7367 * erc-truncate-buffer-on-save: New defcust here; from erc.el
7368 * erc-truncate-buffer-on-save: Put it in group `erc-log'
7369 * erc-log-channels-directory: Remove trailing slash from
7371 * Add functions to erc-connect-pre-hook, erc-part-hook and
7372 erc-quit-hook to avoid getting autoloaded.
7375 * Contains the truncation functions and defcusts from erc.el.
7376 * define-erc-module clause added; new erc-truncate-mode.
7378 2003-04-29 Jorgen Schaefer <forcer@users.sourceforge.net>
7381 Check whether erc-save-buffer-in-logs is bound, too
7384 Check whether erc-logging-enabled is bound before using it - not
7385 everyone is using erc-log.el!
7387 2003-04-28 Andreas Fuchs <asf@void.at>
7390 * while we're at it, remove the (declare (ignore ignore)) statements.
7393 * add autoload statement for erc-log-mode/etc. Sorry for the delay.
7395 * erc-log.el, erc.el: * erc.el:
7396 - move variables and functions to erc-log.el:
7398 defcustom `erc-log-channels-directory'
7399 defcustom `erc-log-insert-log-on-open'
7400 defcustom `erc-generate-log-file-name-function'
7401 defun `erc-save-buffer-in-logs' (autoloads from erc-log.el)
7402 defuns `erc-generate-log-file-name-*'
7403 defun `erc-current-logfile'
7404 defun `erc-logging-enabled' (autoloads from erc-log.el)
7405 - erc-truncate-buffer-to-size: fix for double-saving bug when
7406 writing out truncated buffer contents. Thanks, lawrence mitchell <wence@gmx.li>!
7407 - erc-remove-text-properties-region: Fix case for read-only text.
7408 - erc-send-current-line: update insert-marker before calling the hooks.
7409 also, wrap (erc-display-prompt) so that it doesn't toggle
7411 - erc-interpret-controls: remove /very/ old commented-out function
7412 - erc-last-saved-position: make it a marker
7415 * erc-log.el: (thanks, lawrence mitchell <wence@gmx.li>!)
7416 - Move logging code from erc.el here
7417 - define-erc-module log: add; minor mode erc-log-mode is the
7418 same as adding the `erc-save-buffer-in-logs' to
7419 erc-send-post-hook and `erc-insert-post-hook'.
7420 - erc-w32-invalid-file-characters: add.
7421 - erc-enable-logging: add.
7422 - erc-logging-enabled: use it.
7423 - erc-logging-enabled: autoload.
7424 - erc-save-buffer-in-logs: fix for truncating saved buffer with read-only text.
7425 - erc-save-buffer-in-logs: use erc-last-saved-position.
7426 - erc-save-buffer-in-logs: fix saving half-written messages on
7427 the prompt when saving the log file. (simply uses
7428 erc-insert-marker as an upper bound for saving).
7430 2003-04-27 Damien Elmes <erc@repose.cx>
7432 * erc.el: erc-modules: added
7434 2003-04-27 Alex Schroeder <alex@gnu.org>
7436 * Makefile(UNCOMPILED): Added erc-compat.el.
7437 (clean): Remove .elc files, too.
7438 Patch by Hynek Schlawack <hynek+erc@hys.in-berlin.de>
7440 2003-04-22 Damien Elmes <erc@repose.cx>
7443 erc-button-keymap: set the parent keymap to erc-mode-map
7445 2003-04-20 Damien Elmes <erc@repose.cx>
7448 erc-official-location: shouldn't the official location be the base URL of erc?
7451 erc-modules: updated the docstring to make the semantics clearer
7453 2003-04-19 Mario Lang <mlang@delysid.org>
7456 Fix problem where % in NOTICE produced errors (from mmc)
7458 2003-04-18 Damien Elmes <erc@repose.cx>
7460 * erc.el(erc-toggle-debug-irc-protocol):
7461 moved a reference to 'buf' inside the let
7462 statement which defines it. it's difficult to tell what the original
7463 intentions were here - at the moment the debug window is displayed when
7464 toggling either way.
7467 (erc-update-modules: added a condition in for erc-nickserv -> erc-services
7470 - that change to erc-update-modules making it require the modules first means
7471 we don't need any special case handling here, so i reverted the previous
7475 - don't require 'erc-auto, since windows users don't have access to make.
7476 instead, we handle it in (erc-update-modules)
7478 2003-04-17 Damien Elmes <erc@repose.cx>
7481 Updated Makefile and documentation to reflect the new release
7484 - note the previous change also updated the release number to erc 4.0!
7485 (erc-connect): fix a bug introduced by the previous release
7488 fixed about 20 instances of (message (format ...)) which will break if the
7489 format returns a string with %s in it
7491 * erc.el: erc-error-face: make it red, not pink
7494 since pcomplete is autoloaded via erc-completion-mode, and completion is in
7495 erc-modules by default, we remove completion when pcomplete is added
7497 * erc.el(define-erc-module): no need for delete, use delq
7499 * erc-members.el(erc-nick-channels):
7500 (erc-person-channels) takes one arg
7501 (erc-format-user): again, they all take an arg
7504 - require erc-auto when loading, so the default `erc-modules' can be loaded.
7505 this makes erc-auto no longer a convenience but a necessity - all the name
7506 of user friendliness.
7507 (define-erc-module): the enable and disable routines now update erc-modules
7509 erc-modules: new variable controlling the modules which erc has loaded/will
7510 load. when customizing, it will automatically enable modules. it won't
7511 automatically disable modules which are removed, yet.
7512 (erc-update-modules): enable all modules in `erc-modules'
7514 * erc-dcc.el(erc-dcc-open-network-stream):
7515 use the -nowait equiv if available
7516 erc-dcc-server-port: removed
7517 erc-dcc-port-range: allows a range of values, so you can have more than one
7519 (erc-dcc-server): support erc-dcc-port-range
7520 (erc-dcc-chat): use OCHAT for outgoing chat for now. we need to fix the
7521 issues with allowing more than one chat with the same person
7524 erc-log-channels: removed; set the directory to start logging
7525 (erc-directory-writeable-p): create directory if it doesn't exist, check if
7527 (erc-logging-enabled): don't reference erc-log-channels
7529 2003-04-07 Damien Elmes <erc@repose.cx>
7532 but when inserting the contents of a previous logfile, use the logfile
7536 set buffer-file-name to "", since we have a custom saving function and
7537 it's not needed. this enables one to open a log file with previous
7538 correspondence, while talking to the person at the same time
7540 2003-03-29 Francis Litterio <franl@users.sourceforge.net>
7542 * erc.el(erc-prepare-mode-line-format):
7543 Now strips all text properties from the target before
7544 putting it in the mode line. Keeps the mode line looking consistent.
7545 (erc-channel-p): Improved docstring.
7547 2003-03-28 Alex Schroeder <alex@gnu.org>
7549 * erc.el(erc-generate-log-file-name-with-date): New function.
7550 (erc-generate-log-file-name-function): Make it available.
7552 2003-03-24 Mario Lang <mlang@delysid.org>
7555 Fix erc-prompt and erc-user-mode custom :type (Closes: #185794)
7557 2003-03-20 Damien Elmes <erc@repose.cx>
7560 erc-server-hook-list: correct documentation of ordering of (proc parsed)
7562 2003-03-16 Alex Schroeder <alex@gnu.org>
7564 * erc-track.el(erc-modified-channels-string):
7565 Make it a risky-local-variable.
7567 2003-03-16 Jorgen Schaefer <forcer@users.sourceforge.net>
7569 * erc-track.el(erc-track-modified-channels):
7570 Use (point-min) if we don't find a
7571 parsed-property, so it won't error out with nil...
7573 2003-03-16 Damien Elmes <erc@repose.cx>
7575 * erc-track.el(erc-track-switch-buffer):
7576 removed call to erc-modified-channels-update, as
7577 this is done correctly on buffer switching in both emacs and xemacs now
7579 2003-03-15 Damien Elmes <erc@repose.cx>
7581 * erc-track.el(erc-find-parsed-property):
7582 simplified a little, so it shouldn't return nil anymore
7584 * erc.el: erc-send-post-hook: document narrowing which occurs
7586 2003-03-14 Alex Schroeder <alex@gnu.org>
7588 * erc-track.el(erc-find-parsed-property): New function.
7589 (erc-track-modified-channels): Use it instead of relying on
7592 2003-03-12 Mario Lang <mlang@delysid.org>
7595 Fix erc-set-topic to accept a channel name as first word
7597 2003-03-11 Jorgen Schaefer <forcer@users.sourceforge.net>
7600 Small patch (<10 lines, also slightly modified by Jorgen Schäfer) from
7601 David Spreen <netzwurm@debian.org> to add hostmask-authentication to
7604 erc-dcc-auto-mask-list: New variable
7605 (erc-dcc-handle-ctcp-send): Check erc-dcc-auto-mask-list
7606 (erc-dcc-auto-mask-p): New function
7607 erc-dcc-send-request: Docstring now mentions erc-dcc-auto-mask-list
7609 2003-03-10 Francis Litterio <franl@users.sourceforge.net>
7611 * erc-ring.el(erc-clear-input-ring):
7612 New function. Erases the contents of the input ring for
7613 the current ERC buffer.
7615 2003-03-08 Francis Litterio <franl@users.sourceforge.net>
7618 (erc-display-line-1) and (erc-send-current-line): Now these functions reset erc-insert-this
7619 to t as soon as possible after consuming the value of that variable. See the comments in
7620 the code for the strange symptom this fixes.
7621 (erc-bol): Changed to call point-at-eol instead of line-end-position. This increases XEmacs
7622 portability, since XEmacs doesn't have line-end-position. Patch suggested by Scott Evans
7623 on the ERC mailing list.
7625 2003-03-04 Damien Elmes <erc@repose.cx>
7627 * erc.el: banlist*: patch from mrbump to avoid using cl packages
7629 2003-03-04 Francis Litterio <franl@users.sourceforge.net>
7632 Changed erc-noncommands-list from a constant to variable, so that users can
7633 add their own erc-cmd-* functions to the list. Improved the docstring too.
7635 2003-03-02 Francis Litterio <franl@users.sourceforge.net>
7637 * erc.el(erc-server-353):
7638 Now the output of "/NAMES #channel" appears in the currently
7639 active ERC buffer, even if the user is not a member of #channel.
7641 * erc.el(erc-cmd-DEOP):
7642 Fixed a syntax error: invalid read syntax ")" caused by my last change.
7644 2003-03-01 Francis Litterio <franl@users.sourceforge.net>
7646 * erc.el(erc-cmd-DEOP):
7647 Fixed a wrong-type-argument error caused by calling split-string
7648 on a list instead of on a string. Removed the call to split-string entirely,
7649 because it wasn't needed.
7651 * erc.el(erc-cmd-HELP):
7652 Changed to use intern-soft instead of intern. Now "/HELP floob"
7653 doesn't create a void function symbol erc-cmd-FLOOB.
7655 2003-02-25 Damien Elmes <erc@repose.cx>
7657 * erc.el(erc-cmd-SERVER):
7658 remove erroneous references to line, use server instead
7660 2003-02-23 Francis Litterio <franl@users.sourceforge.net>
7662 * erc.el(erc-toggle-debug-irc-protocol):
7663 Fixed a bug where the global value of
7664 kill-buffer-hook was being modified instead of the buffer-local value.
7666 2003-02-22 Francis Litterio <franl@users.sourceforge.net>
7668 * erc.el(erc-cmd-KICK):
7669 Now supports any number of words in the REASON string. Examples
7670 of the /KICK command are:
7671 /KICK franl You don't belong here
7674 /KICK #channel franl Go away now
7675 /KICK #channel franl Bye
7676 /KICK #channel franl
7678 2003-02-16 Jorgen Schaefer <forcer@users.sourceforge.net>
7680 * erc-stamp.el(erc-insert-timestamp-right):
7681 Make the timestamp rear-nonsticky, so
7682 C-e works at the beginning of the next line.
7684 2003-02-16 Andreas Fuchs <asf@void.at>
7687 * s/choose/choice/ in customize options, as kensanata requested.
7689 2003-02-15 Francis Litterio <franl@users.sourceforge.net>
7691 * erc.el(erc-toggle-debug-irc-protocol):
7692 Now if the *erc-protocol* buffer is killed,
7693 logging is turned off. Prior to this change, the buffer would come back
7694 into existence (generally unbeknownst to the user) after being killed.
7696 2003-02-11 Damien Elmes <erc@repose.cx>
7698 * erc.el(erc-send-current-line):
7699 we can't inhibit everything here when not connected,
7700 as the user will expect commands like /server still to work. the
7701 erc-cmd-handler should recover from errors instead
7703 2003-02-10 Damien Elmes <erc@repose.cx>
7706 * we now run erc-after-connect on 422 (no motd) messages as well as the motd
7708 (erc-login): revert the previous change
7710 * erc.el(erc-login): register that we're connected
7712 2003-02-10 Mario Lang <mlang@delysid.org>
7714 * erc-members.el: * Provide erc-members
7716 * Comment out broken self-tests
7718 2003-02-07 Damien Elmes <erc@repose.cx>
7720 * erc.el(erc-connect):
7721 notify the user we're trying to connect when using asych
7724 * erc.el(erc-connect): support an asynchronous connection
7725 (erc-process-sentinel): ditto
7728 * advise switch-to-buffer in the case of xemacs, since it doesn't have
7729 window-configuration-change-hook
7731 * erc.el(erc-send-current-line):
7732 if not connected, refuse to send either a message or
7735 * erc.el: (erc-save-buffer-in-logs):
7736 - check for a sensible region before saving the buffer. if the
7737 connection process is killed early on, there is not a sensible region
7739 - don't set buffer-file-name on save. we don't need it, and it means we
7740 can now find-file a log while an existing query is open with that
7743 * erc.el(erc-process-input-line):
7744 when displaying the help for a function, if no
7745 documentation exists, don't fall over
7746 (erc-cmd-SAY): new function for quoting lines beginning with /
7748 - fix a bug where the "is now known as" message doesn't appear on newly
7749 created /query buffers
7750 - when a user changes their nick, update the query to point to the new
7753 * erc.el(erc-send-current-command):
7754 don't reject multi-line commands. since
7755 multiline-p is used as the no-command arg to erc-process-current-line,
7756 multi-line text is never interpreted as a command. i believe this is the
7757 correct behavior - it allows people to post the output of things like df
7758 (sans header). if you want to change this, please provide a rationale
7761 * erc.el(erc-send-current-line):
7762 only match the first line when determining if a
7763 multi-line command is allowed
7765 2003-02-07 Jorgen Schaefer <forcer@users.sourceforge.net>
7767 * erc-bbdb.el(erc-bbdb-highlight-record):
7768 Use alternate strings, not character
7769 classes to split the nick-field.
7771 2003-02-06 Francis Litterio <franl@users.sourceforge.net>
7773 * erc.el(erc-process-sentinel):
7774 Now we set erc-connected to nil every time we disconnect
7775 from a server, not just when an unexpected disconnect happens.
7777 * erc.el(erc-connected):
7778 Removed redundant defvar of this variable. Improved the
7780 (erc-login): Changed to send a correct RFC2812 USER message (see section
7781 3.1.3 of RFC2812 for the documentation of the semantics of each argument
7782 of the USER message.
7784 2003-02-02 Damien Elmes <erc@repose.cx>
7786 * erc.el(erc-cmd-NOTICE): fix from mrbump
7788 2003-01-31 Francis Litterio <franl@users.sourceforge.net>
7790 * erc.el(erc-cmd-JOIN):
7791 Now we only send one JOIN command to the server when a channel
7794 2003-01-30 Francis Litterio <franl@users.sourceforge.net>
7796 * erc.el(erc-remove-channel-member):
7797 Fixed so that it runs erc-channel-members-changed-hook
7798 with the channel buffer current, as is documented in the docstring for variable
7799 erc-channel-members-changed-hook: "The buffer where the change happened is
7800 current while this hook is called."
7802 2003-01-28 Francis Litterio <franl@users.sourceforge.net>
7805 (erc-ignored-user-p),(erc-cmd-IGNORE),(erc-cmd-UNIGNORE): Now nicks are ignored
7806 on a per-server basis. Now, erc-ignore-list is only valid in server
7807 buffers! Do not reference it in channel buffers.
7809 * erc.el(erc-cmd-IGNORE):
7810 Now says "Ignore list is empty" if it erc-ignore-list is empty
7811 instead of showing an empty list.
7813 2003-01-25 Alex Schroeder <alex@gnu.org>
7815 * erc-nickserv.el(services): Defined a module
7817 2003-01-25 Jorgen Schaefer <forcer@users.sourceforge.net>
7819 * erc.el(erc-process-ctcp-query):
7820 Display recipient of CTCP query if it's not
7823 * erc.el(erc-cmd-WHOIS):
7824 Accept an optional second argument SERVER.
7826 2003-01-25 Alex Schroeder <alex@gnu.org>
7828 * erc-stamp.el(stamp): erc-add-timestamp must always be added
7829 with the APPEND parameter -- not only when adding it on the right.
7831 2003-01-24 Alex Schroeder <alex@gnu.org>
7833 * erc-members.el(erc-channel-members-changed-hook): Obsolete, use
7834 erc-members-changed-hook instead. When it is set, add its content
7835 to erc-members-changed-hook.
7836 (erc-update-channel-member): Obsolete, use erc-update-member
7837 instead. Defalias to that effect.
7838 (erc-remove-channel-member): New and already obsolete. Use
7839 erc-remove-nick-from-channel instead.
7840 (erc-update-channel-info-buffer): Obsolete, use ignore instead.
7841 Yes, these have to go.
7842 (erc-channel-member-to-user-spec): Obsolete, use erc-format-user
7844 (erc-format-user): New.
7845 (erc-ignored-reply-p): New, use it.
7848 Further along the way. Any function from erc.el that uses
7849 channel-members should end up in this file, rewritten to use
7852 (erc-person): Call erc-downcase before getting
7853 something from the hash.
7854 (erc-nick-in-channel): Checking whether erc-process must be used is
7855 unnecessary -- this will be done in erc-person.
7856 (erc-nick-channels): New.
7857 (erc-add-nick-to-channel, erc-update-member): Call erc-downcase
7858 before putting something into the hash.
7859 (erc-buffer-list-with-nick): New.
7860 (erc-format-nick, erc-format-@nick): New, backwards incompatible.
7861 Must check for other places that call these!
7862 (erc-server-PRIVMSG-or-NOTICE): Use the new version.
7864 * erc-compat.el(view-mode-enter): defalias to view-mode, if
7865 view-mode-enter is not fboundp and view-mode is -- as is the case
7866 in XEmacs. We need view-mode-enter in erc-match.el.
7868 2003-01-23 Francis Litterio <franl@users.sourceforge.net>
7870 * erc.el(erc-default-server-handler):
7871 Minor performance improvement: allow the lambda
7872 expression to be byte-compiled.
7874 2003-01-23 Damien Elmes <erc@repose.cx>
7876 * erc.el(erc-cmd-BANLIST):
7877 in the absence of a fill-column, use the screen width
7879 2003-01-22 Damien Elmes <erc@repose.cx>
7882 patch from MrBump to delay fetching the banlist until /bl is run, so we don't
7883 fetch it when joining a channel anymore
7886 * instead of adjusting hooks when loaded, provide (erc-ring-mode). you'll
7887 need to run (erc-ring-mode 1) now to get the ring
7888 * (erc-previous-command), (erc-next-command):
7889 - check if the ring exists and create it if necessary
7890 - don't do anything if the ring is empty
7893 Put "how to use" documentation in the comments up the top
7895 2003-01-21 Alex Schroeder <alex@gnu.org>
7897 * erc-autojoin.el(erc-autojoin-version): New.
7899 * erc-autojoin.el(erc-autojoin-add): Added body.
7900 (erc-autojoin-remove): Added body.
7901 (erc-autojoin): Provide it.
7903 2003-01-21 Damien Elmes <erc@repose.cx>
7905 * erc.el: erc-cmd-*: removed a bunch of references to force
7907 2003-01-21 Alex Schroeder <alex@gnu.org>
7909 * erc-autojoin.el(erc-autojoin-channels-alist): More doc.
7911 2003-01-20 Alex Schroeder <alex@gnu.org>
7914 new, based on resolve's mail, and the stuff on the wiki
7916 * erc-members.el: new
7918 2003-01-19 Mario Lang <mlang@delysid.org>
7920 * debian/README.Debian, debian/changelog, debian/scripts/install,
7921 debian/scripts/startup.erc, Makefile:
7922 Prepare for 20030119 debian package
7924 * erc-dcc.el: <rant>
7925 * (erc-decimal-to-ip): Since XEmacs decides that return a completely
7926 and utterly wrong number from string-to-number if it is larger than
7927 the integer boundary, instead of sanely converting the thing to
7928 a float, we now (concat dec ".0").
7932 * (erc-log-irc-protocol): Use erc-propertize, not propertize
7934 2003-01-19 Alex Schroeder <alex@gnu.org>
7936 * erc-button.el(erc-button-add-buttons): Added regexp-quote for
7939 2003-01-19 Damien Elmes <erc@repose.cx>
7941 * erc-dcc.el(erc-dcc-member): fix for case where a prop is nil
7943 * erc-dcc.el(erc-dcc-member):
7944 fix for xemacs's version of plist-member
7946 2003-01-19 Mario Lang <mlang@delysid.org>
7948 * erc-notify.el: Delete empty strings from the ison-list
7951 * (erc-track-switch-buffer): Call erc-modified-channels-update here.
7953 * erc-track.el: * toplevel: require 'erc-match
7955 * erc-track.el: * (erc-track-mode): Make autoload interactive
7957 * erc-button.el: * (button): Make the autoload interactive
7960 * (erc-mode): Comment out the case-table stuff, breaks xemacs
7961 * (erc-downcase): Revert.
7964 * (erc-dcc-handle-ctcp-send): Use erc-decimal-to-ip on the ip we get...
7967 Eliminate reference to erc-nick-regexp, which no longer exists
7969 2003-01-19 Alex Schroeder <alex@gnu.org>
7971 * erc-stamp.el(erc-timestamp-right-column): New, default nil.
7972 (erc-insert-timestamp-right): Use it, if non-nil. Verbose
7975 2003-01-18 Jorgen Schaefer <forcer@users.sourceforge.net>
7977 * erc.el(erc-downcase): Use the old behavior in non-CVS Emacs.
7979 * erc.el(erc-cmd-QUIT): Remove &rest. The correct fix follows.
7980 (erc-cmd-GQUIT): Pass "" to erc-cmd-QUIT.
7981 (erc-mode): Use the case-table only in CVS Emacs. See comment.
7983 * erc.el(erc-cmd-QUIT): make reason optional.
7985 * erc.el(erc-cmd-GQUIT): Fixed typo.
7987 2003-01-17 Mario Lang <mlang@delysid.org>
7990 * (erc-current-logfile): call expand-file-name, so that downcase doesn't mess up ~
7992 * erc.el: * (erc-mode): Define a proper case-table.
7993 * (erc-downcase): just call downcase for now, let's see if the case-table is portable, if yes, we'll remove all erc-downcase references anyway...
7995 * erc-button.el: * (erc-button-add-buttons): regex-quote the nick
7997 2003-01-17 Alex Schroeder <alex@gnu.org>
7999 * erc-button.el(button): erc-channel-members-changed-hook no
8000 longer has erc-recompute-nick-regexp.
8001 (erc-button-alist): Use channel-members instead of
8003 (erc-button-add-buttons): Split some code into
8004 erc-button-add-buttons-1, and now handle strings, lists, and
8005 alists. Regular expressions in lists and alists are enclosed in
8007 (erc-button-add-buttons-1): New.
8008 (erc-nick-regexp): Deleted.
8009 (erc-recompute-nick-regexp): Deleted.
8011 * erc-button.el: Remove require cl again.
8012 (erc-mode-map): No longer bind widget-backward and widget-forward.
8013 (erc-button-alist): Explain why byte-compiling makes no sense, and
8014 remove all calls to byte-compile.
8015 (erc-button-keymap): Define it the standard way, without exposing
8016 the list nature of the keymap.
8017 (erc-button-marker-list): Deleted.
8018 (erc-button-add-buttons): Simplify. In particular, create the
8019 button using the real callback, instead of using the intermediate
8020 erc-button-push, and only store the data as described for
8022 (erc-button-remove-old-buttons): Simplify. No more list munging.
8023 Instead, just remove all the properties that we add in
8024 erc-button-add-button.
8025 (erc-widget-press-button): Deleted.
8026 (erc-button-click-button): New, for mouse clicks. Moves point to
8027 where the mouse is, and calls erc-button-push.
8028 (erc-button-push): Instead of matching again, just use the
8029 erc-callback and erc-data properties at point to do the right
8031 (erc-button-entry): Deleted.
8032 (erc-button-next): Use error instead of the beep plus message
8035 2003-01-17 Jorgen Schaefer <forcer@users.sourceforge.net>
8037 * erc-autoaway.el(erc-autoaway-set-back):
8038 Don't pass a force argument to erc-cmd-GAWAY.
8040 * erc.el(erc-cmd-AWAY): Removed usage of the force variable.
8042 2003-01-17 Alex Schroeder <alex@gnu.org>
8044 * erc-button.el(button):
8045 erc-recompute-nick-regexp is no longer added to
8046 erc-channel-members-changed-hook unconditionally, but only if
8047 erc-button-mode is enabled, and if it is disabled, it is removed
8049 (erc): Require cl for delete-if.
8050 (erc-button-remove-old-buttons): Rewrote using delete-if to
8051 prevent excesive consing. Having the marker list is still ugly,
8052 so another solution needs to be found.
8054 2003-01-17 Jorgen Schaefer <forcer@users.sourceforge.net>
8056 * erc.el(erc-banlist-store):
8057 Don't assume there's always a setter in the banlist reply.
8059 2003-01-17 Alex Schroeder <alex@gnu.org>
8061 * erc-button.el(erc-button-url-regexp): Changed regexp according
8062 to a suggestion by Max Froumentin <mf@w3.org>.
8064 2003-01-17 Mario Lang <mlang@delysid.org>
8067 fix erc-remove-channel-member again to not error out on nil as first arg...
8069 * erc.el: * (erc-occur): New function
8071 2003-01-17 Damien Elmes <erc@repose.cx>
8073 * erc.el: erc-banlist-*: return nil so further hooks are called
8075 * erc.el(erc-server-368):
8076 suppress "end of ban list" messages - use /listbans now
8078 * erc.el(erc-send-current-line):
8079 removed the check for leading whitespace again - the
8080 only time we want to prohibit multi-line commands is if / is the first
8082 (erc-get-arglist): new defun for reading a function's arglist which should
8083 work with older copies of emacs. we use help-function-arglist if it's
8084 available, though, since that has support for reading subrs, etc
8086 * erc.el(erc-cmd-JOIN): fixed (again)
8088 * erc.el: * fixed call to erc-cmd-NICK when connecting
8089 * support for listing bans and mass unbanning, again thanks to MrBump
8091 * erc.el(erc-set-topic):
8092 patch from MrBump (Mark Triggs, mst@dishvelled.net) to strip
8093 control chars and topic attribution in C-c C-t
8095 2003-01-16 Mario Lang <mlang@delysid.org>
8098 * (erc-remove-channel-member): Do not use delq, modify the list using setcdr like delq does.
8099 In theory, this should be way faster since the list doesn't get traverse two times.
8100 Measurement didn't show any real difference though :(, this system is flawed for channels with >300 users it seems...
8101 Also moved some defcustoms up.
8103 2003-01-16 Brian P Templeton <bpt@tunes.org>
8105 * erc.el: moved misplaced paren
8107 2003-01-16 Damien Elmes <erc@repose.cx>
8109 * erc.el(erc-cmd-UNIGNORE):
8110 reference argument directly - no string matching
8112 * erc.el(erc-extract-command-from-line):
8113 hmm, thinko in the canonicalization. should
8116 2003-01-16 Francis Litterio <franl@users.sourceforge.net>
8118 * erc.el(erc-send-current-line):
8119 Changed the regexp used to match /COMMANDs so that leading
8120 whitespace is taken into account.
8122 2003-01-16 Mario Lang <mlang@delysid.org>
8124 * erc-dcc.el: * (erc-dcc-do-SEND-command): Fix it
8126 * erc-ezbounce.el, erc-lang.el: Arglist changes...
8128 * erc.el: Various docstring fixes and additions.
8131 * (erc-cmd-NOTIFY): Change the function arglist to (&rest args)
8133 * erc-netsplit.el: * (erc-cmd-WHOLEFT): Has no args...
8135 2003-01-16 Damien Elmes <erc@repose.cx>
8138 erc-fill-column: default to 78, so things like docstrings don't get wrapped
8141 2003-01-16 Mario Lang <mlang@delysid.org>
8144 * (erc-cmd-default): Take a substring, now /mode works again.
8145 * (erc-cmd-AWAY): Put do-not-parse-args t
8146 * (erc-cmd-GAWAY): Ditto, and fix it.
8147 * (erc-cmd-CTCP): Switch to argument system.
8148 * (erc-cmd-KICK): Do the same.
8150 2003-01-15 Mario Lang <mlang@delysid.org>
8153 * (erc-cmd-DCC): Fixed for the new scheme, simplified.
8154 * (erc-dcc-do-CHAT-command): Ditto.
8155 * (erc-dcc-do-CLOSE-command): Ditto.
8156 * (erc-dcc-do-LIST-command): Ditto.
8158 2003-01-15 Damien Elmes <erc@repose.cx>
8161 erc-error-face: setting a background doesn't work so well with multi-line
8162 messages, so we don't. fg color is negotiable ;-)
8163 (erc-cmd-QUERY): fixed, new doco, suppress (erc-delete-query) until we fix it
8164 (erc-send-current-line): allow multi-line messages provided they don't start
8165 with a slash - there's no need to prohibit them if the slash isn't the
8168 * erc.el: * bad-syntax now reports like incorrect-args
8169 * bunch of extra cmds fixed, nick, sv etc.
8171 * erc.el(erc-cmd-HELP): fixed
8172 (erc-extract-command-from-line): when determining canon-defun, make sure we
8174 (erc-cmd-KICK): fixed
8177 * removed duplicate do-no-parse-args properties for the defaliased defuns
8178 (erc-process-input-line): show function signature when incorrect args
8179 (erc-extract-command-from-line): canonicalize defaliases before extracting
8181 (erc-cmd-CLEAR): fixed
8182 (erc-cmd-UNIGNORE): fixed again
8184 * erc.el(erc-cmd-SET): fixed
8185 (erc-cmd-UNIGNORE): fixed
8186 (erc-process-input-line): report when incorrect arguments are provided to a
8187 command, and show the command's docstring
8189 * erc.el(erc-cmd-APPENDTOPIC): fixed
8190 (erc-process-input-line): more informative error message than 'bad syntax'
8192 2003-01-15 Mario Lang <mlang@delysid.org>
8194 * erc.el: * (erc-cmd-IGNORE): fixed
8196 * erc.el: * (erc-cmd-NAMES): fixed
8199 * (erc-cmd-CLEARTOPIC): Simplify, fix doc, make interactive
8201 2003-01-15 Damien Elmes <erc@repose.cx>
8203 * erc.el(erc-cmd-JOIN):
8204 correct invite behavior, and document it.
8206 2003-01-15 Mario Lang <mlang@delysid.org>
8208 * erc.el: * (erc-cmd-PART): Put 'do-not-parse-args t
8210 2003-01-15 Damien Elmes <erc@repose.cx>
8212 * erc.el(erc-cmd-JOIN): new cmd argument syntax
8213 (erc-process-input-line): check if (erc-extract-command-from-line) returned a
8214 list, and apply if that's the case
8217 erc-cmd-*: remove optional force and references to `force' in the code
8218 (erc-cmd-AMSG): call erc-trim-string, not trim-string
8220 2003-01-15 Mario Lang <mlang@delysid.org>
8223 * (erc-cmd-CLEARTOPIC): LINE is now ARGS and already parsed.
8224 Set erc-cmd-TOPIC to 'do-not-parse-args for now.
8225 (comment: I think we should have 'first, so that only first word is parsed...
8226 Or we could autodetect erc-channel-p in the parser before that somehow...)
8228 * erc.el: * (erc-cmd-OP): LINE is PEOPLE now, and already parsed.
8231 * (erc-cmd-NOTIFY): Arg LINE is now ARGS, and already parsed.
8233 2003-01-15 Jorgen Schaefer <forcer@users.sourceforge.net>
8235 * erc-stamp.el(erc-insert-timestamp-right):
8236 Prefer erc-fill-column to window-width,
8237 because on wide screens the timestamp could wander off too far to the
8240 2003-01-15 Mario Lang <mlang@delysid.org>
8242 * erc.el: This is the "everything is suddenly broken!" release
8243 You know, this is CVS, you can still go back, and wait until the transition
8244 is finished, but here is patch one, which basically breaks every command
8245 which is typed on the prompt.
8246 Hit me, we can still revert, but something needs to be done about this.
8247 * (erc-extract-command-from-line): intern-soft the function here.
8248 If the function symbol has a property 'do-not-parse-args, operate as before,
8249 otherwise, split the arguments prior to calling the command handler.
8250 * (erc-process-input-line): Updated to accommodate the change above.
8251 * (erc-send-distinguish-noncommands): Ditto.
8252 * (erc-cmd-NAMES): Ditto.
8253 * (erc-cmd-ME): Put 'do-not-parse-args property.
8255 * erc-dcc-list: Renamed
8256 * (erc-dcc-member). Treat :nick as either a nick!user@host or nick,
8257 do appropriate comparisons, simplified.
8258 * (erc-dcc-list-add): New functions
8259 various callers of (cons (list ...) erc-dcc-list) updated.
8260 Other stuff I'm too bored to document now
8262 2003-01-15 Jorgen Schaefer <forcer@users.sourceforge.net>
8264 * erc-stamp.el(erc-insert-timestamp-right):
8265 Removed redundant code that overrid the
8266 window-width. Now subtracts (length string) from every found
8267 indentation positions.
8269 2003-01-14 Mario Lang <mlang@delysid.org>
8272 * (erc-cmd-AMSG): Remove useless call to erc-display-message.
8275 * erc-dcc-chat/send-request: New variables, control how to treat
8276 incoming dcc chat or send requests. Can be set to 'ask, which behaves
8277 like it did before, 'auto, which accepts automatically, and
8278 'ignore, which ignores those type of requests completely.
8279 * (erc-cmd-CREQ): New user-level command.
8280 * (erc-cmd-SREQ): Ditto.
8282 * erc.el: * (erc-cmd-AMSG). New command.
8284 * erc-xdcc.el: * (erc-xdcc): delete empty strings from ARGS
8286 * erc-dcc.el: * erc-dcc-ipv4-regexp: New constant
8287 * (erc-ip-to-decimal): Use it.
8288 * erc-dcc-host:valid-regexp erc-dcc-ipv4-regexp:
8289 * erc-dcc-host: :type
8290 * (pcomplete/erc-mode/DCC): Add completion for GET and CLOSE.
8291 * Some docstring/comment fixes.
8294 * (erc-insert-timestamp-right): Subtract (length string) from
8295 POS in any case, otherwise, linewrap occurs.
8298 * Fixed the unibyte-multibyte problem (now a dcc get buffer is (set-buffer-multibyte nil),
8299 and saves correctly (tried with 21.3.50)). Thanks to Eli for suggesting it!
8300 * Added :start-time plist property/value to GET handling so that we can calculate elapsed-time.
8301 * Some (unwind-protect (progn (set-buffer ...) ...)) constructs replaced with (with-current-buffer ...)
8303 2003-01-13 Mario Lang <mlang@delysid.org>
8306 * erc-xdcc-help-text: New variable which makes replies to the originator
8308 * erc-xdcc-help-format: Removed.
8309 * (erc-xdcc-help): Handle the new variable.
8310 * (erc-xdcc): Simplified
8312 * erc-xdcc.el: * erc-xdcc-handler-alist: New variable.
8313 * (erc-xdcc): Move code for list and send sub-commands into
8314 * (erc-xdcc-help): New function.
8315 * (erc-xdcc-list): New function.
8316 * (erc-xdcc-send): New function.
8318 2003-01-12 Jorgen Schaefer <forcer@users.sourceforge.net>
8320 * erc.el(erc-server-JOIN):
8321 Oops, send MODE command only when *we* joined a channel.
8324 Fixing ERCs behavior wrt IRCnet's !channels have a different name for
8325 JOIN than in reality (e.g. you can join !forcertest or !!forcertest
8326 and really get to !ABCDEforcertest)
8328 (erc-cmd-JOIN): Removed erc-send-command MODE.
8329 (erc-server-JOIN): Ask for MODE now.
8331 2003-01-12 Damien Elmes <erc@repose.cx>
8334 (erc-dcc-get-filter), (erc-dcc-get-file): store size as a string, not an
8335 integer. check size > 0 for the case where a size wasn't provided, since
8336 string-to-int will return 0 on an empty string
8338 2003-01-12 Mario Lang <mlang@delysid.org>
8340 * erc-dcc.el: * Use RAWFILE arg with find-file-noselect
8341 * Fix alist/plist conversion left-over
8342 * Add verbose-info about sending blocks.
8344 2003-01-11 Mario Lang <mlang@delysid.org>
8346 * erc-dcc.el: * (pcomplete-erc-mode/DCC): Fixes
8348 * erc-xdcc.el: Initial version.
8351 * (erc-pcomplete): Fix so that cycle-completion works again.
8352 * (pcomplete-parse-erc-arguments): If there is a space after the last word
8353 before point, we need to return a "" arg, and it's position.
8355 * erc-dcc.el: Fix to pcomplete/erc-mode/DCC
8357 * erc-dcc.el: * (pcomplete/erc-mode/DCC): New function
8359 * erc-dcc.el: *** empty log message ***
8361 * erc-dcc.el: Move code around, just basic changes
8363 2003-01-11 Jorgen Schaefer <forcer@users.sourceforge.net>
8365 * erc-stamp.el(erc-insert-timestamp-right):
8366 Check whether erc-fill-column is
8367 available before using it. Else default to fill-column or if
8368 everything else fails, the window width of the current window. For the
8369 fill-columns, use them directly as the starting position for the
8372 2003-01-11 Andreas Fuchs <asf@void.at>
8375 erc-insert-timestamp-right: use correct window's window-width. If
8376 buffer is not in a window, use erc-fill-column.
8378 2003-01-11 Mario Lang <mlang@delysid.org>
8380 * erc-dcc.el (erc-dcc-do-LIST-command): Fix
8383 * buffer-local variables erc-dcc-sent-marker and erc-dcc-send-confirmed marker removed
8384 Keep This info in erc-dcc-member :sent and :confirmed plist values
8385 :buffer plist for :type 'SEND removed, since we can get this with (marker-buffer
8386 * erc-dcc-send-connect-hook: New hook, defaults to erc-dcc-send-block and erc-dcc-send-connected, which now prints a msg...
8389 * (erc-dcc-chat-accept): Renamed from erc-dcc-chat. Callers updated.
8390 * (erc-dcc-chat): Renamed from erc-dcc-chat-request.
8391 Callers updated, and interactive form added.
8392 * (erc-dcc-server-accept): No longer do any type-specific stuff.
8393 * (erc-dcc-chat-sentinel): Call erc-dcc-chat-setup if event is "open from "
8394 from here, otherwise call erc-dcc-chat-close.
8398 * erc-dcc.el: *** empty log message ***
8400 * erc-dcc.el: Moved some functions around.
8402 "/dcc send nick filename" works now
8404 2003-01-11 Alex Schroeder <alex@gnu.org>
8406 * erc.el(erc-send-command): Fixed flood protect message.
8408 * erc-button.el(erc-button-syntax-table): Make `-' a legal nick
8411 2003-01-10 Mario Lang <mlang@delysid.org>
8413 * erc-dcc.el: Some more steps toward dcc send.
8415 2003-01-10 Francis Litterio <franl@users.sourceforge.net>
8417 * erc-notify.el(erc-notify-timer):
8418 Changed to make it IRC-case-insensitive when comparing nicks.
8419 (erc-notify-JOIN): Changed to make it IRC-case-insensitive when comparing nicks.
8420 (erc-notify-NICK): Changed to make it IRC-case-insensitive when comparing nicks.
8421 (erc-notify-QUIT): Changed to make it IRC-case-insensitive when comparing nicks.
8422 (erc-cmd-NOTIFY): Now "/notify -l" lists the nicks on your notify list. Now
8423 when you remove a nick from your notify list, you no longer receive a spurious
8424 signoff notification for that nick. Changed to make it IRC-case-insensitive when
8427 * erc.el(erc-ison-p):
8428 Fixed so it calls erc-member-ignore-case instead of member.
8430 * erc.el(erc-member-ignore-case):
8431 New function. Just like member-ignore-case, but obeys
8432 the IRC protocol case matching rules.
8434 2003-01-10 Damien Elmes <erc@repose.cx>
8437 (erc-dcc-do-GET-command), (erc-dcc-get-file): use the plist syntax, this
8440 2003-01-10 Jorgen Schaefer <forcer@users.sourceforge.net>
8442 * erc.el: erc-complete-functions: New variable.
8443 erc-mode-map: Bind \t to 'erc-complete-word
8444 erc-complete-word: New function.
8446 * erc-pcomplete.el(erc-pcomplete-mode):
8447 Use new erc-complete-functions
8448 (erc-pcomplete): Check that we're in the input line, else return nil.
8450 * erc-button.el(erc-button-mode): Use new erc-complete-functions
8451 erc-button-old-tab-command: Removed.
8452 (erc-button-next-or-old): Removed
8453 (erc-button-next): check that we're not in the input line, else just return nil.
8455 2003-01-10 Mario Lang <mlang@delysid.org>
8457 * erc-dcc.el: cleanup
8460 * (erc-dcc-chat-request): No longer use erc-send-ctcp-message.
8463 * (erc-dcc-no-such-nick): Also call delete-process if we have a peer already
8466 * (erc-dcc-no-such-nick): New function, server event handler for event 401.
8467 If we send a CTCP message requesting something dcc related, we set up an
8468 entry in erc-dcc-list before sending the request (for the server proc object
8469 for listening conns for example). But if that nick does not exist
8470 on that server, we now nicely cleanup erc-dcc-list again.
8472 2003-01-09 Mario Lang <mlang@delysid.org>
8474 * erc-dcc.el: Moved code around a bit, and doc fixes
8476 * erc-dcc.el: *** empty log message ***
8478 * erc-dcc.el: Rename erc-dcc-plist to erc-dcc-list
8480 2003-01-09 Damien Elmes <erc@repose.cx>
8482 * erc-dcc.el(erc-dcc-server (erc-dcc-chat-setup):
8483 use erc's (erc-setup-buffer) to determine how to
8484 display new DCC windows
8485 (erc-dcc-chat-buffer-killed): buffer-local hook for DCC buffers to close the
8487 (erc-dcc-chat-close): code common to a killed buffer or a disconnection from
8489 (erc-dcc-chat-sentinel): use (erc-dcc-chat-close)
8490 (erc-dcc-server-accept): use (erc-log) instead of (message)
8493 (erc), (erc-setup-buffer): factor out window generation code so DCC can use
8497 (erc-dcc-do-CLOSE-command), (erc-dcc-do-LIST-command): work with erc-dcc-plist
8500 erc-dcc-alist: became erc-dcc-plist, so we can more easily grab particular
8502 dcc catalog: unify use of DCC: and [dcc] (either's fine, but let's be
8504 (erc-dcc-member): takes an arbitrary list of constraints now
8505 (erc-dcc-proc-member): removed, as (erc-dcc-member) can be used for this
8506 (erc-dcc-do-CHAT-command): use the catalog to show the user what's going on
8507 (erc-dcc-chat-server): removed
8508 (erc-dcc-server): takes name sentinel and filter arguments, can be used for
8509 both send and chat now
8511 .. this release means all send/get support is broken until we fix up the
8512 things that still expect to be using an alist. this include /dcc list, /dcc
8515 2003-01-09 Francis Litterio <franl@users.sourceforge.net>
8517 * erc-ring.el(erc-previous-command):
8518 If you have a partially typed input line and press M-p,
8519 you lose what you typed. Now we save it so you can come back to it.
8521 2003-01-09 Jorgen Schaefer <forcer@users.sourceforge.net>
8523 * erc-ring.el(erc-add-to-input-ring): s/nullp/null/
8525 2003-01-09 Damien Elmes <erc@repose.cx>
8527 * erc-ring.el(erc-add-to-input-ring):
8528 set up the ring if it's not already setup
8530 * erc-dcc.el(erc-dcc-member): case insensitive match of nicknames
8531 (erc-dcc-do-CHAT-command): echo what we're doing (at least for now)
8533 2003-01-09 Mario Lang <mlang@delysid.org>
8535 * erc-dcc.el: (temporarily) fix erc-process setting...
8537 * erc-dcc.el: * (erc-dcc-chat-send-line): Removed
8540 Check if target is stringp (we can now also have 'dcc as value...)
8542 * erc-dcc.el(erc-dcc-chat-send-input-line):
8543 New function, used for
8544 erc-send-input-line-function.
8545 Use erc-send-current-line now.
8547 * erc-dcc.el: evt to elt...
8549 * erc-dcc.el: Remove () from a var (how silly!)
8551 * erc-dcc.el: * (erc-dcc-get-host): Use format-network-address.
8552 * (erc-dcc-host): Change semantic. If erc-dcc-host is set, use it.
8553 Otherwise, try to figure out the host by calling erc-dcc-get-host.
8554 * (erc-dcc-server-port): New variable.
8555 * erc-dcc-chat-log: Renamed to erc-dcc-server-accept
8557 * erc-dcc.el(erc-dcc-do-CHAT-command):
8558 Change arg of call to erc-dcc-chat-request from elt to nick
8560 2003-01-09 Francis Litterio <franl@users.sourceforge.net>
8562 * erc.el(erc-send-current-line):
8563 Now rejects multi-line commands (i.e., lines that
8564 start with "/" and contain newlines).
8566 2003-01-09 Jorgen Schaefer <forcer@users.sourceforge.net>
8569 Functionality to use TAB to jump to the next button:
8571 (erc-button-next-or-old): New function.
8572 (erc-button-next): New function.
8573 erc-button-keymap: added erc-button-next
8574 erc-button-old-tab-command: New variable.
8575 define-erc-module button: Add and remove 'erc-button-next-or-old as
8578 2003-01-09 Francis Litterio <franl@users.sourceforge.net>
8581 New variable: erc-auto-reconnect (defaults to t). If non-nil, ERC will
8582 automatically reconnect to a server after an unexpected disconnection.
8583 (erc-process-sentinel): Changed to refer to variable erc-auto-reconnect.
8585 2003-01-08 Mario Lang <mlang@delysid.org>
8588 * erc-send-input-line-function: New variable, used for dispatch...
8590 2003-01-08 Damien Elmes <erc@repose.cx>
8592 * erc-dcc.el(erc-dcc-chat-sentinel):
8593 check event type before killing process
8594 (erc-dcc-chat-log): new, handles the setup of dcc chats for incoming
8596 (erc-dcc-chat): use (erc-dcc-chat-setup)
8597 (erc-dcc-chat-setup): code common to incoming and outgoing DCC chats
8598 (erc-dcc-chat-request): request a DCC chat with another user
8599 (erc-dcc-proc-member): locate a member in erc-dcc-alist by process
8601 The very first ERC to ERC DCC chat was held between delysid and resolve today!
8603 2003-01-08 Mario Lang <mlang@delysid.org>
8605 * erc-track.el(erc-all-buffer-names):
8606 Check for erc-dcc-chat-mode too
8608 2003-01-08 Francis Litterio <franl@users.sourceforge.net>
8610 * erc-ring.el, erc.el(erc-kill-input):
8611 Resets erc-input-ring-index to nil, so that invoking this
8612 command conceptually puts you after your most recent input in the input
8614 (erc-previous-command and erc-next-command): Changed so that history movement
8615 is more intuitive. Also preserves the blank input line that marks the
8616 place after the newest command in the history ring (i.e., you'll see a
8617 blank command once every trip around the ring in either direction).
8619 2003-01-08 Mario Lang <mlang@delysid.org>
8621 * erc-dcc.el(erc-dcc-chat): Add docstring
8623 Fix error if /dcc chat nick doesn't find the nick
8625 2003-01-08 Francis Litterio <franl@users.sourceforge.net>
8628 Changed so that "make" works correctly under Cygwin. Before this change, the
8629 pathname passed to Emacs on the command line under Cygwin had the form
8630 "/cygwin/c/...", which prevented emacs from finding the file. Now the pathname
8631 has the form "c:/...". This works for any drive letter.
8633 2003-01-08 Mario Lang <mlang@delysid.org>
8635 * erc-button.el: reindent some code, and add TODO to comments
8637 * erc-dcc.el: *** empty log message ***
8639 * erc-dcc.el: Make dcc-chat-ended a notice
8640 Remove now bogus comment
8642 2003-01-08 Damien Elmes <erc@repose.cx>
8644 * erc-dcc.el(erc-pack-int): from erc-packed-int
8645 (erc-unpack-int): new
8647 * erc-dcc.el(erc-unpack-str): added
8649 2003-01-08 Mario Lang <mlang@delysid.org>
8651 * erc.el(erc-server-482):
8652 New handler, handles KICK reply if you're not channel-op
8654 * erc-dcc.el: Document SEND in erc-dcc-alist.
8655 Move sproc, parent-proc and file into erc-dcc-alist
8659 * erc-dcc.el(erc-dcc-get-host):
8660 Change :iface to :local since Kim committed it now to CVS emacs
8662 * erc-dcc.el(erc-dcc-get-host):
8663 New function, requires the not-yet-in-CVS-emacs local-address.patch to process.c.
8664 Some other minor additions
8666 2003-01-08 Francis Litterio <franl@users.sourceforge.net>
8668 * erc.el(erc-cmd-IGNORE):
8669 Now returns t to prevent "Bad syntax" error.
8670 (erc-cmd-UNIGNORE): Now returns t to prevent "Bad syntax" error.
8671 (erc-server-PRIVMSG-or-NOTICE): Capitalized first word in message to user.
8673 * erc.el(erc-scroll-to-bottom):
8674 Temporarily bind resize-mini-windows to nil so that
8675 users who have it set to a non-nil value will not suffer from premature
8676 minibuffer shrinkage due to the below recenter call. I have no idea why
8677 this works, but it solves the problem, and has no negative side effects.
8679 2003-01-07 Jorgen Schaefer <forcer@users.sourceforge.net>
8682 erc-dcc-ctcp-query-chat-regexp: The IP is not really an IP, but a
8683 number (no . allowed there).
8684 (erc-dcc-send-ctcp-string): use let* here to avoid cluttering up the
8686 Also, use erc-decimal-to-ip to get the IP.
8687 (erc-ip-to-decimal): Removed some pasted ERC timestamps
8688 (erc-decimal-to-ip): New function.
8689 erc-dcc-chat-mode-map: Return map in the initialization.
8691 2003-01-07 Francis Litterio <franl@users.sourceforge.net>
8693 * erc-match.el(erc-match-fool-p):
8694 Changed to call erc-match-directed-at-fool-p instead of
8695 erc-directed-at-fool-p.
8697 2003-01-07 Mario Lang <mlang@delysid.org>
8699 * erc-dcc.el(erc-cmd-DCC):
8700 Change (cond ... (t nil)) to (when ...)
8702 * erc-dcc.el: Use erc-current-nick-p
8704 2003-01-07 Jorgen Schaefer <forcer@users.sourceforge.net>
8707 erc-join-buffer: Added 'window-noselect to docstring and :type.
8708 erc-auto-query: Added 'window-noselect to :type.
8709 (erc): Treat erc-join-buffer being 'window-noselect appropriately.
8711 * erc.el(erc-current-nick-p): New function.
8712 (erc-nick-equal-p): New function.
8713 (erc-already-logged-in), (erc-server-JOIN), (erc-auto-query),
8714 (erc-server-PRIVMSG-or-NOTICE): Use erc-current-nick-p.
8715 (erc-update-channel-member): Use erc-nick-equal-p.
8717 * erc-match.el(erc-match-current-nick-p):
8718 Renamed from erc-current-nick-p
8719 (erc-match-pal-p): Renamed from erc-pal-p
8720 (erc-match-fool-p): Renamed from erc-fool-p
8721 (erc-match-keyword-p): Renamed from erc-keyword-p
8722 (erc-match-dangerous-host-p): Renamed from erc-dangerous-host-p
8723 (erc-match-directed-at-fool-p): Renamed from erc-directed-at-fool-p
8724 (erc-match-message): Use erc-match-TYPE-p instead of erc-TYPE-p
8727 Support for IRCnets' "nick/channel temporarily unavailable"
8729 (erc-nickname-in-use): New function (mostly copied from erc-server-433).
8730 (erc-server-433): Use erc-nickname-in-use
8731 (erc-server-437): New function.
8732 erc-server-hook-list: Added (437 erc-server-437).
8734 2003-01-07 Mario Lang <mlang@delysid.org>
8736 * erc-fill.el: Add autoload cookie
8739 Now also pass SERVER argument to signon/off hooks, and provide a erc-notify-signon/off function for echo-area printing
8741 * erc-notify.el(erc-notiy-QUIT):
8742 Change use of delq to delete, delq does not work with strings
8744 2003-01-06 Jorgen Schaefer <forcer@users.sourceforge.net>
8746 * erc.el(erc-ctcp-query-VERSION):
8747 v%s -> %s, so we are no longer vVersion...
8749 2003-01-06 Mario Lang <mlang@delysid.org>
8751 * erc.el: Small change to erc-ison-p, and fixme tag
8753 2003-01-06 Francis Litterio <franl@users.sourceforge.net>
8756 Fixed bug where variable "away" would be nil in new channel buffers
8757 even if the user is away when joining the channel.
8758 (erc-strip-controls): Fixed a bug where erc-strip-controls accidentally
8759 removed all text properties from the string.
8761 2003-01-06 Mario Lang <mlang@delysid.org>
8764 Some stub functions, some code, nothing really works yet
8766 * erc.el(erc-ison-p): New function
8768 * erc-dcc.el: Some functions which will be needed for dcc send
8770 * erc-dcc.el(erc-ip-address-to-decimal):
8771 New function, thanks lawrence
8773 * erc-dcc.el: Again, simplify code, fix stuff, DCC CHAT works now
8775 * erc-dcc.el: Many fixes, chat nearly works now
8777 * erc-netsplit.el: Also detect fast netsplit/joins
8779 * erc-dcc.el: some more fixes
8781 * erc-dcc.el: Fixup stage 1, now dcc get works
8783 * erc-dcc.el: make /dcc LIST work
8786 Initial checkin, don't use it! its really far from complete. Hackers: help!
8789 New function erc-notify-NICK, and added signon/off hooks which were missing
8791 2003-01-05 Jorgen Schaefer <forcer@users.sourceforge.net>
8793 * erc.el(erc-truncate-buffer-to-size):
8794 set inhibit-read-only to t for the
8795 deletion. This is usually done by the function calling the hook, but
8796 not if it's called interactively. Also, rewrote some weird if/if
8799 * erc-track.el(erc-track-shortennames):
8800 Documentation fix (erc-all-buffers is really
8801 erc-all-buffer-names)
8803 These changes make server buffers be tracked as well, as there are
8804 quite a few interesting things going on there (e.g. CTCP etc.)
8805 (erc-all-buffer-names): Check for (eq major-mode 'erc-mode) instead of
8806 erc-default-recipients.
8807 (erc-track-modified-channels): Don't require a default target (e.g.,
8808 this-channel being non-nil)
8810 2003-01-03 Damien Elmes <erc@repose.cx>
8813 erc-auto-query: can now be set to a symbol to control how new messages should
8814 be popped up (or not popped up, as the case may be)
8815 (erc-query): new function which handles the bulk of what (erc-cmd-QUERY) did
8817 (erc-cmd-QUERY): use (erc-query)
8818 (erc-auto-query): use (erc-query)
8820 * erc.el(erc-current-logfile):
8821 Downcase result of log generation function, as IRC is
8822 case insensitive. Fixes problems where "/query user" results in a different
8823 log file to a query from "User". Avoided adding an extra flag to control this
8824 behavior - if you think this was the wrong decision, please correct it and
8825 I'll remember it for next time.
8827 2002-12-31 Francis Litterio <franl@users.sourceforge.net>
8829 * erc.el(erc-split-command):
8830 Removed assignment to free variable "continue".
8831 (erc-strip-controls): New function. Takes a string, returns the string with
8832 all IRC color/bold/underline/etc. control codes stripped out.
8833 (erc-interpret-controls): If variable erc-interpret-controls-p is nil, now
8834 uses erc-strip-controls to strip control codes.
8835 (erc-ctcp-reply-ECHO): Changed reference and assignment to free variable "s"
8836 into reference/assignment to "msg", which appears to be the original author's
8839 * erc-list.el(erc-chanlist):
8840 Changed to use the new erc-once-with-server-event function
8841 instead of the old macro of the same name.
8843 * erc-notify.el(erc-notify-timer):
8844 Changed to use the new erc-once-with-server-event function
8845 instead of the old macro of the same name. Also fixed a bug were variable
8846 erc-last-ison was being read from a non-server buffer (thus giving its default
8847 value instead of its per-server value).
8849 * erc.el(erc-once-with-server-event):
8850 This is now a function. It was a macro with a
8851 bug (the call to gensym happened at byte-compile-time not macro-call-time).
8852 (erc-toggle-debug-irc-protocol): Now [return] is bound to this function in
8853 the *erc-protocol* buffer.
8855 2002-12-30 Alex Schroeder <alex@gnu.org>
8857 * erc-autoaway.el(erc-autoaway-idletimer): Doc,
8858 ref. erc-autoaway-use-emacs-idle.
8859 (autoaway): Doc, explain different idle definitions. Reestablish
8860 the idletimer only when erc-autoaway-use-emacs-idle is non-nil.
8861 (erc-auto-set-away): Doc, ref erc-auto-discard-away.
8862 (erc-auto-discard-away): Doc, ref erc-auto-set-away.
8863 (erc-autoaway-use-emacs-idle): Doc, ref erc-autoaway-mode, and
8864 added a note that this feature is currently broken.
8865 (erc-autoaway-reestablish-idletimer): Doc.
8866 (erc-autoaway-possibly-set-away): Split test such that
8867 erc-time-diff is only computed when necessary, add a comment why
8868 erc-process-alive is not necessary.
8869 (erc-autoaway-set-away): Test for erc-process-alive.
8871 2002-12-29 Alex Schroeder <alex@gnu.org>
8874 Changed the order of defcustoms to avoid errors in the :set property
8875 of erc-autoaway-idle-seconds.
8877 2002-12-29 Damien Elmes <erc@repose.cx>
8880 * (erc-track-get-active-buffer): remove superfluous (+ arg 0)
8882 2002-12-29 Alex Schroeder <alex@gnu.org>
8884 * erc-autoaway.el(erc-autoaway): Moved the defgroup up to the
8885 top, before the define-erc-module call.
8886 (autoaway): Extended doc.
8887 (erc-autoaway-idle-seconds): Use a :set property to handle
8888 erc-autoaway-use-emacs-idle.
8889 (erc-auto-set-away): Set default to t. Added doc strings where
8890 necessary, reformatted doc strings such that the first line can
8891 stand on its own. This is important for the output of M-x
8894 2002-12-28 Jorgen Schaefer <forcer@users.sourceforge.net>
8897 added (provide 'erc-auto), which is required for (require 'erc-auto) :)
8899 * erc.el(erc-display-prompt):
8900 Set the face property of the prompt to
8901 everything but the last character.
8903 * erc.el(erc-send-current-line):
8904 Check whether point is in the input line. If
8905 not, just beep and do nothing.
8907 2002-12-28 Alex Schroeder <alex@gnu.org>
8910 Fixed bug when there is only a prompt, and no property
8913 * erc.el(erc-display-prompt): Rewrote using a save-excursion
8914 and erc-propertize. No longer use a field for the prompt, but a
8915 plain text property called erc-prompt.
8916 (erc-bol): Use the erc-prompt text property instead of a field.
8917 Return point instead of t.
8918 (erc-parse-current-line): No need to call point here, then, since
8919 erc-bol now returns point.
8922 make ChangeLog .PHONY, thus forcing it always to be rebuilt.
8924 2002-12-28 Jorgen Schaefer <forcer@users.sourceforge.net>
8926 * erc.el(erc-log-irc-protocol):
8927 Removed check whether get-buffer-create
8928 returned nil. "The value is never nil", says the docstring.
8930 * erc.el: Day Of The Small Changes
8932 (erc-display-prompt): Make the prompt 'front-sticky, which prevents it
8933 from being modified. It *should* also make end-of-line move to the
8934 end of the field (i.e. the end of the prompt) when point is at the
8935 beginning of the prompt, but it doesn't. Dunno why. :(
8937 2002-12-27 Francis Litterio <franl@users.sourceforge.net>
8940 Added "-f" to "rm" command in rule for target "realclean".
8943 New function: erc-log-irc-protocol. Consolidates nearly duplicate code
8944 from functions erc-send-command and erc-process-filter into one function.
8946 * erc.el(erc-toggle-debug-irc-protocol):
8947 Removed unneeded argument PREFIX and code
8948 which referenced it at end of function.
8949 (erc-send-command): Now we only append a newline to the logged copy
8950 of output protocol text if it doesn't have one.
8952 2002-12-27 Jorgen Schaefer <forcer@users.sourceforge.net>
8954 * erc.el(erc-toggle-debug-irc-protocol):
8955 Display buffer if it's not shown
8956 already, and use view-mode.
8957 (erc-toggle-debug-irc-protocol), (erc-send-command),
8958 (erc-process-filter): inhibit-only t to insert into the
8959 *erc-protocol* buffer (view-mode)
8961 2002-12-27 Francis Litterio <franl@users.sourceforge.net>
8963 * erc.el(erc-mode-map):
8964 Removed keybinding for erc-toggle-debug-irc-protocol.
8965 (erc-toggle-debug-irc-protocol): Now used erc-make-notice to propertize the
8966 face of the enabled/disabled messages in the *erc-protocol* buffer.
8967 (erc-send-command): Now outgoing IRC protocol traffic is logged too.
8970 Added user-customizable variable erc-debug-irc-protocol.
8971 Added function erc-toggle-debug-irc-protocol.
8972 (erc-process-filter): Now supports IRC protocol logging. If variable
8973 erc-debug-irc-protocol is non-nil, all IRC protocol traffic is appended
8974 to buffer *erc-protocol*, which is created if necessary.
8976 2002-12-27 Jorgen Schaefer <forcer@users.sourceforge.net>
8978 * erc.el(erc-display-prompt):
8979 Don't make the prompt intangible; that didn't
8980 make things that much better for the user, but confused ispell,
8981 which checked the prompt when it should check the first word
8983 2002-12-27 Alex Schroeder <alex@gnu.org>
8985 * AUTHORS: fixed resolve's email add
8987 * AUTHORS: added damien
8989 * erc.el(erc-truncate-buffer-on-save):
8990 Removed documentation that
8991 described behavior now changed. It used to say "When nil, no
8992 buffer is ever truncated." This is no longer true; even when
8993 buffers are NOT truncated on save, they can be truncated, eg. by
8994 adding erc-truncate-buffer to the hook.
8995 (erc-logging-enabled): New function.
8996 (erc-current-logfile): New function.
8997 (erc): Use erc-logging-enabled and erc-current-logfile.
8998 (erc-truncate-buffer-to-size): Rewrote it, and made sure to use a
8999 (save-restriction (widen) ...) such that the truncation actually
9000 runs in the whole buffer, not in the last message only (as
9001 erc-insert-post-hook will do!). This should fix rw's
9002 out-of-bounds error.
9003 (erc-generate-log-file-name-short): Made all but the BUFFER
9004 argument optional. Doc: Mention
9005 erc-generate-log-file-name-function.
9006 (erc-generate-log-file-name-long): Doc: Mention
9007 erc-generate-log-file-name-function.
9008 (erc-save-buffer-in-logs): Use erc-logging-enabled and
9009 erc-current-logfile. Doc: Mention erc-logging-enabled.
9011 (erc-encode-string-for-target): Only do the real work when
9012 featurep mule; else just return the string unchanged.
9014 2002-12-27 Damien Elmes <erc@repose.cx>
9017 erc-encoding-default: check for (coding-system-p) for older emacs versions
9019 * erc.el(erc-connect): missing ()s added. "don't commit at 2am"
9021 * erc.el(erc-connect):
9022 check if (set-process-coding-system) is available before use
9024 2002-12-27 Alex Schroeder <alex@gnu.org>
9026 * AUTHORS: added franl
9028 2002-12-26 Alex Schroeder <alex@gnu.org>
9030 * erc-pcomplete.el(pcomplete-parse-erc-arguments):
9031 Reworked, and fixed a bug that had
9032 caused completions to corrupt preceding text under some circumstances.
9034 * erc.el(erc-encoding-default): New.
9035 (erc-encode-string-for-target): Use it instead of a hard-coded ctext.
9036 (erc-encoding-coding-alist): Doc.
9038 2002-12-26 Francis Litterio <franl@users.sourceforge.net>
9041 Removed fix for bug 658552 recently checked-in, because it doesn't work.
9043 * erc.el(erc-kill-buffer-function):
9044 Removed check that connection is up
9045 before running erc-kill-server-hook hooks. Those hooks should use
9046 erc-process-alive to avoid interacting with the process.
9049 Fixed erc-send-current-line so it no longer assigns the free variable "s", and
9050 it doesn't move point to end-of-buffer in non-ERC buffers. Fixed
9051 erc-kill-buffer-function so it doesn't run the erc-kill-server-hook hooks if the
9052 server connection is closed. Fixed bug 658552, which is described in detail at
9053 http://sourceforge.net/tracker/index.php?func=detail&aid=658552&group_id=30118&atid=398125
9055 2002-12-26 Alex Schroeder <alex@gnu.org>
9057 * erc.el(erc-cmd-SMV): Bug, now call erc-version-modules.
9059 * erc-pcomplete.el(erc-pcomplete-version): New.
9061 2002-12-26 Francis Litterio <franl@users.sourceforge.net>
9064 Fix for bug where you could not complete a nick when there was text following
9067 2002-12-25 Alex Schroeder <alex@gnu.org>
9069 * erc.el(erc-already-logged-in): Use erc-process-alive.
9070 (erc-prepare-mode-line-format): Use erc-process-alive.
9071 (erc-process-alive): Check erc-process for boundp and processp.
9073 * erc.el(erc-kill-buffer-function):
9074 Do not check whether the process is
9075 alive before running the hook, because there might be functions on
9076 the hook that need to run even when the process is dead. And
9077 function that wants to check this, should use (erc-process-alive).
9078 (erc-process-alive): New function.
9079 (erc-kill-server): Use it.
9080 (erc-kill-channel): Use it.
9082 * erc.el(erc-kill-buffer-function):
9083 Reverted ignore-error change.
9084 ignore-error is dangerous because we might miss bugs in functions
9085 on erc-kill-server-hook.
9087 * erc.el(erc-kill-buffer-function): Use memq instead of member
9088 when checking process-status. Added doc string with references to
9090 (erc-kill-server): Only send the command when the erc-process is
9091 still alive. This prevents the error: "Process
9092 erc-irc.openprojects.net-6667 not running" when killing the buffer
9093 after having used /QUIT.
9095 2002-12-24 Jorgen Schaefer <forcer@users.sourceforge.net>
9097 * erc.el(erc-server-ERROR):
9098 Show the error reason, not only the originating host.
9100 * erc.el(erc-kill-buffer-function):
9101 (ignore-errors ...) in 'erc-kill-server-hook.
9102 When the process for this server does not exist anymore, the hook
9103 will cause an error, effectively preventing the buffer from being
9106 2002-12-24 Francis Litterio <franl@users.sourceforge.net>
9109 Fixed erc-notify-timer so that it passes the correct nick to
9110 the functions on erc-notify-signoff-hook.
9112 2002-12-24 Alex Schroeder <alex@gnu.org>
9116 * erc-track.el(erc-make-mode-line-buffer-name): Removed a
9117 superfluous if construct around erc-track-showcount-string.
9118 (erc-track-modified-channels): Use 1+.
9119 Plus some doc and comment changes.
9121 2002-12-23 Mario Lang <mlang@delysid.org>
9123 * erc.el: Fix (erc-version) string
9125 2002-12-23 Francis Litterio <franl@users.sourceforge.net>
9128 Removed unnecessary assignment to free-variable "p" in erc-downcase.
9131 Now /PART reason strings are generated the same way /QUIT reason strings
9132 are generated (see variable erc-part-reason). Also, when a server buffer
9133 is killed, a QUIT command is automatically sent to the server.
9136 Changed erc-string-no-properties so that it is more efficient. Now it uses
9137 set-text-properties instead of creating and deleting a temporary buffer.
9139 2002-12-21 Jorgen Schaefer <forcer@users.sourceforge.net>
9142 erc-kill-input: added a check to prevent a (ding) and an error when
9143 there's nothing to kill (thanks to Francis Litterio, franl on IRC)
9145 2002-12-21 Mario Lang <mlang@delysid.org>
9148 AWAY notice duplication prevention. erc-prevent-duplicates now set to ("301") by default, and timeout to 60
9150 * erc.el: erc-prevent-duplicates: New variable, see docstring
9152 2002-12-20 Jorgen Schaefer <forcer@users.sourceforge.net>
9155 erc-track-modified-channels: Use cddr of cell for old-face. cdr of
9156 cell is '(1 . face-name), i have no idea why :)
9158 2002-12-20 Damien Elmes <erc@repose.cx>
9160 * erc.el(erc-current-nick):
9161 check the server buffer is active before using
9163 Also tabified and cleaned up some trailing whitespace
9165 2002-12-15 Mario Lang <mlang@delysid.org>
9167 * erc-track.el: erc-track-count patch by az
9169 2002-12-14 Damien Elmes <erc@repose.cx>
9172 last-peers: initialize to a cons. thanks to Francis Litterio
9173 <franl@world.std.com> for the patch
9176 erc-kill-channel-hook, erc-kill-buffer-hook, (erc-kill-channel):
9177 both hooks now call erc-save-buffer-in-logs, so that query buffers are
9178 saved properly now, and not just channel buffers.
9180 2002-12-13 Alex Schroeder <alex@gnu.org>
9182 * erc-track.el(erc-unique-channel-names): Fix another #hurd
9183 vs. #hurd-bunny bug.
9185 * erc-match.el(match): No longer modify erc-send-modify-hook,
9186 since it does not work without a parsed text property, anyway.
9187 (erc-keywords): Allow cons cells.
9188 (erc-remove-entry-from-list): Deal with cons cells.
9189 (erc-keyword-p): Ditto.
9190 (erc-match-message): Ditto.
9192 Moved nil to the beginning of the list, removed :tags for the
9194 (erc-current-nick-highlight-type): Ditto.
9195 (erc-pal-highlight-type): Ditto.
9196 (erc-fool-highlight-type): Ditto.
9197 (erc-keyword-highlight-type): Ditto.
9198 (erc-dangerous-host-highlight-type): Ditto.
9199 (erc-log-matches-flag): Moved nil to the beginning.
9201 2002-12-11 Jorgen Schaefer <forcer@users.sourceforge.net>
9204 erc-beg-of-input-line: Don't do (goto-char (beginning-of-line)), since
9205 beginning-of-line always moves point and returns nil. Thanks to
9206 franl on IRC for noting this.
9209 erc-insert-timestamp-left, erc-insert-timestamp-right: Made the
9210 timestamp a 'field named 'erc-timestamp. Now end-of-line and
9211 beginning-of-line will move over the timestamp.
9213 2002-12-10 Damien Elmes <erc@repose.cx>
9215 * erc-button.el(erc-button-add-button):
9216 make the created button rear-nonsticky, to allow
9217 cutting and pasting of buttons without worrying about the button properties
9218 being inherited by the text typed afterwards.
9220 * erc.el: save logfile when killing buffer
9222 2002-12-09 Alex Schroeder <alex@gnu.org>
9224 * erc-track.el(erc-modified-channels-display): Reworked.
9225 (erc-track-face-more-important-p): Removed.
9226 (erc-track-find-face): Return only one face.
9227 (erc-track-modified-channels): Reworked.
9228 (erc-modified-channels-string): Changed from (BUFFER FACE...) to
9231 * erc-stamp.el(erc-insert-timestamp-right): Do not assume
9232 erc-fill-column is available.
9234 2002-12-09 Jorgen Schaefer <forcer@users.sourceforge.net>
9237 erc-ech-notices-in-minibuffer-flag, erc-minibuffer-notice: Clarified
9238 the difference in the docstrings.
9240 2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
9242 * erc.el: erc-noncommands-list: added erc-cmd-SM and erc-cmd-SMV
9244 2002-12-08 Alex Schroeder <alex@gnu.org>
9246 * erc.el(erc-cmd-SM): New.
9249 * erc.el(erc-modes): New.
9251 2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
9254 field-end: use (not (fboundp 'field-end)) instead of (featurep 'xemacs)
9256 2002-12-08 Alex Schroeder <alex@gnu.org>
9258 * erc.el(erc-version-modules): New.
9260 2002-12-08 Mario Lang <mlang@delysid.org>
9262 * debian/changelog, debian/control, debian/scripts/startup.erc:
9263 debian release 3.0.cvs.20021208
9265 2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
9267 * erc.el(erc-split-command): Do the right thing with CTCPs.
9269 2002-12-08 Mario Lang <mlang@delysid.org>
9271 * erc-stamp.el: Be a bit more functional
9273 2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
9276 XEmacs doesn't seem to have field-end, so we provide our own version here.
9278 2002-12-08 Mario Lang <mlang@delysid.org>
9280 * Makefile: Small fixes to debrelease target
9282 2002-12-08 Jorgen Schaefer <forcer@users.sourceforge.net>
9285 make-obsolete-variable: xemacs doesn't have the WHEN parameter, remove it.
9287 2002-12-07 Jorgen Schaefer <forcer@users.sourceforge.net>
9289 * erc-imenu.el(erc-create-imenu-index):
9290 Use (forward-line 0) instead of
9291 (beginning-of-line) now, sine the latter ignores fields (used in the
9295 Rewrite of the prompt stuff to use a field named 'erc-prompt:
9297 erc-prompt: Removed getter and setter functions. The properties were
9298 already set (and overwritten) in erc-display-prompt.
9299 (erc-prompt): Add the trailing space here, not all over the code.
9300 (erc-display-prompt): Cleaned up a bit. The text-properties now are
9301 valid on the whole prompt. Also, made the prompt 'intangible to
9302 avoid confused users.
9303 (erc-bol): Now use the field 'erc-prompt for finding the prompt
9304 (erc-parse-current-line): Cleaned up considerably. Uses (erc-bol) now.
9305 (erc-load-irc-script-lines): Adjusted for the new (erc-prompt).
9306 (erc-save-buffer-in-logs): Adjusted for the new (erc-prompt).
9309 erc-uncontrol-input-line: The comment said "Consider it deprecated",
9310 so I removed it now.
9311 erc-prompt-interactive-input: Marked obsolete as of previous change.
9314 erc-smiley, erc-unmorse: Put at the end to separate it from the
9315 important parts of erc.el.
9317 2002-12-07 Alex Schroeder <alex@gnu.org>
9319 * erc-stamp.el(erc-insert-timestamp-right): New algorithm.
9321 2002-12-07 Jorgen Schaefer <forcer@users.sourceforge.net>
9324 last-peers, erc-message: Explained what last-peers is used for.
9326 2002-12-07 Alex Schroeder <alex@gnu.org>
9328 * erc-page.el(erc-cmd-PAGE): New function.
9329 (erc-ctcp-query-PAGE): Use the catalog entry for the message, too.
9330 (erc-ctcp-query-PAGE-hook): Added custom type.
9331 (erc-page-function): Changed custom type from ... function-item to
9333 As well as doc strings.
9335 2002-12-06 Alex Schroeder <alex@gnu.org>
9337 * erc-page.el: provide feature at the end
9339 2002-12-06 Brian P Templeton <bpt@tunes.org>
9342 Added austnet in erc-nickserv.el (thanks to Damien Elmes
9343 <resolve@repose.cx>)
9345 2002-12-05 Mario Lang <mlang@delysid.org>
9347 * erc-complete.el: Add autoload cookie
9349 * erc-speak.el: Small fix to make proper voice-changes
9351 2002-12-05 Alex Schroeder <alex@gnu.org>
9355 2002-12-03 Jorgen Schaefer <forcer@users.sourceforge.net>
9358 erc-mode-map: Put back C-c C-p (PART) and C-c C-q (QUIT)
9360 2002-12-02 Jorgen Schaefer <forcer@users.sourceforge.net>
9363 erc-insert-post-hook: Add :options erc-make-read-only, erc-save-buffer-in-logs
9364 erc-send-post-hook: Add :options erc-make-read-only
9366 * erc.el: erc-insert-hook: Removed ("this hook is obsolescent")
9367 erc-insert-post-hook: Added :options '(erc-truncate-buffer)
9369 2002-12-02 Mario Lang <mlang@delysid.org>
9371 * erc.el: Add missing requires
9373 2002-11-29 Jorgen Schaefer <forcer@users.sourceforge.net>
9375 * erc.el(erc-quit-reason-normal):
9376 Remove v before %s so it's "Version ..." not
9379 2002-11-26 Alex Schroeder <alex@gnu.org>
9381 * erc-compat.el(erc-encode-coding-string): Add second argument
9382 coding-system, and for non-mule xemacsen, use a new defun instead
9385 * erc.el: (define-erc-module): Use the appropriate group.
9386 (erc-port): Changed custom type.
9387 (erc-insert-hook): Custom group changed to erc-hooks.
9388 (erc-after-connect): ditto
9389 (erc-before-connect): ditto
9390 (erc-disconnected-hook): ditto
9392 * erc-button.el(erc-button): New group, changed all custom groups
9393 from erc to erc-button, but left all erc-faces as-is.
9395 * erc-track.el(erc-track): New group, changed all custom groups
9396 from erc to erc-track.
9398 2002-11-26 Mario Lang <mlang@delysid.org>
9401 Macros for erc-victim handling. Primary idea is to use setf and some fancy things to get nice syntax. have a look
9403 2002-11-26 Jorgen Schaefer <forcer@users.sourceforge.net>
9406 pings, erc-cmd-PING, erc-ctcp-reply-PING, catalog entry CTCP-PING:
9407 Cleaned up. Removed buffer-local variable pings which stored a list of
9408 all sent CTCP PING requests. Now send our full time with the CTCP PING
9409 request and interpret the answer.
9411 2002-11-25 Jorgen Schaefer <forcer@users.sourceforge.net>
9413 * erc.el: nick-stk: replaced by the local variable current-nick.
9415 2002-11-25 Alex Schroeder <alex@gnu.org>
9417 * erc.el(erc-send-command): Use erc-encode-string-for-target.
9418 (erc-encode-string-for-target): New.
9420 * erc-compat.el(erc-encode-coding-string): Add second argument
9421 coding-system, and for non-mule xemacsen, use a new defun instead
9424 * erc-nickserv.el(erc-nickserv-version): New.
9426 2002-11-25 Jorgen Schaefer <forcer@users.sourceforge.net>
9429 UNCOMPILED: erc-chess.el depends on chess-network.el, which might not
9430 be installed. Don't compile it.
9433 erc-mode-map: Added C-a as erc-bol (no reason why it shouldn't be),
9434 and removed C-c C-p (part channel) and C-c C-q (quite server) as these
9435 are a bit drastic in their consequences and easy to mistype.
9437 2002-11-24 Jorgen Schaefer <forcer@users.sourceforge.net>
9439 * erc-track.el: erc-track-faces-priority-list: Extended list
9442 channel-members: Updated docstring: We have a VOICE predicate, too.
9444 * erc-track.el(erc-unique-substrings):
9445 Don't shorten a single channel to "#", but
9446 always give at least 2 chars (except when there are no two chars).
9448 2002-11-23 Jorgen Schaefer <forcer@users.sourceforge.net>
9451 support for BrasNET. Thanks to rw on IRC for the settings.
9453 2002-11-23 Alex Schroeder <alex@gnu.org>
9455 * erc.el: (erc-default-recipients, erc-session-user-full-name)
9456 (nick-stk, pings, erc-announced-server-name, erc-connected)
9457 (channel-user-limit, last-peers, invitation, away, channel-list)
9458 (last-sent-time, last-ping-time, last-ctcp-time, erc-lines-sent)
9459 (erc-bytes-sent, quitting, bad-nick, erc-logged-in)
9460 (erc-default-nicks): Defvars.
9462 * erc-compat.el: Switched tests to iso-8859-1 instead of latin-1.
9464 * erc-compat.el(erc-compat-version): New.
9466 2002-11-22 Alex Schroeder <alex@gnu.org>
9468 * erc.el(smiley): Smileys are a very small module, now.
9470 2002-11-22 Jorgen Schaefer <forcer@users.sourceforge.net>
9473 erc-event-to-hook, erc-event-to-hook-name: eval-and-compile these,
9474 since we need them in a macro. ERC now compiles again!
9477 erc-minibuffer-privmsg: Removed setting this variable to nil, since it
9478 was removed from erc.el.
9480 * erc.el(erc-interactive-input-map): Added docstring.
9481 (erc-wash-quit-reason): Extended docstring.
9482 (erc-server-ERROR): Added docstring.
9483 (erc-server-321): buffer-local variable channel-list probably
9484 shouldn't be renamed erc-channel-list - removed FIXME.
9486 * erc.el: small cleanup.
9487 ("was not used anymore" here means "not used in erc/*.el nor in
9488 fsbot", thanks to deego for checking that.)
9490 erc-minibuffer-privmsg: Removed (was not used anymore)
9491 (erc-reformat-command): Removed (was not used anymore)
9492 (erc-strip-erc-parsed-property): Removed (was not used anymore)
9493 (erc-process-ctcp-response): Removed (replaced by ctcp-query-XXX-hook)
9494 (erc-send-paragraph): Removed ("Note that this function is obsolete,
9495 erc-send-current-line handles multiline input.")
9496 (erc-input-hook): Removed ("This hook is obsolete. See
9497 `erc-send-pre-hook', `erc-send-modify-hook' and
9498 `erc-send-post-hook' instead.")
9499 (erc-message-hook): Removed ("This hook is obsolete. See
9500 `erc-server-PRIVMSG-hook' and `erc-server-NOTICE-hook'.")
9501 (erc-cmd-default-channel): Removed ("FIXME: no clue what this is
9502 supposed to do." - it was supposed to prepend the default channel
9503 to a command before sending it. E.g. typing "/FOO now!" would send
9504 the IRC command "FOO #mycurrentchannel now!")
9507 erc-ctcp-query-PING: Send the whole argument back, not just the first
9508 number. This is required for many clients (e.g. irssi, BitchX, ...)
9509 which send their ping times in two different numbers for microsecond
9512 2002-11-22 Alex Schroeder <alex@gnu.org>
9514 * erc-track.el(erc-track-shorten-function): Allow nil.
9516 2002-11-21 Alex Schroeder <alex@gnu.org>
9518 * erc-track.el(erc-unique-channel-names): Fixed bug that appeared
9519 if one target name was a substring of another -- eg. #hurd and
9520 #hurd-bunny. Added appropriate test.
9522 2002-11-20 Jorgen Schaefer <forcer@users.sourceforge.net>
9525 erc-unique-channel-names: Don't take a substring of channel that could
9526 be longer than the channel, but at most (min (length candidate)
9527 (length channel). (thanks to deego for noticing this)
9529 2002-11-19 Mario Lang <mlang@delysid.org>
9531 * erc-notify.el: * (require pcomplete): Only when compiling.
9533 2002-11-19 Jorgen Schaefer <forcer@users.sourceforge.net>
9536 erc-track-faces-priority-list: New variable, defines what faces will
9537 be shown in the modeline. If set to nil, the old behavior ("all")
9539 erc-track-face-more-important-p: new function
9540 erc-track-find-face: new function
9542 2002-11-19 Alex Schroeder <alex@gnu.org>
9544 * erc-fill.el(erc-stamp): Require it.
9546 * erc-match.el(away): devar for the compiler.
9548 * erc-stamp.el(stamp): Moved.
9550 * erc.el(erc-version-string): New version.
9552 * erc-autoaway.el(erc-autoaway-idletimer): Moved to the front of
9555 * erc-auto.in: (generated-autoload-file, command-line-args-left):
9556 Added defvar without value to silence byte compiler.
9558 * Makefile(realclean): renamed fullclean to realclean.
9559 (UNCOMPILED): New list, for erc-bbdb.el, erc-ibuffer.el,
9561 (SOURCE): Do not compile UNCOMPILED.
9562 (release): New target.
9563 (ChangeLog): New target.
9566 * erc-complete.el(erc-match): Require it.
9567 (hippie-exp): Require it.
9569 * erc-ezbounce.el(erc): Require it.
9571 * erc-imenu.el(imenu): Require it.
9573 * erc-nickserv.el(erc-networks): Moved up.
9575 * erc-notify.el(pcomplete): Require it.
9577 * erc-replace.el(erc): Require it.
9579 * erc-sound.el(sound): Typo -- define-key in erc-mode-map.
9581 * erc-speedbar.el(dframe): Require it.
9582 (speedbar): Require it.
9584 * erc-track.el(erc-default-recipients): devar for the compiler.
9588 2002-11-18 Mario Lang <mlang@delysid.org>
9590 * AUTHORS: File needed for mkChangeLog
9592 * mkChangeLog: Original code by mhp
9594 2002-11-18 Alex Schroeder <alex@gnu.org>
9596 * erc-button.el(erc-button-list): Renamed to erc-list and moved
9599 * erc.el(erc-list): New.
9601 * erc-track.el(erc-make-mode-line-buffer-name): Simplified.
9602 (erc-modified-channels-display): Simplified. Now works with all
9603 faces, and fixes the bug that when two faces where used (bold
9604 erc-current-nick-face), then no faces was added.
9606 * erc-track.el: Lots of new tests. Moved some defuns around in
9608 (erc-all-channel-names): Renamed.
9609 (erc-all-buffer-names): New name, now include query buffers as
9611 (erc-modified-channels-update-inside): New variable.
9612 (erc-modified-channels-update): Use it to prevent running display
9613 if already inside it. This prevented debugging of
9614 `erc-modified-channels-display'.
9615 (erc-make-mode-line-buffer-name): Moved.
9616 (erc-track-shorten-names): Don't test using erc-channel-p as that
9617 failed with query buffers.
9618 (erc-unique-substrings): Move setq i + 1 to the end of the while
9619 loop, so that start is used as a default value instead of start +
9622 2002-11-18 Jorgen Schaefer <forcer@users.sourceforge.net>
9625 erc-unique-substrings: define this before using it in assert
9628 with-erc-channel-buffer: Define *before* using this macro. This
9629 hopefully fixes a bug noted on IRC.
9632 erc-notify-signon-hook, erc-notify-signoff-hook: New hooks. They're
9633 even run when their name suggests!
9635 2002-11-18 Alex Schroeder <alex@gnu.org>
9637 * erc-list.el: Typo.
9639 * erc-speedbar.el: Whitespace only.
9641 * erc.el(define-erc-module): Avoid defining an alias if name and
9644 * erc-ibuffer.el: URL
9646 * erc-imenu.el(erc-imenu-version): New constant.
9648 * erc-ibuffer.el(erc-ibuffer-version): New constant.
9650 * erc-ibuffer.el: File header, comments.
9652 * erc-fill.el(erc-fill-version): New constant.
9654 * erc-ezbounce.el(erc-ezb-version): New constant.
9656 * erc-complete.el(erc-complete-version): New constant.
9658 * erc-chess.el(erc-chess-version): New constant.
9660 * erc-chess.el: Whitespace only.
9662 * erc-bbdb.el(erc-bbdb-version): Typo.
9664 * erc-bbdb.el(erc-bbdb-version): New constant.
9665 Lots of whitespace changes. Changes to the header.
9667 * erc-track.el(erc-track-shorten-aggressively): Doc.
9668 (erc-all-channel-names): New function.
9669 (erc-unique-channel-names): New function.
9670 (unique-substrings): Renamed.
9671 (erc-unique-substrings): New name
9672 (unique-substrings-1): Renamed.
9673 (erc-unique-substring-1): New name. Added lots of tests.
9674 (erc-track-shorten-names): Call erc-unique-channel-names instead
9676 * erc-match.el(match): Rewrote a as module.
9678 2002-11-17 Alex Schroeder <alex@gnu.org>
9680 * erc-netsplit.el(erc-netsplit-version): New.
9681 (netsplit): Defined as a module, replacing erc-netsplit-initialize
9682 and erc-netsplit-destroy.
9684 2002-11-17 Jorgen Schaefer <forcer@users.sourceforge.net>
9686 * erc-track.el(erc-track-switch-buffer):
9687 define-erc-module defines erc-track-mode,
9688 not erc-track-modified-channels-mode.
9691 Variables erc-play-sound, erc-sound-path, erc-default-sound,
9692 erc-play-command, erc-ctcp-query-SOUND-hook and functions
9693 erc-cmd-SOUND, erc-ctcp-query-SOUND, erc-play-sound, erc-toggle-sound
9694 moved to erc-sound.el
9696 Variables erc-page-function, erc-ctcp-query-PAGE-hook and function
9697 erc-ctcp-query-PAGE moved to erc-page.el
9700 erc-page.el: New file. CTCP PAGE support for ERC, extracted from erc.el.
9703 defin-erc-module: Typo. Autoload should do erc-sound-mode and "erc-sound".
9706 erc-sound.el: New file. Contains all the CTCP SOUND stuff from erc.el.
9708 * erc.el(erc-process-ctcp-request):
9709 Removed (old-style CTCP handling)
9710 (erc-join-autogreet): Removed (was broken anyways)
9712 2002-11-17 Alex Schroeder <alex@gnu.org>
9714 * erc-button.el(erc-button-version): New constant.
9716 * erc-button.el(button): rewrote as a module.
9718 2002-11-17 Jorgen Schaefer <forcer@users.sourceforge.net>
9720 * erc.el: New functions:
9721 (erc-event-to-hook), (erc-event-to-hook-name): Convert an event to the
9722 corresponding hook. The latter only returns the name, while the former
9723 interns the hook symbol and returns it.
9725 2002-11-17 Alex Schroeder <alex@gnu.org>
9728 Practically total rewrite. All smiley stuff deleted.
9730 * erc-track.el(track): typo.
9732 * erc.el(define-erc-module): Doc change.
9734 2002-11-17 Jorgen Schaefer <forcer@users.sourceforge.net>
9736 * erc-autoaway.el: Changed to use define-erc-module.
9738 * erc.el(define-erc-module):
9739 Make the enable/disable functions interactive.
9742 Don't use switch-to-buffer when we're in the minibuffer,
9743 because that does not work. Use display-buffer instead. This leaves
9744 two problems: The point does not advance to the end of the buffer for
9745 whatever reason, and after leaving the minibuffer, the new window gets
9748 2002-11-17 Alex Schroeder <alex@gnu.org>
9750 * erc-stamp.el(stamp): Doc change.
9752 * erc-stamp.el(erc-stamp-version): New constant.
9753 (stamp): downcase alias name of the mode.
9755 * erc.el(define-erc-module): Added defalias option, renamed
9758 * erc-track.el: erc-track-modified-channels-mode is now only an
9759 alias to erc-track-mode. Only erc-track-mode is autoloaded.
9760 (track): Rewrote call to define-erc-module.
9762 2002-11-16 Mario Lang <mlang@delysid.org>
9764 * debian/README.Debian: * Spelling fix
9766 * erc-fill.el: * Fix autoload definition for erc-fill-mode
9768 * debian/control, debian/maint/postinst, debian/maint/prerm:
9769 * Remove /usr/doc -> /usr/share/doc link handling
9771 * debian/changelog: * Sync with reality
9773 * debian/scripts/startup.erc:
9774 * Add /usr/share/emacs/site-lisp/erc/ to load-path
9777 * debian/README.Debian:
9778 * Info about the changes since last release updated
9780 * erc-pcomplete.el: * Fix emacs/xemacs compatibility
9782 * debian/scripts/install: * Don't compile erc-compat, fix ELCDIR
9784 * debian/control: * Change maintainer field
9787 * (defin-erc-module): Renamed argument mode-name to mname because silly byte-compiler thought we were talking about `mode-name'.
9789 * Makefile: * Added debrelease target
9791 * erc-bbdb.el, erc-pcomplete.el, erc-stamp.el, erc.el:
9792 * (define-erc-module): Added mode-name argument.
9793 * Converted erc-bbdb, erc-pcomplete and erc-stamp to new macro.
9797 * Create a global-minor-mode (i.e., make it a proper erc-module)
9799 * erc.el: * (define-erc-module): New defmacro
9801 2002-11-16 Jorgen Schaefer <forcer@users.sourceforge.net>
9803 * erc-autoaway.el(erc-autoaway-idle-seconds):
9804 t in docstrings should be non-nil
9806 2002-11-16 Alex Schroeder <alex@gnu.org>
9808 * erc-autoaway.el, erc-button.el, erc-fill.el, erc-match.el,
9809 erc-menu.el, erc-ring.el, erc-track.el:
9810 Cleanup of file headers: copyright years, GPL mumbo-jumbo, commentaries.
9812 * erc-stamp.el(erc-insert-away-timestamp-function):
9814 (erc-insert-timestamp-function): New custom type.
9816 * erc-fill.el(erc-fill-function): Doc, new custom type.
9817 (erc-fill-static): Doc.
9818 (erc-fill-enable): New function.
9819 (erc-fill-disable): New function.
9820 (erc-fill-mode): New function.
9822 * erc-match.el(erc-match-enable): add-hook for both
9823 erc-insert-modify-hook and erc-send-modify-hook.
9824 (erc-match-disable): remove-hook for both
9825 erc-insert-modify-hook and erc-send-modify-hook.
9827 2002-11-15 Jorgen Schaefer <forcer@users.sourceforge.net>
9830 - Added a way to use auto-away using emacs idle timers
9831 - Renamed erc-set-autoaway to erc-autoaway-possibly-set-away for consistency
9833 2002-11-14 Jorgen Schaefer <forcer@users.sourceforge.net>
9835 * erc.el: erc-mode-map: Removed the C-c C-g binding for erc-grab
9838 (erc-server-341) Another instance of the channel/chnl problem i didn't
9841 2002-11-14 Alex Schroeder <alex@gnu.org>
9843 * erc-compat.el(erc-decode-coding-string): typo
9845 2002-11-14 Jorgen Schaefer <forcer@users.sourceforge.net>
9847 * erc.el(erc-server-341):
9848 variable name should be chnl not channel, as it is
9849 used this way in this function, and the other erc-server-[0-9]* use
9853 Set back on all servers, not just the current one, since we're set
9854 away on all servers as well.
9856 * HISTORY: Fixed typo (ngu.org => gnu.org)
9858 * erc-autoaway.el, erc-fill.el, erc.el: erc-autoaway.el:
9861 * erc.el: Removed auto-discard-away facility (now included in
9863 (erc-away-p): new function
9865 * erc-fill.el (erc-fill-variable): Check whether erc-timestamp-format
9866 is bound before using it (erc-fill.el does not require erc-stamp).
9868 2002-11-10 Alex Schroeder <alex@gnu.org>
9871 TODO: moved it to http://www.emacswiki.org/cgi-bin/wiki.pl?ErcTODO
9873 * erc.el(with-erc-channel-buffer): Rudimentary doc string.
9875 2002-11-09 Alex Schroeder <alex@gnu.org>
9877 * erc-button.el(erc-nick-popup-alist): Made a defcustom.
9879 * erc-button.el(erc-button-disable): New function.
9880 (erc-button-enable): New function, replaces the add-hook calls at top-level.
9881 (erc-button-mode): New minor mode.
9883 2002-11-08 Alex Schroeder <alex@gnu.org>
9885 * erc-button.el(erc-button-entry): Use erc-button-syntax-table.
9887 * erc.el, erc-stamp.el: Doc changes.
9889 * erc-match.el(erc-match-mode): New function, replacing the
9891 (erc-match-enable): New function.
9892 (erc-match-disable): New function.
9893 (erc-current-nick-highlight-type): Changed from 'nickname to 'nick
9894 to make it consistent with the others.
9895 (erc-match-message): Ditto.
9897 * erc-button.el(erc-button-syntax-table): New variable.
9898 (erc-button-add-buttons): Use it.
9900 2002-11-06 Mario Lang <mlang@delysid.org>
9903 1) (bug) ERC pops up a new buffer and window when being messaged
9904 from an ignored person. fixed
9905 2) (misfeature) ERC notices the user in the minibuffer when it
9906 ignores something - this can get very annoying, since the
9907 minibuffer is also visible when not looking at ERC buffers.
9908 Added a customizable variable for this, the default is nil.
9909 3) (wishlist) There is no IGNORE or UNIGNORE command.
9911 4) (wishlist) Some IRC clients, notably irssi, allow the user to
9912 ignore "replies" to ignored people. A reply is defined as a
9913 line starting with "nick:", where nick is the nick of an
9914 ignored person. Added that functionality.
9915 Done by Jorgen Schaefer <forcer@forcix.cx>
9917 2002-11-02 Alex Schroeder <alex@gnu.org>
9919 * erc.el(erc-connect): set-process-coding-system to raw-text.
9921 2002-11-01 Brian P Templeton <bpt@tunes.org>
9923 * erc-pcomplete.el, erc-stamp.el, erc-track.el:
9924 Fixed more autoloads
9926 * erc-compat.el: Added autoload for erc-define-minor-mode
9928 2002-11-01 Mario Lang <mlang@delysid.org>
9930 * erc.el: * (erc-send-command): will break long messages into
9931 a bunch of smaller ones, to prevent them from being truncated by the server.
9932 The patch also axes some trailing whitespace. :-) <resolve>
9934 2002-10-31 Alex Schroeder <alex@gnu.org>
9936 * erc-pcomplete.el(erc-compat): Require.
9937 (erc-completion-mode): Use erc-define-minor-mode.
9939 * erc-track.el(erc-compat): Require.
9940 (erc-track-modified-channels-mode): Use erc-define-minor-mode.
9942 * erc-stamp.el(erc-compat): Require.
9943 (erc-timestamp-mode): Use erc-define-minor-mode.
9945 * erc-compat.el: New file with the code for erc-define-minor-mode,
9946 erc-encode-coding-string and erc-decode-coding-string. Essentially
9947 all the stuff that cannot be tested for using a simple boundp or
9948 fboundp -- eg. because the number of arguments are wrong.
9950 * erc.el(erc-compat): Require.
9951 (erc-process-coding-system): Moved to erc-compat.el.
9952 (erc-connect): Do not set-process-coding-system.
9953 (encode-coding-string): Compatibility code moved to erc-compat.el.
9954 (decode-coding-string): Compatibility code moved to erc-compat.el.
9955 (erc-encode-coding-string): Compatibility code moved to erc-compat.el.
9956 (erc-decode-coding-string): Compatibility code moved to erc-compat.el.
9958 2002-10-27 Alex Schroeder <alex@gnu.org>
9960 * erc.el(erc-display-line-1): Removed call to
9961 erc-decode-coding-string.
9962 (erc-parse-line-from-server): Added call to
9963 erc-decode-coding-string before anything gets parsed at all.
9964 (erc-decode-coding-string): Use undecided coding system.
9966 2002-10-24 Sandra Jean Chua <sacha@free.net.ph>
9968 * erc-button.el, erc.el:
9969 Added LASTLOG command and action for nick-button
9971 2002-10-22 Sandra Jean Chua <sacha@free.net.ph>
9974 Fixed nopruning bug, added /MODE channel (mode) [nicks...] completion - mode not completed yet.
9976 2002-10-16 Sandra Jean Chua <sacha@free.net.ph>
9979 Fixed 'Hi delysid:' bug in SAY completion after realizing that pcomplete on commands already took care of completing the initial nick:
9981 2002-10-15 Mario Lang <mlang@delysid.org>
9983 * erc-pcomplete.el: update from sachac
9985 2002-10-13 Alex Schroeder <alex@gnu.org>
9987 * erc.el(erc-emacs-time-to-erc-time): Catch when tm is nil.
9989 2002-10-11 Andreas Fuchs <asf@void.at>
9992 * Fixed `erc-scroll-to-bottom' to scroll to the bottom even when
9993 in the middle of a line. Might also fix the Magic ECHAN Bug[tm]. (-:
9995 2002-10-11 Mario Lang <mlang@delysid.org>
9997 * erc-nickserv.el: Fixed erc-networks for the opn->freenode change
9999 2002-10-08 Mario Lang <mlang@delysid.org>
10001 * erc-pcomplete.el:
10002 Make erc-completion-mode work interactively with already joined channel buffers
10004 * erc-chess.el: Add autoload cookies
10006 * erc-notify.el: Add pcomplete support
10009 Remove autoload statements, remove autoload cookie from erc-mode and erc-info-mode
10011 * erc-fill.el, erc-match.el: add/remove autoload cookies
10013 2002-10-06 Alex Schroeder <alex@gnu.org>
10015 * erc-pcomplete.el(erc-completion-mode): New global minor mode
10016 with autoload cookie.
10017 (erc-pcomplete-enable): Renamed erc-pcomplete-initialize.
10018 (erc-pcomplete-disable): New function.
10020 * erc-complete.el: Doc changes.
10022 * erc-stamp.el(erc-stamp-enable): Renamed erc-stamp-initialize.
10023 (erc-stamp-disable): Renamed erc-stamp-destroy.
10024 (erc-timestamp-mode): Use new names.
10026 * erc.el: Removed autoload for erc-complete and
10027 erc-track-modified-channels-mode -- the autoload cookie should do
10029 (erc-input-message): Doc string, removed binding for erc-complete.
10030 (erc-mode-map): Removed binding for erc-complete.
10032 2002-10-03 Mario Lang <mlang@delysid.org>
10035 New functions erc-notify-JOIN and erc-notify-QUIT to catch some common cases (warning, untested)
10037 2002-10-01 Alex Schroeder <alex@gnu.org>
10039 * erc-stamp.el(erc-timestamp-mode): New function. Removed call
10040 to erc-stamp-initialize at the end.
10042 2002-09-25 Brian P Templeton <bpt@tunes.org>
10045 Added customizable `erc-process-coding-system' variable.
10047 2002-09-22 Brian P Templeton <bpt@tunes.org>
10050 `erc-fill-variable' now does the right thing when `erc-hide-timestamps' is non-nil
10052 2002-09-21 Mario Lang <mlang@delysid.org>
10055 patch from Peter Solodov <peter@alcor.concordia.ca> (note, its slightly broken still
10057 2002-09-05 Mario Lang <mlang@delysid.org>
10059 * erc-pcomplete.el: Added LEAVE as alias for PART
10061 2002-09-04 Mario Lang <mlang@delysid.org>
10063 * erc-pcomplete.el:
10064 By sachac (good work!) keep up doing such things
10066 2002-08-31 Mario Lang <mlang@delysid.org>
10069 A fix for Bug#133267: now you can put (erc-save-buffer-in-logs) on erc-insert-post-hook to save *every* incoming message.
10071 2002-08-30 Brian P Templeton <bpt@tunes.org>
10074 Changed default value of erc-common-server-suffixes because of the OPN
10077 2002-08-28 Mario Lang <mlang@delysid.org>
10079 * erc-stamp.el: Try to reactivate isearch in xemacs
10082 fixes issues related to comparative emacsology and a silly bug
10084 2002-08-27 Mario Lang <mlang@delysid.org>
10087 New hook erc-send-completed-hook (for robot stuff), changed alexanders email address to reflect reality, little fix to erc-auto-query to get a bit of a speedup
10089 2002-08-22 Mario Lang <mlang@delysid.org>
10092 Fixed case-fold-search (thanks sachac), now lambda works in erc-button-alist, added wardwiki+google+symvar+rfc+itime regexps from the wiki
10094 2002-08-19 Mario Lang <mlang@delysid.org>
10097 erc-nick-popup-alist: New variable to make erc-nick-popup configurable
10099 2002-08-16 Alex Schroeder <alex@gnu.org>
10101 * erc-button.el(erc-recompute-nick-regexp): Fixed regexp.
10103 * erc-button.el(erc-button-buttonize-nicks): Changed custom type
10105 (erc-button-add-buttons): Moved button removal code to new
10107 (erc-button-remove-old-buttons): New function.
10108 (erc-button-add-button): Removed use of overlays and used
10109 erc-button-add-face instead.
10110 (erc-button-add-face): New function to merge faces as text
10111 properties. This should be much faster when lots of buttons
10113 (erc-button-list): New helper function.
10115 * erc.el(erc-display-message): Fixed argument list.
10116 (erc-display-prompt): Reduced calls to length, use start-open
10117 property for XEmacs to prevent a little box of erc-prompt-face at
10118 the end of messages other people send.
10119 (erc-refresh-channel-members): Fix XEmacs calls to split-string,
10120 which may return an empty string at the end of the list. This
10121 would cause hangups in erc-button in re-search-forward loops.
10122 (erc-get-channel-mode-from-keypress): Replaced control codes with
10123 octal escape sequences.
10125 2002-08-14 Mario Lang <mlang@delysid.org>
10128 Try to be compatible to XEmacs regexp-opt. (Im going to quit this job if I find more of those damn differencies
10130 * debian/README.Debian, debian/scripts/install:
10131 * Added info to README.Debian
10132 * Finished debian/scripts/install
10134 2002-08-13 Mario Lang <mlang@delysid.org>
10136 * debian/scripts/install: First attempt to fix it
10138 * debian/README.Debian, debian/changelog, debian/scripts/install:
10139 changelog: Changed maintainer and added new entry
10140 README.Debian: Re-explained the byte-compile issue
10141 scripts/install: Exclude erc-bbdb|chess|ibuffer|speedbar from
10144 * erc-track.el: Added C-c C-SPC in addition to C-c C-@
10146 * erc-notify.el: Little docstring change
10148 2002-08-09 Mario Lang <mlang@delysid.org>
10151 Change one use of set-text-properties to add-text-properties (tnx Lathi)
10153 2002-08-02 Mario Lang <mlang@delysid.org>
10155 * erc-stamp.el: added erc-timestamp-only-if-changed-flag
10157 2002-07-22 Mario Lang <mlang@delysid.org>
10160 Removed timestamp related code and moved into erc-stamp.el
10163 Timestamping code moved out of erc.el. Additional, now we can timestamp either on the left or on the right side
10165 2002-07-16 Mario Lang <mlang@delysid.org>
10168 * Make ctcp ping return its message in the active buffer, instead of the server buffer
10169 * Corrected minimal typo in catalog
10170 * Added var and variable as alias for /set
10172 2002-07-08 Mario Lang <mlang@delysid.org>
10175 * New function erc-track-switch-buffer (by resolve)
10176 Bound to C-c C-SPC, enjoy!
10178 2002-07-08 Gergely Nagy <algernon@debian.org>
10180 * debian/changelog: New snapshot deb
10182 * debian/scripts/install: Rewrote in make.
10183 Does not byte-compile erc-speak.el at all, and excludes erc-track.el too, if
10186 * debian/control: Added dependency on make
10188 * debian/copyright: Updated copyright info
10190 * debian/rules: Use $(wildcard *.el) instead of a hardcoded list
10192 2002-07-03 Diane Murray <disumu@x3y2z1.net>
10195 erc-iswitchb now works correctly if erc-modified-channels-alist is non-nil
10197 2002-07-01 Diane Murray <disumu@x3y2z1.net>
10200 * changed how we check if we should activate "Track hidden channels" and
10201 whether it should be selected - fixes a bug XEmacs where whole menu bar
10202 does not work if menu is loaded
10205 * added "Disconnect from server", only selectable if erc-connected is non-nil
10207 * topic is allowed to be set by normal users if channel mode is not +t
10209 * add " ..." after description if arguments needed after selecting menu item
10211 * only allow selecting of menu points needing a channel if current buffer is
10212 a channel buffer - done by testing if channel-members is non-nil
10214 * put erc-match functions in new group "Pals, fools and other keywords"
10217 * moved definition of erc-show-my-nick to GUI variables section
10219 * erc-connected variable now defined with defvar
10220 now set in channel and query buffers, was only in server buffer before
10221 upon disconnect, set erc-connected to nil in all the server's buffers
10223 * added erc-cmd-GQUIT and its alias erc-cmd-GQ - quit all servers at once
10225 * added interactive function erc-quit-server, bound to C-c C-q
10227 * added erc-server-WALLOPS
10229 * added WALLOPS to english catalog, fixed s461 (was showing message twice)
10231 * typo fixes, spacing change
10233 2002-06-29 Mario Lang <mlang@delysid.org>
10235 * erc.el: Use pp-to-string in /set (without args)
10238 Make /set anonymous-lign set erc-anonymous-login, also report
10239 which var was set to which val.
10241 2002-06-28 Diane Murray <disumu@x3y2z1.net>
10243 * erc-menu.el: added "Customize ERC"
10245 2002-06-25 Mario Lang <mlang@delysid.org>
10247 * erc.el: New variable: erc-use-info-buffers, defaults to nil.
10248 This prevents info-buffers from being created/updated.
10249 Set to t if you use :INFO buffers.
10251 Delete (erc-display-prompt) from reconnect to avoid clutter
10253 2002-06-23 Diane Murray <disumu@x3y2z1.net>
10256 erc-get-channel-mode-from-keypress is now bound to C-c C-m
10257 erc-insert-mode-command is taken care of by this function as well
10259 2002-06-21 Mario Lang <mlang@delysid.org>
10262 Fixed bug where buffer-names suddenly had text-properties.
10264 2002-06-19 Diane Murray <disumu@x3y2z1.net>
10266 * Makefile: changed erc-auto.el to $(SPECIAL) in make fullclean
10268 * Makefile: remove erc-auto.el on make fullclean
10270 2002-06-18 Diane Murray <disumu@x3y2z1.net>
10272 * erc-match.el: fixed spelling error
10274 * erc-track.el, erc-match.el: * erc-match.el:
10275 highlight current nickname in its own face (inactive by default):
10276 - added erc-current-nick-highlight-type, erc-current-nick-face,
10280 added support for erc-current-nick-face
10282 2002-06-17 Diane Murray <disumu@x3y2z1.net>
10284 * erc.el: * added beginning support for 005 numerics:
10285 - added buffer local variable erc-server-parameters
10286 - added erc-server-005, which sets erc-server-parameters if the server has
10287 used this code to show its parameters
10289 2002-06-16 Diane Murray <disumu@x3y2z1.net>
10292 * bugfix: when pasting lines with blank lines in between, remove the blank lines
10295 * since we know the command, use it when checking what's in erc-hide-list
10296 added check to erc-server-KICK
10298 * added some blank lines for better readability
10300 2002-06-16 Alex Schroeder <alex@gnu.org>
10302 * erc-nickserv.el(erc-nickserv-alist): Fixed typo.
10304 2002-06-15 Alex Schroeder <alex@gnu.org>
10306 * erc-nickserv.el(erc-networks): Added doc string.
10307 (erc-nickserv-alist): Added doc string.
10309 2002-06-14 Diane Murray <disumu@x3y2z1.net>
10312 fixed bug so that the prompt and command always get put at the end of the buffer
10314 2002-06-10 Mario Lang <mlang@delysid.org>
10316 * erc-nickserv.el: Added iip support.
10317 Added :type for erc-nickserv-passwords custom.
10320 2002-06-07 Diane Murray <disumu@x3y2z1.net>
10322 * erc-nickserv.el: * added GalaxyNet
10324 * erc-nickserv-alist:
10325 - sorting networks alphabetically
10326 - added two more pieces of information in erc-nickserv-alist:
10327 word to use for identification and whether to use the nickname
10329 * erc-current-network:
10330 - made regex case insensitive, downcase server to match
10331 - uses the new information
10332 - now uses new variable erc-networks instead of doing checking manually
10334 * added variable erc-networks
10336 * fixed some indentation, documentation
10338 2002-06-07 Mario Lang <mlang@delysid.org>
10340 * erc.el: Fix for kill-buffer hook stuff
10342 2002-06-06 Mario Lang <mlang@delysid.org>
10344 * erc.el: Added /squery command
10346 2002-06-06 Diane Murray <disumu@x3y2z1.net>
10348 * erc-menu.el: * made group Channel modes
10349 - moved change mode and invite only mode to here
10350 - added secret, moderated, no external send, topic lock, limit, key
10352 * check that user is in a channel buffer and user is a channel operator
10353 for all op-related actions
10355 * "Identify to nickserv" needs erc-nickserv-identify defined
10357 * added "Show ERC version"
10360 * added erc-set-channel-limit, erc-set-channel-key, erc-toggle-channel-mode
10362 * added erc-get-channel-mode-from-keypress, which is bound to C-c m
10363 sends the next character which is typed to one of the 3 new functions
10364 - did not remove erc-invite-only-mode and it's key binding in case
10365 people are used to it, although it probably should be removed...
10367 * in erc-server-MODE:
10368 added check if tgt equal to user's nick
10369 removed erc-display-line, only using the erc-display-message
10371 * added s461 to english catalog
10373 * fixed bug where XEmacs would not quit if erc-quit-reason was
10374 set to erc-quit-reason-various and assoc-default was not defined
10376 2002-06-04 Andreas Fuchs <asf@void.at>
10378 * erc-ezbounce.el, erc-match.el:
10379 * erc-ezbounce.el: Added. Provides support for ezbouncer; automatic login,
10380 session management implemented. I've contacted the author
10381 about stuff in EZBounce's logging.
10382 * erc-match.el: Fixed a stupid mistake where
10383 "*** Your new nick is <foo>" would trigger an error.
10385 2002-06-04 Diane Murray <disumu@x3y2z1.net>
10387 * erc-nickserv.el, erc.el: * added erc-nickserv.el
10388 * moved nickserv identification variables and functions to the new file
10389 (require 'erc-nickserv) is now necessary for this to work
10392 * results of /COUNTRY now formatted as notice; errors are ignored,
10394 bug which made prompt disappear
10396 * added undefined-ctcp error message to english catalog
10398 * changed some (when (not erc-disable-ctcp-replies) to use unless instead
10399 and some if's without else statements to use when or use
10401 * CTCP replies now use erc-display-message, formatted as notices
10403 * added following to english catalog:
10405 - CTCP-CLIENTINFO, CTCP-ECHO, CTCP-FINGER, CTCP-PAGE, CTCP-PING,
10406 CTCP-SOUND, CTCP-TIME, CTCP-UNKNOWN, CTCP-VERSION
10407 - s303, s305, s306, s353
10409 * split erc-server-305-or-306 into erc-server-305 and erc-server-306
10411 * KICK already had buffer set, using it
10414 * erc-format-timestamp now only called from erc-display-message and
10415 erc-send-current-line
10417 * all instances of erc-display-line with erc-highlight-error
10418 changed to use erc-display-message
10420 * added following error messages to english catalog:
10421 bad-ping-response, bad-syntax, cannot-find-file, cannot-read-file,
10422 ctcp-request, flood-ctcp-off, flood-strict-mode, no-default-channel,
10423 no-target, variable-not-bound
10425 * added following server related messages to english catalog:
10426 s324, s329, s331, s332, s333, s341, s406, KICK, KICK-you, KICK-by-you, MODE-nick
10428 * ignoring server codes 315, 369
10430 * added erc-server-341, erc-server-406
10432 * channel topic and mode notices displayed in respective channel buffers if they
10435 * erc-server-KICK: display the message before removing this channel so that we
10438 * send parsed to erc-ctcp-query-ACTION-hook so that actions can be checked
10441 * fixed bug where nil was shown if no reason was given by users on /PART
10443 2002-06-03 Diane Murray <disumu@x3y2z1.net>
10446 * fixed bug where erc-log-matches produced an error when the value of
10447 (erc-default-target) was not a channel
10448 * use erc-format-timestamp, if it's non-nil, for %t in erc-log-match-format
10450 2002-06-01 Diane Murray <disumu@x3y2z1.net>
10453 * made action case insensitive in erc-nick-popup and added a more descriptive
10456 2002-05-30 Brian P Templeton <bpt@tunes.org>
10459 Removed multiple calls of `erc-prompt' in `erc-display-prompt'
10461 2002-05-29 Mario Lang <mlang@delysid.org>
10464 First step timestampkiller cleanup. I'm tired, do the rest tomorrow.
10467 New functionality: Catch channel/server buffer kills through kill-buffer-hook.
10468 Currently, it only does a PART if you kill a channel buffer.
10470 2002-05-28 Mario Lang <mlang@delysid.org>
10473 defvar'ed some buffer-local variables to make elint at least a bit more happy.
10474 Moved comments into docstrings.
10475 Changed some instances of member to memq.
10477 * erc-track.el, erc.el:
10478 * erc.el (erc-message-type-member): New function, used to test
10479 for message type. Require erc-parsed text-property.
10480 * erc-track.el (erc-track-exclude-types): New variable. Defaults
10481 to ("JOIN" "PART") right now for testing, it should eventually set
10483 (erc-track-modified-channels): Use above fun and var to optionally
10484 exclude certain message types from channel tracking.
10486 2002-05-28 Diane Murray <disumu@x3y2z1.net>
10488 * CREDITS: added myself, vain as it sounds ;)
10490 2002-05-25 Mario Lang <mlang@delysid.org>
10492 * erc.el: * Some small docstring fixes
10493 * (erc-display-line): Now takes also a process object in the buffer argument.
10494 Used for easy sending to the server buffer.
10495 * Several places: Just pass proc, not (process-buffer proc)
10497 2002-05-24 Mario Lang <mlang@delysid.org>
10499 * erc.el: Mostly docstring fixes/additions
10501 * erc-netsplit.el: Doc fixes, and a new netjoin-done message.
10503 * erc-fill.el: Doc fixes, erc-fill custom group, autoloads.
10505 * erc-netsplit.el: Fix to erc-netsplit-timer.
10507 * erc-netsplit.el: Fixed a silly typo
10509 * erc-maint.el: is this really necessary?
10511 * erc.el: Added new variable erc-hide-list.
10512 It affects erc globally right now, and is used to hide certain IRC type messages like JOIN and PART.
10514 * Makefile: Doh, I should really test this before checkin :)
10516 * Makefile: Silly cut&paste bug fixed
10518 * erc-list.el: Added autoload cookie
10520 * erc-match.el: Added missing require erc.
10522 * erc-notify.el: Autoload cookies and a -initialize function.
10524 * erc-chess.el: Added autoload cookies
10526 * Makefile: Finally, we have a Makefile.
10527 Primarily used for autoload definition generation right now.
10529 * erc-auto.in: First version.
10531 * erc-track.el: Added autoload cookie
10534 New module, used to autodetect and hide netsplits.
10535 (Untested, no netsplit happened yet :) )
10537 * erc-nets.el: Added some old code I once worked on.
10538 Added autoload cookie
10540 2002-05-24 Diane Murray <disumu@x3y2z1.net>
10543 removed reference in documentation to old variable, changed it to the new one
10546 * added new function erc-connection-established which is called after receiving
10547 end of MOTD (does nothing if it's been called before)
10549 * added new hook erc-after-connect which is called from
10550 erc-connection-established with the arguments server (the announced server)
10551 and nick - which other arguments should be sent??
10553 * added buffer variable erc-connected which is set to t the first time
10554 erc-connection-established is called, set to nil again if we've been
10557 * set initial user mode
10558 - added custom variable erc-user-mode which can be a string or a function
10559 which returns a string
10560 - new function erc-set-initial-user-mode gets called from
10561 erc-connection-established
10563 2002-05-22 Diane Murray <disumu@x3y2z1.net>
10565 * erc.el: fixed bug where prompt was missing after reconnect
10567 2002-05-21 Diane Murray <disumu@x3y2z1.net>
10570 in erc-nickserv-identify: if network is unknown, just use "Nickserv"
10572 * erc.el: * fixed some typos
10575 - ctcp request messages and replies now have timestamp
10576 - timestamps in front of error messages now in timestamp face
10577 - added timestamp to more error messages
10579 * ctcp reply messages, server ping message updated
10581 * added variable erc-verbose-server-ping - check this instead of erc-paranoid
10583 * added whowas on no such nick:
10584 - added variable erc-whowas-on-nosuchnick
10585 - in erc-server-401 do WHOWAS if erc-whowas-on-nosuchnick is non-nil
10587 * erc.el: forgot documentation for erc-nickserv-alist
10589 * erc.el: NickServ identification changed and enhanced:
10590 - erc-nickserv-identify-autodetect now called from erc-server-NOTICE-hook
10591 - now possible to identify automatically without prompt:
10592 - added custom variables erc-prompt-for-nickserv-password and
10593 erc-nickserv-passwords
10594 - added erc-nickserv-alist containing the different networks' nickserv details
10595 - added function erc-current-network to determine the network symbol
10596 - fixed bug where identification on dalnet didn't work, because they now
10597 require NickServ@services.dal.net
10598 now sends to all NickServ with nick@server where possible
10600 2002-05-17 Diane Murray <disumu@x3y2z1.net>
10603 * filling with erc-fill-variable now works with custom defined fill width:
10604 - changed erc-fill-column from defvar to defcustom
10605 - in erc-fill-variable: set fill-column to value of erc-fill-column
10608 * fixed bug where topic wasn't being set when channel name was provided
10611 * filling with erc-fill-variable now works with custom defined fill width:
10612 - changed erc-fill-column from defvar to defcustom
10613 - in erc-fill-variable: set fill-column to value of erc-fill-column
10615 2002-05-16 John Wiegley <johnw@gnu.org>
10617 * erc.el: whitespace fix
10619 2002-05-15 Diane Murray <disumu@x3y2z1.net>
10622 * added explanation of empty string working in erc-quit-reason-various-alist
10623 * removed the text property from erc-send-message, it caused problems
10624 with /SV (as noticed by gbvb on IRC) and is obviously not needed
10625 * when receiving a ctcp query, convert type to uppercase to allow for
10626 "/ctcp nick time" and not just "/ctcp nick TIME"
10627 * timestamp in front of server notices now shown in the timestamp face
10629 2002-05-13 Diane Murray <disumu@x3y2z1.net>
10632 - in erc-format-privmessage: `erc-format-timestamp' added to message after
10633 message's text properties are applied so that it doesn't lose its face
10635 - /quit without reason now works when `erc-quit-reason' is set to
10636 `erc-quit-reason-various' and the empty string "" is defined in
10637 `erc-quit-reason-various-alist'
10639 2002-05-13 Andreas Fuchs <asf@void.at>
10642 * Applied Drewies patch to pop-up on nick changes when -popup-type is 'visible
10644 2002-05-12 Andreas Fuchs <asf@void.at>
10646 * erc-bbdb.el, erc.el:
10647 * erc-bbdb.el: pop up the buffer on /whois when erc-bbdb-popup-type is 'visible
10648 * erc.el: fix for empty quit reason problem by drewie.
10650 2002-05-12 Mario Lang <mlang@delysid.org>
10652 * erc.el: disumu nick patch
10653 - added erc-show-my-nick (default t)
10654 if t, show nickname like <nickname>
10655 if nil, only show a > character before the message
10656 - added faces erc-nick-default-face and erc-nick-msg-face
10657 - nicknames (channel, msgs, notices) are now in bold face by default
10658 - the msg face matches the erc-direct-msg-face color
10660 2002-05-10 Alex Schroeder <alex@gnu.org>
10662 * erc.el(erc-send-pre-hook): Doc change.
10664 * CREDITS: Alexander L. Belikoff is confirmed original author.
10666 2002-05-10 Mario Lang <mlang@delysid.org>
10669 timestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumutimestamp fix by disumu
10671 2002-05-09 Mario Lang <mlang@delysid.org>
10673 * erc.el: *** empty log message ***
10675 2002-05-06 Mario Lang <mlang@delysid.org>
10678 New var: erc-echo-notices-in-minibuffer-flag. defaults to t.
10680 2002-05-04 John Wiegley <johnw@gnu.org>
10682 * TODO: *** empty log message ***
10684 2002-05-03 Alex Schroeder <alex@gnu.org>
10686 * erc.el: Copyright notice, version string updates.
10688 2002-05-02 Alex Schroeder <alex@gnu.org>
10690 * erc.el: Comment: dme is David Edmondson
10692 2002-05-01 Alex Schroeder <alex@gnu.org>
10694 * erc.el(erc-warn-about-blank-lines): New option.
10695 (erc-send-current-line): Use it.
10696 (erc-quit-reason-various-alist): New option.
10697 (erc-quit-reason): New option.
10698 (erc-quit-reason-normal): New function.
10699 (erc-quit-reason-zippy): New function.
10700 (erc-quit-reason-various): New function.
10701 (erc-cmd-QUIT): Use them.
10703 2002-04-30 Alex Schroeder <alex@gnu.org>
10705 * erc.el: Version 2.92
10707 * erc.el(erc-send-modify-hook): Default value is nil.
10709 2002-04-27 John Wiegley <johnw@gnu.org>
10712 Don't redisplay the prompt if the ERC buffer is no longer alive.
10714 2002-04-26 John Wiegley <johnw@gnu.org>
10717 Don't call `set-buffer' on old-buf unless the buffer is valid. It's
10718 often not when separate frames are being used.
10720 2002-04-23 Mario Lang <mlang@delysid.org>
10722 * erc-button.el: fixed up erc-nick-regexp
10724 2002-04-22 Brian P Templeton <bpt@tunes.org>
10727 `erc-prompt' may now be a function that returns a string (which is
10728 used as the prompt). I don't use Customize but I think customization
10729 of it may be broken if it's not a string.
10731 There is a new `erc-prompt' function that returns the prompt as a
10732 string (e.g., returning either the result of `(funcall erc-prompt)' or
10735 This allows for dynamic prompts, such as a LispWorks-like prompt, or
10736 one containing simply the current channel name. It was requested by
10737 Mojo Nichols (nick michols) in #emacs today, 21-Apr-2002; cf. the
10738 #emacs logs at <URL:http://www.tunes.org/~nef/logs/emacs/02.04.21.
10740 2002-04-17 Mario Lang <mlang@delysid.org>
10743 fix erc-send-current-line to work on empty lines again (without sending the prompt)
10744 Fix C-c C-t to not include the nick/time info
10745 (both from antifuchs)
10747 * erc-complete.el: Fix for xemacs elt behavior
10749 2002-04-17 John Wiegley <johnw@gnu.org>
10752 Added a missing arg in a call to erc-chess-handler.
10754 2002-04-15 John Wiegley <johnw@gnu.org>
10756 * erc-chess.el: *** empty log message ***
10758 2002-04-14 John Wiegley <johnw@gnu.org>
10760 * erc-chess.el: *** empty log message ***
10762 2002-04-12 John Wiegley <johnw@gnu.org>
10764 * erc-chess.el: *** empty log message ***
10766 * erc-chess.el: bug fixes
10768 * erc-chess.el: *** empty log message ***
10770 2002-04-12 Mario Lang <mlang@delysid.org>
10772 * erc-chess.el: change order.
10774 * erc-chess.el: more fixing.
10776 Now, the 'match question works. It sends an accept back.
10777 But display popup doesn't work..
10779 * erc-chess.el: fixup (still far from working)
10781 2002-04-11 Mario Lang <mlang@delysid.org>
10784 * Added :options entry for erc-mode-hook (erc-add-scroll-to-bottom)
10786 2002-04-11 John Wiegley <johnw@gnu.org>
10788 * erc.el: remove trailing \n from any sent text
10790 * servers.pl, erc-bbdb.el, erc-button.el, erc-chess.el,
10791 erc-complete.el, erc-fill.el, erc-ibuffer.el, erc-list.el,
10792 erc-match.el, erc-menu.el, erc-nets.el, erc-replace.el,
10793 erc-speak.el, erc-speedbar.el, erc-track.el, erc.el:
10796 * erc.el: Replaced erc-scroll-to-bottom.
10798 2002-04-11 Mario Lang <mlang@delysid.org>
10801 try to fix behavior when used with different frames.
10803 2002-04-09 Mario Lang <mlang@delysid.org>
10806 fixup release, far from ready for real usage, but it appears to work.
10809 speed improvements based on elp-instrument-package RET erc- RET results
10811 * erc-chess.el: initial version.
10813 Get chess.el from johnw's cvs:
10814 cvs -d:pserver:anonymous@alice.dynodns.net:/usr/local/cvsroot login
10815 cvs -d:pserver:anonymous@alice.dynodns.net:/usr/local/cvsroot co chess
10817 (as usual, blank password)
10819 Add the resulting dir to your load-path and require erc-chess.
10821 Usage: Just do /chess nickname
10822 The remote end much use erc, as no other irc client I know of supports this ...
10824 See erc-chess-default-display and maybe set it to chess-images or chess-ics1 if you prefer those over chess-plain.
10825 Also, see erc-chess-user-full-name to set the name you use in chess games.
10827 2002-04-04 Mario Lang <mlang@delysid.org>
10829 * erc.el: New hackery latenightwise
10831 * erc.el: upupadowndowncase
10833 2002-04-04 Gergely Nagy <algernon@debian.org>
10835 * debian/changelog: Updated for the new snapshot
10837 * debian/rules: Install README.Debian into the package
10839 * debian/README.Debian: Initial check-in
10841 2002-04-04 Mario Lang <mlang@delysid.org>
10844 Fixed that /me in query buffers ended up in server buffer
10846 * erc.el: * Implemented joining +k channels
10848 2002-03-14 Mario Lang <mlang@delysid.org>
10850 * erc.el: New utility function: erc-channel-list
10851 minor fix to erc-get-buffer. hopefully that helps shapr
10853 2002-03-12 Mario Lang <mlang@delysid.org>
10856 New /command: /QUOTE for sending directly to the IRC server
10857 Removed erc-fill from erc-insert-modify-hook. To activate filling, simply customize that var.
10859 2002-03-09 Brian P Templeton <bpt@tunes.org>
10861 * CREDITS: *** empty log message ***
10863 2002-03-09 Mario Lang <mlang@delysid.org>
10866 New variable: erc-nick-completion-ignore-case. Defaults to t.
10869 * erc-track-shorten-name-function can now be set to nil to avoid treating of channel names at all.
10871 2002-03-06 Gergely Nagy <algernon@debian.org>
10873 * debian/changelog, debian/rules: update to new snapshot
10875 2002-03-06 Mario Lang <mlang@delysid.org>
10878 Fixed nasty bug which prevented channel limit from correctly display/handling
10880 * erc-track.el: Made shortening code highly customizable.
10881 Now, there is the variable erc-track-shorten-function which holds
10882 a function which gets called with one argument, CHANNEL-NAMES, which is a list
10883 of strings of the channel names.
10884 It needs to return a list of strings of the same length with the modified values...
10887 Added erc-track-shorten-aggressively, default to nil
10888 if it is set to t, erc will shorten a bit more.
10889 if nil, erc will shorten the name only if it would get shorter than just
10892 * erc-speak.el: added iirc to the abbreviation expansion list.
10895 Added customization variable: erc-track-use-faces. defaults to t.
10897 * erc-track.el: *** empty log message ***
10900 experimental: Added face support to mode-line channel activity tracker.
10901 Currently we use the faces used for indicating in the buffer (erc-pal-face for channels with pal activity...)
10903 2002-03-05 Mario Lang <mlang@delysid.org>
10905 * erc-complete.el: * added docfixes (thanks ore)
10907 * erc-track.el: Fixed channel-name reduction.
10909 Renamed the vars to erc-track-opt-start and erc-track-opt-cutoff.
10911 * erc.el: fixed another silly error
10913 * erc-track.el: Implemented channel name shortening.
10914 Vars erc-track-cutoff says: all channel names longer than this will be shortened.
10915 Var erc-track-minimum-channel-length says: don't make names shorten than this.
10916 (Thanks go out to kensanata for the nice unique-substrings utility function).
10918 * erc.el 2002-07-15T00:01:34Z!raeburn@raeburn.org: silly typo corrected
10920 * erc.el: New variable: erc-common-server-name-suffixes
10921 This alist can be used to change the server names displayed in mode-line
10922 to a shorter version..
10923 * New function: erc-shorten-server-name (uses var above)
10924 * Changed erc-prepare-mode-line to use erc-shorten-server-name.
10926 2002-02-25 Mario Lang <mlang@delysid.org>
10929 CTCP handling rewritten. Seems to work. please test and report probs.
10931 2002-02-24 Mario Lang <mlang@delysid.org>
10934 Fixed emacs20 backward compatibility (new defun/alias: erc-propertize)
10936 2002-02-22 Mario Lang <mlang@delysid.org>
10938 * erc-button.el: *** empty log message ***
10940 2002-02-21 Mario Lang <mlang@delysid.org>
10942 * erc-button.el, erc.el:
10943 minor fixup related to read-only prompts and command renaming.
10945 2002-02-21 Andreas Fuchs <asf@void.at>
10947 * erc.el: * modify `erc-remove-text-properties-region' to work.
10948 Could even be a little faster now. (-:
10950 2002-02-21 Mario Lang <mlang@delysid.org>
10953 fixed erc-replace-command to behave right when text is read-only.
10954 Also, use erc-insert-marker and (point-max) now.
10956 * erc.el: * Made erc-prompt read-only
10957 * new function: erc-make-read-only. Can be used on erc-insert-post-hook and erc-send-post-hook to ensure read-only buffer text too
10959 2002-02-19 Mario Lang <mlang@delysid.org>
10961 * erc-list.el: added comment to docstring
10963 * erc-speak.el: minor updates, use erc-nick-regexp now
10966 ensure that erc-timer-hook is called inside the server-buffer.
10968 2002-02-19 Andreas Fuchs <asf@void.at>
10971 * Probably fixed the "number-char-or-marker-p: nil" bug.
10973 2002-02-19 Mario Lang <mlang@delysid.org>
10975 * erc-notify.el: Initial release.
10977 * erc.el: added #303 handling
10978 moved timer and added an arg (erc-current-time)
10980 * erc-list.el, erc.el:
10981 slightly changed the erc-once-with-server-event macro
10983 * erc-button.el: erc-button-alist: doc fix and custom type fix
10985 2002-02-18 Mario Lang <mlang@delysid.org>
10987 * erc-list.el, erc.el: new macro: erc-once-with-server-event
10988 erc-list.el: use it
10991 Minor fix related to hook call method change (-until-seccess now)
10993 * erc.el: fixed ctcp behavior abit (with auto-query on)
10995 * erc-list.el: ChanList mode.
10996 Load it, and type M-x erc-chanlist RET
10997 Demonstrates how the new hook system can be nicely used.
11000 new hook: erc-default-server-hook. This one gets called if we don't have anything defined for a certain IRC server message.
11001 New function: erc-default-server-handler. (used by above hook).
11002 New function: erc-debug-missing-hooks: Used by above hook to save a list of unimplemented server messages.
11003 New function: erc-server-buffer, erc-server-buffer-p.
11004 Various places: use it.
11007 * erc-button.el: fix regexp to not buttonize ~user@host hostnames
11009 2002-02-17 Mario Lang <mlang@delysid.org>
11011 * erc-complete.el, erc.el: Eliminated erc-command-table
11012 Upcased the command defuns (erc-cmd-join is now erc-cmd-JOIN)
11013 Fixed erc-complete to not require erc-command-table.
11014 Implemented erc-cmd-HELP
11015 (You have to try that, its tooo coool!)
11017 fixed autoloads for erc-add-pal and so on to be interactive.
11019 2002-02-17 Andreas Fuchs <asf@void.at>
11022 * Fix unfunctional code in `erc-get-parsed-vector-type'.
11024 * erc-bbdb.el, erc-button.el, erc-match.el, erc.el:
11025 * Be careful: MANY changes ahead. I won't go into too much details.
11027 * erc.el, new file erc-match.el: split out all pattern-matching code.
11028 * erc.el: removed all defcusts for erc-{...}-highlight-props. They are
11029 quite useless, anyway.
11030 * moved erc-add-entry-to-list and -remove- over to erc-match. changed
11032 * erc.el: add autoloads for erc-{add,delete}-{keyword,pal,fool,dangerous-host}
11033 * erc.el: erc-server-PRIVMSG-or-NOTICE:
11034 - remove all the highlighting crap
11035 - add a (when (eq s nil) ...) so that untreated CTCP messages don't
11037 * erc.el: erc-mark-message: removed this function, it's useless
11038 * erc.el: minor bugfixes.
11040 * erc-match.el: first checkin. This file now contains all the pattern
11041 matching stuff. there is now another defcust group, erc-match,
11042 containing all match related stuff (erc-keywords, ...)
11043 * erc-match.el: added functionality to log matching lines. Quite
11044 customizable, check out the docstring of defun erc-log-matches
11045 * erc-match.el: added functionality to make foolish messages
11046 invisible/intangible. This could replace erc-ignore-list
11047 sometime. it's more powerful right now, anyway.
11048 * erc-match.el erc-text-matched-hook: new hook. run when Text matches
11049 anything (pal, fool, etc.).
11051 * erc-button.el: Make nick buttonization customizable.
11052 * erc-button.el: Give nick buttonization a lower priority so that it
11053 does not break url buttons.
11055 * erc-bbdb.el: Add \n to the separators by which we split nicknames.
11057 2002-02-17 Mario Lang <mlang@delysid.org>
11061 2002-02-17 Brian P Templeton <bpt@tunes.org>
11063 * CREDITS, erc.el: Added invisible timestamp support.
11065 2002-02-16 Gergely Nagy <algernon@debian.org>
11067 * debian/changelog, debian/rules, debian/scripts/install:
11068 updated to new snapshot
11070 2002-02-16 Mario Lang <mlang@delysid.org>
11073 Fixed channel limit format overflow in mode-line display.
11074 (Having to use floats if integers are to large is quite strange, isn't it?)
11076 * TODO: TODO list created.
11077 Add comments and expand it.
11080 Fixed bug in query buffer handling (only happend in mixed-case situations)
11082 * erc.el: shapr checkdoc patch #1
11083 massive docfixes! yay, keep going!
11085 2002-02-15 Mario Lang <mlang@delysid.org>
11087 * erc.el: various other fixes
11088 make s301 a catalog entry
11090 2002-02-15 Andreas Fuchs <asf@void.at>
11092 * erc.el: * erc-server-NICK and erc-server-INVITE: fixed to use
11093 `erc-display-message'. These I missed in the first checkin. I
11094 didn't say it in the last log message, but please test these.
11096 * erc-fill.el, erc.el:
11097 * erc.el: updated many functions to use `erc-display-message'. Now, we
11098 should go for getting highlighting out of
11099 erc-server-PRIVMSG-or-NOTICE. The part I want to attack has been
11101 * erc-fill.el: updated static filling to leave the erc-parsed property alone.
11103 2002-02-15 Mario Lang <mlang@delysid.org>
11106 first step, new function: erc-display-message
11108 * erc.el: added numreply 379 and 405.
11110 * erc.el: stupid typo fixed
11113 Finally renamed erc-frame-dedicated-p to erc-frame-dedicated-flag
11114 Removed usage of erc-interpret-controls from info buffer drawing (major speedup)
11115 Other speedups based on the results from elp.
11116 ERC is now about 300%-500% faster in some situations with very full channels!!!!!
11118 2002-02-14 Andreas Fuchs <asf@void.at>
11121 * erc-downcase now downcases {}|^ with []\~ -- 'stolen' from zenirc.
11122 * various checkdoc fixes. Just the upper third of the file, but that
11123 should help a little, too. (-: Again, if you have any writing
11124 skills, take out that dusty keyboard and tap it to the beat of M-x
11127 2002-02-14 Gergely Nagy <algernon@debian.org>
11129 * erc.el(erc-format-privmessage):
11130 fix it, so timestamp-coloring works again (patch from antifuchs)
11132 2002-02-14 Mario Lang <mlang@delysid.org>
11134 * erc.el: Many fixes based on M-x checkdoc RET.
11135 If you have write access, and some english knowledge, help document erc too!
11136 M-x checkdoc RET, and follow the instructions.
11138 * erc-button.el, erc-ibuffer.el: minor fixes
11140 * erc.el: Use nreverse instead of reverse.
11141 Use eq instead of equal where possible.
11142 Rewrote erc-get-buffer to not use find-if (find-if does very deep function-call nesting, which isn't good in a defun which is called so often)
11144 2002-02-13 Mario Lang <mlang@delysid.org>
11146 * erc-button.el, erc.el:
11147 In erc.el, new hook: erc-channel-members-changed-hook.
11148 erc-button.el: Now highlight all nicknames. uses regexp-opt.
11150 2002-02-04 Mario Lang <mlang@delysid.org>
11153 Database of irc networks. Use erc-server-select to interactively select one.
11155 * erc.el: * erc-format-nick-function: New variable.
11156 * (erc-format-nick): The default for above var. Just return the nick.
11157 * (erc-format-@nick): Prefix NICK with @ or + if OP or VOICE.
11158 * Removed erc-track-modified-channels related code and moved into erc-track.el
11159 Its auto-loaded now
11161 * erc-track.el: Split code from erc.el
11163 2002-02-01 Mario Lang <mlang@delysid.org>
11166 * erc-target now uses erc-port-to-string
11169 Script to convert mircs servers.ini to a elisp salist kind of thing.
11170 (development tool, it doesn't help you much as a user)
11173 * erc-display-line-buffer: renamed to erc-display-line-1
11174 * erc-port-equal: New function.
11175 * erc-normalize-port: Used by erc-port-equal
11176 * minor docstring fixes
11178 2002-02-01 Andreas Fuchs <asf@void.at>
11181 * erc-already-logged-in-p: compare ports is more robust now.
11183 * erc-button.el: * Add buttonization to erc-send-modify-hook, too
11185 2002-01-31 Mario Lang <mlang@delysid.org>
11188 Use insert-before-markers instead of insert in erc-display-line-buffer
11189 This fixed point@column 0 problem and gives us some speedup! yay
11191 * erc-ibuffer.el, erc.el: minor fixes
11194 * (erc-line-beginning-position): Renamed to erc-beg-of-input-line.
11195 * (erc-line-end-position): Renamed to erc-end-of-input-line.
11196 * erc-multiline-input-p: Variable removed.
11199 Minor docstring fixes (using M-x checkdoc-current-buffer)
11200 If you find time, and you are native english speaker, do that too!!
11202 * erc.el: fixed macro-invocation
11204 2002-01-31 Andreas Fuchs <asf@void.at>
11206 * erc.el: * erc-with-all-buffers-of-server: use erc-list-buffers
11207 * erc-process-away, erc-{save,kill}-query-buffers: use it.
11208 * erc-cmd-away-all: new command. Set away/back on all servers.
11211 * Fix last multiline bug in erc-send-distinguish-noncommands.
11213 2002-01-31 Mario Lang <mlang@delysid.org>
11215 * erc-ibuffer.el, erc.el: minor fixes
11217 2002-01-30 Mario Lang <mlang@delysid.org>
11219 * erc-ibuffer.el, erc-menu.el, erc-speak.el, erc.el:
11220 Renamed erc-track-modified-channels-minor-mode to erc-track-modified-channels-mode (at least, its a bit shorter)
11221 Added docstring to erc-server-hooks (through the macro)
11222 Minor docfix in obsolete hook
11224 2002-01-30 Andreas Fuchs <asf@void.at>
11227 * erc-send-current-line: fix behavior where buffer changes.
11228 * erc-mark-message: fix stupid face bug. highlighting of pals should work now.
11230 * erc-ring.el, erc.el:
11231 * new hooks: erc-send-pre-hook, erc-send-modify-hook, erc-send-post-hook
11232 * erc-send-this: new variable
11233 * erc-noncommands-list: new constant.
11234 * erc-send-distinguish-noncommands: use it. (First filter function for sending! yay!)
11235 * erc-send-current-line: nearly completely rewritten.
11236 - now handles multiline input. (yay!)
11237 - now uses the three hooks from above.
11238 * erc-process-line: new arg, no-command: don't process this line as a command.
11240 2002-01-30 Mario Lang <mlang@delysid.org>
11242 * erc-bbdb.el, erc-button.el, erc-speak.el, erc.el:
11243 hook handling rewrite phase 1.
11245 2002-01-30 Andreas Fuchs <asf@void.at>
11247 * erc.el: * Rework erc-server-PRIVMSG-or-NOTICE
11248 * New function: erc-is-message-ctcp-p
11249 * New function: erc-format-privmessage
11250 * New function: erc-mark-message
11251 * erc-server-PRIVMSG-or-NOTICE: use them.
11253 2002-01-30 Mario Lang <mlang@delysid.org>
11255 * CREDITS, HISTORY:
11258 2002-01-29 Andreas Fuchs <asf@void.at>
11260 * erc.el: * erc-put-text-properties: make OBJECT optional
11261 * erc-put-text-property: same
11262 * erc-server-PRIVMSG-or-NOTICE: use them.
11263 * Make erc-display-line-buffer: add the "\n" even when the string would be invisible.
11264 * same: make the \n invisible, too (:
11266 2002-01-29 Mario Lang <mlang@delysid.org>
11268 * erc-ibuffer.el, erc.el:
11269 Rewrote channel tracking using window-configuration-change-hook instead of defadvices.
11271 2002-01-28 Andreas Fuchs <asf@void.at>
11273 * erc-fill.el, erc.el:
11274 * Macro define-erc-highlight-customization: Ease up defining
11275 erc-{fool,pal,..}-highlight-props defcusts.
11277 - erc-fool-highlight-props
11278 - erc-pal-highlight-props
11279 - erc-dangerous-host-highlight-props
11280 - erc-keyword-highlight-props
11282 Customizable to either nil or "Hide message".
11283 * erc-string-invisible-p: check for invisible chars in string
11284 * erc-display-line-buffer: use it.
11285 * erc-put-text-properties: put a list of props into a piece of text.
11286 * erc-server-PRIVMSG-or-NOTICE: use it; set appropriate
11287 highlight-props for entire incoming message. This set of changes
11288 allows you to e.g. auto-ignore fools.
11290 2002-01-28 Mario Lang <mlang@delysid.org>
11293 Added highlight detection support to the Mark column.
11294 Now p, k, f, and d indicate pal, keyword, fool and dangerous-host related activity.
11297 Highlight tracking finished. All necessary info should now be in erc-modified-channels.
11299 * erc.el, erc-ibuffer.el, erc-speedbar.el:
11300 Added highlight tracking to track-modified-channels
11301 no display code yet, the info is just kept in erc-modified-channels
11302 Added erc-modified column to ibuffer
11305 * erc-ibuffer.el: Added erc-members column
11307 * erc-ibuffer.el: *** empty log message ***
11309 2002-01-28 Andreas Fuchs <asf@void.at>
11312 * Fix a slight typo. The hook function should be called in
11313 erc-server-376-hook (-:
11315 2002-01-28 Mario Lang <mlang@delysid.org>
11317 * erc-ibuffer.el: *** empty log message ***
11319 2002-01-27 Mario Lang <mlang@delysid.org>
11321 * erc-ibuffer.el: Fixup, it sort of works now. Try it
11323 * erc-ibuffer.el: Initial version
11325 2002-01-26 Mario Lang <mlang@delysid.org>
11327 * erc.el: *** empty log message ***
11329 2002-01-25 Andreas Fuchs <asf@void.at>
11331 * erc-bbdb.el: * fix two bad things:
11332 - fix the "proc trick": pass proc as an arg through
11333 ...-insinuate-... to ...-show-entry
11334 - hook highlighting into the 376 hook. This one is bound to get
11336 * We now only append to hooks only.
11337 * Highlighting of changing records gets updated automatically.
11339 2002-01-25 Mario Lang <mlang@delysid.org>
11341 * erc.el: *** empty log message ***
11343 2002-01-25 Andreas Fuchs <asf@void.at>
11345 * erc-bbdb.el: * nearly complete rewrite of erc-bbdb:
11346 - Removed code duplication in erc-bbdb-NICK and -JOIN.
11347 - Made erc-bbdb-show-entry more general and intelligent.
11348 - erc-bbdb-insinuate-entry is now erc-bbdb-insinuate-and-show-entry
11349 (note the different arglist!):
11350 - erc-search-name-and-create now creates "John Doe" users if name
11352 - No sign of "mail" anywhere anymore. It's all finger-host. (-:
11353 - erc-bbdb-popup-p is now called erc-bbdb-popup-type.
11354 - New customize values:
11355 . erc-bbdb-irc-channel-field channel field name
11356 . erc-bbdb-irc-highlight-field (see below)
11357 . erc-bbdb-auto-create-on-nick-p auto-create record on join
11359 * Highlighting based on BBDB is now here! Specify which type of
11360 highlighting a person in the BBDB (whose nick you know) and have
11361 fun! Read help to erc-bbdb-init-highlighting for details. Changes:
11362 - new function erc-bbdb-init-highlighting: gets called on server
11364 - new function erc-bbdb-highlight-record: highlights a person's
11367 2002-01-24 Andreas Fuchs <asf@void.at>
11370 * Fix the erc-button-alist regexp for EmacsWiki stuff. delYsid's version
11373 * erc-button.el: * Added an Ewiki: specifier to the url-regexp.
11374 <nickname> EmacsWiki: EmacsIRCClient tells you <bla>
11375 should highlight "EmacsWiki: EmacsIRCClient" and allow you to
11376 browse to the wiki when the button is activated.
11377 * new custom: erc-emacswiki-url.
11378 * new function: erc-browse-emacswiki: use it.
11380 2002-01-23 Mario Lang <mlang@delysid.org>
11383 erc-bbdb-NICK: Added regexp-quote around fingerhost search.
11385 2002-01-10 Andreas Fuchs <asf@void.at>
11388 * Channel saving/killing on quit from server implemented:
11389 - defcust erc-save-queries-on-quit: Save server's channel buffers on quitting from server
11390 - defcust erc-kill-queries-on-quit: Kill server's channel buffers on quitting from server
11391 - Macro erc-with-all-buffers-of-server: Run a form inside all the server's query buffers
11392 - Functions erc-{kill,save}-query-buffers: use it.
11393 * Added indent-tabs-mode: t to Local Variables section.
11395 2002-01-07 Andreas Fuchs <asf@void.at>
11397 * erc-replace.el: * fix stupid documentation errors.
11399 2002-01-07 Mario Lang <mlang@delysid.org>
11402 * (toplevel): Revert previous change. This resulted ina recursive load...
11403 You have to put (require 'erc-button) into your .emacs for now
11405 2002-01-05 Mario Lang <mlang@delysid.org>
11408 * Added require for erc-button. This is devel. so I need testers :)
11410 * erc-button.el: * Added proper file headers (GPL).
11412 2002-01-04 Mario Lang <mlang@delysid.org>
11414 * erc-button.el: * erc-button-alist: Added entry for finger
11416 * erc-button.el: * Removed bogus usage of :button-keymap.
11418 Does anyone know what this was supposed to do anyway?
11420 * erc-button.el: * Initial version.
11421 * This module allows a way of buttonizing text in IRC buffers.
11422 Default it is used for URLs, but other things could be added.
11423 see if you can find another use, erc-button-alist
11425 2001-12-18 Mario Lang <mlang@delysid.org>
11427 * erc.el: * Added missing 747 numreply (banned)
11429 2001-12-15 Gergely Nagy <algernon@debian.org>
11431 * debian/scripts/install, debian/rules:
11432 updated to 2.1.cvs.20011215-1
11434 * debian/changelog: Debian version 2.1.cvs.20011215-1
11436 2001-12-11 Andreas Fuchs <asf@void.at>
11439 * applied a nicer version of mhp's patch to remove the last prompt from
11442 * erc-replace.el: * Initial checkin
11444 2001-12-11 Mario Lang <mlang@delysid.org>
11447 * fixed bug triggered when reuse-buffer was enabled (the default).
11448 Another silly port type problem. Maybe we should unify that once and for all sometimes...
11450 2001-12-10 Mario Lang <mlang@delysid.org>
11452 * erc.el: * erc-message-english: New QUIT and s004 entries.
11453 * (erc-save-buffer-on-part): New variable.
11454 * (erc-kill-buffer-on-part): New variable.
11455 * (erc-server-PART): Use above variables.
11456 * (erc-join-channel): Use DEF argument instead of initial input for completing-read.
11458 2001-12-08 Tijs van Bakel <smoke@wanadoo.nl>
11460 * erc.el: added defcustom erc-nick-uniquifier ^ (i prefer _)
11462 2001-12-07 Gergely Nagy <algernon@debian.org>
11464 * debian/changelog: changelog for version 2.1.cvs.20011208-1
11466 2001-12-07 Tijs van Bakel <smoke@wanadoo.nl>
11469 Added erc-scroll-to-bottom as an erc-insert-hook function. It still bugs a bit, so please test it, thanks
11471 2001-12-07 Mario Lang <mlang@delysid.org>
11473 * erc.el: * Fixed silly bug in erc-server-TOPIC (thanks mhp)
11476 * Fix non-greedy matching bug. That one somehow swallowed text
11479 Fix Emacs20 problem. For now, we disable erc-track-modified-channels-minor-mode in emacs20
11481 2001-12-07 Andreas Fuchs <asf@void.at>
11484 * Fix another stupid one-off error. This time it really works!
11485 (Until I find the next bug. I guess you can hold your breath) (-:
11487 2001-12-06 Andreas Fuchs <asf@void.at>
11489 * erc-fill.el: * Fixed static filling:
11490 ** No more \ed (continued on next line) lines anymore
11491 ** Fixed bug with previous version where longer lines wouldn't get
11492 filled correctly (i.e. at all)
11494 2001-12-06 Gergely Nagy <algernon@debian.org>
11496 * debian/changelog: changelog for 2.1.cvs.20011206-1 added
11498 2001-12-06 Andreas Fuchs <asf@void.at>
11501 * Don't discard away status when identifying to NickServ
11502 * Modify `erc-already-logged-in': check for port, too.
11505 * Fix stupid loop non-termination error in erc-fill-static when filling
11507 * Make erc-count-lines return meaningful values
11509 2001-12-05 Mario Lang <mlang@delysid.org>
11512 * (erc-process-input): Make ' /command' work for quoting /commands
11514 * erc-speak.el: see changelog
11516 * erc-fill.el: see erc.el changelog
11519 * erc-insert-hook: Changed strategy completely, no start end parameters any more.
11520 We narrow-to-region now, that's much cleaner.
11521 * rename erc-fill-region to erc-fill and change the autoload
11522 ** You'll probably need to restart Emacs
11524 2001-12-04 Mario Lang <mlang@delysid.org>
11527 * (erc-send-current-line): Fixed long outstanding bug. XEmacs users with erc-fill-region on erc-insert-hook knew that one a long time.
11529 * erc.el: fix order of attack
11531 * erc.el: * macroexpanded define-minor-mode for XEmacs
11533 * erc.el: First try to make channel tracking mouse sensitive
11535 * erc.el: * More erc-message-format conversion.
11536 erc-format-message-english-PART as an example on how to use functions to format message
11537 * (erc-format-message): Fallback mechanism to use english catalog if variable is not bound
11539 2001-12-03 Mario Lang <mlang@delysid.org>
11541 * erc.el: * (erc-iswitchb): Rewrite, docfix.
11542 Make it use erc-modified-channels as default if available.
11545 * Fixage related to erc-track-modified-channels-minor-mode rewrite
11548 * (erc-track-modified-channels-minor-mode): Use buffer objects instead of erc-default-target return value for internal state keeping.
11550 * erc.el: * Made reconnect behave nicer (erc-process-sentinel)
11551 * Rewrote erc-modified-channels-tracking completely.
11552 Its now a minor mode (erc-track-modified-channels-minor-mode)
11553 It uses a list as internal representation now, so all silly string-parsing
11554 related bugs should be gone.
11555 Use (erc-track-modified-channels-minor-mode t) now to toggle this functionality.
11556 Don't set the erc-track-modified-channels-minor-mode variable yourself, use the toggle function
11558 2001-11-29 Gergely Nagy <algernon@debian.org>
11560 * debian/changelog: final version
11562 2001-11-29 Mario Lang <mlang@delysid.org>
11565 * (erc-channel-p): Make it work with string and buffer as parameter. buffer.
11566 * (erc-format-message): Add a check for functionp. This allows a format-specifier also to be a function name, which gets called with args applied and needs to return the actual format string.
11567 * Converted some formats, JOIN, JOIN-you, MODE, ...
11569 2001-11-28 Mario Lang <mlang@delysid.org>
11572 * (erc-prepare-mode-line-format): Added sanity checks to prevent it from having problems with server buffers where the connection failed
11575 * (erc-bbdb-JOIN): regexp-quote the fingerhost before searching, some people have really strange characters as their user names
11577 * erc.el: Remove a stupid debug like (message ...) call
11579 2001-11-28 Gergely Nagy <algernon@debian.org>
11581 * debian/changelog: draft of 2.1.cvs.20011128-1
11583 * debian/rules: simplify for the all-in-one erc package
11585 * debian/control: integrated erc-speak back into erc
11587 * debian/maint/conffiles, debian/maint/conffiles.in, debian/maint/postinst,
11588 debian/maint/postinst.in, debian/maint/prerm, debian/maint/prerm.in,
11589 debian/scripts/install, debian/scripts/install.in, debian/scripts/remove,
11590 debian/scripts/remove.in, debian/scripts/startup.erc-speak:
11591 since erc-speak is gone, resurrect the static files, and update them to support the latest erc
11593 2001-11-28 Mario Lang <mlang@delysid.org>
11595 * erc.el: * (erc-mode): Shouldn't be interactive.
11596 * (erc-info-mode): Ditto.
11598 * erc.el: * (erc-server-352): Added hopcount parsing.
11599 Added call to erc-update-channel-member to fill in channel-members information
11600 on /WHO if the channel is joined.
11602 2001-11-27 Mario Lang <mlang@delysid.org>
11604 * erc-speedbar.el: *** empty log message ***
11606 * erc-speedbar.el: * (erc-speedbar-expand-user): New function.
11607 Used when more information than just the nick name is available about a dude.
11609 * erc.el: * Fixed stupid edit,checkin,save cycle error :)
11612 * (erc-generate-log-file-name-default): Renamed to -long
11614 * (erc-generate-log-file-name-old): Renamed to -long
11616 * (erc-generate-log-file-name-function): Set default to ...-long
11619 * erc-speedbar.el: *** empty log message ***
11621 2001-11-26 Mario Lang <mlang@delysid.org>
11623 * erc-speedbar.el: * Integrated channel names list
11624 what else do we need to replace info buffers???
11625 please test that code and comment on erc-ehlp, thanks
11628 * Added erc-speedbar-goto-buffer and therefore enable switching to the buffers from speedbar
11631 I had to check this in, it works !! sort of,, megaalphagammaversion, first version. test, play, submit ideas/patches
11633 2001-11-26 Gergely Nagy <algernon@debian.org>
11635 * erc.el(erc-mode): moved erc-last-saved-position here
11636 moved buffer naming code from here..
11638 (erc-generate-log-file-name-old): only prepend target if it exists
11640 made erc-log-insert-log-on-open a defcustom
11642 2001-11-26 Mario Lang <mlang@delysid.org>
11645 * Applied antifuchs/mhp patches, the latest on erc-help, unmodified
11646 * New variable: erc-reuse-buffers default to t.
11647 * Modified erc-generate-new-buffer-name to use it. it checks if server and port are the same,
11648 then one can assume that's the same channel/query target again.
11650 2001-11-23 Mario Lang <mlang@delysid.org>
11653 * new function erc-BBDB-NICK to handle nickname annotation on a nick-change event of a known record
11655 * erc.el: * Remove erc-rename-buffer, its no longer necessary
11656 * Remove erc-autoop-*. it was broken, and needed rewrite anyway
11657 * write erc-already-logged-in in terms of erc-buffer-list and make the duplicate login check work again
11659 * erc.el: * Fixed stupid typo
11661 2001-11-22 Mario Lang <mlang@delysid.org>
11663 * erc.el: * New local variable, erc-announced-server-name
11664 * erc-mode-line-format supports a new symbol, target-and/or-server
11665 * The mode-line displays the announced server name now (for autojoin later...,
11667 * New macro, erc-server-hook-list for a nice way to define the defcustoms of the erc-server-*-hook's
11668 Thanks go to the guy from #emacs who helped with that
11669 * erc-fill-region is now autoloaded from erc-fill.el
11670 * erc-fill.el implements a new fill method, erc-fill-static
11671 (setq erc-fill-function 'erc-fill-static)
11672 * Some other things I forgot right now
11674 * erc-bbdb.el: *** empty log message ***
11676 * erc-fill.el: Initial version.
11679 Applied antifuchs patch to make completion work with (string= erc-prompt "")
11682 added function erc-nick-completion-exclude-myself
11683 you can set erc-nick-completion to 'erc-nick-completion-exclude-myself to use it
11685 2001-11-21 Mario Lang <mlang@delysid.org>
11688 * Changed usage of 'finger-host to bbdb-finger-host-field
11691 * Changed WHOIS to use finger-host instead of net field.
11692 * Added 'visible as option to erc-bbdb-popup-p to only pop-up the bbdb buffer if a join happened in a visible buffer on any visible frame.
11693 * Added (regexp-quote ...) for nickname search in erc-bbdb-JOIN
11695 2001-11-20 Mario Lang <mlang@delysid.org>
11697 * erc-bbdb.el: * Added JOIN support
11699 2001-11-19 Mario Lang <mlang@delysid.org>
11702 Initial message catalog code. converted erc-action-format usage to use it
11704 * erc.el: * erc-play-sound: Added XEmacs related check
11706 * erc-bbdb.el: * Initial version, many thanks to Andreas Fuchs
11708 * erc.el: * Fixed silly problem with whois/was handling
11710 * erc.el: * Renamed prev-rd to erc-previous-read
11711 * Removed erc-next-line-add-newlines and s next-line-add-newlines to nil in defun erc by default
11714 fixed xemacs compatibility prob with delete, thanks Adam
11716 2001-11-18 Mario Lang <mlang@delysid.org>
11718 * erc.el: numreplies 301 & 461
11720 2001-11-13 Tijs van Bakel <smoke@wanadoo.nl>
11723 Added code for error reply 421 "Unknown command", to test the new server parsing system.
11724 This was really easy! Thanks ZenIRC guys & delysid :-)
11726 2001-11-13 Mario Lang <mlang@delysid.org>
11728 * erc.el: * Allow connecting to SSL enabled irc servers.
11729 Ugly hack, but it works for now. Be sure to use the numeric irc port 994 so that erc can recognize what you want
11731 irc server: ircs.segfault.net
11734 meet me there, I am still delYsid :)
11736 * erc.el: * some more numreply handlers
11737 * cleanup in erc-process-away-p
11738 * new function erc-display-error-notice
11740 * erc.el: * numreply 501 and 221
11743 removed obsolete old hook variables. Your functions may break, but it is easy to hook them up to the new hooks.
11744 erc-part-hook: use erc-server-PART-hook instead
11745 erc-kick-hook: use erc-server-KICK-hook instead
11749 fixed serious bug which cause privmsgs vanishing when erc-auto-query was set to nil
11751 * erc.el: cleaned up erc-process-filter
11753 * erc.el: * 401 and 320 numreplies implemented
11755 * erc.el: * Removed old/now obsolete code
11757 * erc.el: * Fixed bug in erc-server-MODE
11759 2001-11-12 Mario Lang <mlang@delysid.org>
11764 *** We switched over. New server message parsing/handling is running now. Thanks to the zenirc developers for the great ideas I got from the code!!!!! Go and test it, poke at it, bug me on irc about problems
11766 * erc.el: *** empty log message ***
11768 2001-11-12 Tijs van Bakel <smoke@wanadoo.nl>
11771 Fixed bug in erc-get-buffer, now channel names are compared in
11772 a case-insensitive way.
11774 2001-11-12 Mario Lang <mlang@delysid.org>
11776 * erc.el: erc-server-353
11778 2001-11-12 Tijs van Bakel <smoke@wanadoo.nl>
11780 * erc.el: Fixed docstring for erc-get-buffer.
11781 Added erc-process to a lot of calls to erc-get-buffer, so
11782 that only the local process is searched.
11784 2001-11-12 Mario Lang <mlang@delysid.org>
11786 * erc.el: * erc-buffer-filter: do it differently
11788 * erc.el: ugly but working fix for mhp's query problem
11790 * erc.el: * erc-server-PRIVMSG-or-NOTICE
11791 Now, all the server word replies are finished. Going to numreplies now
11794 * debugging facilities for the transition. C-x 2 C-x o M-x ielm RET erc-server-vectors RET ; to get a list of all server messages currently not handled in the new code. Feel free to pick one and implement it
11796 * erc.el: * erc-server-KICK and erc-server-TOPIC. new functions
11797 * erc-server-305-or-306 and erc-server-311-or-314
11800 * ported PART and QUIT msgs to the new scheme, many to go. but it is a easy task. does someone wanna try and start with numreplies?
11802 * erc.el: * erc-server-JOIN
11804 * erc.el: * Ported erc-server-INVITE code
11806 * erc.el: * erc-server-ERROR and erc-server-MODE
11808 2001-11-11 Mario Lang <mlang@delysid.org>
11812 * erc.el: * New variable erc-connect-function.
11815 * New function erc-channel-p and use it where appropriate
11817 * erc.el: * Removed the variable erc-buffer-list completely now
11818 * Moved erc-dbuf around a bit
11820 * erc.el: * Fix silly change in quit/rename msg handling
11822 * erc.el: thanks mhp, fixed
11824 * erc.el: * Tijs van Bakel's work from 10th Nov. merged in
11825 * My additions to that idea merged in too
11826 Basically, this is a major rewrite, if you are scared and want avoid problems,
11827 stay at your current version. It seems fairly stable though.
11828 That changed? erc-buffer-name handling was completely rewritten,
11829 and erc-buffer-list local variable handling removed.
11830 Simplifies alot of code. Poke at it. read the diff. report bug/send patches!
11832 * erc.el: * Added variable listing when /set is used without args
11834 2001-11-10 Mario Lang <mlang@delysid.org>
11837 * Comment/structure cleanup, removal of unnecessary code
11839 * erc.el: only some code beautification
11842 remove add-hook call, that's done in erc.el now for autoloadability
11844 * erc.el: * Make erc-imenu autoloadable
11847 * The long promised erc-mode-line-format handling rewrite
11848 Poke at it, try it, play with it, report bugs
11851 some regex-quote fixes, new function erc-cmd-set, and minor things
11853 2001-11-08 Mario Lang <mlang@delysid.org>
11856 * added second timestamp-format (erc-away-timestamp-format) for marking msgs when being away
11858 * erc-complete.el: fixed silly defun
11860 * erc.el: * Rewrote erc-load-irc-script (simplified)
11861 * Removed deprecated code
11863 * erc-speak.el: * reflect changes in erc.el
11866 * Moved completion related functions into erc-complete.el
11867 placed an autoload instead into erc.el. That quite cool,
11868 because erc-complete.el only gets loaded when you use
11869 TAB first time in erc.
11871 * erc-complete.el: _ Initial checkin
11873 * erc.el: * New function: erc-chain-hook-with-args
11874 * Changed calls to erc-insert-hook to use it
11876 2001-11-07 Mario Lang <mlang@delysid.org>
11878 * erc.el: * Patch from Fabien Penso
11879 Make completion case insensitive. try it! its cool
11881 * erc.el: * Reduction patch 2
11882 This time, we move the input ring handling into erc-ring.el
11883 Remember that you need (require 'erc-ring) in your .emacs to get the input handling as a feature
11884 And remember, that you don't need it if you don't use input ring :-)
11886 * erc-ring.el: * Initial checkin
11888 * erc.el: * The great reduction patch :-)
11889 moved relevant function from erc.el to new file erc-menu.el and erc-imenu.el
11891 * erc-imenu.el: Initial version
11893 * erc-menu.el: * Initial version
11895 * erc.el: * wording change suggested by Benjamin Drieu
11897 2001-11-07 Tijs van Bakel <smoke@wanadoo.nl>
11899 * erc.el: Added Emacs version to /SV
11901 2001-11-07 Mario Lang <mlang@delysid.org>
11903 * erc.el: * Hookification patch, read the diff
11905 * erc.el: too tired for a changelog :)
11907 2001-11-06 Mario Lang <mlang@delysid.org>
11910 * make erc-cmd-op and erc-cmd-deop take multiple nicknames as argument
11912 2001-11-06 Gergely Nagy <algernon@debian.org>
11914 * debian/changelog: sync
11916 * debian/rules: fixed a typo: PKGDIR, not PKIDR
11918 2001-11-06 Mario Lang <mlang@delysid.org>
11921 * Changed timestamping when away to use erc-timestamp-format and append the timestamp instead of prepending it..
11922 * minor cleanup, s/(if (not /(unless/ and the like
11924 2001-11-06 Tijs van Bakel <smoke@wanadoo.nl>
11926 * erc.el: Fixed OP and DEOP commands to return T.
11927 Added SV say-version command.
11928 Added erc-send-message utility function, but it's not used everywhere yet.
11930 2001-11-05 Mario Lang <mlang@delysid.org>
11932 * erc.el: stupid delYsid, forgot require 'format-spec. good nite
11935 * new variable erc-action-format. Some erc-notice-prefix fixes again
11937 * erc.el: * erc-minibuffer-privmsg defaults to t
11940 * Small fix in relation to the transition to erc-make-notice
11942 2001-11-05 Tijs van Bakel <smoke@wanadoo.nl>
11945 Renamed erc-message-notices to erc-minibuffer-notice, and renamed erc-prevent-minibuffer-privmsg to erc-minibuffer-privmsg, inverting its functionality
11947 * erc.el: Added support for channel names starting with & + and !.
11948 Also, many changes partially discussed on the mailing list:
11950 * erc.el (cl): Add requirement for cl package.
11951 (erc-buffer-list): Make this variable global again.
11952 (erc-default-face): Fix typo.
11953 (erc-timestamp-face): Add face for timestamps.
11954 (erc-join-buffer, erc): Add a 'bury option.
11955 (erc-send-action): Add timestamp.
11956 (erc-command-table): Add /CLEAR, /DEOP, /OP, /Q.
11957 (erc-send-current-line): Add timestamp.
11958 (erc-send-current-line): Add call to erc-insert-hook.
11959 (erc-cmd-clear): New command to clear buffer contents.
11960 (erc-cmd-whois): Fix cut'n'paste-o.
11961 (erc-cmd-deop): New command to deop a user.
11962 (erc-cmd-op): New command to op a user.
11963 (erc-make-notice): Moved a lot of duplicate code here. Perhaps
11964 this should also be done for erc-highlight-error.
11965 (erc-parse-line-from-server): Now NOTICE will also open a new
11966 query, just as PRIVMSG.
11967 (erc-parse-line-from-server): Call erc-put-text-property on a
11968 channel message/notice first, before concatenating nick and
11970 (erc-message-notices): Add option to display notices in
11972 (erc-fill-region): No longer strip spaces in front of incoming
11974 (erc-parse-current-line): No longer strip spaces in front of text
11977 Hopefully I didn't break too much :(
11979 2001-11-05 Mario Lang <mlang@delysid.org>
11982 * New function erc-nickserv-identify-autodetect for erc-insert-hook. Added by default currently.
11985 * Mini-fix in erc-process-num-reply (= n 353): Added @ as prefix character to make certain channels on opn work again nicely
11987 2001-10-31 Gergely Nagy <algernon@debian.org>
11989 * debian/changelog: updated to reflect changes
11991 * debian/scripts/install.in:
11992 moved #PKGFLAG# before -f batch-byte-compile
11994 2001-10-29 Mario Lang <mlang@delysid.org>
11997 Imenu fixed somehow, added IRC services interactive function for indentify to NickServ. Read the diff
11999 2001-10-26 Gergely Nagy <algernon@debian.org>
12001 * debian/changelog: sigh. -2
12003 2001-10-25 Gergely Nagy <algernon@debian.org>
12005 * debian/changelog: updated to reflect changes
12007 * debian/rules: handle conffiles.in too
12009 * debian/maint/conffiles.in: new file
12011 * debian/maint/conffiles: superseded by conffiles.in
12013 * debian/scripts/startup: superseded by startup.erc
12015 2001-10-25 Mario Lang <mlang@delysid.org>
12017 * debian/scripts/startup.erc-speak: * Initial version
12019 * debian/scripts/startup.erc: * Added and fixes minimal typo
12021 2001-10-25 Gergely Nagy <algernon@debian.org>
12023 * debian/changelog: updated to reflect changes
12026 modified to be able to build the erc-speak package too
12028 * debian/control: added the new erc-speak package
12030 * debian/README.erc-speak, debian/maint/postinst.in, debian/maint/prerm.in,
12031 debian/scripts/install.in, debian/scripts/remove.in:
12034 * debian/maint/postinst, debian/maint/prerm, debian/scripts/install,
12035 debian/scripts/remove:
12036 removed, superseded by its .in counterpart
12038 2001-10-25 Mario Lang <mlang@delysid.org>
12040 * erc.el: * Fixed some defcustom :type 's
12041 * Added erc-before-connect hook which gets called with server port and nick.
12042 Use this hook to e.g. setup a tunnel before actually connecting.
12043 something like (when (string= server "localhost") ...)
12045 2001-10-24 Mario Lang <mlang@delysid.org>
12047 * erc.el: * Patch by smoke: fix erc-cmd-* commands and add aliases
12049 2001-10-23 Mario Lang <mlang@delysid.org>
12052 * Added a new personality for channel name announcement, This makes streams of flooded channels much easier to listen to,
12053 especially if you are on more than one channel simultaneously.
12056 * Made the completion postfix customizable through erc-nick-completion-postfix
12058 * erc-speak.el, erc.el:
12059 * Added erc-prevent-minibuffer-privmsg
12062 * Quickish hack to allow exclusion of timestamps from speaking. see erc-speak-filter-timestamps
12064 2001-10-21 Mario Lang <mlang@delysid.org>
12067 * Removed now really obsolete code. Package size reduced by 50%
12070 * Very important fix! Now erc-speak is really complete. Messages don't get cut anymore. Be sure to use auditory icons,
12071 it's reallllly cool now!!!
12073 * erc-speak.el: *** empty log message ***
12075 * erc-speak.el: * Major simplification. depends on my 2001-10-21 changes to erc.el.
12076 * Things removed, read diff
12078 2001-10-21 Gergely Nagy <algernon@debian.org>
12080 * debian/changelog: oops, silly typo
12082 * debian/changelog, debian/control, debian/copyright,
12083 debian/maint/conffiles, debian/maint/postinst, debian/maint/prerm,
12084 debian/rules, debian/scripts/install, debian/scripts/remove,
12085 debian/scripts/startup:
12088 2001-10-21 Mario Lang <mlang@delysid.org>
12091 * Changed erc-insert-hook to get two arguments, START and END of the region
12092 which got inserted. CAREFUL! This could break stuff, but it makes the hook
12096 * Made erc-smiley a new option, currently set to t to showoff this feature. :)
12098 2001-10-20 Mario Lang <mlang@delysid.org>
12100 * erc.el: * Add missing erc-mode-hook variable
12101 * Add smiley-support (preliminary test)
12103 2001-10-20 Alex Schroeder <alex@gnu.org>
12106 Replaced all occurrences of put-text-property with a call to
12107 erc-put-text-property.
12108 (erc-put-text-property): New function.
12109 (erc-tracking-modified-channels): Moved to the front of the file such
12110 that it is already defined when the menu is being defined.
12111 (erc-modified-channel-string): Ditto.
12113 2001-10-18 Alex Schroeder <alex@gnu.org>
12115 * erc.el: Removed some commentary. The wiki page is the place to
12116 put such information.
12117 (erc-fill-prefix): Doc change.
12118 (erc-notice-highlight-type): Doc change, now a user option.
12119 (erc-pal-highlight-type): Doc change, now a user option.
12120 (erc-fool-highlight-type): New option.
12121 (erc-keyword-highlight-type): New option.
12122 (erc-dangerous-host-highlight-type): New option.
12123 (erc-uncontrol-input-line): Doc change.
12124 (erc-interpret-controls-p): Doc change, now a user option.
12125 (erc-multiline-input): Doc change.
12126 (erc-auto-discard-away): Doc change.
12127 (erc-pals): Changed from string to regexp.
12128 (erc-fools): New option.
12129 (erc-keywords): Renamed from erc-highlight-strings. WATCH OUT:
12130 Not backwards compatible change!
12131 (erc-dangerous-hosts): Renamed from erc-host-danger-highlight.
12132 WATCH OUT: Not backwards compatible change!
12133 (erc-menu-definition): Added menu entries for fools, keywords and
12135 (erc-mode-map): Changed keybindings from C-c <plain ascii> to
12136 various C-c <C-ascii> combinations.
12137 (erc-dangerous-host-face): Renamed from erc-host-danger-face.
12138 WATCH OUT: Not backwards compatible change!
12139 (erc-fool-face): New face.
12140 (erc-keyword-face): Renamed from erc-highlight-face. WATCH OUT:
12141 Not backwards compatible change!
12142 (erc-parse-line-from-server): Fixed highlighting in the cases
12143 where (equal erc-pal-highlight-type 'all), added code to handle
12144 erc-fool-highlight-type, erc-dangerous-host-highlight-type
12145 (erc-update-modes): Replaced erc-delete-string with delete.
12146 (erc-keywords): Renamed from erc-highlight-strings, handle
12147 erc-keyword-highlight-type.
12148 (erc-delete-string): Removed.
12149 (erc-list-match): New function.
12150 (erc-pal-p): Use erc-list-match.
12151 (erc-fool-p): New function.
12152 (erc-keyword-p): New function.
12153 (erc-dangerous-host-p): Renamed from erc-host-danger-p, use
12155 (erc-directed-at-fool-p): New function.
12156 (erc-add-entry-to-list): New function.
12157 (erc-remove-entry-from-list): New function.
12158 (erc-add-pal): Use erc-add-entry-to-list.
12159 (erc-delete-pal): Use erc-remove-entry-from-list.
12160 (erc-add-fool): New function.
12161 (erc-delete-fool): New function.
12162 (erc-add-keyword): New function.
12163 (erc-delete-keyword): New function.
12164 (erc-add-dangerous-host): New function.
12165 (erc-delete-dangerous-host): New function.
12167 2001-10-07 Mario Lang <mlang@delysid.org>
12169 * erc.el: * irc vs ircd default port fixed
12171 * erc.el: * Added topic-change to imenu
12173 * erc.el: * More imenu spiffyness
12175 * erc.el: * Added imenu support
12178 * Fix to /topic to show topic instead of setting it to null :)
12180 2001-10-05 Mario Lang <mlang@delysid.org>
12182 * erc.el: * First version of erc-rename-buffer
12184 * erc.el: * more header-line tricks.
12187 * Small fix to do erc-update-mode-line-buffer in erc-update-channel-topic
12189 * erc.el: * Added erc-header-line-format
12191 2001-10-04 Mario Lang <mlang@delysid.org>
12193 * erc.el: * mini-fix, add msgp to auto-query code
12195 * erc.el: * Added command-names to completion (erc-command-table)
12196 * New variable erc-auto-query. When set, every arriving message to you
12197 will open a query buffer for that sender if not already open.
12198 * Compatibility function fo non-existing line-beginning|end-position functions in XEmacs.
12200 2001-10-03 Mario Lang <mlang@delysid.org>
12203 * Removed alot of (progn ...) where they were not necessary
12204 * Changed some (if ...) without else part to (when ...)
12205 * Some (while ...) to use (dolist ...)
12206 * Fix for completion popup generating tracebacks.
12207 * New function erc-arrange-session-in-multiple-windows
12208 * Lots of other stuff, read the diff
12210 2001-10-02 Mario Lang <mlang@delysid.org>
12212 * erc.el: * Added erc-kill-input and keybinding C-c C-u for it
12214 2001-10-01 Mario Lang <mlang@delysid.org>
12216 * erc.el: * Another fix to nick-completion
12217 * Additional checks in erc-track-modified-channels
12219 2001-09-26 Mario Lang <mlang@delysid.org>
12221 * erc.el: * Fixed completion (alex)
12222 * Now popup buffer doesn't destroy your window configuration.
12223 * Fixed away handling (incomplete)
12225 2001-09-24 Mario Lang <mlang@delysid.org>
12227 * erc.el: Fixed silly quoting-escape error
12229 2001-09-23 Mario Lang <mlang@delysid.org>
12231 * erc.el: * Added auto-op support (unfinished)
12232 * Added erc-latest-version.
12233 * Added erc-ediff-latest-version.
12235 2001-09-21 Mario Lang <mlang@delysid.org>
12238 * Minor menu additions (invite only mode is now a checkbox)
12240 2001-09-20 Mario Lang <mlang@delysid.org>
12243 * Fix (erc-cmd-names): This should fix C-c C-n too, hopefully it was the right fix and doesn't break anything else.
12245 * erc.el: * Fixes XEmacs easymenu usage (2nd time).
12247 2001-09-19 Mario Lang <mlang@delysid.org>
12250 * (erc-complete-nick): Add ": " only if one completes directly after the erc-prompt, otherwise, add just one space
12253 * Changed menu-definition to use easymenu (hopefully this now works under XEmacs)
12254 * Fix for custom problem with :must-match on XEmacs (thanks shapr)
12255 * Added /COUNTRY command using (what-domain) from package mail-extr (shapr)
12256 * Fix for case-sensitivity problem with pals (they are now all downcased)
12257 * Different (erc-version) function which now can take prefix argument to insert the version information into the current buffer,
12258 instead of just displaying it in the minibuffer.
12260 2001-09-10 Mario Lang <mlang@delysid.org>
12262 * erc.el: Updated erc-version-string
12264 * erc.el: Version number change and last read-through...
12266 2001-09-04 Mario Lang <mlang@delysid.org>
12268 * erc.el: Added some asterisks
12270 2001-08-24 Mario Lang <mlang@delysid.org>
12273 Fixed hidden channel buffer tracking (sort of), now using switch-to-buffer for advice.
12274 This version is unofficially named 2.1prebeta1. Please test it and send
12275 fixes to various problems you may encounter so that we can eventually
12278 2001-08-14 Mario Lang <mlang@delysid.org>
12281 Added function erc-bol and keybinding C-c C-a for it (contributed by Benjamin Rutt <brutt@bloomington.in.us)
12283 2001-08-07 Mario Lang <mlang@delysid.org>
12286 Checked in lathis code and modified it slightly. Still unsure about set-window-buffer advice, current attempt doesn't seem to work.
12287 Removed (nick -> #channel) from mode-line. (CLOSED) and (AWAY...) should still be displayed when appropriate
12289 2001-08-06 Mario Lang <mlang@delysid.org>
12292 added local-variable channel-list in session-buffers and make /LIST use it.
12293 erc-join-channel can now do completion after /LIST was executed
12295 2001-08-05 Mario Lang <mlang@delysid.org>
12297 * erc.el: Tweaked erc-join-channel and erc-part-from-channel
12299 2001-07-27 Mario Lang <mlang@delysid.org>
12301 * erc.el: some more defcustom stuff
12303 * erc.el: Patch from Henrik Enberg <henrik@enberg.org>:
12304 Adds variables erc-frame-alist and erc-frame-dedicated-p.
12306 * erc.el: fixed erc-part-from-channel
12309 fixed match-string problem and added interactive topic setting function.
12311 * erc.el: fixed silly string-match bug
12314 Added erc-join-channel and erc-part-from-channel (interactive prompts), as well as keybindings. C-c C-j #emacs RET is now enough :)
12316 2001-07-27 Alex Schroeder <alex@gnu.org>
12318 * erc.el(erc-display-line-buffer): Simplified filling.
12319 (erc-fill-region): New function.
12321 2001-07-27 Mario Lang <mlang@delysid.org>
12323 * erc.el: Added redundancy check in output
12325 2001-07-26 Alex Schroeder <alex@gnu.org>
12327 * erc.el(erc-send-action): Add text-property stuff.
12328 (erc-input-action): Removed text-property stuff.
12329 (erc-command-table): Corrected command for DESCRIBE. Still
12330 doesn't work though. No idea what it should do. Looks like a no op.
12331 (erc-cmd-me): Doc change.
12333 2001-07-26 Mario Lang <mlang@delysid.org>
12336 fixed one occurrence of a setq with only one argument (XEmacs didn't like that)
12339 Added erc-next-line-add-newlines customization possibility.
12342 added erc-fill-prefix for defining your own way of filling and fixed filling somehow
12345 fixed small incompatibility in erc-parse-line-from-server at (and (= n 353) regexp
12347 2001-07-25 Mario Lang <mlang@delysid.org>
12350 Added erc-filling and filling code to erc-display-line-buffer.
12352 2001-07-08 Alex Schroeder <alex@gnu.org>
12354 * erc.el(try-complete-erc-nick): Make the ": " part of the
12357 * erc.el: require ring
12359 2001-07-08 Mario Lang <mlang@delysid.org>
12361 * erc.el: *** empty log message ***
12363 2001-07-07 Mario Lang <mlang@delysid.org>
12369 2001-07-06 Alex Schroeder <alex@gnu.org>
12371 * erc.el(erc-mode): Call erc-input-ring-setup.
12372 (erc-send-current-line): Call erc-add-to-input-ring.
12373 (erc-input-ring): New variable. Currently not buffer local.
12374 (erc-input-ring-index): New variable. Currently not buffer local.
12375 (erc-input-ring-setup): New function.
12376 (erc-add-to-input-ring): New function.
12377 (erc-previous-command): New function.
12378 (erc-next-command): New function.
12379 (erc-mode-map): Uncommented keybindings for erc-next-command and
12380 erc-previous-command.
12382 2001-07-05 Alex Schroeder <alex@gnu.org>
12384 * erc.el(erc-highlight-strings): Removed debug message.
12386 * erc.el(erc-join-buffer): Changed default to 'buffer.
12387 (erc-join-info-buffer): Changed default to 'disable.
12388 (erc-nick-completion): Changed default to 'all.
12390 2001-07-04 uid31117 <uid31117@confusibombus>
12392 * erc.el: Resolved...
12394 2001-07-03 Alex Schroeder <alex@gnu.org>
12396 * erc.el(erc-highlight-strings): New option and new function.
12397 (erc-parse-line-from-server): Use it.
12398 Various empty lines removed. Various doc strings fixed.
12400 * erc.el: Removed more empty lines.
12402 * erc.el(erc-member-string): replaced by plain member
12403 Otherwise, lots of deleting of empty lines... I'm not too happy with that
12404 but I feel better when the code is "cleaned up".
12406 2001-07-03 Mario Lang <mlang@delysid.org>
12408 * erc.el: Ugly hack, but looks nicer when giving commands
12410 * erc-speak.el: ugly hack, but looks nicer now
12412 2001-07-03 Alex Schroeder <alex@gnu.org>
12414 * erc.el(try-complete-erc-nick): New function.
12415 (erc-try-complete-nick): New function.
12416 (erc-nick-completion): New option.
12417 (erc-complete): Call hippie-expand such that erc-try-complete-nick
12418 will be called eventually. Based on erc-nick-completion
12419 try-complete-erc-nick will then complete on the nick at point.
12421 2001-07-02 Mario Lang <mlang@delysid.org>
12424 Insert (erc-current-nick) instead of (erc-display-prompt). good night :)
12427 small, but it was annoying, so I just did it (defcustom for erc-join-buffer and erc-join-info-buffer)
12429 2001-06-29 Alex Schroeder <alex@gnu.org>
12431 * erc.el: Use defface to define all faces.
12432 Removed some history from the commentary, as well as some other
12433 commentary editing.
12435 2001-06-28 Mario Lang <mlang@delysid.org>
12437 * erc.el: hmm, defcustom for erc-user-full-name
12439 * erc-speak.el, erc.el: *** empty log message ***
12441 2001-06-27 Mario Lang <mlang@delysid.org>
12445 * erc.el: Some more defcustom
12447 * erc-speak.el: nothing, really
12449 2001-06-26 Mario Lang <mlang@delysid.org>
12451 * erc.el: Some defcustom stuff. Still no defgroup though :)
12454 Initial change to erc.el (2.0). Mainly list of ideas and features
12455 and syntax-table entries.
12457 * erc-speak.el, erc.el: Initial Import
12459 * erc-speak.el, erc.el: New file.
12461 Copyright 2001-2015 Free Software Foundation, Inc.
12463 This file is part of GNU Emacs.
12465 GNU Emacs is free software: you can redistribute it and/or modify
12466 it under the terms of the GNU General Public License as published by
12467 the Free Software Foundation, either version 3 of the License, or
12468 (at your option) any later version.
12470 GNU Emacs is distributed in the hope that it will be useful,
12471 but WITHOUT ANY WARRANTY; without even the implied warranty of
12472 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12473 GNU General Public License for more details.
12475 You should have received a copy of the GNU General Public License
12476 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
12478 ;; Local Variables:
12480 ;; add-log-time-zone-rule: t