* erc-stamp.el (erc-echo-timestamp):
[emacs.git] / lisp / erc / ChangeLog
blobd968a5a6ce98be5e5df5e6edb7ab05911db4eead
1 2007-12-08  David Kastrup  <dak@gnu.org>
3         * erc-stamp.el (erc-echo-timestamp):
4         * erc-lang.el (language):
5         * erc-backend.el (erc-server-connect): Fix buggy call to `message'.
7 2007-12-06  D. Goel  <deego3@gmail.com>
9         * erc-match.el (erc-add-entry-to-list): Fix buggy call to `error'.
11 2007-12-01  Glenn Morris  <rgm@gnu.org>
13         * erc-backend.el (erc-server-send-ping): Move after definition of
14         erc-server-send.
16         * erc.el (iswitchb-temp-buflist, iswitchb-read-buffer)
17         (erc-controls-strip): Declare for compiler.
18         (erc-iswitchb): Don't require iswitchb when compiling.  Test
19         iswitchb-mode is bound.
21 2007-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
23         * erc.el (open-ssl-stream, open-tls-stream, erc-network-name):
24         Declare as functions.
26 2007-11-29  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
28         * erc-backend.el, erc.el:
29         Parse 307 (nick has identified) responses.
31 2007-11-15  Juanma Barranquero  <lekktu@gmail.com>
33         * erc.el (erc-open):
34         * erc-backend.el (define-erc-response-handler):
35         * erc-log.el (log):
36         * erc-match.el (erc-log-matches): Fix typos in docstrings.
38 2007-11-11  Michael Olson  <mwolson@gnu.org>
40         * erc-autoaway.el (erc-autoaway-possibly-set-away):
41         * erc-netsplit.el (erc-netsplit-timer):
42         * erc-notify.el (erc-notify-timer):
43         * erc-track.el (erc-user-is-active): Only run if we have
44         successfully established a connection to the server and have
45         logged in.  I suspect that sending messages too soon may make some
46         IRC servers not respond well, particularly when the network
47         connection is iffy or subject to traffic-shaping.
49 2007-11-01  Michael Olson  <mwolson@gnu.org>
51         * erc-compat.el (erc-set-write-file-functions): New compatibility
52         function to set the write hooks appropriately.
54         * erc-log.el (erc-log-setup-logging): Use
55         erc-set-write-file-functions.  This fixes a byte-compiler warning.
57         * erc-stamp.el: Silence byte-compiler warning about
58         erc-fill-column.
60         * erc.el (erc-with-all-buffers-of-server): Bind the result of
61         mapcar to a variable in order to silence a byte-compiler warning.
63 2007-10-29  Michael Olson  <mwolson@gnu.org>
65         * erc-ibuffer.el (erc-modified-channels-alist): Use
66         eval-when-compile, and explain why we are doing this.
68 2007-10-25  Dan Nicolaescu  <dann@ics.uci.edu>
70         * erc-ibuffer.el (erc-modified-channels-alist): Pacify
71         byte-compiler.
73 2007-10-13  Glenn Morris  <rgm@gnu.org>
75         * erc-track.el (erc-modified-channels-update): Use mapc rather
76         than mapcar.
78 2007-10-12  Diane Murray  <disumu@x3y2z1.net>
80         * erc.el (erc-join-channel): Prompt for channel key if C-u or
81         another prefix-arg was typed.
83         * NEWS: Noted this change.
85 2007-10-07  Michael Olson  <mwolson@gnu.org>
87         * erc.el (erc-cmd-ME'S): New command that handles the case where
88         someone types "/me's".  It concatenates the text " 's" to the
89         beginning of the input and then sends the result like a normal
90         "/me" command.
91         (erc-command-regexp): Permit single-quote character.
93 2007-09-30  Aidan Kehoe  <kehoea@parhasard.net>  (tiny change)
95         * erc-log.el (erc-save-buffer-in-logs): Prevent spurious warnings
96         when looking at a log file and concurrently saving to it.
98 2007-09-18  Exal de Jesus Garcia Carrillo  <exal@gnu.org>  (tiny change)
100         * erc.texi (Special-Features): Fix small typo.
102 2007-09-16  Michael Olson  <mwolson@gnu.org>
104         * erc-track.el (erc-track-switch-direction): Mention
105         erc-track-faces-priority-list.  Thanks to Leo for the suggestion.
107 2007-09-11  Exal de Jesus Garcia Carrillo  <exal@gnu.org>  (tiny change)
109         * erc-sound.el: Fix typo in setting up instructions.
111 2007-09-10  Michael Olson  <mwolson@gnu.org>
113         * Makefile (elpa): Copy dir template rather than echoing a few
114         lines.  The reason for this is that the ELPA package for ERC was
115         getting a corrupt dir entry.
117         * dir-template: Template for the ELPA dir file.
119 2007-09-08  Michael Olson  <mwolson@gnu.org>
121         * erc-log.el (erc-log-filter-function): New option that specifies
122         the function to call for filtering text before writing it to a log
123         file.  Thanks to David O'Toole for the suggestion.
124         (erc-save-buffer-in-logs): Use erc-log-filter-function.  Make sure
125         we carry along the value of coding-system-for-write, because this
126         could potentially be shadowed by the temporary buffer.
128         * erc.el (erc-version-string): Update to 5.3, development version.
130 2007-09-07  Glenn Morris  <rgm@gnu.org>
132         * erc.el (erc-toggle-debug-irc-protocol): Fix call to
133         erc-view-mode-enter.
135 2007-08-08  Glenn Morris  <rgm@gnu.org>
137         * erc-log.el, erc.el: Replace `iff' in doc-strings and comments.
139 2007-09-03  Michael Olson  <mwolson@gnu.org>
141         * erc.el (erc-default-port): Make this an integer value rather
142         than a string.  Thanks to Luca Capello for the report.
144 2007-08-27  Michael Olson  <mwolson@gnu.org>
146         * erc.el (erc-cmd-GQUIT): If erc-kill-queries-on-quit is non-nil,
147         kill all query buffers after 4 seconds.
149 2007-08-16  Michael Olson  <mwolson@gnu.org>
151         * NEWS: Add ERC 5.3 changes section, and mention jbms' erc-track
152         compatibility note.
154         * erc-track.el (erc-track-list-changed-hook): Turn this into a
155         customizable option.
156         (erc-track-switch-direction): Add 'importance option.
157         (erc-modified-channels-display): If erc-track-switch-direction is
158         'importance, call erc-track-sort-by-importance.
159         (erc-track-face-priority): New function that returns a number
160         indicating the position of a face in
161         erc-track-faces-priority-list.
162         (erc-track-sort-by-importance): New function that sorts
163         erc-modified-channels-list according to erc-track-face-priority.
164         (erc-track-get-active-buffer): Make 'oldest a rough opposite of
165         'importance.
167 2007-08-14  Jeremy Maitin-Shepard  <jbms@cmu.edu>
169         * erc-track.el (erc-track-remove-disconnected-buffers): New
170         variable which controls whether buffers associated with a server
171         that is disconnected should be removed from
172         `erc-modified-channels-alist'.  Existing behavior is to
173         unconditionally remove such buffers, which is achieved by setting
174         `erc-track-removed-disconnected-buffers' to t.  When set to t,
175         which is the new default value, such buffers remain in the list,
176         which I think is often the desired behavior, since the user may
177         likely wish to find out about activity that occurred in a channel
178         prior to it being disconnected.
179         (erc-track-list-changed-hook): New hook that is run whenever the
180         contents of `erc-modified-channels-alist' changes; it is useful
181         for users such as myself that don't use the default mode-line
182         notification but instead use a separate mechanism (which is tied
183         to my window manager) to provide notification of channel activity.
184         (erc-track-get-buffer-window): New function that acts as a wrapper
185         around `get-buffer-window' that handles the `selected-visible'
186         option of `erc-track-visibility'; previously, the value of
187         `erc-track-visibility' was passed directly to `get-buffer-window',
188         which does not support `selected-visible'; consequently,
189         `selected-visible' was not properly supported.
190         (erc-track-modified-channels): Fix a bug in the logic for removing
191         buffers from the list in certain cases.
192         (erc-track-position-in-mode-line): Add a supported value that
193         specifies that the tracking information should not be added to the
194         mode line at all.  The value of nil is used to indicate that the
195         information should not be added at all to the mode line.
196         (erc-track-add-to-mode-line): Check for position eq to t, rather
197         than non-nil.
198         (erc-buffer-visible): Use erc-track-get-buffer-window.
199         (erc-modified-channels-update): Take
200         erc-track-remove-disconnected-buffers into account.
201         (erc-modified-channels-display): Run
202         `erc-track-list-changed-hook'.
204         * erc.el (erc-reuse-frames): New option that determines whether
205         new frames are always created.  Defaults to t.  This only has an
206         effect when erc-join-buffer is set to 'frame.
207         (erc-setup-buffer): Use it.
209 2007-08-14  Michael Olson  <mwolson@gnu.org>
211         * erc-backend.el (erc-server-reconnect): If the server buffer has
212         been killed, use the current buffer instead.  If the current
213         buffer is not an ERC buffer, give an error.  This fixes a bug when
214         /reconnect is run from a channel buffer whose server buffer has
215         been deleted.  Thanks to jbms for the report.
216         (erc-process-sentinel-1): Take server buffer as an argument, so
217         that we can make sure that it is current.
218         (erc-process-sentinel): Pass buffer to erc-process-sentinel-1.
219         (erc-process-sentinel-2): New function split from
220         erc-process-sentinel-1.  If server buffer is deleted during a
221         reconnect attempt, stop trying to reconnect.  Fix bug where
222         reconnect was not happening when erc-server-reconnect-attempts was
223         t.  Call erc-server-reconnect-p only once each time.  If we are
224         instructed to try connecting indefinitely, tell the user that they
225         can stop this by killing the server buffer.  Call the process
226         sentinel by means of run-at-time, so that there is time to kill
227         the buffer if need be; this also removes the need for a while
228         loop.  Refuse to reconnect again if erc-server-reconnect-timeout
229         is not an number.
231         * erc.el (erc-command-no-process-p): Fix bug: the return value of
232         erc-extract-command-from-line is a list rather than a single
233         symbol.  Thanks to jbms for the report.
234         (erc-cmd-RECONNECT): Use simpler logic, and use buffer-live-p
235         rather than bufferp.
236         (erc-send-current-line, erc-display-command, erc-display-msg):
237         Handle case where erc-server-process is nil, so that /reconnect
238         works.
240 2007-08-12  Michael Olson  <mwolson@gnu.org>
242         * erc-identd.el (erc-identd-filter): Instead of sending an EOF
243         character, which now confuses freenode, stop the server process,
244         so that no new connections are accepted, and kill the current
245         client process.
247 2007-07-30  Michael Olson  <mwolson@gnu.org>
249         * erc-nicklist.el: Remove from the Emacs source tree.  This file
250         is not release quality, and relies heavily on a module which
251         cannot be distributed with ERC due to licensing reasons.
253 2007-07-29  Michael Olson  <mwolson@gnu.org>
255         * erc-list.el: Relicense to GPLv3.  Since the file was already
256         licensed under version 2 or later, it turns out that we do not
257         need the permission of all of the authors in order to proceed.
259 2007-07-25  Glenn Morris  <rgm@gnu.org>
261         * Relicense all FSF files to GPLv3 or later.
263 2007-07-13  Michael Olson  <mwolson@gnu.org>
265         * erc-goodies.el (erc-get-bg-color-face, erc-get-fg-color-face):
266         Use erc-error rather than message and beep.
268         * erc-sound.el: Indentation fix.
270         * erc.el (erc-command-no-process-p): New function that determines
271         if its argument is an ERC command that can be run when the server
272         process is not alive.
273         (erc-cmd-SET, erc-cmd-CLEAR, erc-cmd-COUNTRY, erc-cmd-HELP)
274         (erc-cmd-LASTLOG, erc-cmd-QUIT, erc-cmd-GQUIT)
275         (erc-cmd-RECONNECT, erc-cmd-SERVER): Denote that these commands
276         can be run even when the server process is not alive.
277         (erc-send-current-line): Call erc-command-no-process-p if the
278         server process is not alive, to determine if we have a command
279         that can be run anyway.  Thanks to Tom Tromey for the bug report.
280         (erc-error): New function that either displays a message or throws
281         an error, depending on whether debug-on-error is non-nil.
282         (erc-cmd-SERVER, erc-send-current-line): Use it.
284 2007-07-10  Michael Olson  <mwolson@gnu.org>
286         * Relicense all FSF-assigned code to GPLv3.
288 2007-06-25  Michael Olson  <mwolson@gnu.org>
290         * erc.texi (Options): Fix typo.
291         (Getting Help and Reporting Bugs): Update webpage URL.  Make Gmane
292         part more readable.
294 2007-06-20  Michael Olson  <mwolson@gnu.org>
296         * erc-stamp.el (erc-timestamp-format-left): New option that
297         specifies the left timestamp to use for
298         erc-insert-timestamp-left-and-right.
299         (erc-timestamp-format-right): New option that specifies the right
300         timestamp to use for erc-insert-timestamp-left-and-right.
301         (erc-insert-timestamp-function): Change default to
302         erc-insert-timestamp-left-and-right.
303         (erc-insert-away-timestamp-function): Ditto.
304         (erc-timestamp-last-inserted-left)
305         (erc-timestamp-last-inserted-right): New variables to keep track
306         of data for erc-insert-timestamp-left-and-right.
307         (erc-insert-timestamp-left-and-right): New function that places
308         timestamps on both the left and right sides of the screen, but
309         only if each timestamp has changed since it was last computed.
310         Thanks to offby1 for urging me to merge this.
312         * erc.el (erc-open-ssl-stream): Display informative error when
313         ssl.el not found.
314         (erc-tls): New function to connect using tls.el.
315         (erc-open-tls-stream): New function to initiate tls connection.
316         Display informative error when tls.el not found.
318 2007-06-19  Michael Olson  <mwolson@gnu.org>
320         * erc-log.el: Update header with accurate instructions.
322 2007-06-17  Michael Olson  <mwolson@gnu.org>
324         * erc-pkg.el: Update description to match what is currently in
325         ELPA.
327 2007-06-14  Juanma Barranquero  <lekktu@gmail.com>
329         * erc-goodies.el (erc-scroll-to-bottom): Remove redundant check.
331 2007-06-13  Michael Olson  <mwolson@gnu.org>
333         * erc-compat.el (erc-with-selected-window): New compatibility
334         macro that implements `with-selected-window'.
336         * erc-goodies.el (erc-scroll-to-bottom): Use it.  This fixes a bug
337         with buffer ordering where ERC buffers would move to the top.
338         Thanks to Ivan Kanis for the patch.
340 2007-06-10  Michael Olson  <mwolson@gnu.org>
342         * erc-log.el (erc-logging-enabled): Fix a bug that occurred when
343         `erc-log-channels-directory' had the name of a function.
345 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
347         * erc.el (erc-show-channel-key-p, erc-startup-file-list):
348         Fix typo in docstring.
350 2007-06-03  Michael Olson  <mwolson@gnu.org>
352         * erc-compat.el (erc-view-mode-enter): Make this its own function,
353         in order to document what we do, and provide sane fallback
354         behavior.
356         * erc.el (erc-toggle-debug-irc-protocol): Don't pass any arguments
357         to erc-view-mode-enter, since we don't do anything special with
358         the exit function.  This fixes a bug with Emacs 21 and Emacs 22.
359         Thanks to Leo for noticing.
361 2007-05-30  Michael Olson  <mwolson@gnu.org>
363         * erc-compat.el (erc-user-emacs-directory): New variable that
364         determines where to find user-specific Emacs settings.  For Emacs,
365         this is usually ~/.emacs.d, and for XEmacs this is usually
366         ~/.xemacs.
368         * erc.el (erc-startup-file-list): Use erc-user-emacs-directory.
370 2007-05-28  Michael Olson  <mwolson@gnu.org>
372         * erc-button.el (erc-button-url-regexp): Recognize parentheses as
373         part of URLs.  Thanks to Lawrence Mitchell for the fix.
375 2007-05-26  Michael Olson  <mwolson@gnu.org>
377         * erc.texi (Modules): Fix references to completion modules.
379 2007-05-21  Michael Olson  <mwolson@gnu.org>
381         * Makefile (SOURCE): Remove erc-pkg.el.
382         (debclean): New rule to clean old Debian packages of ERC.
383         (debprepare): Don't modify the released tarball, but copy it as
384         the .orig.tar.gz file.
385         (debrelease. debrevision): Remove.
386         (debinstall): New target that copies the generated Debian file to
387         a distro-specific location.
388         (deb): New rule that chains together the stages in building a
389         Debian package.
390         (EXTRAS): Add erc-nicklist.el, since it is not release-quality.
391         (extras): Copy images directory.
393         * erc-nicklist.el (erc-nicklist-icons-directory): Use
394         locate-library to find the "images" directory.  This should be
395         more failsafe.  Thanks to Tom Tromey for the idea.
397 2007-05-19  Michael Olson  <mwolson@gnu.org>
399         * Makefile (ELPA): New variable that contains the location of my
400         local ELPA repository.
401         (elpa): New rule that makes an ELPA package for ERC.
403 2007-04-19  Michael Olson  <mwolson@gnu.org>
405         * erc.el (erc-parse-prefix): New function that retrieves the
406         PREFIX server parameter from the current server and returns an
407         alist of prefix type to prefix character.
408         (erc-channel-receive-names): Use `erc-parse-prefix' to determine
409         whether the first character of a nick is a prefix character or
410         not.  This should fix a bug reported by bromine about needing to
411         type "%" first to complete nicks of people who are "hops" on
412         Slashnet.  This should also support for very exotic IRC server
413         setups, if any exist.
414         (erc-update-current-channel-member): Indentation.
416 2007-04-15  Michael Olson  <mwolson@gnu.org>
418         * erc-log.el (erc-generate-log-file-name-function): Docfix.
419         Mention how to deal with the case for putting log files in
420         different directories.  Change a customization type from `symbol'
421         to `function'.
422         (erc-log-channels-directory): Allow this to contain a function
423         name, which is called with the same args as in
424         `erc-generate-log-file-name-function'.  Thanks to andrewy for the
425         report and use case.
426         (erc-current-logfile): Detect if `erc-log-channels-directory' is a
427         function and call it with arguments if so.
429 2007-04-12  Michael Olson  <mwolson@gnu.org>
431         * erc-backend.el (define-erc-response-handler): Mention that hook
432         processing stops when the function returns non-nil.  This should
433         help avoid a nasty "gotcha" when making custom functions.  Thanks
434         to John Sullivan for the report.
436 2007-04-08  Diane Murray  <disumu@x3y2z1.net>
438         * erc-nicklist.el (erc-nicklist-voiced-position): Fixed
439         customization mismatch.
441 2007-04-01  Michael Olson  <mwolson@gnu.org>
443         * erc.el (erc-version-string): Release ERC 5.2.
445         * erc-auto.in, erc-chess.el, erc-list.el, erc-speak.el:
446         * erc-viper.el: Update copyright notices.
448         * erc.texi: Make Emacs Lisp source code in this document
449         essentially public domain.  Update version to 5.2.
450         (Obtaining ERC): Mention extras tarball.
451         (Releases): Mention local GNU mirror.
452         (Sample Configuration): Remove notice.
454         * FOR-RELEASE (5.3): Add item for erc-nicklist.
455         Mark NEWS as done.  Mark extras tarball as done.
457         * Makefile (VERSION): Increment to 5.2.
458         (TESTING): Remove.
459         (EXTRAS): New variable containing the contents of our "Emacs 22
460         extras" tarball.
461         (SOURCE): Remove $(TESTING).
462         (MISC): Add COPYING and ChangeLog.06.  Fix ChangeLog.NNNN ->
463         ChangeLog.NN.
464         (release): Use $(SNAPDIR) instead of erc-$(VERSION).
465         (extras): New rule which implements the building of the extras
466         tarball.
467         (upload-extras): New rule to upload the extras tarball.  It's
468         yucky to replicate upload, but oh well.
469         (DISTRIBUTOR): New variable used to differentiate between building
470         packages for Ubuntu and Debian.
471         (debrelease, debrevision): Use it.
472         (debbuild): Run linda in addition to lintian.
474         * NEWS: Mention extras tarball.  Note which files have been
475         renamed.  Note that erc-list is enabled by default, except in
476         Emacs 22.
478         * README.extras: New file which serves as a README for the extras
479         tarball.
481 2007-03-31  Michael Olson  <mwolson@gnu.org>
483         * NEWS: Update for the 5.2 release.
485         * FOR-RELEASE: Finish up 5.2 manual item.  Add documentation item
486         for 5.3.
488         * erc.texi (Sample Session): Flesh out.  Mention #erc.
489         (Modules): Defer to 5.3 release.
490         (Advanced Usage): Move Sample Configuration chapter ahead of
491         unfinished chapters.
492         (Sample Configuration): Write.
493         (Options): Mention how to see available ERC options.  Defer to 5.3
494         release.
495         (Tips and Tricks): Remove, since it seems better to just include
496         tips and tricks in the sample configuration, commented out.
498         * erc-bbdb.el (erc-bbdb-search-name-and-create): Make prompt more
499         informative about how to skip merging.
500         (erc-bbdb-insinuate-and-show-entry-1): Move contents of
501         erc-bbdb-insinuate-and-show-entry here.
502         (erc-bbdb-insinuate-and-show-entry): Run
503         erc-bbdb-insinuate-and-show-entry-1 "outside" of the calling
504         function, so that we can avoid triggering a process-filter error
505         if the user hits C-g.
507 2007-03-30  Michael Olson  <mwolson@gnu.org>
509         * FOR-RELEASE: Solve C-c C-SPC keybinding dilemma.
511         * erc-autoaway.el (erc-autoaway-idle-method): Use `if' rather than
512         `cond' and `set' rather than `set-default'.
514         * erc-log.el: Avoid compiler warning by requiring erc-network
515         during compilation.
516         (erc-generate-log-file-name-function): Add tag to each option.
517         Add erc-generate-log-file-name-network.
518         (erc-generate-log-file-name-network): New function which generates
519         a log file name that uses network name rather than server name,
520         when possible.
522         * erc-track.el (track): Assimilate track-when-inactive module,
523         since there's no need to have two modules in one file -- an option
524         will do.  Remove track-modified-channels alias.  Call
525         erc-track-minor-mode-maybe, and tear down the minor mode when
526         disabling.
527         (erc-track-when-inactive): New option which determines whether to
528         track visible buffers when inactive.  The default is not to do so.
529         (erc-track-visibility): Mention erc-track-when-inactive.
530         (erc-buffer-visible): Use erc-track-when-inactive.
531         (erc-track-enable-keybindings): New option which determines
532         whether to enable the global-level tracking keybindings.  The
533         default is to do so, unless they would override another binding,
534         in which case we prompt the user about it.
535         (erc-track-minor-mode-map): Move global keybindings here.
536         (erc-track-minor-mode): New minor mode which only enables the
537         keybindings and does nothing else.
538         (erc-track-minor-mode-maybe): New function which starts
539         erc-track-minor-mode, but only if it hasn't already been started,
540         an ERC buffer exists, and the user OK's it, depending on the value
541         of `erc-track-enable-keybindings'.
542         (erc-track-switch-buffer): Display a message if someone calls this
543         without first enabling erc-track-mode.
545 2007-03-17  Michael Olson  <mwolson@gnu.org>
547         * erc.texi (Development): Mention ErcDevelopment page on
548         emacswiki.
549         (Getting Started): Mention ~/.emacs.d/.ercrc.el and the Customize
550         interface.
551         (Sample Session): New section that has a very rough draft for a
552         sample ERC session.
553         (Special Features): New section that explains some of the special
554         features of ERC.  Taken from ErcFeatures on emacswiki, with
555         enhancements.
557 2007-03-12  Diane Murray  <disumu@x3y2z1.net>
559         * erc-autoaway.el (erc-autoaway-idle-method): When setting the new
560         value, disable and re-enable `erc-autoaway-mode' only if it was
561         already enabled.  This fixes a bug where autoaway was enabled just
562         by loading the file.
564 2007-03-10  Diane Murray  <disumu@x3y2z1.net>
566         * erc-capab.el: Added more information to the Usage section.
567         (erc-capab-identify-prefix): Doc fix.
568         (erc-capab-identify-unidentified): New face.
569         (290): Removed.  Definition moved to erc-backend.el.
570         (erc-capab-identify-send-messages): Renamed from
571         `erc-capab-send-identify-messages'.
572         (erc-capab-identify-setup): Use it.
573         (erc-capab-identify-get-unidentified-nickname): Renamed from
574         `erc-capab-get-unidentified-nickname'.
575         (erc-capab-identify-add-prefix): Use it.  Use
576         `erc-capab-identify-unidentified' as the face.
578         * erc-backend.el (290): Moved here from erc-capab.el.
580         * erc.el (erc-select): Added an autoload cookie.
581         (erc-message-type-member, erc-restore-text-properties): Use
582         `erc-get-parsed-vector'.
583         (erc-auto-query): Set the default to 'bury since many new users
584         expect private messages from others to be in dedicated query
585         buffers, not the server buffer.
586         (erc-common-server-suffixes): Use "freenode" for freenode.net, not
587         "OPN".  Added oftc.net.
589         * NEWS: Added note about erc-auto-query's new default setting.
591 2007-03-03  Michael Olson  <mwolson@gnu.org>
593         * erc.el (erc-open, erc): Docfixes.
595 2007-03-02  Michael Olson  <mwolson@gnu.org>
597         * FOR-RELEASE: Make section for 5.3 release and move erc-backend
598         cleanup there.  Awaiting discussion before doing other things.
599         Add tasks for merging filename changes from the 5.2 release
600         branch, and for making a tarball of modules not in Emacs 22.  Add
601         item to remind me to update NEWS.  Mark backtab entry as done.
603         * erc-button.el (button): Add call to `erc-button-add-keys'.
604         (erc-button-keys-added): New variable tracking whether we've added
605         the keys yet.
606         (erc-button-add-keys): New function that adds the <backtab> key to
607         erc-mode-map.
609         * erc.texi: Change version to 5.2 (pre-release).
611 2007-02-15  Michael Olson  <mwolson@gnu.org>
613         * CREDITS: Update.
615         * erc-backend.el (erc-server-send-ping-interval): Change to use a
616         default of 30 seconds.  Improve customize interface.
617         (erc-server-send-ping-timeout): New option that determines when to
618         consider a connection stalled and restart it.  The default is
619         after 120 seconds.
620         (erc-server-send-ping): Use erc-server-send-ping-timeout instead
621         of erc-server-send-ping-interval.  If
622         erc-server-send-ping-timeout is nil, do not ever kill and restart
623         a hung IRC process.
625         * erc.el (erc-modules): Include the name of the module in its
626         description.  This should make it easier for people to find and
627         enable a particular module.
629 2007-02-15  Vivek Dasmohapatra  <vivek@etla.org>
631         * erc.el (erc-cmd-RECONNECT): Kill old process if it is still
632         alive.
633         (erc-message-english-PART): Properly escape "%" characters in
634         reason.
636         * erc-backend.el (erc-server-reconnecting): New variable that is
637         set when the user requests a reconnect, but the old process is
638         still alive.  This forces the reconnect to work even though the
639         process is killed manually during reconnect.
640         (erc-server-connect): Initialize it.
641         (erc-server-reconnect-p): Use it.
642         (erc-process-sentinel-1): Set it to nil after the first reconnect
643         attempt.
645 2007-02-07  Diane Murray  <disumu@x3y2z1.net>
647         * erc-menu.el (erc-menu-definition): Fixed so that the separator
648         is between "Current channel" and "Pals, fools and other keywords",
649         not at the bottom of the "Current channel" submenu.
651 2007-01-25  Diane Murray  <disumu@x3y2z1.net>
653         * erc-networks.el (erc-server-alist): Removed SSL server for now
654         since `erc-server-select' doesn't know to use `erc-ssl'.
656         * erc-networks.el (erc-server-alist, erc-networks-alist): Added
657         definitions for oftc.net.
659         * erc-services.el (erc-nickserv-alist): Fixed OFTC message regexp.
661 2007-01-22  Michael Olson  <mwolson@gnu.org>
663         * erc-backend.el (erc-server-error-occurred): New variable that
664         indicates when an error has been signaled by the server.  This
665         should fix an infinite reconnect bug when giving some servers a
666         bogus :full-name.  Thanks to Angelina Carlton for the report.
667         (erc-server-connect): Initialize erc-server-error-occurred.
668         (erc-server-reconnect-p): Use it.
669         (ERROR): Set it.
671         * erc-services.el (erc-nickserv-alist): Alphabetize and add Ars
672         and QuakeNet.  Standardize look of entries.  Fix type mismatch
673         error in customize interface.
674         (erc-nickserv-passwords): Alphabetize and add missing entries from
675         erc-nickserv-alist.
677 2007-01-21  Michael Olson  <mwolson@gnu.org>
679         * erc.el (erc-header-line-format): Document how to disable the
680         header line, and add a customization type for it.  Also, make the
681         changes take effect immediately.
683 2007-01-19  Michael Olson  <mwolson@gnu.org>
685         * erc.texi (Modules): Document new menu module.  Thanks to Leo
686         for noticing.
688 2007-01-16  Diane Murray  <disumu@x3y2z1.net>
690         * erc-stamp.el (erc-insert-timestamp-left): Fixed so that the
691         whitespace string filler is hidden correctly when timestamps are
692         hidden.
693         (erc-toggle-timestamps): New function to use instead of
694         `erc-show-timestamps' and `erc-hide-timestamps'.
696         * erc.el (erc-restore-text-properties): Moved here from
697         erc-fill.el since it could be useful in general.
699         * erc-fill.el (erc-restore-text-properties): Removed.
701 2007-01-13  Michael Olson  <mwolson@gnu.org>
703         * erc.el (erc-command-regexp): New variable that is used to match
704         a command.
705         (erc-send-input): Use it.  This fixes a bug where paths --
706         "/usr/bin/foo", for example -- were being displayed as commands,
707         but still sent correctly.
708         (erc-extract-command-from-line): Use it.
710         * erc.texi (Modules): Document erc-capab-identify.
712 2007-01-11  Diane Murray  <disumu@x3y2z1.net>
714         * erc.el (erc-find-parsed-property): Moved here from erc-track.el
715         since it can be useful in general.
717         * erc-track.el (erc-find-parsed-property): Removed.
719         * erc-capab.el (erc-capab-find-parsed): Removed.
720         (erc-capab-identify-add-prefix): Use `erc-find-parsed-property'.
722         * erc.el (erc-open): Run `erc-before-connect' hook here.  This
723         makes sure the hook always gets called before a connection is
724         made, as some functions, like `erc-handle-irc-url', use `erc-open'
725         instead of `erc'.
726         (erc): Removed `erc-before-connect' hook.
728         * erc-menu.el (erc-menu-definition): Put items specific to
729         channels in a "Current channel" submenu.
731         * erc-backend.el (321, 323): Display channel list in server buffer
732         when not using the channel list module.
734         * erc.el: Updated copyright years.
735         (erc-version-string): Set to 5.2 (devel).
736         (erc-format-lag-time): Fixed to work when `erc-server-lag' is nil.
737         (erc-update-mode-line-buffer): Set the header face.
739 2007-01-11  Michael Olson  <mwolson@gnu.org>
741         * erc-bbdb.el (erc-bbdb-popup-type): Fix customization type and
742         documentation.
744         * erc-services.el (erc-nickserv-identify-mode): Improve
745         documentation for nick-change option and move higher to fix
746         compiler warning.  Avoid a recursive load error.
747         (erc-nickserv-alist): Add simple entry for BitlBee, to avoid
748         "NickServ is AWAY: User is offline" error.  Oddly enough, bitlbee
749         was smart enough to recognize that as an authentication request
750         and log in regardless, which is why I didn't notice this earlier.
751         (erc-nickserv-alist-sender, erc-nickserv-alist-regexp)
752         (erc-nickserv-alist-nickserv, erc-nickserv-alist-ident-keyword)
753         (erc-nickserv-alist-use-nick-p)
754         (erc-nickserv-alist-ident-command): New accessors for
755         erc-nickserv-alist.  Using nth is unwieldy.
756         (erc-nickserv-identify-autodetect)
757         (erc-nickserv-identify-on-connect)
758         (erc-nickserv-identify-on-nick-change, erc-nickserv-identify): Use
759         the new accessors.
761 2007-01-11  Diane Murray  <disumu@x3y2z1.net>
763         * NEWS: Added note for `erc-my-nick-face'.  Fixed capab-identify
764         wording.
766 2007-01-10  Diane Murray  <disumu@x3y2z1.net>
768         * erc.el (erc-mode-line-format): Added %l to documentation.
769         (erc-header-line-format): Removed "[IRC]".  Use the new %l
770         replacement character.  Doc fix.
771         (erc-format-channel-modes): Removed lag code.  Removed parentheses
772         from mode string.
773         (erc-format-lag-time): New function.
774         (erc-update-mode-line-buffer): Use it.
776 2007-01-10  Michael Olson  <mwolson@gnu.org>
778         * erc.el: Fix typo in url-irc-function instructions.
780 2007-01-09  Michael Olson  <mwolson@gnu.org>
782         * erc.el (erc-system-name): New option that determines the system
783         name to use when logging in.  The default is to figure this out by
784         calling `system-name'.
785         (erc-login): Use it.
787 2007-01-07  Michael Olson  <mwolson@gnu.org>
789         * erc.el (erc-modules): Add the menu module.  This should fix a
790         bug with incorrect ERC submenus being displayed.
792         * erc-menu.el: Turn this into a module.
793         (erc-menu-add, erc-menu-remove): New functions that add and remove
794         the ERC menu.
797 See ChangeLog.06 for earlier changes.
799     Copyright (C) 2007 Free Software Foundation, Inc.
801   This file is part of GNU Emacs.
803   GNU Emacs is free software; you can redistribute it and/or modify
804   it under the terms of the GNU General Public License as published by
805   the Free Software Foundation; either version 3, or (at your option)
806   any later version.
808   GNU Emacs is distributed in the hope that it will be useful,
809   but WITHOUT ANY WARRANTY; without even the implied warranty of
810   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
811   GNU General Public License for more details.
813   You should have received a copy of the GNU General Public License
814   along with GNU Emacs; see the file COPYING.  If not, write to the
815   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
816   Boston, MA 02110-1301, USA.
818 ;; Local Variables:
819 ;; coding: utf-8
820 ;; add-log-time-zone-rule: t
821 ;; End:
823 ;; arch-tag: 3369b6e5-96b1-4b32-96cd-9a905c747496