1 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
3 * erc-dcc.el (erc-dcc-send-file): Fix typo in error message.
5 * erc.el (read-passwd):
6 * erc-autoaway.el (erc-autoaway-reestablish-idletimer):
7 * erc-truncate.el (truncate): Fix typo in docstring.
9 2006-08-13 Romain Francoise <romain@orebokech.com>
11 * erc-match.el (erc-log-matches-make-buffer): End `y-or-n-p'
14 2006-08-07 Michael Olson <mwolson@gnu.org>
16 * erc-backend.el (erc-process-sentinel-1): Use erc-display-message
17 in several places instead of inserting text.
18 (erc-process-sentinel): Move to the input-marker before removing
21 * erc.el (erc-port): Fix customization options.
22 (erc-display-message): Handle null type explicitly. Previously,
23 this was relying on a chance side-effect. Cosmetic indentation
25 (english): Add 'finished and 'terminated entries to the catalog.
26 Add initial and terminal newlines to 'disconnected and
27 'disconnected-noreconnect entries. Avoid long lines.
29 2006-08-06 Michael Olson <mwolson@gnu.org>
31 * erc.el (erc-arrange-session-in-multiple-windows): Fix bug with
33 (erc-select-startup-file): Fix bug introduced by recent change.
35 2006-08-05 Michael Olson <mwolson@gnu.org>
37 * erc-log.el (erc-log-standardize-name): New function that returns
38 a filename that is safe for use for a log file.
39 (erc-current-logfile): Use it.
41 * erc.el (erc-startup-file-list): Search in ~/.emacs.d first,
42 since that is a fairly standard directory.
43 (erc-select-startup-file): Re-write to use
44 convert-standard-filename, which will ensure that MS-DOS systems
45 look for the _ercrc.el file.
47 2006-08-02 Michael Olson <mwolson@gnu.org>
49 * erc.el (erc-version-string): Release ERC 5.1.4.
51 * Makefile, NEWS, erc.texi: Update for the 5.1.4 release.
53 * erc.el (erc-active-buffer): Fix bug that caused messages to go
54 to the wrong buffer. Thanks to offby1 for the report.
56 * erc-backend.el (erc-coding-system-for-target): Handle case where
57 target is nil. Thanks to Kai Fan for the patch.
59 2006-07-29 Michael Olson <mwolson@gnu.org>
61 * erc-log.el (erc-log-setup-logging): Don't offer to save the
62 buffer. It will be saved automatically killed. Thanks to Johan
63 Bockgård and Tassilo Horn for pointing this out.
65 2006-07-27 Johan Bockgård <bojohan@users.sourceforge.net>
67 * erc.el (define-erc-module): Make find-function and find-variable
68 find the names constructed by `define-erc-module' in Emacs 22.
70 2006-07-14 Michael Olson <mwolson@gnu.org>
72 * erc-log.el (log): Make sure that we enable logging on
73 already-opened buffers as well, in case the user toggles this
74 module after loading ERC. Also be sure to remove logging ability
75 from all ERC buffers when the module is disabled.
76 (erc-log-setup-logging): Set buffer-file-name to nil rather than
77 the empty string. This should fix some errors that occur when
78 quitting Emacs without first killing all ERC buffers.
79 (erc-log-disable-logging): New function that removes the logging
80 ability from the current buffer.
82 * erc-spelling.el (spelling): Use dolist and buffer-live-p.
84 2006-07-12 Michael Olson <mwolson@gnu.org>
86 * erc-match.el (erc-log-matches): Bind inhibit-read-only rather
87 than call toggle-read-only.
89 * erc.el (erc-handle-irc-url): Move here from erc-goodies.el and
92 2006-07-09 Michael Olson <mwolson@gnu.org>
94 * erc.el (erc-version-string): Release ERC 5.1.3.
96 * erc.texi: Update for the 5.1.3 release.
98 * erc-autoaway.el (erc-autoaway-set-back): Fix bug after returning
99 from being set automatically away and current buffer is not an ERC
102 * erc-identd.el: Fix compiler error.
104 * erc.texi (Development): Use @subheading instead of @subsection.
105 (Advanced Usage): Add menu.
106 (Connecting): Fully document how to connect to an IRC server.
107 (Options, Tips and Tricks, Sample Configuration): New unwritten
110 * erc.el (erc-server, erc-port, erc-nick, erc-nick-uniquifier)
111 (erc-user-full-name, erc-password): Docfixes and customization
113 (erc-try-new-nick-p): Rename from
114 `erc-manual-set-nick-on-bad-nick-p' and invert meaning.
115 (erc-nickname-in-use): Use `erc-try-new-nick-p'. Check the length
116 of `erc-nick-uniquifier', in case someone wants multiple
118 (erc-compute-server, erc-compute-nick, erc-compute-full-name)
119 (erc-compute-port): Docfixes.
121 * erc-log.el (log): Move all add-hook calls here, rather than
122 executing them immediately, and also cause them to be un-hooked
123 when the module is removed.
124 (erc-save-buffer-on-part): Move next to
125 `erc-save-queries-on-quit'.
126 (erc-save-buffer-on-quit, erc-save-queries-on-quit): Default to t.
127 (erc-log-write-after-send, erc-log-write-after-insert): Default to
128 nil. This makes things fast, but reasonably failsafe, by default.
130 2006-07-08 Michael Olson <mwolson@gnu.org>
132 * erc-log.el (erc-log-insert-log-on-open): Make this nil by
133 default, since most IRC clients don't do this.
134 (erc-log-write-after-send): New option that determines whether the
135 log file will be written to after every sent message.
136 (erc-log-write-after-insert): New option that determines whether
137 the log file will be written to when new text is added to a logged
139 (log): Use the aforementioned options.
141 * erc.texi (Modules): Document the "completion" module.
143 * erc-pcomplete.el (pcomplete-erc-nicks): Make sure that we don't
144 have a nil element in the list when ignore-self is non-nil.
146 2006-07-05 Michael Olson <mwolson@gnu.org>
148 * erc.el (erc-modules): Add the `page' module to the list.
150 * erc.texi (Modules): Add entries for `list' and `page' modules.
151 Change "spell" to "spelling".
152 (History): Use past tense throughout.
154 2006-07-02 Michael Olson <mwolson@gnu.org>
156 * erc-backend.el (erc-call-hooks): Fix (stringp nil) error that
157 can happen when doing /PART.
159 * erc.el (erc-quit-reason-various-alist)
160 (erc-part-reason-various-alist): In the example, use "^$" as an
161 example, since "" matches anything.
162 (erc-quit-reason-various, erc-part-reason-various): If no argument
163 is given, and no matches are found, use our default reason instead
166 2006-06-30 Michael Olson <mwolson@gnu.org>
168 * erc.texi (Modules): Mention identd.
169 (Releases): Update mailing list address and download location.
170 (Development): Refactor. Provide updated directions for Arch.
172 (Keystroke Summary): Typo fix. Use more Texinfo syntax.
173 (Getting Started): Give simpler example. We do not need to
174 explicitly load every module.
177 * erc.el (erc-version-modules): Remove, since we do not use this
179 (erc-latest-version, erc-ediff-latest-version): Remove, since this
180 was only useful back when ERC consisted of one file.
181 (erc-modules): Add line for identd.
182 (erc-get-channel-mode-from-keypress): Typo fix.
184 * erc-imenu.el: Remove unnecessary lines in header.
186 * erc-goodies.el (erc-handle-irc-url): Docfix.
188 * erc-identd.el: Define an ERC module for this.
189 (erc-identd-start): Don't create a process buffer if possible.
190 Otherwise, use conventional hidden names for process buffers.
192 2006-06-29 Michael Olson <mwolson@gnu.org>
194 * erc-backend.el (erc-coding-system-for-target): Match
195 case-insensitively. Use a pattern match instead of `assoc', as
196 per the documentation for `erc-encoding-coding-alist'.
198 * erc-track.el (erc-track-shorten-aggressively): Fix typo.
200 2006-06-27 Michael Olson <mwolson@gnu.org>
202 * erc.el: Update maintainer information and URLs.
204 2006-06-14 Michael Olson <mwolson@gnu.org>
206 * erc.el (erc-active-buffer): If the active buffer has been
207 deleted, default to the server buffer.
208 (erc-toggle-flood-control): When the user hits C-c C-f, make flood
209 control really toggle, not unconditionally turn off.
211 2006-06-12 Michael Olson <mwolson@gnu.org>
213 * NEWS: Add items since the 5.1.2 release.
215 * erc-autoaway.el (erc-autoaway-caused-away): New variable that
216 indicates whether the current away status was caused by this
218 (erc-autoaway-set-back): Only set back if this module set the user
220 (erc-autoaway-set-away): Update `erc-autoaway-caused-away'.
221 (erc-autoaway-reset-indicators): New function that resets some
222 indicators when the user is no longer away.
223 (autoaway): Add the above function to the 305 hook.
225 2006-06-05 Romain Francoise <romain@orebokech.com>
227 * erc.texi (History): Fix various typos.
229 2006-06-04 Michael Olson <mwolson@gnu.org>
231 * erc-autoaway.el (erc-autoaway-idle-method): Move after the
232 definition of the autoaway module.
233 (autoaway): Don't do anything if erc-autoaway-idle-method is
234 unbound. This prevents an error on startup.
236 2006-06-03 Michael Olson <mwolson@gnu.org>
238 * erc-autoaway.el: Thanks to Mark Plaksin for the ideas and patch.
239 (erc-autoaway-idle-method): Renamed from
240 `erc-autoaway-use-emacs-idle'. We have more than two choices for
241 how to do this, so it's best to make this take symbol values.
242 Improve documentation. Remove warning against Emacs idle-time;
243 the point is moot now that we get user idle time via a different
244 method. Make sure we disable and re-enable the module when
246 (autoaway): Conditionalize on the above option. If using the idle
247 timer or user idle methods, don't add anything to the
248 send-completed or server-001 hooks, since it is unnecessary.
249 (erc-autoaway-reestablish-idletimer, erc-autoaway-message):
251 (erc-autoaway-idle-seconds): Use erc-autoaway-idle-method.
252 (erc-autoaway-reset-idle-irc): Renamed from
253 `erc-autoaway-reset-idle'. Don't pass line to
254 `erc-autoaway-set-away', since it is not used.
255 (erc-autoaway-reset-idle-user): New function that resets the idle
256 state for user idle time.
257 (erc-autoaway-set-back): Remove line argument, since it is not
260 2006-06-01 Michael Olson <mwolson@gnu.org>
262 * erc.el (erc-buffer-filter): Make sure all buffers returned from
265 2006-05-01 Edward O'Connor <ted@oconnor.cx>
267 * erc-goodies.el (erc-handle-irc-url): New function, suitable as
268 a value for `url-irc-function'.
270 2006-04-18 Diane Murray <disumu@x3y2z1.net>
272 * erc-pcomplete.el (pcomplete-erc-nicks): Added new optional
273 argument IGNORE-SELF. If this is non-nil, don't return the user's
274 current nickname. Doc fix.
275 (pcomplete/erc-mode/complete-command): Don't complete the current
278 2006-04-05 Diane Murray <disumu@x3y2z1.net>
280 * erc.el (erc-cmd-SV): Removed the exclamation point. Show the
281 build date as it's shown in `emacs-version'.
283 * erc-capab.el (erc-capab-identify-add-prefix): Insert the prefix
284 with the same face property as the previous character.
286 2006-04-02 Michael Olson <mwolson@gnu.org>
288 * erc-backend.el, erc-ezbounce.el, erc-join.el, erc-netsplit.el,
289 erc.el: Make sure to include a newline inside of negated classes,
290 so that a newline is not matched.
292 2006-04-01 Michael Olson <mwolson@gnu.org>
294 * erc-backend.el (erc-server-connect-function): Don't try to
295 detect the existence of the `open-network-stream-nowait' function,
296 since I can't find it in Emacs21, XEmacs21, or Emacs22.
298 2006-03-26 Michael Olson <mwolson@gnu.org>
300 * erc.el (erc-header-line): New face that will be used to colorize
301 the text of the header-line, provided that
302 `erc-header-line-face-method' is non-nil.
303 (erc-prompt-face): Fix formatting.
304 (erc-header-line-face-method): New option that determines the
305 method used for colorizing header-line text. This may be a
306 function, nil, or non-nil.
307 (erc-update-mode-line-buffer): Use the aforementioned option and
308 face to colorize the header-line text, if that is what the user
310 (erc-send-input): If flood control is not activated, don't split
313 2006-03-25 Michael Olson <mwolson@gnu.org>
315 * erc.el (erc-cmd-QUOTE): Install patch from Aravind Gottipati
316 that fixes the case where there is no leading whitespace. Only
317 remove the first space character, though.
319 * erc-identd.el (erc-identd-start): Fix a bug by making sure that
320 erc-identd-process is set properly.
321 (erc-identd-start, erc-identd-stop): Add autoload cookies.
322 (erc-identd-start): Pass :host parameter so this works with Emacs
325 2006-03-09 Diane Murray <disumu@x3y2z1.net>
327 * erc-button.el (erc-button-keymap): Use <backtab> rather than
328 <C-tab> for `erc-button-previous' as it is a more standard key
329 binding for this type of function.
331 2006-02-19 Michael Olson <mwolson@gnu.org>
333 * erc.el (erc-version-string): Release ERC 5.1.2.
335 2006-02-19 Diane Murray <disumu@x3y2z1.net>
337 * erc-button.el (erc-button-keymap): Bind `erc-button-previous' to
339 (erc-button-previous): New function.
341 2006-02-15 Michael Olson <mwolson@gnu.org>
343 * NEWS: Add category for ERC 5.2.
345 * erc.el (erc): Move to the end of the buffer when a continued
346 session is detected. Thanks to e1f and indio for the report and
347 testing a potential fix.
349 2006-02-14 Michael Olson <mwolson@gnu.org>
351 * debian/changelog: Prepare a new Debian package.
353 * Makefile (debprepare): New rule that creates an ERC snapshot
354 directory for use in both new Debian releases and revisions for
356 (debrelease, debrevision-mwolson): Use debprepare.
358 * NEWS: Bring up-to-date.
360 * erc-stamp.el (erc-insert-timestamp-right): For now, put
361 timestamps before rather than after erc-fill-column when
362 erc-timestamp-right-column is nil. This way we won't surprise
363 anyone unpleasantly, or so it is hoped.
365 2006-02-13 Michael Olson <mwolson@gnu.org>
367 * erc-dcc.el: Use (eval-when-compile (require 'cl)).
369 2006-02-12 Michael Olson <mwolson@gnu.org>
371 * erc-autoaway.el, erc-dcc.el, erc-ezbounce.el, erc-fill.el
372 * erc-goodies.el, erc-hecomplete.el, erc-ibuffer.el, erc-identd.el
373 * erc-imenu.el, erc-join.el, erc-lang.el, erc-list.el, erc-log.el
374 * erc-match.el, erc-menu.el, erc-netsplit.el, erc-networks.el
375 * erc-notify.el, erc-page.el, erc-pcomplete.el, erc-replace.el
376 * erc-ring.el, erc-services.el, erc-sound.el, erc-speedbar.el
377 * erc-spelling.el, erc-track.el, erc-truncate.el, erc-xdcc.el:
378 Add 2006 to copyright years, to comply with the changed guidelines.
380 2006-02-11 Michael Olson <mwolson@gnu.org>
382 * erc.el (erc-update-modules): Make some requirements shorter, so
383 that it's easier to see why they are needed.
385 * erc-stamp.el (erc-timestamp-use-align-to): Renamed from
386 `erc-timestamp-right-align-by-pixel'. Set the default based on
387 whether we are in Emacs 22, and using X. Improve documentation.
388 (erc-insert-aligned): Remove calculation of offset, since
389 :align-to pos works after all. Unlike the previous solution, this
390 one works when erc-stamp.el is compiled.
391 (erc-insert-timestamp-right): Don't add length of string, and then
392 later remove its displayed width. This puts timestamps after
393 erc-fill-column when erc-timestamp-right-column is nil, rather
394 than before it. It also fixes a subtle bug. Remove use of
395 `current-window', since there is no variable by that name in
396 Emacs21, Emacs22, or XEmacs21 beta. Check to see whether
397 `erc-fill-column' is non-nil before using it.
399 2006-02-11 Diane Murray <disumu@x3y2z1.net>
401 * erc-list.el: Define `list' module which sets the alias
402 `erc-cmd-LIST' to `erc-list-channels' when enabled and
403 `erc-list-channels-simple' when disabled.
404 (erc-list-channels): Was `erc-cmd-LIST', renamed.
405 (erc-list-channels-simple): New function.
407 * erc.el (erc-modules): Added `list' to enabled modules. Moved
408 customization options left in source code.
410 * erc-menu.el (erc-menu-definition): Use `erc-list-channels'.
412 * erc-spelling.el (define-erc-module): Make sure there's a buffer
413 before calling `with-current-buffer'.
415 2006-02-10 Michael Olson <mwolson@gnu.org>
417 * Makefile (debbuild): Split from debrelease.
418 (debrevision-mwolson): New rule that causes a Debian revision to
421 * erc.el (erc-migrate-modules): Use a better algorithm. Thanks to
423 (erc-modules): Change use of 'pcomplete to 'completion.
425 2006-02-09 Diane Murray <disumu@x3y2z1.net>
427 * erc.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
428 (erc-get-parsed-vector-type): Moved here from erc-match.el.
430 * erc-match.el (erc-get-parsed-vector, erc-get-parsed-vector-nick)
431 (erc-get-parsed-vector-type): Moved these functions to erc.el
432 since they can be useful outside of the text matching module.
434 * erc-dcc.el, erc-stamp.el, erc-xdcc.el: Changed "Emacs IRC Client"
437 2006-02-07 Michael Olson <mwolson@gnu.org>
439 * ChangeLog.01, ChangeLog.02, ChangeLog.03, ChangeLog.04,
440 ChangeLog.05: Rename from ChangeLog.NNNN in order to disambiguate
441 the filenames in DOS.
443 * erc-goodies.el: Comment fix.
445 * erc-hecomplete.el: Rename from erc-complete.el. Update
446 commentary. Use define-erc-module so that it's possible to
448 (erc-hecomplete): Rename function from `erc-complete'.
449 (erc-hecomplete): Rename group from `erc-old-complete'. Docfix.
451 * erc-join.el: Rename from erc-autojoin.el.
453 * erc-networks.el: Rename from erc-nets.el.
455 * erc-services.el: Rename from erc-nickserv.el.
457 * erc-stamp.el (erc-insert-aligned): Don't take 3rd argument. Use
458 the simpler `indent-to' function when
459 `erc-timestamp-right-align-by-pixel' is nil.
460 (erc-insert-timestamp-right): If the timestamp goes on the
461 following line, don't add timestamp properties to the spaces in
464 * erc.el (erc-migrate-modules): New function that eases migration
466 (erc-modules): Call erc-migrate-modules in the :get accessor.
467 (erc-modules, erc-update-modules): Update for new modules names.
468 (erc-cmd-SMV): Remove, since this does not give useful output due
469 to the version strings being removed from ERC modules.
471 2006-02-05 Michael Olson <mwolson@gnu.org>
473 * erc-spelling.el (erc-spelling-init): If
474 `erc-spelling-dictionaries' is nil, do not set
475 ispell-local-dictionary. Before, it was being set to nil, which
476 was causing a long delay while the ispell process restarted.
477 (erc-spelling-unhighlight-word): New function that removes
478 flyspell properties from a spell-checked word.
479 (erc-spelling-flyspell-verify): Don't spell-check nicks or words
480 that have '/' before them.
482 2006-02-04 Michael Olson <mwolson@gnu.org>
484 * erc-autojoin.el: Use (eval-when-compile (require 'cl)).
486 * erc-complete.el (erc-nick-completion-exclude-myself)
487 (erc-try-complete-nick): Use better function for getting list of
490 * erc-goodies.el: Docfix.
492 * erc-stamp.el: Use new arch tagline, since the other one wasn't
493 being treated properly.
495 * erc.el (erc-version-string): Release ERC 5.1.1.
497 2006-02-03 Zhang Wei <id.brep@gmail.com>
499 * erc.el (erc-version-string): Don't hard-code Emacs version.
500 (erc-version): Use emacs-version.
502 2006-01-31 Michael Olson <mwolson@gnu.org>
504 * erc-stamp.el: Update copyright years.
506 2006-01-30 Simon Josefsson <jas@extundo.com>
508 * erc.el (erc-open-ssl-stream): Use tls.el.
510 2006-01-30 Michael Olson <mwolson@gnu.org>
512 * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option
513 that determines whether to use pixel values to align right
514 timestamps. The default is not to do so, since it only works with
515 Emacs22 on X, and even then some people have trouble.
516 (erc-insert-aligned): Use `erc-timestamp-right-align-by-pixel'.
518 2006-01-29 Michael Olson <mwolson@gnu.org>
520 * ChangeLog, ChangeLog.2005, ChangeLog.2004, ChangeLog.2003,
521 ChangeLog.2002, ChangeLog.2001: Add "See ChangeLog.NNNN" line for
522 earlier changes. Use utf-8 encoding. Fix some accent typos.
524 * erc-speedbar.el (erc-speedbar-buttons): Fix reference to free
526 (erc-speedbar-goto-buffer): Fix compiler warning.
528 * erc-ibuffer.el: Use `define-ibuffer-filter' instead of
529 `ibuffer-degine-limiter'. Use `define-ibuffer-column' instead of
530 `ibuffer-define-column'. Require 'ibuf-ext so that the macros
531 work without compiler warnings.
533 * man/erc.texi (Obtaining ERC, Installation): Note that these
534 sections may be skipped if using the version of ERC that comes
537 2006-01-29 Edward O'Connor <ted@oconnor.cx>
539 * erc-viper.el: Remove. Now that ERC is included in Emacs, these
540 work-arounds live in Viper itself.
542 2006-01-28 Michael Olson <mwolson@gnu.org>
544 * erc-*.el, erc.texi, NEWS: Add Arch taglines as per Emacs
547 * erc-*.el: Space out copyright years like the rest of Emacs. Use
548 the Emacs copyright statement. Refer to ourselves as ERC rather
549 than "Emacs IRC Client", since there are now several IRC clients
552 * erc-compat.el (erc-emacs-build-time): Define as a variable.
554 * erc-log.el (erc-log-setup-logging): Use write-file-functions.
556 * erc-ibuffer.el: Require 'erc.
558 * erc-stamp.el (erc-insert-aligned): Only use the special text
559 property when window-system is X.
561 * erc.texi: Adapt for inclusion in Emacs.
563 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
565 * erc.el (erc-format-message): More `cl' breakage; don't use
568 2006-01-27 Michael Olson <mwolson@gnu.org>
570 * debian/changelog: Update for new release.
572 * debian/control (Description): Update.
574 * debian/rules: Concatenate ChangeLog for 2005.
576 * Makefile (MISC): Include ChangeLog.2005 and erc.texi.
577 (debrelease, release): Copy images directory.
579 * NEWS: Spelling fixes. Add items for recent changes.
581 * erc.el (erc): Move call to erc-update-modules before the call to
582 erc-mode. This should fix a timestamp display issue.
583 (erc-version-string): Release ERC 5.1.
585 2006-01-26 Michael Olson <mwolson@gnu.org>
587 * erc-stamp.el (erc-insert-aligned): New function that inserts
588 text in an perfectly-aligned way relative to the right margin. It
589 only works well with Emacs22. A sane fallback is provided for
590 other versions of Emacs.
591 (erc-insert-timestamp-right): Use the new function.
593 2006-01-25 Edward O'Connor <ted@oconnor.cx>
595 * erc.el (erc-modules): Ensure that `erc-button-mode' gets enabled
596 before `erc-match-mode'.
598 * erc-match.el (match): Append `erc-match-message' to
599 `erc-insert-modify-hook'.
601 2006-01-25 Michael Olson <mwolson@gnu.org>
603 * FOR-RELEASE: Mark last release requirement as done.
605 * Makefile (realclean, distclean): Remove docs.
607 * erc.texi: Take care of all pre-5.1 items.
609 * erc-backend.el (erc-server-send, erc-server-send-queue): Wrap
610 `process-send-string' in `condition-case' to avoid an error when
613 * erc-stamp.el (erc-insert-timestamp-right): Try to deal with
614 variable-width characters in the timestamp and on the same line.
615 The latter is a kludge, but it seems to work with most of the
616 input I've thrown at it so far. It's certainly better than going
617 past the end of line consistently when we have variable-width
618 characters on the same line. When `erc-timestamp-intangible' is
619 non-nil, add intangible properties to the whitespace as well, so
620 that hitting <end> does what you'd expect.
622 * erc.el (erc-flood-protect, erc-toggle-flood-control): Update
623 this to only use boolean values for `erc-flood-protect'. Update
625 (erc-cmd-QUIT): Set the active buffer to be the server buffer, so
626 that any QUIT-related messages go there.
627 (erc): Try to be more clever about re-using channel buffers when
628 automatically re-connecting. Thanks to e1f for noticing.
630 2006-01-23 Michael Olson <mwolson@gnu.org>
632 * ChangeLog.2005: Remove erroneous line.
634 * FOR-RELEASE: Make that the Makefile tweaking is complete.
635 (NEWS): Mark as done.
637 * Makefile (MANUAL): New option indicating the name of the manual.
638 (PREFIX, ELISPDIR, INFODIR): New options that specify the
639 directories to install lisp code and info manuals to. PREFIX is
640 used only by ELISPDIR and INFODIR.
641 (all): Call `lisp' and create the manual.
642 (lisp): Compile lisp code.
643 (%.info, %.html): New rules that make Info files and HTML files,
644 respectively, from a TexInfo source.
645 (doc): Create both the Info and HTML versions of the manual. This
646 is for the user -- we never call it automatically.
647 (install-info): Install Info files.
648 (install-bin): Install compiled and source Lisp files.
649 (todo): Remove, since it seems pointless.
653 * README: Add Installation instructions. Tweak layout.
655 * erc.texi: Work on some pre-5.1 items.
657 * erc-stamp.el, erc-track.el: Move some functions and options in
658 order to get rid of a few compiler warnings.
660 * erc.el (erc-modules): Enable readonly by default. This will
661 prevent new users from accidentally removing old messages, which
662 could be disconcerting. Also enable stamp by default, since
663 timestamps are a fairly standard feature among IRC clients.
665 * erc-button.el: Munge whitespace.
667 * erc-identd.el (erc-identd-start): Instead of throwing an error,
668 just try to use the obsolete function.
670 2006-01-22 Michael Olson <mwolson@gnu.org>
672 * erc-backend.el (erc-decode-string-from-target): Make sure that
673 we have a string as an argument. If not, coerce it to the empty
674 string. Hopefully, this will work painlessly around an edge case
675 related to quitting ERC around the same time a message comes in.
677 2006-01-22 Johan Bockgård <bojohan@users.sourceforge.net>
679 * erc-track.el: Use `(eval-when-compile (require 'cl))' (for
681 (erc-find-parsed-property): Simplify.
682 (erc-track-get-active-buffer): Fix logic. Simplify.
683 (erc-track-switch-buffer): Remove unused variable `dir'. Simplify.
685 * erc-speak.el: Doc fixes.
686 (erc-speak-region): `propertize' --> `erc-propertize'.
688 * erc-dcc.el (erc-dcc-chat-parse-output): `propertize' -->
691 * erc-button.el (erc-button-add-button): Take erc-fill-prefix into
692 account when wrapping URLs.
694 * erc-bbdb.el (erc-bbdb-elide-display): Doc fix.
696 * erc-backend.el (define-erc-response-handler): Doc fix.
698 2006-01-22 Michael Olson <mwolson@gnu.org>
700 * erc.el (erc-update-modules): Use `require' instead of `load',
701 but prevent it from causing errors, in order to preserve the
704 2006-01-21 Michael Olson <mwolson@gnu.org>
706 * FOR-RELEASE (Source): Mark cl task as done.
708 * Makefile (erc-auto.el): Call erc-generate-autoloads rather than
710 (erc-auto.el, %.elc): Don't show command, just its output.
712 * NEWS: Add items from 2005-01-01 to 2005-08-13.
714 * debian/copyright (Copyright): Update.
716 * erc-auto.in (erc-generate-autoloads): Rename from
719 * erc.el, erc-autoaway.el, erc-backend.el: Use
720 erc-server-process-alive instead of erc-process-alive.
722 * erc.el, erc-backend.el, erc-ezbounce.el, erc-list.el,
723 erc-log.el, erc-match.el, erc-nets.el, erc-netsplit.el,
724 erc-nicklist.el, erc-nickserv.el, erc-notify.el, erc-pcomplete.el:
725 Use (eval-when-compile (require 'cl)), so that compilation doesn't
728 * erc-fill.el, erc-truncate.el: Whitespace munging.
730 * erc.el: Update copyright notice. Remove eval-after-load code.
731 (erc-with-buffer): Docfix.
732 (erc-once-with-server-event, erc-once-with-server-event-global)
733 (erc-with-buffer, erc-with-all-buffers-of-server): Use erc-gensym
735 (erc-banlist-update): Use erc-delete-if instead of delete-if.
736 (erc): Call `erc-update-modules' here.
738 * erc-backend.el: Require 'erc-compat to minimize compiler
740 (erc-decode-parsed-server-response): Docfix.
741 (erc-server-process-alive): Move here from erc.el and rename from
743 (erc-server-send, erc-remove-channel-users): Make sure process is
744 alive before sending data to it.
746 * erc-bbdb.el: Update copyright years.
747 (erc-bbdb-whois): Remove overexuberant comment.
749 * erc-button.el: Require erc-fill, since we make liberal use of
752 * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): New
753 functions, the latter of which provides an `assert' equivalent.
754 (erc-remove-if-not): New function that provides a simple
755 implementation of `remove-if-not'.
756 (erc-gensym): New function that provides a simple implementation
758 (erc-delete-if): New function that provides a simple
759 implementation of `delete-if'.
760 (erc-member-if): New function that provides a simple
761 implementation of `member-if'.
762 (field-end): Remove this, since it is unused, and later versions
763 of XEmacs have this function already.
764 (erc-function-arglist): Moved here from erc.el.
765 (erc-delete-dups): New compatibility function for dealing with
767 (erc-subseq): New function copied from cl-extra.el.
769 * erc-dcc.el: Require pcomplete during compilation to avoid
771 (erc-unpack-int, erc-dcc-send-filter)
772 (erc-dcc-get-filter): Use erc-assert instead of assert.
773 (pcomplete/erc-mode/DCC): Use erc-remove-if-not instead of
776 * erc-match.el (erc-log-matches): Fix compiler warning.
778 * erc-nicklist.el: Update copyright notice.
779 (erc-nicklist-menu): Change use of caadr to (car (cadr ...)).
780 (erc-nicklist-bitlbee-connected-p): Remove.
781 (erc-nicklist-insert-medium-name-or-icon): Accept channel
782 argument. Use it to determine whether we are on bitlbee. Now
783 that bitlbee names its channel "&bitlbee", this is trivial.
784 (erc-nicklist-insert-contents): Pass channel as specified above.
785 Don't try to determine whether we are on bitlbee here.
786 (erc-nicklist-channel-users-info): Use erc-remove-if-not instead
788 (erc-nicklist-search-for-nick): Use erc-member-if instead of
791 * erc-notify.el (erc-notify-QUIT): Use erc-delete-if with a
792 partially-evaluated lambda expression instead of `delete' and
795 * erc-track.el: Use erc-assert.
796 (erc-track-modified-channels): Remove use of `return'.
797 (erc-track-modified-channels): Use `cadr' instead of `second',
798 since otherwise we would need yet another eval-when-compile line.
800 2006-01-19 Michael Olson <mwolson@gnu.org>
802 * erc-backend.el (erc-process-sentinel-1): Remove attempt to
803 detect SIGPIPE, since it doesn't work.
805 2006-01-10 Diane Murray <disumu@x3y2z1.net>
807 * erc-spelling.el: Updated copyright years.
808 (define-erc-module): Enable/disable `flyspell-mode' for all open
810 (erc-spelling-dictionaries): Reworded customize description.
812 * erc.el (erc-command-symbol): New function.
813 (erc-extract-command-from-line): Use `erc-command-symbol'. This
814 fixes a bug where "Symbol's function definition is void:
815 erc-cmd-LIST" would be shown after typing /list at the prompt (the
816 command was interned because erc-menu.el uses it and is enabled by
817 default whereas erc-list.el is not).
819 * NEWS: Started a list of renamed variables.
821 * erc.el: Reworded the message sent when defining variable
823 (erc-command-indicator-face): Doc fix.
824 (erc-modules): Enable the match module by default which makes
825 current nickname highlighting on as the default.
827 * erc-button.el: Updated copyright years.
828 (erc-button): New face.
829 (erc-button-face): Use `erc-button'.
830 (erc-button-nickname-face): New customizable variable.
831 (erc-button-add-nickname-buttons, erc-button-add-buttons-1): Send
832 new argument to `erc-button-add-button'.
833 (erc-button-add-button): Doc fix. Added new argument to function
834 definition, NICK-P. If it's a nickname, use
835 `erc-button-nickname-face', otherwise use `erc-button-face'. This
836 makes channel tracking and buttons work better together when
837 `erc-button-buttonize-nicks' is enabled, since there is a nickname
838 on just about every line.
840 * erc-track.el (erc-track-use-faces): Doc fix.
841 (erc-track-faces-priority-list): Added `erc-button' to list.
842 (erc-track-priority-faces-only): Doc fix.
844 2006-01-09 Diane Murray <disumu@x3y2z1.net>
846 * erc-button.el (erc-button-url-regexp): Use `concat' so the
847 regexp is not one long line.
848 (erc-button-alist): Fixed so that customizing works correctly.
849 Reorganized. Removed lambda functions with more than two lines.
851 (erc-button-describe-symbol, erc-button-beats-to-time): New
852 functions. Moved from `erc-button-alist'.
854 2006-01-07 Michael Olson <mwolson@gnu.org>
856 * erc-backend.el (erc-process-sentinel-1): Don't try to re-open a
857 process if a SIGPIPE occurs. This happens when a new message
858 comes in at the same time a /quit is requested.
859 (erc-process-sentinel): Use string-match rather than string= to do
860 these comparisons. Matching literal newlines makes me nervous.
862 * erc-track.el (erc-track-remove-from-mode-line): Handle case
863 where global-mode-string is not a list. Emacs22 permits this.
866 See ChangeLog.05 for earlier changes.
868 Copyright (C) 2006 Free Software Foundation, Inc.
869 Copying and distribution of this file, with or without modification,
870 are permitted provided the copyright notice and this notice are preserved.
876 ;; arch-tag: 865a75f6-2bcb-46df-bf0c-b514dadf688a