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