1 2006-11-20 Michael Olson <mwolson@gnu.org>
3 * erc.el (erc-version-string): Call this Version 5.2 stable
4 pre-release, since it diverges slightly from our 5.2 branch, in
5 that unstable features are not included.
6 (erc-update-modules): Display better error message when module not
9 2006-11-12 Michael Olson <mwolson@gnu.org>
11 * erc-log.el: Save all log buffers when Emacs exits, in case
12 someone ignores the warning about open processes. Remove the
13 advice code in the commentary.
14 (erc-save-query-buffers): Docfix.
15 (erc-log-save-all-buffers): New function that saves all ERC
17 (erc-current-logfile): Fix bug in filename selection, where the
18 current buffer was erroneously being preferred over the given
21 2006-11-08 Michael Olson <mwolson@gnu.org>
23 * erc.el (erc-string-to-port): Avoid error when a numerical port
24 is passed. Thanks to Zekeriya KOÇ for the report.
26 2006-11-08 Łukasz Demianiuk <ldemianiuk@gmail.com> (tiny change)
28 * erc.el (erc-header-line): Fix typo.
30 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
32 * erc-dcc.el (erc-dcc-send-file): Fix typo in error message.
34 * erc.el (read-passwd):
35 * erc-autoaway.el (erc-autoaway-reestablish-idletimer):
36 * erc-truncate.el (truncate): Fix typo in docstring.
38 2006-10-21 Michael Olson <mwolson@gnu.org>
40 * erc.el (erc-iswitchb): Fix bug when hitting C-c C-b without
41 first loading iswitchb. Thanks to Leo for the report.
43 2006-10-10 Michael Olson <mwolson@gnu.org>
45 * erc.el (erc-default-port): Make the default be 6667 instead of
46 ircd. since Mac OS X apparently has problems with looking up that
49 * erc-backend.el (353): Receive names after displaying the initial
50 message, instead of before.
52 2006-10-05 Diane Murray <disumu@x3y2z1.net>
54 * erc.el (erc-my-nick-face): New face.
55 (erc): Use FULL-NAME argument, not `erc-user-full-name'. This
56 fixes a bug where the :full-name argument passed to the function
58 (erc-format-my-nick): Use `erc-my-nick-face'. This should help
59 make it easier to find messages you sent in conversations when
60 `erc-show-my-nick' is non-nil.
61 (erc-compute-server): Doc fix.
63 2006-09-11 Michael Olson <mwolson@gnu.org>
65 * erc-nicklist.el (erc-nicklist-insert-contents): Add missing
66 parenthesis. Thanks to Stephan Stahl for the report.
68 2006-09-10 Eric Hanchrow <offby1@blarg.net>
70 * erc.el (erc-cmd-IGNORE): Prompt user if this might be a regexp
71 instead of a single user.
73 2006-09-10 Michael Olson <mwolson@gnu.org>
75 * erc.el (erc-generate-new-buffer-name): If this is a server
76 buffer and a process exists already, create a new buffer.
77 (erc-open): If the IRC session was continued, restore the old
78 point. Thanks to Stephan Stahl for the report.
79 (erc-member-ignore-case): Coding style tweak.
80 (erc-cmd-UNIGNORE): Quote the user before comparison. If we don't
81 find the user listed verbatim, try to match them against the list
82 using string-match. In this case, prompt as to whether the regexp
84 (erc-ignored-user-p): Remove CL-ism.
86 * erc-autoaway.el (erc-autoaway-possibly-set-away): Check to see
87 whether we are already away.
89 * erc-menu.el: Fix potential compiler warning.
91 2006-09-07 Diane Murray <disumu@x3y2z1.net>
93 * erc.el: Updated Commentary and URL.
94 (erc-iswitchb, erc-display-line, erc-set-modes, erc-update-modes)
95 (erc-arrange-session-in-multiple-windows): No need to check if
96 `erc-server-process' is bound.
97 (erc-server-buffer-live-p): Doc fix.
98 (erc-part-from-channel): Don't use any initial contents at prompt.
99 (erc-format-nick, erc-format-@nick): Doc fix. Use `when'.
100 (s367): Fixed to support only banmask and channel which is the
101 standard. Also, there's no reason to add a message to each banned
102 user entry trying to persuade the user to use /banlist instead of
103 /mode #channel +b. That part of the message was a little
105 (s367-set-by): New catalog entry. The user who set the ban and
106 the time of ban seem to be specific to only certain servers such
109 * erc-autoaway.el (erc-autoaway-idletimer): Doc fix.
111 * erc-backend.el (erc-server-process-alive): No need to check if
112 `erc-server-process' is bound.
113 (367): Use s367 or s367-set-by where appropriate.
115 * erc-compat.el: Fixed URL.
117 * erc-dcc.el: Updated copyright years. Added Usage section.
118 Changed supported Emacs version number from 21.3.50 to 22 in
121 * erc-ibuffer.el (erc-server-name, erc-target, erc-away): No need
122 to check if `erc-server-process' is bound.
124 * erc-nicklist.el: Added to the Commentary section an explanation
125 that `erc-nicklist-quit' should be called from within the nicklist
126 buffer. Set file coding to utf-8 so a contributor's name is
128 (erc-nicklist-icons-directory): Use customize type directory
130 (erc-nicklist-insert-contents): Set bbdb-nick to an empty string
131 if it wasn't found. This fixes a bug where an error would occur
132 when using `string=' on bbdb-nick if it was nil.
134 * erc-replace.el: Removed URL from file information since it
137 * erc-sound.el: Updated copyright years. Fixed Commentary and
139 (define-erc-module): Add and remove `erc-ctcp-query-SOUND' to
140 `erc-ctcp-query-SOUND-hook' here. Removed the keybinding
142 (erc-play-sound, erc-default-sound, erc-cmd-SOUND)
143 (erc-ctcp-query-SOUND): Doc fix.
144 (erc-play-command): Removed, not necessary anymore.
145 (erc-ctcp-query-SOUND-hook): Set to nil as default. Moved up
146 higher in code, added docstring.
147 (erc-play-sound): Use `play-sound-file'. It exists in GNU Emacs
148 as well since version 21 or earlier. Removed commented-out older
151 * NEWS: Fixed formatting, added channel tracking change.
153 2006-09-03 Diane Murray <disumu@x3y2z1.net>
155 * erc.el: M-x erc RET can now be used to start ERC.
156 (erc-open): Renamed from `erc'.
157 (erc-before-connect): Change erc-select to erc.
158 (erc): Renamed from `erc-select'. Use `erc-open'.
159 (erc-select): Defined as alias of `erc'.
160 (erc-ssl): Renamed from `erc-select-ssl'. Use `erc'.
161 (erc-select-ssl): Defined as alias of `erc-ssl'.
162 (erc-cmd-SERVER): Use `erc'.
163 (erc-query, erc-handle-irc-url): Use `erc-open'.
165 * erc-backend.el (erc-process-sentinel-1, JOIN): Use `erc-open'.
167 * erc-menu.el (erc-menu-definition): Use `erc'.
169 * erc-networks.el: Updated copyright years.
170 (erc-server-select): Use keyword arguments when calling `erc'.
172 * erc.texi (Getting Started, Connecting): Changed erc-select to
175 * NEWS: Added note about these changes.
177 2006-08-21 Diane Murray <disumu@x3y2z1.net>
179 * erc-track.el (erc-track-mode-line-mouse-face): New variable.
180 (erc-make-mode-line-buffer-name): Add help-echo and mouse-face
181 properties to channel name.
183 2006-08-14 Diane Murray <disumu@x3y2z1.net>
185 * erc-menu.el: Updated copyright years. Removed EmacsWiki URL.
186 (erc-menu-definition): Name the menu "ERC" instead of "IRC" to
187 avoid confusion with rcirc and other clients.
189 2006-08-13 Romain Francoise <romain@orebokech.com>
191 * erc-match.el (erc-log-matches-make-buffer): End `y-or-n-p'
194 2006-08-11 Michael Olson <mwolson@gnu.org>
196 * erc-fill.el (erc-fill): Skip any initial empty lines so that we
197 avoid errors when inserting disconnect messages and other messages
198 that begin with newlines.
200 2006-08-07 Michael Olson <mwolson@gnu.org>
202 * erc-backend.el (erc-process-sentinel-1): Use erc-display-message
203 in several places instead of inserting text.
204 (erc-process-sentinel): Move to the input-marker before removing
207 * erc.el (erc-port): Fix customization options.
208 (erc-display-message): Handle null type explicitly. Previously,
209 this was relying on a chance side-effect. Cosmetic indentation
211 (english): Add 'finished and 'terminated entries to the catalog.
212 Add initial and terminal newlines to 'disconnected and
213 'disconnected-noreconnect entries. Avoid long lines.
215 2006-08-06 Michael Olson <mwolson@gnu.org>
217 * erc-backend.el (erc-server-send-queue): Update from Circe
218 version of this function.
220 * erc.el (erc-arrange-session-in-multiple-windows): Fix bug with
222 (erc-select-startup-file): Fix bug introduced by recent change.
224 2006-08-05 Michael Olson <mwolson@gnu.org>
226 * erc-log.el (erc-log-standardize-name): New function that returns
227 a filename that is safe for use for a log file.
228 (erc-current-logfile): Use it.
230 * erc.el (erc-startup-file-list): Search in ~/.emacs.d first,
231 since that is a fairly standard directory.
232 (erc-select-startup-file): Re-write to use
233 convert-standard-filename, which will ensure that MS-DOS systems
234 look for the _ercrc.el file.
236 2006-08-02 Michael Olson <mwolson@gnu.org>
238 * erc.el (erc-version-string): Release ERC 5.1.4.
240 * Makefile, NEWS, erc.texi: Update for the 5.1.4 release.
242 * erc.el (erc-active-buffer): Fix bug that caused messages to go
243 to the wrong buffer. Thanks to offby1 for the report.
245 * erc-backend.el (erc-coding-system-for-target): Handle case where
246 target is nil. Thanks to Kai Fan for the patch.
248 2006-07-29 Michael Olson <mwolson@gnu.org>
250 * erc-log.el (erc-log-setup-logging): Don't offer to save the
251 buffer. It will be saved automatically killed. Thanks to Johan
252 Bockgård and Tassilo Horn for pointing this out.
254 2006-07-27 Johan Bockgård <bojohan@users.sourceforge.net>
256 * erc.el (define-erc-module): Make find-function and find-variable
257 find the names constructed by `define-erc-module' in Emacs 22.
259 2006-07-14 Michael Olson <mwolson@gnu.org>
261 * erc-log.el (log): Make sure that we enable logging on
262 already-opened buffers as well, in case the user toggles this
263 module after loading ERC. Also be sure to remove logging ability
264 from all ERC buffers when the module is disabled.
265 (erc-log-setup-logging): Set buffer-file-name to nil rather than
266 the empty string. This should fix some errors that occur when
267 quitting Emacs without first killing all ERC buffers.
268 (erc-log-disable-logging): New function that removes the logging
269 ability from the current buffer.
271 * erc-spelling.el (spelling): Use dolist and buffer-live-p.
273 2006-07-12 Michael Olson <mwolson@gnu.org>
275 * erc-match.el (erc-log-matches): Bind inhibit-read-only rather
276 than call toggle-read-only.
278 * erc.el (erc-handle-irc-url): Move here from erc-goodies.el and
281 2006-07-09 Michael Olson <mwolson@gnu.org>
283 * erc.el (erc-version-string): Release ERC 5.1.3.
285 * erc.texi: Update for the 5.1.3 release.
287 * erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning
288 from being set automatically away and current buffer is not an ERC
291 * erc-identd.el: Fix compiler error.
293 * erc.texi (Development): Use @subheading instead of @subsection.
294 (Advanced Usage): Add menu.
295 (Connecting): Fully document how to connect to an IRC server.
296 (Options, Tips and Tricks, Sample Configuration): New unwritten
299 * erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier)
300 (erc-user-full-name, erc-password): Docfixes and customization
302 (erc-try-new-nick-p): Rename from
303 `erc-manual-set-nick-on-bad-nick-p' and invert meaning.
304 (erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length
305 of `erc-nick-uniquifier', in case someone wants multiple
307 (erc-compute-server, erc-compute-nick, erc-compute-full-name)
308 (erc-compute-port): Docfixes.
310 * erc-log.el (log): Move all add-hook calls here, rather than
311 executing them immediately, and also cause them to be un-hooked
312 when the module is removed.
313 (erc-save-buffer-on-part): Move next to
314 `erc-save-queries-on-quit'.
315 (erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t.
316 (erc-log-write-after-send, erc-log-write-after-insert): Default to
317 nil. This makes things fast, but reasonably failsafe, by default.
319 2006-07-08 Michael Olson <mwolson@gnu.org>
321 * erc-log.el (erc-log-insert-log-on-open): Make this nil by
322 default, since most IRC clients don't do this.
323 (erc-log-write-after-send): New option that determines whether the
324 log file will be written to after every sent message.
325 (erc-log-write-after-insert): New option that determines whether
326 the log file will be written to when new text is added to a logged
328 (log): Use the aforementioned options.
330 * erc.texi (Modules): Document the "completion" module.
332 * erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't
333 have a nil element in the list when ignore-self is non-nil.
335 2006-07-05 Michael Olson <mwolson@gnu.org>
337 * erc.el (erc-modules): Add the `page' module to the list.
339 * erc.texi (Modules): Add entries for `list' and `page' modules.
340 Change "spell" to "spelling".
341 (History): Use past tense throughout.
343 2006-07-02 Michael Olson <mwolson@gnu.org>
345 * erc-backend.el (erc-call-hooks): Fix (stringp nil) error that
346 can happen when doing /PART.
348 * erc.el (erc-quit-reason-various-alist)
349 (erc-part-reason-various-alist): In the example, use "^$" as an
350 example, since "" matches anything.
351 (erc-quit-reason-various, erc-part-reason-various): If no argument
352 is given, and no matches are found, use our default reason instead
355 2006-06-30 Michael Olson <mwolson@gnu.org>
357 * erc.texi (Modules): Mention identd.
358 (Releases): Update mailing list address and download location.
359 (Development): Refactor. Provide updated directions for Arch.
361 (Keystroke Summary): Typo fix. Use more Texinfo syntax.
362 (Getting Started): Give simpler example. We do not need to
363 explicitly load every module.
366 * erc.el (erc-version-modules): Remove, since we do not use this
368 (erc-latest-version, erc-ediff-latest-version): Remove, since this
369 was only useful back when ERC consisted of one file.
370 (erc-modules): Add line for identd.
371 (erc-get-channel-mode-from-keypress): Typo fix.
373 * erc-imenu.el: Remove unnecessary lines in header.
375 * erc-goodies.el (erc-handle-irc-url): Docfix.
377 * erc-identd.el: Define an ERC module for this.
378 (erc-identd-start): Don't create a process buffer if possible.
379 Otherwise, use conventional hidden names for process buffers.
381 2006-06-29 Michael Olson <mwolson@gnu.org>
383 * erc-backend.el (erc-coding-system-for-target): Match
384 case-insensitively. Use a pattern match instead of `assoc', as
385 per the documentation for `erc-encoding-coding-alist'.
387 * erc-track.el (erc-track-shorten-aggressively): Fix typo.
389 2006-06-27 Michael Olson <mwolson@gnu.org>
391 * erc.el: Update maintainer information and URLs.
393 2006-06-14 Michael Olson <mwolson@gnu.org>
395 * erc.el (erc-active-buffer): If the active buffer has been
396 deleted, default to the server buffer.
397 (erc-toggle-flood-control): When the user hits C-c C-f, make flood
398 control really toggle, not unconditionally turn off.
400 2006-06-12 Michael Olson <mwolson@gnu.org>
402 * NEWS: Add items since the 5.1.2 release.
404 * erc-autoaway.el (erc-autoaway-caused-away): New variable that
405 indicates whether the current away status was caused by this
407 (erc-autoaway-set-back): Only set back if this module set the user
409 (erc-autoaway-set-away): Update `erc-autoaway-caused-away'.
410 (erc-autoaway-reset-indicators): New function that resets some
411 indicators when the user is no longer away.
412 (autoaway): Add the above function to the 305 hook.
414 2006-06-05 Romain Francoise <romain@orebokech.com>
416 * erc.texi (History): Fix various typos.
418 2006-06-04 Michael Olson <mwolson@gnu.org>
420 * erc-autoaway.el (erc-autoaway-idle-method): Move after the
421 definition of the autoaway module.
422 (autoaway): Don't do anything if erc-autoaway-idle-method is
423 unbound. This prevents an error on startup.
425 2006-06-03 Michael Olson <mwolson@gnu.org>
427 * erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch.
428 (erc-autoaway-idle-method): Renamed from
429 `erc-autoaway-use-emacs-idle'. We have more than two choices for
430 how to do this, so it's best to make this take symbol values.
431 Improve documentation. Remove warning against Emacs idle-time;
432 the point is moot now that we get user idle time via a different
433 method. Make sure we disable and re-enable the module when
435 (autoaway): Conditionalize on the above option. If using the idle
436 timer or user idle methods, don't add anything to the
437 send-completed or server-001 hooks, since it is unnecessary.
438 (erc-autoaway-reestablish-idletimer, erc-autoaway-message):
440 (erc-autoaway-idle-seconds): Use erc-autoaway-idle-method.
441 (erc-autoaway-reset-idle-irc): Renamed from
442 `erc-autoaway-reset-idle'. Don't pass line to
443 `erc-autoaway-set-away', since it is not used.
444 (erc-autoaway-reset-idle-user): New function that resets the idle
445 state for user idle time.
446 (erc-autoaway-set-back): Remove line argument, since it is not
449 2006-06-01 Michael Olson <mwolson@gnu.org>
451 * erc.el (erc-buffer-filter): Make sure all buffers returned from
454 2006-05-01 Edward O'Connor <ted@oconnor.cx>
456 * erc-goodies.el (erc-handle-irc-url): New function, suitable as
457 a value for `url-irc-function'.
459 2006-04-18 Diane Murray <disumu@x3y2z1.net>
461 * erc-pcomplete.el (pcomplete-erc-nicks): Added new optional
462 argument IGNORE-SELF. If this is non-nil, don't return the user's
463 current nickname. Doc fix.
464 (pcomplete/erc-mode/complete-command): Don't complete the current
467 2006-04-05 Diane Murray <disumu@x3y2z1.net>
469 * erc.el (erc-cmd-SV): Removed the exclamation point. Show the
470 build date as it's shown in `emacs-version'.
472 * erc-capab.el (erc-capab-identify-add-prefix): Insert the prefix
473 with the same face property as the previous character.
475 2006-04-02 Michael Olson <mwolson@gnu.org>
477 * erc-backend.el, erc-ezbounce.el, erc-join.el, erc-netsplit.el,
478 erc.el: Make sure to include a newline inside of negated classes,
479 so that a newline is not matched.
481 2006-04-01 Michael Olson <mwolson@gnu.org>
483 * erc-backend.el (erc-server-connect-function): Don't try to
484 detect the existence of the `open-network-stream-nowait' function,
485 since I can't find it in Emacs21, XEmacs21, or Emacs22.
487 2006-03-26 Michael Olson <mwolson@gnu.org>
489 * erc.el (erc-header-line): New face that will be used to colorize
490 the text of the header-line, provided that
491 `erc-header-line-face-method' is non-nil.
492 (erc-prompt-face): Fix formatting.
493 (erc-header-line-face-method): New option that determines the
494 method used for colorizing header-line text. This may be a
495 function, nil, or non-nil.
496 (erc-update-mode-line-buffer): Use the aforementioned option and
497 face to colorize the header-line text, if that is what the user
499 (erc-send-input): If flood control is not activated, don't split
502 2006-03-25 Michael Olson <mwolson@gnu.org>
504 * erc.el (erc-cmd-QUOTE): Install patch from Aravind Gottipati
505 that fixes the case where there is no leading whitespace. Only
506 remove the first space character, though.
508 * erc-identd.el (erc-identd-start): Fix a bug by making sure that
509 erc-identd-process is set properly.
510 (erc-identd-start, erc-identd-stop): Add autoload cookies.
511 (erc-identd-start): Pass :host parameter so this works with Emacs
514 2006-03-09 Diane Murray <disumu@x3y2z1.net>
516 * erc-button.el (erc-button-keymap): Use <backtab> rather than
517 <C-tab> for `erc-button-previous' as it is a more standard key
518 binding for this type of function.
520 2006-02-19 Michael Olson <mwolson@gnu.org>
522 * erc.el (erc-version-string): Release ERC 5.1.2.
524 2006-02-19 Diane Murray <disumu@x3y2z1.net>
526 * erc-button.el (erc-button-keymap): Bind `erc-button-previous' to
528 (erc-button-previous): New function.
530 2006-02-15 Michael Olson <mwolson@gnu.org>
532 * NEWS: Add category for ERC 5.2.
534 * erc.el (erc): Move to the end of the buffer when a continued
535 session is detected. Thanks to e1f and indio for the report and
536 testing a potential fix.
538 2006-02-14 Michael Olson <mwolson@gnu.org>
540 * debian/changelog: Prepare a new Debian package.
542 * Makefile (debprepare): New rule that creates an ERC snapshot
543 directory for use in both new Debian releases and revisions for
545 (debrelease, debrevision-mwolson): Use debprepare.
547 * NEWS: Bring up-to-date.
549 * erc-stamp.el (erc-insert-timestamp-right): For now, put
550 timestamps before rather than after erc-fill-column when
551 erc-timestamp-right-column is nil. This way we won't surprise
552 anyone unpleasantly, or so it is hoped.
554 2006-02-13 Michael Olson <mwolson@gnu.org>
556 * erc-dcc.el: Use (eval-when-compile (require 'cl)).
558 2006-02-12 Michael Olson <mwolson@gnu.org>
560 * erc-autoaway.el, erc-dcc.el, erc-ezbounce.el, erc-fill.el
561 * erc-goodies.el, erc-hecomplete.el, erc-ibuffer.el, erc-identd.el
562 * erc-imenu.el, erc-join.el, erc-lang.el, erc-list.el, erc-log.el
563 * erc-match.el, erc-menu.el, erc-netsplit.el, erc-networks.el
564 * erc-notify.el, erc-page.el, erc-pcomplete.el, erc-replace.el
565 * erc-ring.el, erc-services.el, erc-sound.el, erc-speedbar.el
566 * erc-spelling.el, erc-track.el, erc-truncate.el, erc-xdcc.el:
567 Add 2006 to copyright years, to comply with the changed guidelines.
569 2006-02-11 Michael Olson <mwolson@gnu.org>
571 * erc.el (erc-update-modules): Make some requirements shorter, so
572 that it's easier to see why they are needed.
574 * erc-stamp.el (erc-timestamp-use-align-to): Renamed from
575 `erc-timestamp-right-align-by-pixel'. Set the default based on
576 whether we are in Emacs 22, and using X. Improve documentation.
577 (erc-insert-aligned): Remove calculation of offset, since
578 :align-to pos works after all. Unlike the previous solution, this
579 one works when erc-stamp.el is compiled.
580 (erc-insert-timestamp-right): Don't add length of string, and then
581 later remove its displayed width. This puts timestamps after
582 erc-fill-column when erc-timestamp-right-column is nil, rather
583 than before it. It also fixes a subtle bug. Remove use of
584 `current-window', since there is no variable by that name in
585 Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
586 `erc-fill-column' is non-nil before using it.
588 2006-02-11 Diane Murray <disumu@x3y2z1.net>
590 * erc-list.el: Define `list' module which sets the alias
591 `erc-cmd-LIST' to `erc-list-channels' when enabled and
592 `erc-list-channels-simple' when disabled.
593 (erc-list-channels): Was `erc-cmd-LIST', renamed.
594 (erc-list-channels-simple): New function.
596 * erc.el (erc-modules): Added `list' to enabled modules. Moved
597 customization options left in source code.
599 * erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
601 * erc-spelling.el (define-erc-module): Make sure there's a buffer
602 before calling `with-current-buffer'.
604 2006-02-10 Michael Olson <mwolson@gnu.org>
606 * Makefile (debbuild): Split from debrelease.
607 (debrevision-mwolson): New rule that causes a Debian revision to
610 * erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
612 (erc-modules): Change use of 'pcomplete to 'completion.
614 2006-02-09 Diane Murray <disumu@x3y2z1.net>
616 * erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
617 (erc-get-parsed-vector-type): Moved here from erc-match.el.
619 * erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
620 (erc-get-parsed-vector-type): Moved these functions to erc.el
621 since they can be useful outside of the text matching module.
623 * erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
626 2006-02-07 Michael Olson <mwolson@gnu.org>
628 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
629 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
630 the filenames in DOS.
632 * erc-goodies.el: Comment fix.
634 * erc-hecomplete.el: Rename from erc-complete.el. Update
635 commentary. Use define-erc-module so that it's possible to
637 (erc-hecomplete): Rename function from `erc-complete'.
638 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
640 * erc-join.el: Rename from erc-autojoin.el.
642 * erc-networks.el: Rename from erc-nets.el.
644 * erc-services.el: Rename from erc-nickserv.el.
646 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
647 the simpler `indent-to' function when
648 `erc-timestamp-right-align-by-pixel' is nil.
649 (erc-insert-timestamp-right): If the timestamp goes on the
650 following line, don't add timestamp properties to the spaces in
653 * erc.el (erc-migrate-modules): New function that eases migration
655 (erc-modules): Call erc-migrate-modules in the :get accessor.
656 (erc-modules, erc-update-modules): Update for new modules names.
657 (erc-cmd-SMV): Remove, since this does not give useful output due
658 to the version strings being removed from ERC modules.
660 2006-02-05 Michael Olson <mwolson@gnu.org>
662 * erc-spelling.el (erc-spelling-init): If
663 `erc-spelling-dictionaries' is nil, do not set
664 ispell-local-dictionary. Before, it was being set to nil, which
665 was causing a long delay while the ispell process restarted.
666 (erc-spelling-unhighlight-word): New function that removes
667 flyspell properties from a spell-checked word.
668 (erc-spelling-flyspell-verify): Don't spell-check nicks or words
669 that have '/' before them.
671 2006-02-04 Michael Olson <mwolson@gnu.org>
673 * erc-autojoin.el: Use (eval-when-compile (require 'cl)).
675 * erc-complete.el (erc-nick-completion-exclude-myself)
676 (erc-try-complete-nick): Use better function for getting list of
679 * erc-goodies.el: Docfix.
681 * erc-stamp.el: Use new arch tagline, since the other one wasn't
682 being treated properly.
684 * erc.el (erc-version-string): Release ERC 5.1.1.
686 2006-02-03 Zhang Wei <id.brep@gmail.com>
688 * erc.el (erc-version-string): Don't hard-code Emacs version.
689 (erc-version): Use emacs-version.
691 2006-01-31 Michael Olson <mwolson@gnu.org>
693 * erc-stamp.el: Update copyright years.
695 2006-01-30 Simon Josefsson <jas@extundo.com>
697 * erc.el (erc-open-ssl-stream): Use tls.el.
699 2006-01-30 Michael Olson <mwolson@gnu.org>
701 * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
702 that determines whether to use pixel values to align right
703 timestamps. The default is not to do so, since it only works with
704 Emacs22 on X, and even then some people have trouble.
705 (erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
707 2006-01-29 Michael Olson <mwolson@gnu.org>
709 * ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
710 ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
711 earlier changes. Use utf-8 encoding. Fix some accent typos.
713 * erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
715 (erc-speedbar-goto-buffer): Fix compiler warning.
717 * erc-ibuffer.el: Use `define-ibuffer-filter' instead of
718 `ibuffer-degine-limiter'. Use `define-ibuffer-column' instead of
719 `ibuffer-define-column'. Require 'ibuf-ext so that the macros
720 work without compiler warnings.
722 * man/erc.texi (Obtaining ERC, Installation): Note that these
723 sections may be skipped if using the version of ERC that comes
726 2006-01-29 Edward O'Connor <ted@oconnor.cx>
728 * erc-viper.el: Remove. Now that ERC is included in Emacs, these
729 work-arounds live in Viper itself.
731 2006-01-28 Michael Olson <mwolson@gnu.org>
733 * erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
736 * erc-*.el: Space out copyright years like the rest of Emacs. Use
737 the Emacs copyright statement. Refer to ourselves as ERC rather
738 than "Emacs IRC Client", since there are now several IRC clients
741 * erc-compat.el (erc-emacs-build-time): Define as a variable.
743 * erc-log.el (erc-log-setup-logging): Use write-file-functions.
745 * erc-ibuffer.el: Require 'erc.
747 * erc-stamp.el (erc-insert-aligned): Only use the special text
748 property when window-system is X.
750 * erc.texi: Adapt for inclusion in Emacs.
752 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
754 * erc.el (erc-format-message): More `cl' breakage; don't use
757 2006-01-27 Michael Olson <mwolson@gnu.org>
759 * debian/changelog: Update for new release.
761 * debian/control (Description): Update.
763 * debian/rules: Concatenate ChangeLog for 2005.
765 * Makefile (MISC): Include ChangeLog.2005 and erc.texi.
766 (debrelease, release): Copy images directory.
768 * NEWS: Spelling fixes. Add items for recent changes.
770 * erc.el (erc): Move call to erc-update-modules before the call to
771 erc-mode. This should fix a timestamp display issue.
772 (erc-version-string): Release ERC 5.1.
774 2006-01-26 Michael Olson <mwolson@gnu.org>
776 * erc-stamp.el (erc-insert-aligned): New function that inserts
777 text in an perfectly-aligned way relative to the right margin. It
778 only works well with Emacs22. A sane fallback is provided for
779 other versions of Emacs.
780 (erc-insert-timestamp-right): Use the new function.
782 2006-01-25 Edward O'Connor <ted@oconnor.cx>
784 * erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
785 before `erc-match-mode'.
787 * erc-match.el (match): Append `erc-match-message' to
788 `erc-insert-modify-hook'.
790 2006-01-25 Michael Olson <mwolson@gnu.org>
792 * FOR-RELEASE: Mark last release requirement as done.
794 * Makefile (realclean, distclean): Remove docs.
796 * erc.texi: Take care of all pre-5.1 items.
798 * erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
799 `process-send-string' in `condition-case' to avoid an error when
802 * erc-stamp.el (erc-insert-timestamp-right): Try to deal with
803 variable-width characters in the timestamp and on the same line.
804 The latter is a kludge, but it seems to work with most of the
805 input I've thrown at it so far. It's certainly better than going
806 past the end of line consistently when we have variable-width
807 characters on the same line. When `erc-timestamp-intangible' is
808 non-nil, add intangible properties to the whitespace as well, so
809 that hitting <end> does what you'd expect.
811 * erc.el (erc-flood-protect, erc-toggle-flood-control): Update
812 this to only use boolean values for `erc-flood-protect'. Update
814 (erc-cmd-QUIT): Set the active buffer to be the server buffer, so
815 that any QUIT-related messages go there.
816 (erc): Try to be more clever about re-using channel buffers when
817 automatically re-connecting. Thanks to e1f for noticing.
819 2006-01-23 Michael Olson <mwolson@gnu.org>
821 * ChangeLog.2005: Remove erroneous line.
823 * FOR-RELEASE: Make that the Makefile tweaking is complete.
824 (NEWS): Mark as done.
826 * Makefile (MANUAL): New option indicating the name of the manual.
827 (PREFIX, ELISPDIR, INFODIR): New options that specify the
828 directories to install lisp code and info manuals to. PREFIX is
829 used only by ELISPDIR and INFODIR.
830 (all): Call `lisp' and create the manual.
831 (lisp): Compile lisp code.
832 (%.info, %.html): New rules that make Info files and HTML files,
833 respectively, from a TexInfo source.
834 (doc): Create both the Info and HTML versions of the manual. This
835 is for the user -- we never call it automatically.
836 (install-info): Install Info files.
837 (install-bin): Install compiled and source Lisp files.
838 (todo): Remove, since it seems pointless.
842 * README: Add Installation instructions. Tweak layout.
844 * erc.texi: Work on some pre-5.1 items.
846 * erc-stamp.el, erc-track.el: Move some functions and options in
847 order to get rid of a few compiler warnings.
849 * erc.el (erc-modules): Enable readonly by default. This will
850 prevent new users from accidentally removing old messages, which
851 could be disconcerting. Also enable stamp by default, since
852 timestamps are a fairly standard feature among IRC clients.
854 * erc-button.el: Munge whitespace.
856 * erc-identd.el (erc-identd-start): Instead of throwing an error,
857 just try to use the obsolete function.
859 2006-01-22 Michael Olson <mwolson@gnu.org>
861 * erc-backend.el (erc-decode-string-from-target): Make sure that
862 we have a string as an argument. If not, coerce it to the empty
863 string. Hopefully, this will work painlessly around an edge case
864 related to quitting ERC around the same time a message comes in.
866 2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
868 * erc-track.el: Use `(eval-when-compile (require 'cl))' (for
870 (erc-find-parsed-property): Simplify.
871 (erc-track-get-active-buffer): Fix logic. Simplify.
872 (erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
874 * erc-speak.el: Doc fixes.
875 (erc-speak-region): `propertize' --> `erc-propertize'.
877 * erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
880 * erc-button.el (erc-button-add-button): Take erc-fill-prefix into
881 account when wrapping URLs.
883 * erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
885 * erc-backend.el (define-erc-response-handler): Doc fix.
887 2006-01-22 Michael Olson <mwolson@gnu.org>
889 * erc.el (erc-update-modules): Use `require' instead of `load',
890 but prevent it from causing errors, in order to preserve the
893 2006-01-21 Michael Olson <mwolson@gnu.org>
895 * FOR-RELEASE (Source): Mark cl task as done.
897 * Makefile (erc-auto.el): Call erc-generate-autoloads rather than
899 (erc-auto.el, %.elc): Don't show command, just its output.
901 * NEWS: Add items from 2005-01-01 to 2005-08-13.
903 * debian/copyright (Copyright): Update.
905 * erc-auto.in (erc-generate-autoloads): Rename from
908 * erc.el, erc-autoaway.el, erc-backend.el: Use
909 erc-server-process-alive instead of erc-process-alive.
911 * erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
912 erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
913 erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
914 Use (eval-when-compile (require 'cl)), so that compilation doesn't
917 * erc-fill.el, erc-truncate.el: Whitespace munging.
919 * erc.el: Update copyright notice. Remove eval-after-load code.
920 (erc-with-buffer): Docfix.
921 (erc-once-with-server-event, erc-once-with-server-event-global)
922 (erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
924 (erc-banlist-update): Use erc-delete-if instead of delete-if.
925 (erc): Call `erc-update-modules' here.
927 * erc-backend.el: Require 'erc-compat to minimize compiler
929 (erc-decode-parsed-server-response): Docfix.
930 (erc-server-process-alive): Move here from erc.el and rename from
932 (erc-server-send, erc-remove-channel-users): Make sure process is
933 alive before sending data to it.
935 * erc-bbdb.el: Update copyright years.
936 (erc-bbdb-whois): Remove overexuberant comment.
938 * erc-button.el: Require erc-fill, since we make liberal use of
941 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
942 functions, the latter of which provides an `assert' equivalent.
943 (erc-remove-if-not): New function that provides a simple
944 implementation of `remove-if-not'.
945 (erc-gensym): New function that provides a simple implementation
947 (erc-delete-if): New function that provides a simple
948 implementation of `delete-if'.
949 (erc-member-if): New function that provides a simple
950 implementation of `member-if'.
951 (field-end): Remove this, since it is unused, and later versions
952 of XEmacs have this function already.
953 (erc-function-arglist): Moved here from erc.el.
954 (erc-delete-dups): New compatibility function for dealing with
956 (erc-subseq): New function copied from cl-extra.el.
958 * erc-dcc.el: Require pcomplete during compilation to avoid
960 (erc-unpack-int, erc-dcc-send-filter)
961 (erc-dcc-get-filter): Use erc-assert instead of assert.
962 (pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
965 * erc-match.el (erc-log-matches): Fix compiler warning.
967 * erc-nicklist.el: Update copyright notice.
968 (erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
969 (erc-nicklist-bitlbee-connected-p): Remove.
970 (erc-nicklist-insert-medium-name-or-icon): Accept channel
971 argument. Use it to determine whether we are on bitlbee. Now
972 that bitlbee names its channel "&bitlbee", this is trivial.
973 (erc-nicklist-insert-contents): Pass channel as specified above.
974 Don't try to determine whether we are on bitlbee here.
975 (erc-nicklist-channel-users-info): Use erc-remove-if-not instead
977 (erc-nicklist-search-for-nick): Use erc-member-if instead of
980 * erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
981 partially-evaluated lambda expression instead of `delete' and
984 * erc-track.el: Use erc-assert.
985 (erc-track-modified-channels): Remove use of `return'.
986 (erc-track-modified-channels): Use `cadr' instead of `second',
987 since otherwise we would need yet another eval-when-compile line.
989 2006-01-19 Michael Olson <mwolson@gnu.org>
991 * erc-backend.el (erc-process-sentinel-1): Remove attempt to
992 detect SIGPIPE, since it doesn't work.
994 2006-01-10 Diane Murray <disumu@x3y2z1.net>
996 * erc-spelling.el: Updated copyright years.
997 (define-erc-module): Enable/disable `flyspell-mode' for all open
999 (erc-spelling-dictionaries): Reworded customize description.
1001 * erc.el (erc-command-symbol): New function.
1002 (erc-extract-command-from-line): Use `erc-command-symbol'. This
1003 fixes a bug where "Symbol's function definition is void:
1004 erc-cmd-LIST" would be shown after typing /list at the prompt (the
1005 command was interned because erc-menu.el uses it and is enabled by
1006 default whereas erc-list.el is not).
1008 * NEWS: Started a list of renamed variables.
1010 * erc.el: Reworded the message sent when defining variable
1012 (erc-command-indicator-face): Doc fix.
1013 (erc-modules): Enable the match module by default which makes
1014 current nickname highlighting on as the default.
1016 * erc-button.el: Updated copyright years.
1017 (erc-button): New face.
1018 (erc-button-face): Use `erc-button'.
1019 (erc-button-nickname-face): New customizable variable.
1020 (erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
1021 new argument to `erc-button-add-button'.
1022 (erc-button-add-button): Doc fix. Added new argument to function
1023 definition, NICK-P. If it's a nickname, use
1024 `erc-button-nickname-face', otherwise use `erc-button-face'. This
1025 makes channel tracking and buttons work better together when
1026 `erc-button-buttonize-nicks' is enabled, since there is a nickname
1027 on just about every line.
1029 * erc-track.el (erc-track-use-faces): Doc fix.
1030 (erc-track-faces-priority-list): Added `erc-button' to list.
1031 (erc-track-priority-faces-only): Doc fix.
1033 2006-01-09 Diane Murray <disumu@x3y2z1.net>
1035 * erc-button.el (erc-button-url-regexp): Use `concat' so the
1036 regexp is not one long line.
1037 (erc-button-alist): Fixed so that customizing works correctly.
1038 Reorganized. Removed lambda functions with more than two lines.
1040 (erc-button-describe-symbol, erc-button-beats-to-time): New
1041 functions. Moved from `erc-button-alist'.
1043 2006-01-07 Michael Olson <mwolson@gnu.org>
1045 * erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
1046 process if a SIGPIPE occurs. This happens when a new message
1047 comes in at the same time a /quit is requested.
1048 (erc-process-sentinel): Use string-match rather than string= to do
1049 these comparisons. Matching literal newlines makes me nervous.
1051 * erc-track.el (erc-track-remove-from-mode-line): Handle case
1052 where global-mode-string is not a list. Emacs22 permits this.
1055 See ChangeLog.05 for earlier changes.
1057 Copyright (C) 2006 Free Software Foundation, Inc.
1058 Copying and distribution of this file, with or without modification,
1059 are permitted provided the copyright notice and this notice are preserved.
1063 ;; add-log-time-zone-rule: t
1066 ;; arch-tag: 865a75f6-2bcb-46df-bf0c-b514dadf688a