1 2006-12-13 Leo <sdl.web@gmail.com> (tiny change)
3 * erc.el (erc-iswitchb): Temporarily enable iswitchb mode if it
4 isn't active already, instead of leaving it on.
6 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
8 * erc-ezbounce.el (erc-ezb-init-session-list): Doc fix.
10 2006-12-08 Michael Olson <mwolson@gnu.org>
12 * erc.el: Re-evaluate contributions from a contributor, and found
13 them under 15 lines of non-obvious code, so it is safe to remove
15 (erc-modules): Remove list module.
17 * erc-list.el: Remove, since a contributor who has not completed
18 their assignment has contributed significantly more than 15 lines
21 2006-11-28 Juanma Barranquero <lekktu@gmail.com>
23 * erc.el (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Simplify.
24 (erc-prompt-for-channel-key, erc-ignore-reply-list, erc-send-post-hook)
25 (erc-active-buffer, erc-join-buffer, erc-frame-alist, erc-with-buffer)
26 (erc-modules, erc-display-message-highlight, erc-process-input-line)
27 (erc-cmd-HELP, erc-server-hooks, erc-echo-notice-in-user-buffers)
28 (erc-format-my-nick, erc-echo-notice-in-user-and-target-buffers)
29 (erc-echo-notice-in-first-user-buffer, erc-connection-established)
30 (erc-update-user-nick, erc-update-channel-member, erc-highlight-notice)
31 (erc-command-symbol, erc-add-query, erc-process-script-line)
32 (erc-determine-parameters, erc-client-info, erc-popup-input-buffer):
33 (erc-script-echo): Fix typos in docstrings.
34 (erc-channel-user-op-p, erc-channel-user-voice-p, erc-startup-file-list)
35 (define-erc-module, erc-once-with-server-event)
36 (erc-once-with-server-event-global, erc-debug-irc-protocol)
37 (erc-log-irc-protocol, erc-cmd-LOAD, erc-update-user)
38 (erc-update-current-channel-member, erc-load-script):
39 (erc-mode-line-away-status-format): Doc fixes.
41 2006-11-20 Andrea Russo <rastandy@inventati.org>
43 * erc-dcc.el (erc-dcc-chat-setup): Initialize `erc-input-marker'
44 before calling `erc-display-prompt'.
46 2006-11-24 Juanma Barranquero <lekktu@gmail.com>
48 * erc.el (erc-after-connect, erc-open-ssl-stream)
49 (erc-display-line-1, erc-display-line):
50 * erc-backend.el (005): Fix space/tab mixup in docstrings.
52 2006-11-20 Michael Olson <mwolson@gnu.org>
54 * erc.el (erc-version-string): Call this Version 5.2 stable
55 pre-release, since it diverges slightly from our 5.2 branch, in
56 that unstable features are not included.
57 (erc-update-modules): Display better error message when module not
60 2006-11-12 Michael Olson <mwolson@gnu.org>
62 * erc-log.el: Save all log buffers when Emacs exits, in case
63 someone ignores the warning about open processes. Remove the
64 advice code in the commentary.
65 (erc-save-query-buffers): Docfix.
66 (erc-log-save-all-buffers): New function that saves all ERC
68 (erc-current-logfile): Fix bug in filename selection, where the
69 current buffer was erroneously being preferred over the given
72 2006-11-08 Michael Olson <mwolson@gnu.org>
74 * erc.el (erc-string-to-port): Avoid error when a numerical port
75 is passed. Thanks to Zekeriya KOÇ for the report.
77 2006-11-08 Łukasz Demianiuk <ldemianiuk@gmail.com> (tiny change)
79 * erc.el (erc-header-line): Fix typo.
81 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
83 * erc-dcc.el (erc-dcc-send-file): Fix typo in error message.
85 * erc.el (read-passwd):
86 * erc-autoaway.el (erc-autoaway-reestablish-idletimer):
87 * erc-truncate.el (truncate): Fix typo in docstring.
89 2006-10-21 Michael Olson <mwolson@gnu.org>
91 * erc.el (erc-iswitchb): Fix bug when hitting C-c C-b without
92 first loading iswitchb. Thanks to Leo for the report.
94 2006-10-10 Michael Olson <mwolson@gnu.org>
96 * erc.el (erc-default-port): Make the default be 6667 instead of
97 ircd. since Mac OS X apparently has problems with looking up that
100 * erc-backend.el (353): Receive names after displaying the initial
101 message, instead of before.
103 2006-10-05 Diane Murray <disumu@x3y2z1.net>
105 * erc.el (erc-my-nick-face): New face.
106 (erc): Use FULL-NAME argument, not `erc-user-full-name'. This
107 fixes a bug where the :full-name argument passed to the function
109 (erc-format-my-nick): Use `erc-my-nick-face'. This should help
110 make it easier to find messages you sent in conversations when
111 `erc-show-my-nick' is non-nil.
112 (erc-compute-server): Doc fix.
114 2006-10-01 John J Foerch <jjfoerch@earthlink.net>
116 * erc-stamp.el (erc-insert-timestamp-right): Exclude the newline
117 from the erc-timestamp field.
119 2006-09-11 Michael Olson <mwolson@gnu.org>
121 * erc-nicklist.el (erc-nicklist-insert-contents): Add missing
122 parenthesis. Thanks to Stephan Stahl for the report.
124 2006-09-10 Eric Hanchrow <offby1@blarg.net>
126 * erc.el (erc-cmd-IGNORE): Prompt user if this might be a regexp
127 instead of a single user.
129 2006-09-10 Michael Olson <mwolson@gnu.org>
131 * erc.el (erc-generate-new-buffer-name): If this is a server
132 buffer and a process exists already, create a new buffer.
133 (erc-open): If the IRC session was continued, restore the old
134 point. Thanks to Stephan Stahl for the report.
135 (erc-member-ignore-case): Coding style tweak.
136 (erc-cmd-UNIGNORE): Quote the user before comparison. If we don't
137 find the user listed verbatim, try to match them against the list
138 using string-match. In this case, prompt as to whether the regexp
140 (erc-ignored-user-p): Remove CL-ism.
142 * erc-autoaway.el (erc-autoaway-possibly-set-away): Check to see
143 whether we are already away.
145 * erc-menu.el: Fix potential compiler warning.
147 2006-09-07 Diane Murray <disumu@x3y2z1.net>
149 * erc.el: Updated Commentary and URL.
150 (erc-iswitchb, erc-display-line, erc-set-modes, erc-update-modes)
151 (erc-arrange-session-in-multiple-windows): No need to check if
152 `erc-server-process' is bound.
153 (erc-server-buffer-live-p): Doc fix.
154 (erc-part-from-channel): Don't use any initial contents at prompt.
155 (erc-format-nick, erc-format-@nick): Doc fix. Use `when'.
156 (s367): Fixed to support only banmask and channel which is the
157 standard. Also, there's no reason to add a message to each banned
158 user entry trying to persuade the user to use /banlist instead of
159 /mode #channel +b. That part of the message was a little
161 (s367-set-by): New catalog entry. The user who set the ban and
162 the time of ban seem to be specific to only certain servers such
165 * erc-autoaway.el (erc-autoaway-idletimer): Doc fix.
167 * erc-backend.el (erc-server-process-alive): No need to check if
168 `erc-server-process' is bound.
169 (367): Use s367 or s367-set-by where appropriate.
171 * erc-compat.el: Fixed URL.
173 * erc-dcc.el: Updated copyright years. Added Usage section.
174 Changed supported Emacs version number from 21.3.50 to 22 in
177 * erc-ibuffer.el (erc-server-name, erc-target, erc-away): No need
178 to check if `erc-server-process' is bound.
180 * erc-nicklist.el: Added to the Commentary section an explanation
181 that `erc-nicklist-quit' should be called from within the nicklist
182 buffer. Set file coding to utf-8 so a contributor's name is
184 (erc-nicklist-icons-directory): Use customize type directory
186 (erc-nicklist-insert-contents): Set bbdb-nick to an empty string
187 if it wasn't found. This fixes a bug where an error would occur
188 when using `string=' on bbdb-nick if it was nil.
190 * erc-replace.el: Removed URL from file information since it
193 * erc-sound.el: Updated copyright years. Fixed Commentary and
195 (define-erc-module): Add and remove `erc-ctcp-query-SOUND' to
196 `erc-ctcp-query-SOUND-hook' here. Removed the keybinding
198 (erc-play-sound, erc-default-sound, erc-cmd-SOUND)
199 (erc-ctcp-query-SOUND): Doc fix.
200 (erc-play-command): Removed, not necessary anymore.
201 (erc-ctcp-query-SOUND-hook): Set to nil as default. Moved up
202 higher in code, added docstring.
203 (erc-play-sound): Use `play-sound-file'. It exists in GNU Emacs
204 as well since version 21 or earlier. Removed commented-out older
207 * NEWS: Fixed formatting, added channel tracking change.
209 2006-09-03 Diane Murray <disumu@x3y2z1.net>
211 * erc.el: M-x erc RET can now be used to start ERC.
212 (erc-open): Renamed from `erc'.
213 (erc-before-connect): Change erc-select to erc.
214 (erc): Renamed from `erc-select'. Use `erc-open'.
215 (erc-select): Defined as alias of `erc'.
216 (erc-ssl): Renamed from `erc-select-ssl'. Use `erc'.
217 (erc-select-ssl): Defined as alias of `erc-ssl'.
218 (erc-cmd-SERVER): Use `erc'.
219 (erc-query, erc-handle-irc-url): Use `erc-open'.
221 * erc-backend.el (erc-process-sentinel-1, JOIN): Use `erc-open'.
223 * erc-menu.el (erc-menu-definition): Use `erc'.
225 * erc-networks.el: Updated copyright years.
226 (erc-server-select): Use keyword arguments when calling `erc'.
228 * erc.texi (Getting Started, Connecting): Changed erc-select to
231 * NEWS: Added note about these changes.
233 2006-08-21 Diane Murray <disumu@x3y2z1.net>
235 * erc-track.el (erc-track-mode-line-mouse-face): New variable.
236 (erc-make-mode-line-buffer-name): Add help-echo and mouse-face
237 properties to channel name.
239 2006-08-14 Diane Murray <disumu@x3y2z1.net>
241 * erc-menu.el: Updated copyright years. Removed EmacsWiki URL.
242 (erc-menu-definition): Name the menu "ERC" instead of "IRC" to
243 avoid confusion with rcirc and other clients.
245 2006-08-13 Romain Francoise <romain@orebokech.com>
247 * erc-match.el (erc-log-matches-make-buffer): End `y-or-n-p'
250 2006-08-11 Michael Olson <mwolson@gnu.org>
252 * erc-fill.el (erc-fill): Skip any initial empty lines so that we
253 avoid errors when inserting disconnect messages and other messages
254 that begin with newlines.
256 2006-08-07 Michael Olson <mwolson@gnu.org>
258 * erc-backend.el (erc-process-sentinel-1): Use erc-display-message
259 in several places instead of inserting text.
260 (erc-process-sentinel): Move to the input-marker before removing
263 * erc.el (erc-port): Fix customization options.
264 (erc-display-message): Handle null type explicitly. Previously,
265 this was relying on a chance side-effect. Cosmetic indentation
267 (english): Add 'finished and 'terminated entries to the catalog.
268 Add initial and terminal newlines to 'disconnected and
269 'disconnected-noreconnect entries. Avoid long lines.
271 2006-08-06 Michael Olson <mwolson@gnu.org>
273 * erc-backend.el (erc-server-send-queue): Update from Circe
274 version of this function.
276 * erc.el (erc-arrange-session-in-multiple-windows): Fix bug with
278 (erc-select-startup-file): Fix bug introduced by recent change.
280 2006-08-05 Michael Olson <mwolson@gnu.org>
282 * erc-log.el (erc-log-standardize-name): New function that returns
283 a filename that is safe for use for a log file.
284 (erc-current-logfile): Use it.
286 * erc.el (erc-startup-file-list): Search in ~/.emacs.d first,
287 since that is a fairly standard directory.
288 (erc-select-startup-file): Re-write to use
289 convert-standard-filename, which will ensure that MS-DOS systems
290 look for the _ercrc.el file.
292 2006-08-02 Michael Olson <mwolson@gnu.org>
294 * erc.el (erc-version-string): Release ERC 5.1.4.
296 * Makefile, NEWS, erc.texi: Update for the 5.1.4 release.
298 * erc.el (erc-active-buffer): Fix bug that caused messages to go
299 to the wrong buffer. Thanks to offby1 for the report.
301 * erc-backend.el (erc-coding-system-for-target): Handle case where
302 target is nil. Thanks to Kai Fan for the patch.
304 2006-07-29 Michael Olson <mwolson@gnu.org>
306 * erc-log.el (erc-log-setup-logging): Don't offer to save the
307 buffer. It will be saved automatically killed. Thanks to Johan
308 Bockgård and Tassilo Horn for pointing this out.
310 2006-07-27 Johan Bockgård <bojohan@users.sourceforge.net>
312 * erc.el (define-erc-module): Make find-function and find-variable
313 find the names constructed by `define-erc-module' in Emacs 22.
315 2006-07-14 Michael Olson <mwolson@gnu.org>
317 * erc-log.el (log): Make sure that we enable logging on
318 already-opened buffers as well, in case the user toggles this
319 module after loading ERC. Also be sure to remove logging ability
320 from all ERC buffers when the module is disabled.
321 (erc-log-setup-logging): Set buffer-file-name to nil rather than
322 the empty string. This should fix some errors that occur when
323 quitting Emacs without first killing all ERC buffers.
324 (erc-log-disable-logging): New function that removes the logging
325 ability from the current buffer.
327 * erc-spelling.el (spelling): Use dolist and buffer-live-p.
329 2006-07-12 Michael Olson <mwolson@gnu.org>
331 * erc-match.el (erc-log-matches): Bind inhibit-read-only rather
332 than call toggle-read-only.
334 * erc.el (erc-handle-irc-url): Move here from erc-goodies.el and
337 2006-07-09 Michael Olson <mwolson@gnu.org>
339 * erc.el (erc-version-string): Release ERC 5.1.3.
341 * erc.texi: Update for the 5.1.3 release.
343 * erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning
344 from being set automatically away and current buffer is not an ERC
347 * erc-identd.el: Fix compiler error.
349 * erc.texi (Development): Use @subheading instead of @subsection.
350 (Advanced Usage): Add menu.
351 (Connecting): Fully document how to connect to an IRC server.
352 (Options, Tips and Tricks, Sample Configuration): New unwritten
355 * erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier)
356 (erc-user-full-name, erc-password): Docfixes and customization
358 (erc-try-new-nick-p): Rename from
359 `erc-manual-set-nick-on-bad-nick-p' and invert meaning.
360 (erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length
361 of `erc-nick-uniquifier', in case someone wants multiple
363 (erc-compute-server, erc-compute-nick, erc-compute-full-name)
364 (erc-compute-port): Docfixes.
366 * erc-log.el (log): Move all add-hook calls here, rather than
367 executing them immediately, and also cause them to be un-hooked
368 when the module is removed.
369 (erc-save-buffer-on-part): Move next to
370 `erc-save-queries-on-quit'.
371 (erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t.
372 (erc-log-write-after-send, erc-log-write-after-insert): Default to
373 nil. This makes things fast, but reasonably failsafe, by default.
375 2006-07-08 Michael Olson <mwolson@gnu.org>
377 * erc-log.el (erc-log-insert-log-on-open): Make this nil by
378 default, since most IRC clients don't do this.
379 (erc-log-write-after-send): New option that determines whether the
380 log file will be written to after every sent message.
381 (erc-log-write-after-insert): New option that determines whether
382 the log file will be written to when new text is added to a logged
384 (log): Use the aforementioned options.
386 * erc.texi (Modules): Document the "completion" module.
388 * erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't
389 have a nil element in the list when ignore-self is non-nil.
391 2006-07-05 Michael Olson <mwolson@gnu.org>
393 * erc.el (erc-modules): Add the `page' module to the list.
395 * erc.texi (Modules): Add entries for `list' and `page' modules.
396 Change "spell" to "spelling".
397 (History): Use past tense throughout.
399 2006-07-02 Michael Olson <mwolson@gnu.org>
401 * erc-backend.el (erc-call-hooks): Fix (stringp nil) error that
402 can happen when doing /PART.
404 * erc.el (erc-quit-reason-various-alist)
405 (erc-part-reason-various-alist): In the example, use "^$" as an
406 example, since "" matches anything.
407 (erc-quit-reason-various, erc-part-reason-various): If no argument
408 is given, and no matches are found, use our default reason instead
411 2006-06-30 Michael Olson <mwolson@gnu.org>
413 * erc.texi (Modules): Mention identd.
414 (Releases): Update mailing list address and download location.
415 (Development): Refactor. Provide updated directions for Arch.
417 (Keystroke Summary): Typo fix. Use more Texinfo syntax.
418 (Getting Started): Give simpler example. We do not need to
419 explicitly load every module.
422 * erc.el (erc-version-modules): Remove, since we do not use this
424 (erc-latest-version, erc-ediff-latest-version): Remove, since this
425 was only useful back when ERC consisted of one file.
426 (erc-modules): Add line for identd.
427 (erc-get-channel-mode-from-keypress): Typo fix.
429 * erc-imenu.el: Remove unnecessary lines in header.
431 * erc-goodies.el (erc-handle-irc-url): Docfix.
433 * erc-identd.el: Define an ERC module for this.
434 (erc-identd-start): Don't create a process buffer if possible.
435 Otherwise, use conventional hidden names for process buffers.
437 2006-06-29 Michael Olson <mwolson@gnu.org>
439 * erc-backend.el (erc-coding-system-for-target): Match
440 case-insensitively. Use a pattern match instead of `assoc', as
441 per the documentation for `erc-encoding-coding-alist'.
443 * erc-track.el (erc-track-shorten-aggressively): Fix typo.
445 2006-06-27 Michael Olson <mwolson@gnu.org>
447 * erc.el: Update maintainer information and URLs.
449 2006-06-14 Michael Olson <mwolson@gnu.org>
451 * erc.el (erc-active-buffer): If the active buffer has been
452 deleted, default to the server buffer.
453 (erc-toggle-flood-control): When the user hits C-c C-f, make flood
454 control really toggle, not unconditionally turn off.
456 2006-06-12 Michael Olson <mwolson@gnu.org>
458 * NEWS: Add items since the 5.1.2 release.
460 * erc-autoaway.el (erc-autoaway-caused-away): New variable that
461 indicates whether the current away status was caused by this
463 (erc-autoaway-set-back): Only set back if this module set the user
465 (erc-autoaway-set-away): Update `erc-autoaway-caused-away'.
466 (erc-autoaway-reset-indicators): New function that resets some
467 indicators when the user is no longer away.
468 (autoaway): Add the above function to the 305 hook.
470 2006-06-05 Romain Francoise <romain@orebokech.com>
472 * erc.texi (History): Fix various typos.
474 2006-06-04 Michael Olson <mwolson@gnu.org>
476 * erc-autoaway.el (erc-autoaway-idle-method): Move after the
477 definition of the autoaway module.
478 (autoaway): Don't do anything if erc-autoaway-idle-method is
479 unbound. This prevents an error on startup.
481 2006-06-03 Michael Olson <mwolson@gnu.org>
483 * erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch.
484 (erc-autoaway-idle-method): Renamed from
485 `erc-autoaway-use-emacs-idle'. We have more than two choices for
486 how to do this, so it's best to make this take symbol values.
487 Improve documentation. Remove warning against Emacs idle-time;
488 the point is moot now that we get user idle time via a different
489 method. Make sure we disable and re-enable the module when
491 (autoaway): Conditionalize on the above option. If using the idle
492 timer or user idle methods, don't add anything to the
493 send-completed or server-001 hooks, since it is unnecessary.
494 (erc-autoaway-reestablish-idletimer, erc-autoaway-message):
496 (erc-autoaway-idle-seconds): Use erc-autoaway-idle-method.
497 (erc-autoaway-reset-idle-irc): Renamed from
498 `erc-autoaway-reset-idle'. Don't pass line to
499 `erc-autoaway-set-away', since it is not used.
500 (erc-autoaway-reset-idle-user): New function that resets the idle
501 state for user idle time.
502 (erc-autoaway-set-back): Remove line argument, since it is not
505 2006-06-01 Michael Olson <mwolson@gnu.org>
507 * erc.el (erc-buffer-filter): Make sure all buffers returned from
510 2006-05-01 Edward O'Connor <ted@oconnor.cx>
512 * erc-goodies.el (erc-handle-irc-url): New function, suitable as
513 a value for `url-irc-function'.
515 2006-04-18 Diane Murray <disumu@x3y2z1.net>
517 * erc-pcomplete.el (pcomplete-erc-nicks): Added new optional
518 argument IGNORE-SELF. If this is non-nil, don't return the user's
519 current nickname. Doc fix.
520 (pcomplete/erc-mode/complete-command): Don't complete the current
523 2006-04-05 Diane Murray <disumu@x3y2z1.net>
525 * erc.el (erc-cmd-SV): Removed the exclamation point. Show the
526 build date as it's shown in `emacs-version'.
528 * erc-capab.el (erc-capab-identify-add-prefix): Insert the prefix
529 with the same face property as the previous character.
531 2006-04-02 Michael Olson <mwolson@gnu.org>
533 * erc-backend.el, erc-ezbounce.el, erc-join.el, erc-netsplit.el,
534 erc.el: Make sure to include a newline inside of negated classes,
535 so that a newline is not matched.
537 2006-04-01 Michael Olson <mwolson@gnu.org>
539 * erc-backend.el (erc-server-connect-function): Don't try to
540 detect the existence of the `open-network-stream-nowait' function,
541 since I can't find it in Emacs21, XEmacs21, or Emacs22.
543 2006-03-26 Michael Olson <mwolson@gnu.org>
545 * erc.el (erc-header-line): New face that will be used to colorize
546 the text of the header-line, provided that
547 `erc-header-line-face-method' is non-nil.
548 (erc-prompt-face): Fix formatting.
549 (erc-header-line-face-method): New option that determines the
550 method used for colorizing header-line text. This may be a
551 function, nil, or non-nil.
552 (erc-update-mode-line-buffer): Use the aforementioned option and
553 face to colorize the header-line text, if that is what the user
555 (erc-send-input): If flood control is not activated, don't split
558 2006-03-25 Michael Olson <mwolson@gnu.org>
560 * erc.el (erc-cmd-QUOTE): Install patch from Aravind Gottipati
561 that fixes the case where there is no leading whitespace. Only
562 remove the first space character, though.
564 * erc-identd.el (erc-identd-start): Fix a bug by making sure that
565 erc-identd-process is set properly.
566 (erc-identd-start, erc-identd-stop): Add autoload cookies.
567 (erc-identd-start): Pass :host parameter so this works with Emacs
570 2006-03-09 Diane Murray <disumu@x3y2z1.net>
572 * erc-button.el (erc-button-keymap): Use <backtab> rather than
573 <C-tab> for `erc-button-previous' as it is a more standard key
574 binding for this type of function.
576 2006-02-19 Michael Olson <mwolson@gnu.org>
578 * erc.el (erc-version-string): Release ERC 5.1.2.
580 2006-02-19 Diane Murray <disumu@x3y2z1.net>
582 * erc-button.el (erc-button-keymap): Bind `erc-button-previous' to
584 (erc-button-previous): New function.
586 2006-02-15 Michael Olson <mwolson@gnu.org>
588 * NEWS: Add category for ERC 5.2.
590 * erc.el (erc): Move to the end of the buffer when a continued
591 session is detected. Thanks to e1f and indio for the report and
592 testing a potential fix.
594 2006-02-14 Michael Olson <mwolson@gnu.org>
596 * debian/changelog: Prepare a new Debian package.
598 * Makefile (debprepare): New rule that creates an ERC snapshot
599 directory for use in both new Debian releases and revisions for
601 (debrelease, debrevision-mwolson): Use debprepare.
603 * NEWS: Bring up-to-date.
605 * erc-stamp.el (erc-insert-timestamp-right): For now, put
606 timestamps before rather than after erc-fill-column when
607 erc-timestamp-right-column is nil. This way we won't surprise
608 anyone unpleasantly, or so it is hoped.
610 2006-02-13 Michael Olson <mwolson@gnu.org>
612 * erc-dcc.el: Use (eval-when-compile (require 'cl)).
614 2006-02-12 Michael Olson <mwolson@gnu.org>
616 * erc-autoaway.el, erc-dcc.el, erc-ezbounce.el, erc-fill.el
617 * erc-goodies.el, erc-hecomplete.el, erc-ibuffer.el, erc-identd.el
618 * erc-imenu.el, erc-join.el, erc-lang.el, erc-list.el, erc-log.el
619 * erc-match.el, erc-menu.el, erc-netsplit.el, erc-networks.el
620 * erc-notify.el, erc-page.el, erc-pcomplete.el, erc-replace.el
621 * erc-ring.el, erc-services.el, erc-sound.el, erc-speedbar.el
622 * erc-spelling.el, erc-track.el, erc-truncate.el, erc-xdcc.el:
623 Add 2006 to copyright years, to comply with the changed guidelines.
625 2006-02-11 Michael Olson <mwolson@gnu.org>
627 * erc.el (erc-update-modules): Make some requirements shorter, so
628 that it's easier to see why they are needed.
630 * erc-stamp.el (erc-timestamp-use-align-to): Renamed from
631 `erc-timestamp-right-align-by-pixel'. Set the default based on
632 whether we are in Emacs 22, and using X. Improve documentation.
633 (erc-insert-aligned): Remove calculation of offset, since
634 :align-to pos works after all. Unlike the previous solution, this
635 one works when erc-stamp.el is compiled.
636 (erc-insert-timestamp-right): Don't add length of string, and then
637 later remove its displayed width. This puts timestamps after
638 erc-fill-column when erc-timestamp-right-column is nil, rather
639 than before it. It also fixes a subtle bug. Remove use of
640 `current-window', since there is no variable by that name in
641 Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
642 `erc-fill-column' is non-nil before using it.
644 2006-02-11 Diane Murray <disumu@x3y2z1.net>
646 * erc-list.el: Define `list' module which sets the alias
647 `erc-cmd-LIST' to `erc-list-channels' when enabled and
648 `erc-list-channels-simple' when disabled.
649 (erc-list-channels): Was `erc-cmd-LIST', renamed.
650 (erc-list-channels-simple): New function.
652 * erc.el (erc-modules): Added `list' to enabled modules. Moved
653 customization options left in source code.
655 * erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
657 * erc-spelling.el (define-erc-module): Make sure there's a buffer
658 before calling `with-current-buffer'.
660 2006-02-10 Michael Olson <mwolson@gnu.org>
662 * Makefile (debbuild): Split from debrelease.
663 (debrevision-mwolson): New rule that causes a Debian revision to
666 * erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
668 (erc-modules): Change use of 'pcomplete to 'completion.
670 2006-02-09 Diane Murray <disumu@x3y2z1.net>
672 * erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
673 (erc-get-parsed-vector-type): Moved here from erc-match.el.
675 * erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
676 (erc-get-parsed-vector-type): Moved these functions to erc.el
677 since they can be useful outside of the text matching module.
679 * erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
682 2006-02-07 Michael Olson <mwolson@gnu.org>
684 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
685 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
686 the filenames in DOS.
688 * erc-goodies.el: Comment fix.
690 * erc-hecomplete.el: Rename from erc-complete.el. Update
691 commentary. Use define-erc-module so that it's possible to
693 (erc-hecomplete): Rename function from `erc-complete'.
694 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
696 * erc-join.el: Rename from erc-autojoin.el.
698 * erc-networks.el: Rename from erc-nets.el.
700 * erc-services.el: Rename from erc-nickserv.el.
702 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
703 the simpler `indent-to' function when
704 `erc-timestamp-right-align-by-pixel' is nil.
705 (erc-insert-timestamp-right): If the timestamp goes on the
706 following line, don't add timestamp properties to the spaces in
709 * erc.el (erc-migrate-modules): New function that eases migration
711 (erc-modules): Call erc-migrate-modules in the :get accessor.
712 (erc-modules, erc-update-modules): Update for new modules names.
713 (erc-cmd-SMV): Remove, since this does not give useful output due
714 to the version strings being removed from ERC modules.
716 2006-02-05 Michael Olson <mwolson@gnu.org>
718 * erc-spelling.el (erc-spelling-init): If
719 `erc-spelling-dictionaries' is nil, do not set
720 ispell-local-dictionary. Before, it was being set to nil, which
721 was causing a long delay while the ispell process restarted.
722 (erc-spelling-unhighlight-word): New function that removes
723 flyspell properties from a spell-checked word.
724 (erc-spelling-flyspell-verify): Don't spell-check nicks or words
725 that have '/' before them.
727 2006-02-04 Michael Olson <mwolson@gnu.org>
729 * erc-autojoin.el: Use (eval-when-compile (require 'cl)).
731 * erc-complete.el (erc-nick-completion-exclude-myself)
732 (erc-try-complete-nick): Use better function for getting list of
735 * erc-goodies.el: Docfix.
737 * erc-stamp.el: Use new arch tagline, since the other one wasn't
738 being treated properly.
740 * erc.el (erc-version-string): Release ERC 5.1.1.
742 2006-02-03 Zhang Wei <id.brep@gmail.com>
744 * erc.el (erc-version-string): Don't hard-code Emacs version.
745 (erc-version): Use emacs-version.
747 2006-01-31 Michael Olson <mwolson@gnu.org>
749 * erc-stamp.el: Update copyright years.
751 2006-01-30 Simon Josefsson <jas@extundo.com>
753 * erc.el (erc-open-ssl-stream): Use tls.el.
755 2006-01-30 Michael Olson <mwolson@gnu.org>
757 * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
758 that determines whether to use pixel values to align right
759 timestamps. The default is not to do so, since it only works with
760 Emacs22 on X, and even then some people have trouble.
761 (erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
763 2006-01-29 Michael Olson <mwolson@gnu.org>
765 * ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
766 ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
767 earlier changes. Use utf-8 encoding. Fix some accent typos.
769 * erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
771 (erc-speedbar-goto-buffer): Fix compiler warning.
773 * erc-ibuffer.el: Use `define-ibuffer-filter' instead of
774 `ibuffer-degine-limiter'. Use `define-ibuffer-column' instead of
775 `ibuffer-define-column'. Require 'ibuf-ext so that the macros
776 work without compiler warnings.
778 * man/erc.texi (Obtaining ERC, Installation): Note that these
779 sections may be skipped if using the version of ERC that comes
782 2006-01-29 Edward O'Connor <ted@oconnor.cx>
784 * erc-viper.el: Remove. Now that ERC is included in Emacs, these
785 work-arounds live in Viper itself.
787 2006-01-28 Michael Olson <mwolson@gnu.org>
789 * erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
792 * erc-*.el: Space out copyright years like the rest of Emacs. Use
793 the Emacs copyright statement. Refer to ourselves as ERC rather
794 than "Emacs IRC Client", since there are now several IRC clients
797 * erc-compat.el (erc-emacs-build-time): Define as a variable.
799 * erc-log.el (erc-log-setup-logging): Use write-file-functions.
801 * erc-ibuffer.el: Require 'erc.
803 * erc-stamp.el (erc-insert-aligned): Only use the special text
804 property when window-system is X.
806 * erc.texi: Adapt for inclusion in Emacs.
808 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
810 * erc.el (erc-format-message): More `cl' breakage; don't use
813 2006-01-27 Michael Olson <mwolson@gnu.org>
815 * debian/changelog: Update for new release.
817 * debian/control (Description): Update.
819 * debian/rules: Concatenate ChangeLog for 2005.
821 * Makefile (MISC): Include ChangeLog.2005 and erc.texi.
822 (debrelease, release): Copy images directory.
824 * NEWS: Spelling fixes. Add items for recent changes.
826 * erc.el (erc): Move call to erc-update-modules before the call to
827 erc-mode. This should fix a timestamp display issue.
828 (erc-version-string): Release ERC 5.1.
830 2006-01-26 Michael Olson <mwolson@gnu.org>
832 * erc-stamp.el (erc-insert-aligned): New function that inserts
833 text in an perfectly-aligned way relative to the right margin. It
834 only works well with Emacs22. A sane fallback is provided for
835 other versions of Emacs.
836 (erc-insert-timestamp-right): Use the new function.
838 2006-01-25 Edward O'Connor <ted@oconnor.cx>
840 * erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
841 before `erc-match-mode'.
843 * erc-match.el (match): Append `erc-match-message' to
844 `erc-insert-modify-hook'.
846 2006-01-25 Michael Olson <mwolson@gnu.org>
848 * FOR-RELEASE: Mark last release requirement as done.
850 * Makefile (realclean, distclean): Remove docs.
852 * erc.texi: Take care of all pre-5.1 items.
854 * erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
855 `process-send-string' in `condition-case' to avoid an error when
858 * erc-stamp.el (erc-insert-timestamp-right): Try to deal with
859 variable-width characters in the timestamp and on the same line.
860 The latter is a kludge, but it seems to work with most of the
861 input I've thrown at it so far. It's certainly better than going
862 past the end of line consistently when we have variable-width
863 characters on the same line. When `erc-timestamp-intangible' is
864 non-nil, add intangible properties to the whitespace as well, so
865 that hitting <end> does what you'd expect.
867 * erc.el (erc-flood-protect, erc-toggle-flood-control): Update
868 this to only use boolean values for `erc-flood-protect'. Update
870 (erc-cmd-QUIT): Set the active buffer to be the server buffer, so
871 that any QUIT-related messages go there.
872 (erc): Try to be more clever about re-using channel buffers when
873 automatically re-connecting. Thanks to e1f for noticing.
875 2006-01-23 Michael Olson <mwolson@gnu.org>
877 * ChangeLog.2005: Remove erroneous line.
879 * FOR-RELEASE: Make that the Makefile tweaking is complete.
880 (NEWS): Mark as done.
882 * Makefile (MANUAL): New option indicating the name of the manual.
883 (PREFIX, ELISPDIR, INFODIR): New options that specify the
884 directories to install lisp code and info manuals to. PREFIX is
885 used only by ELISPDIR and INFODIR.
886 (all): Call `lisp' and create the manual.
887 (lisp): Compile lisp code.
888 (%.info, %.html): New rules that make Info files and HTML files,
889 respectively, from a TexInfo source.
890 (doc): Create both the Info and HTML versions of the manual. This
891 is for the user -- we never call it automatically.
892 (install-info): Install Info files.
893 (install-bin): Install compiled and source Lisp files.
894 (todo): Remove, since it seems pointless.
898 * README: Add Installation instructions. Tweak layout.
900 * erc.texi: Work on some pre-5.1 items.
902 * erc-stamp.el, erc-track.el: Move some functions and options in
903 order to get rid of a few compiler warnings.
905 * erc.el (erc-modules): Enable readonly by default. This will
906 prevent new users from accidentally removing old messages, which
907 could be disconcerting. Also enable stamp by default, since
908 timestamps are a fairly standard feature among IRC clients.
910 * erc-button.el: Munge whitespace.
912 * erc-identd.el (erc-identd-start): Instead of throwing an error,
913 just try to use the obsolete function.
915 2006-01-22 Michael Olson <mwolson@gnu.org>
917 * erc-backend.el (erc-decode-string-from-target): Make sure that
918 we have a string as an argument. If not, coerce it to the empty
919 string. Hopefully, this will work painlessly around an edge case
920 related to quitting ERC around the same time a message comes in.
922 2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
924 * erc-track.el: Use `(eval-when-compile (require 'cl))' (for
926 (erc-find-parsed-property): Simplify.
927 (erc-track-get-active-buffer): Fix logic. Simplify.
928 (erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
930 * erc-speak.el: Doc fixes.
931 (erc-speak-region): `propertize' --> `erc-propertize'.
933 * erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
936 * erc-button.el (erc-button-add-button): Take erc-fill-prefix into
937 account when wrapping URLs.
939 * erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
941 * erc-backend.el (define-erc-response-handler): Doc fix.
943 2006-01-22 Michael Olson <mwolson@gnu.org>
945 * erc.el (erc-update-modules): Use `require' instead of `load',
946 but prevent it from causing errors, in order to preserve the
949 2006-01-21 Michael Olson <mwolson@gnu.org>
951 * FOR-RELEASE (Source): Mark cl task as done.
953 * Makefile (erc-auto.el): Call erc-generate-autoloads rather than
955 (erc-auto.el, %.elc): Don't show command, just its output.
957 * NEWS: Add items from 2005-01-01 to 2005-08-13.
959 * debian/copyright (Copyright): Update.
961 * erc-auto.in (erc-generate-autoloads): Rename from
964 * erc.el, erc-autoaway.el, erc-backend.el: Use
965 erc-server-process-alive instead of erc-process-alive.
967 * erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
968 erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
969 erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
970 Use (eval-when-compile (require 'cl)), so that compilation doesn't
973 * erc-fill.el, erc-truncate.el: Whitespace munging.
975 * erc.el: Update copyright notice. Remove eval-after-load code.
976 (erc-with-buffer): Docfix.
977 (erc-once-with-server-event, erc-once-with-server-event-global)
978 (erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
980 (erc-banlist-update): Use erc-delete-if instead of delete-if.
981 (erc): Call `erc-update-modules' here.
983 * erc-backend.el: Require 'erc-compat to minimize compiler
985 (erc-decode-parsed-server-response): Docfix.
986 (erc-server-process-alive): Move here from erc.el and rename from
988 (erc-server-send, erc-remove-channel-users): Make sure process is
989 alive before sending data to it.
991 * erc-bbdb.el: Update copyright years.
992 (erc-bbdb-whois): Remove overexuberant comment.
994 * erc-button.el: Require erc-fill, since we make liberal use of
997 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
998 functions, the latter of which provides an `assert' equivalent.
999 (erc-remove-if-not): New function that provides a simple
1000 implementation of `remove-if-not'.
1001 (erc-gensym): New function that provides a simple implementation
1003 (erc-delete-if): New function that provides a simple
1004 implementation of `delete-if'.
1005 (erc-member-if): New function that provides a simple
1006 implementation of `member-if'.
1007 (field-end): Remove this, since it is unused, and later versions
1008 of XEmacs have this function already.
1009 (erc-function-arglist): Moved here from erc.el.
1010 (erc-delete-dups): New compatibility function for dealing with
1012 (erc-subseq): New function copied from cl-extra.el.
1014 * erc-dcc.el: Require pcomplete during compilation to avoid
1016 (erc-unpack-int, erc-dcc-send-filter)
1017 (erc-dcc-get-filter): Use erc-assert instead of assert.
1018 (pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
1021 * erc-match.el (erc-log-matches): Fix compiler warning.
1023 * erc-nicklist.el: Update copyright notice.
1024 (erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
1025 (erc-nicklist-bitlbee-connected-p): Remove.
1026 (erc-nicklist-insert-medium-name-or-icon): Accept channel
1027 argument. Use it to determine whether we are on bitlbee. Now
1028 that bitlbee names its channel "&bitlbee", this is trivial.
1029 (erc-nicklist-insert-contents): Pass channel as specified above.
1030 Don't try to determine whether we are on bitlbee here.
1031 (erc-nicklist-channel-users-info): Use erc-remove-if-not instead
1033 (erc-nicklist-search-for-nick): Use erc-member-if instead of
1036 * erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
1037 partially-evaluated lambda expression instead of `delete' and
1040 * erc-track.el: Use erc-assert.
1041 (erc-track-modified-channels): Remove use of `return'.
1042 (erc-track-modified-channels): Use `cadr' instead of `second',
1043 since otherwise we would need yet another eval-when-compile line.
1045 2006-01-19 Michael Olson <mwolson@gnu.org>
1047 * erc-backend.el (erc-process-sentinel-1): Remove attempt to
1048 detect SIGPIPE, since it doesn't work.
1050 2006-01-10 Diane Murray <disumu@x3y2z1.net>
1052 * erc-spelling.el: Updated copyright years.
1053 (define-erc-module): Enable/disable `flyspell-mode' for all open
1054 ERC buffers as well.
1055 (erc-spelling-dictionaries): Reworded customize description.
1057 * erc.el (erc-command-symbol): New function.
1058 (erc-extract-command-from-line): Use `erc-command-symbol'. This
1059 fixes a bug where "Symbol's function definition is void:
1060 erc-cmd-LIST" would be shown after typing /list at the prompt (the
1061 command was interned because erc-menu.el uses it and is enabled by
1062 default whereas erc-list.el is not).
1064 * NEWS: Started a list of renamed variables.
1066 * erc.el: Reworded the message sent when defining variable
1068 (erc-command-indicator-face): Doc fix.
1069 (erc-modules): Enable the match module by default which makes
1070 current nickname highlighting on as the default.
1072 * erc-button.el: Updated copyright years.
1073 (erc-button): New face.
1074 (erc-button-face): Use `erc-button'.
1075 (erc-button-nickname-face): New customizable variable.
1076 (erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
1077 new argument to `erc-button-add-button'.
1078 (erc-button-add-button): Doc fix. Added new argument to function
1079 definition, NICK-P. If it's a nickname, use
1080 `erc-button-nickname-face', otherwise use `erc-button-face'. This
1081 makes channel tracking and buttons work better together when
1082 `erc-button-buttonize-nicks' is enabled, since there is a nickname
1083 on just about every line.
1085 * erc-track.el (erc-track-use-faces): Doc fix.
1086 (erc-track-faces-priority-list): Added `erc-button' to list.
1087 (erc-track-priority-faces-only): Doc fix.
1089 2006-01-09 Diane Murray <disumu@x3y2z1.net>
1091 * erc-button.el (erc-button-url-regexp): Use `concat' so the
1092 regexp is not one long line.
1093 (erc-button-alist): Fixed so that customizing works correctly.
1094 Reorganized. Removed lambda functions with more than two lines.
1096 (erc-button-describe-symbol, erc-button-beats-to-time): New
1097 functions. Moved from `erc-button-alist'.
1099 2006-01-07 Michael Olson <mwolson@gnu.org>
1101 * erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
1102 process if a SIGPIPE occurs. This happens when a new message
1103 comes in at the same time a /quit is requested.
1104 (erc-process-sentinel): Use string-match rather than string= to do
1105 these comparisons. Matching literal newlines makes me nervous.
1107 * erc-track.el (erc-track-remove-from-mode-line): Handle case
1108 where global-mode-string is not a list. Emacs22 permits this.
1111 See ChangeLog.05 for earlier changes.
1113 Copyright (C) 2006 Free Software Foundation, Inc.
1114 Copying and distribution of this file, with or without modification,
1115 are permitted provided the copyright notice and this notice are preserved.
1119 ;; add-log-time-zone-rule: t
1122 ;; arch-tag: 865a75f6-2bcb-46df-bf0c-b514dadf688a