Address some "unused lexical variable" warnings
[bpt/emacs.git] / lisp / erc / ChangeLog
1 2013-09-18 Glenn Morris <rgm@gnu.org>
2
3 * erc-button.el (erc-button-add-buttons): Remove unused local vars.
4
5 2013-09-14 Vivek Dasmohapatra <vivek@etla.org>
6
7 * erc.el (erc-update-mode-line-buffer):
8 Handle absent topic. (Bug#15377)
9
10 2013-09-13 Glenn Morris <rgm@gnu.org>
11
12 * erc-desktop-notifications.el (dbus-debug): Declare.
13
14 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * erc.el: Use lexical-binding.
17 (erc-user-full-name): Minor CSE simplification.
18 (erc-mode-map): Assume command-remapping is available.
19 (erc-once-with-server-event): Replace `forms' arg with a function arg.
20 (erc-once-with-server-event-global): Remove.
21 (erc-ison-p): Adjust to change in erc-once-with-server-event.
22 (erc-get-buffer-create): Remove arg `proc'.
23 (iswitchb-make-buflist-hook): Declare.
24 (erc-setup-buffer): Use pcase; avoid ((lambda ..) ..).
25 (read-passwd): Assume it exists.
26 (erc-display-line, erc-cmd-IDLE): Avoid add-to-list, adjust to change
27 in erc-once-with-server-event.
28 (erc-cmd-JOIN, erc-set-channel-limit, erc-set-channel-key)
29 (erc-add-query): Minor CSE simplification.
30 (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Adjust to change
31 in erc-once-with-server-event.
32 (erc-echo-notice-in-user-and-target-buffers): Avoid add-to-list.
33 * erc-track.el: Use lexical-binding.
34 (erc-make-mode-line-buffer-name): Use closures instead of `(lambda...).
35 (erc-faces-in): Avoid add-to-list.
36 * erc-notify.el: Use lexical-binding.
37 (erc-notify-timer): Adjust to change in erc-once-with-server-event.
38 (erc-notify-QUIT): Use a closure instead of `(lambda...).
39 * erc-list.el: Use lexical-binding.
40 (erc-list-install-322-handler, erc-cmd-LIST): Adjust to change in
41 erc-once-with-server-event.
42 * erc-button.el: Use lexical-binding.
43 (erc-button-next-function): Use a closure instead of `(lambda...).
44
45 2013-05-30 Glenn Morris <rgm@gnu.org>
46
47 * erc-backend.el: Require erc at run-time too.
48
49 2013-05-21 Glenn Morris <rgm@gnu.org>
50
51 * erc-log.el (erc-network-name): Declare.
52
53 * erc-notify.el (pcomplete--here): Declare.
54 (pcomplete/erc-mode/NOTIFY): Require pcomplete.
55
56 * erc.el (erc-quit-reason-various-alist)
57 (erc-part-reason-various-alist): Don't mention zippy.
58 (erc-quit-reason, erc-part-reason): Remove zippy options.
59 (erc-quit-reason-zippy, erc-part-reason-zippy): Make obsolete.
60 If yow is not defined, fall back to -normal versions.
61
62 2013-05-15 Glenn Morris <rgm@gnu.org>
63
64 * erc-list.el (erc-list):
65 * erc-menu.el (erc-menu):
66 * erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
67
68 * erc-list.el: Provide a feature.
69
70 2013-05-09 Glenn Morris <rgm@gnu.org>
71
72 * erc-desktop-notifications.el (erc-notifications-icon):
73 Fix custom type.
74
75 2013-02-13 Aidan Gauland <aidalgol@no8wireless.co.nz>
76
77 * erc-match.el (erc-match-message): Fix last commit.
78
79 2013-02-12 Aidan Gauland <aidalgol@no8wireless.co.nz>
80
81 * erc-match.el (erc-match-message):
82 Don't truncate action messages. (Bug#13689)
83
84 2013-02-09 Eli Zaretskii <eliz@gnu.org>
85
86 * erc-dcc.el (erc-dcc-get-file): Don't reference buffer-file-type.
87
88 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
89
90 * erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
91 (erc-dcc-chat-setup): Use point-max-marker.
92
93 2013-01-04 Glenn Morris <rgm@gnu.org>
94
95 * erc-backend.el (312): Fix typo. (Bug#13235)
96
97 2012-11-30 Glenn Morris <rgm@gnu.org>
98
99 * erc.el (erc-accidental-paste-threshold-seconds): Add :version.
100
101 2012-11-30 Eric Hanchrow <eric.hanchrow@gmail.com>
102
103 * erc.el (erc-last-input-time): New variable.
104 (erc-accidental-paste-threshold-seconds): New option to avoid
105 sending accidentally-pasted text to the server (Bug#11592).
106 (erc-send-current-line): Use it.
107
108 2012-11-30 Chong Yidong <cyd@gnu.org>
109
110 * erc.el (erc-lurker-cleanup, erc-lurker-p): Use float-time.
111
112 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * erc-backend.el: Fix last change that missed calls to `second'
115 (bug#12970).
116
117 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 Use cl-lib instead of cl, and interactive-p => called-interactively-p.
120 * erc-track.el, erc-networks.el, erc-netsplit.el, erc-dcc.el:
121 * erc-backend.el: Use cl-lib, nth, pcase, and called-interactively-p
122 instead of cl.
123 * erc-speedbar.el, erc-services.el, erc-pcomplete.el, erc-notify.el:
124 * erc-match.el, erc-log.el, erc-join.el, erc-ezbounce.el:
125 * erc-capab.el: Don't require cl since we don't use it.
126 * erc.el: Use cl-lib, nth, pcase, and called-interactively-p i.s.o cl.
127 (erc-lurker-ignore-chars, erc-common-server-suffixes):
128 Move before first use.
129
130 2012-11-16 Glenn Morris <rgm@gnu.org>
131
132 * erc.el (erc-modules): Add "notifications". Tweak "hecomplete" doc.
133
134 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * erc-backend.el: Only require `erc' during compilation (bug#12740).
137
138 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * erc-backend.el: Require `erc' instead of autoloading its macros
141 (bug#12669).
142
143 2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * erc.el (erc-log): Make it into a defsubst.
146 (erc-with-server-buffer, define-erc-module, erc-with-buffer)
147 (erc-with-all-buffers-of-server): Use `declare'.
148 * erc-backend.el (erc-log): Adjust autoload accordingly.
149
150 2012-10-07 Deniz Dogan <deniz@dogan.se>
151
152 * erc-log.el (erc-generate-log-file-name-function):
153 Clarify tags for various choices. (Bug#11186)
154
155 2012-10-07 Glenn Morris <rgm@gnu.org>
156
157 * erc-button.el (erc-button-alist): Remove "finger". (Bug#4443)
158
159 2012-10-07 Antoine Levitt <antoine.levitt@gmail.com>
160
161 * erc-stamp.el (erc-format-timestamp): Don't apply intangible
162 property to invisible stamps. (Bug#11706)
163
164 2012-10-07 Glenn Morris <rgm@gnu.org>
165
166 * erc-backend.el (NICK): Handle pre-existing buffers. (Bug#12002)
167
168 2012-10-06 Glenn Morris <rgm@gnu.org>
169
170 * erc.el (erc-lurker):
171 * erc-desktop-notifications.el (erc-notifications):
172 Add missing group :version tags.
173
174 2012-10-04 Julien Danjou <julien@danjou.info>
175
176 * erc-desktop-notifications.el: Rename from erc-notifications to
177 avoid clash with 8+3 filename format and erc-notify.el.
178
179 2012-09-25 Chong Yidong <cyd@gnu.org>
180
181 * erc.el (erc-send-command): Use define-obsolete-function-alias.
182
183 2012-09-17 Chong Yidong <cyd@gnu.org>
184
185 * erc-page.el (erc-page-function):
186 * erc-stamp.el (erc-stamp): Doc fix.
187
188 2012-08-21 Josh Feinstein <jlf@foxtail.org>
189
190 * erc-join.el (erc-autojoin-timing): Fix defcustom type.
191
192 2012-08-21 Julien Danjou <julien@danjou.info>
193
194 * erc-match.el (erc-match-message):
195 Use `erc-match-exclude-server-buffer' not
196 `erc-track-exclude-server-buffer'.
197
198 2012-08-20 Josh Feinstein <jlf@foxtail.org>
199
200 * erc.el (erc-display-message): Abstract message hiding decision
201 to new function erc-hide-current-message-p.
202 (erc-lurker): New customization group.
203 (erc-lurker-state, erc-lurker-trim-nicks, erc-lurker-ignore-chars)
204 (erc-lurker-hide-list, erc-lurker-cleanup-interval)
205 (erc-lurker-threshold-time): New variables.
206 (erc-lurker-maybe-trim, erc-lurker-initialize, erc-lurker-cleanup)
207 (erc-hide-current-message-p, erc-canonicalize-server-name)
208 (erc-lurker-update-status, erc-lurker-p): New functions.
209 Together they maintain state about which users have spoken in the last
210 erc-lurker-threshold-time, with all other users being considered
211 lurkers whose messages of types in erc-lurker-hide-list will not
212 be displayed by erc-display-message.
213
214 2012-08-06 Julien Danjou <julien@danjou.info>
215
216 * erc-match.el (erc-match-exclude-server-buffer)
217 (erc-match-message): Add new option to exclude server buffer from
218 matching.
219
220 2012-07-21 Julien Danjou <julien@danjou.info>
221
222 * erc-notifications.el: New file.
223
224 2012-06-15 Julien Danjou <julien@danjou.info>
225
226 * erc.el (erc-open): Use `auth-source' for password retrieval when
227 possible.
228
229 2012-06-12 Chong Yidong <cyd@gnu.org>
230
231 * erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
232 erc-dcc-chat-filter-hook, since this is an abnormal hook.
233
234 2012-06-08 Chong Yidong <cyd@gnu.org>
235
236 * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
237 (erc-command-indicator-face, erc-notice-face, erc-action-face)
238 (erc-error-face, erc-my-nick-face, erc-nick-default-face)
239 (erc-nick-msg-face): Use new-style face specs, and avoid :bold.
240
241 * erc-button.el (erc-button):
242 * erc-goodies.el (erc-bold-face, erc-inverse-face)
243 (erc-underline-face, fg:erc-color-*):
244 * erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
245 (erc-pal-face, erc-fool-face, erc-keyword-face):
246 * erc-stamp.el (erc-timestamp-face): Likewise.
247
248 2012-06-02 Chong Yidong <cyd@gnu.org>
249
250 * erc-track.el (erc-track, erc-track-faces-priority-list)
251 (erc-track-faces-normal-list, erc-track-find-face)
252 (erc-track-modified-channels): Fix modeline -> mode line in docs.
253
254 2012-05-14 Mike Kazantsev <mk.fraggod@gmail.com> (tiny change)
255
256 * erc-dcc.el (erc-dcc-handle-ctcp-send): Fix a regression
257 introduced on 2011-11-28 when fixing quoted filenames matching,
258 the regex group was not corrected.
259
260 2012-05-13 Teemu Likonen <tlikonen@iki.fi>
261
262 * erc-backend.el (erc-server-timestamp-format): New variable to
263 allow specifying the timestamp format (bug#10779).
264
265 2012-04-11 Vivek Dasmohapatra <vivek@etla.org>
266
267 * erc-services.el (erc-nickserv-passwords): Don't display the
268 password (bug#4459).
269
270 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
271
272 * erc-join.el (erc-server-join-channel): New function to look up
273 the channel password via auth-source.
274 (erc-autojoin-channels): Use it.
275 (erc-autojoin-after-ident): Ditto.
276 (erc-autojoin-channels-alist): Mention auth-source.
277
278 2012-04-10 Deniz Dogan <deniz@dogan.se>
279
280 * erc.el (erc-display-prompt): Adds the field text property to the
281 ERC prompt. This allows users to use `kill-whole-line' to kill
282 all text back to the prompt given that it's on a single line
283 (bug#10841).
284
285 2012-04-09 Chong Yidong <cyd@gnu.org>
286
287 * erc.el (erc-cmd-SET): Call custom-variable-p instead of
288 user-variable-p.
289
290 2012-02-08 Glenn Morris <rgm@gnu.org>
291
292 * erc-backend.el (erc-coding-system-precedence):
293 * erc-join.el (erc-autojoin-delay, erc-autojoin-timing):
294 Add missing :version settings.
295
296 2012-01-06 Glenn Morris <rgm@gnu.org>
297
298 * erc.el (erc-tls): Add autoload cookie. (Bug#10333)
299
300 2011-12-31 Antoine Levitt <antoine.levitt@gmail.com>
301
302 * erc-goodies.el (erc-scroll-to-bottom): Use post-command-hook
303 rather than window-scroll-functions. Fixes a bug with word-wrap on
304 a tty. (Bug#9246)
305
306 2011-11-28 Mike Kazantsev <mk.fraggod@gmail.com> (tiny change)
307
308 * erc-dcc.el (erc-dcc-ctcp-query-send-regexp): Updated regexp to
309 match quoted filenames with spaces inside.
310 (erc-dcc-handle-ctcp-send): Updated regexp match group numbers,
311 added processing of escaped quotes and backslashes if filename
312 itself was in quotes.
313
314 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
315
316 * erc-log.el (erc-logging-enabled): Fix typo.
317
318 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
319
320 * erc-notify.el (erc-notify-interval, erc-cmd-NOTIFY): Fix typos.
321
322 2011-10-20 Chong Yidong <cyd@gnu.org>
323
324 * erc.el (define-erc-module): Fix autogenerated docstring to
325 reflect Emacs 24 minor mode changes.
326
327 * erc-fill.el (erc-fill-mode):
328 * erc-track.el (erc-track-minor-mode): Doc fix.
329
330 2011-09-23 Antoine Levitt <antoine.levitt@gmail.com>
331
332 * erc-button.el (erc-button-next-function): Scoping fix
333 (Bug#9487).
334
335 2011-07-04 Vivek Dasmohapatra <vivek@etla.org>
336
337 * erc.el (erc-generate-new-buffer-name): Reuse old buffer names
338 when reconnecting (bug#5563).
339
340 2011-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
341
342 * erc.el (erc-ssl): Made into a synonym for erc-tls, which
343 provides a superset of the same functionality.
344 (erc-open-ssl-stream): Remove.
345 (erc-open-tls-stream): Use `open-network-stream' instead of
346 `open-tls-stream' directly to be able to use the built-in TLS
347 support.
348
349 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * erc-pcomplete.el (erc-pcompletions-at-point): Mark the completion
352 data as non-exclusive if it's using the default-completion-function.
353 (pcomplete-erc-parse-arguments): Rename pcomplete-parse-erc-arguments.
354 (pcomplete-erc-setup): Use new name.
355
356 2011-05-03 Debarshi Ray <rishi@gnu.org> (tiny change)
357
358 * erc-backend.el (671): New response handler.
359 * erc.el (english): Add 671 to catalog.
360
361 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the
364 suffix that's added by pcomplete-termination-string anyway.
365 (pcomplete-erc-setup): Remove pcomplete-suffix-list setting now that
366 it's not needed any more.
367
368 2011-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * erc.el (erc-mode-map): Use completion-at-point.
371 (erc-mode): Tell completion-at-point to obey erc-complete-functions.
372 (erc-complete-word-at-point): New function.
373 (erc-complete-word): Make it obsolete.
374 * erc-pcomplete.el (erc-pcompletions-at-point): New function.
375 (pcomplete): Use it.
376 * erc-dcc.el (erc-dcc-chat-mode-map): Use completion-at-point.
377 (erc-dcc-chat-mode): Tell completion-at-point to obey
378 erc-complete-functions.
379 * erc-button.el (erc-button-next-function): New function extracted from
380 erc-button-next.
381 (button, erc-button-next): Use it.
382
383 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * erc-hecomplete.el: Move to ../obsolete.
386
387 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
388
389 * Version 23.3 released.
390
391 2011-03-04 Julien Danjou <julien@danjou.info>
392
393 * erc-track.el (erc-track-visibility): Fix :type. (Bug#6369)
394
395 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * erc-list.el (erc-list-menu-mode-map): Move initialization
398 into declaration.
399
400 2011-02-07 Julien Danjou <julien@danjou.info>
401
402 * erc-track.el (erc-window-configuration-change): New function.
403 This will allow to track buffer visibility when a command is
404 finished to executed. Idea stolen from rcirc.
405 (track): Put erc-window-configuration-change in
406 window-configuration-change-hook.
407 (erc-modified-channels-update): Remove
408 erc-modified-channels-update from post-command-hook after update.
409
410 2011-01-31 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
411
412 * erc-track.el (track): Don't reset erc-modified-channels-object
413 each time erc-track-mode is activated.
414
415 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * erc.el (erc-mode):
418 * erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode.
419
420 2010-11-11 Glenn Morris <rgm@gnu.org>
421
422 * erc-lang.el (erc-cmd-LANG): Fix what may have been a typo.
423
424 2010-11-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
425
426 * erc-backend.el (erc-coding-system-precedence): New variable.
427 (erc-decode-string-from-target): Use it.
428
429 2010-10-24 Julien Danjou <julien@danjou.info>
430
431 * erc-backend.el (erc-server-JOIN): Set the correct target list on join.
432
433 * erc-backend.el (erc-process-sentinel): Check that buffer is alive
434 before setting it as current buffer.
435
436 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
437
438 * erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.
439
440 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
441
442 * erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
443
444 2010-08-14 Vivek Dasmohapatra <vivek@etla.org>
445
446 * erc-join.el (erc-autojoin-timing, erc-autojoin-delay): New vars.
447 (erc-autojoin-channels-delayed, erc-autojoin-after-ident):
448 New functions.
449 (erc-autojoin-channels): Allow autojoining after ident (Bug#5521).
450
451 2010-08-08 Fran Litterio <flitterio@gmail.com>
452
453 * erc-backend.el (erc-server-filter-function):
454 Call erc-log-irc-protocol.
455
456 * erc.el (erc-toggle-debug-irc-protocol):
457 Bind erc-toggle-debug-irc-protocol to t.
458
459 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
460
461 * Version 23.2 released.
462
463 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
464
465 * Branch for 23.2.
466
467 2010-02-07 Vivek Dasmohapatra <vivek@etla.org>
468
469 * erc-services.el (erc-nickserv-alist): Fix defcustom type (Bug#5520).
470
471 2010-01-25 Vivek Dasmohapatra <vivek@etla.org>
472
473 * erc-backend.el (erc-session-connector): New var.
474 (erc-server-reconnect): Use it to reconnect via old
475 connector (Bug#4958).
476
477 * erc.el (erc-determine-parameters):
478 Save erc-server-connect-function to erc-session-connector.
479
480 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * erc.el (erc-display-line-1, erc-process-away):
483 * erc-truncate.el (erc-truncate-buffer-to-size):
484 Use with-current-buffer.
485
486 2009-10-24 Glenn Morris <rgm@gnu.org>
487
488 * erc-dcc.el (pcomplete-erc-all-nicks):
489 * erc-notify.el (pcomplete-erc-all-nicks):
490 Autoload it, to silence compiler.
491
492 * erc-dcc.el (pcomplete/erc-mode/DCC): Replace cl-function
493 remove-duplicates with erc-delete-dups.
494
495 2009-09-27 Johan Bockgård <bojohan@gnu.org>
496
497 * erc-button.el (erc-button-keymap): Bind `follow-link'.
498
499 2009-09-26 Johan Bockgård <bojohan@gnu.org>
500
501 * erc-button.el (erc-button-add-button): Only call
502 `widget-convert-button' in XEmacs. For Emacs (at least), it
503 doesn't seem to have any purpose except creating lots of overlays,
504 slowing everything down.
505
506 2009-09-19 Glenn Morris <rgm@gnu.org>
507
508 * erc-lang.el (line): Define for compiler.
509
510 2009-07-22 Kevin Ryde <user42@zip.com.au>
511
512 * erc/erc.el (erc-cmd-MODE): Hyperlink urls in docstring with URL `...'.
513
514 2009-03-13 D. Goel <deego3@gmail.com>
515
516 * erc-backend.el: In (multiple-value-bind/setq .. ls),
517 ls-> (values-list ls) throughout.
518 * erc.el: Ditto.
519
520 2009-01-18 Michael Olson <mwolson@gnu.org>
521
522 * erc.el (erc-header-line-uses-tabbar-p): Set to nil by default.
523
524 2009-01-16 Glenn Morris <rgm@gnu.org>
525
526 * erc.el (erc-input-message): Conditionalize previous change for XEmacs.
527
528 * erc-dcc.el (erc-dcc-server): Silence warning about obsolete function
529 behind fboundp test.
530
531 2009-01-09 Glenn Morris <rgm@gnu.org>
532
533 * erc.el (erc-input-message): Replace last-command-char with
534 last-command-event.
535
536 2009-01-08 Glenn Morris <rgm@gnu.org>
537
538 * erc.el (tabbar--local-hlf): Silence compiler.
539
540 2009-01-03 Michael Olson <mwolson@gnu.org>
541
542 * erc.el (erc-user-input): Do not include text properties when
543 returning user input.
544
545
546 See ChangeLog.08 for earlier changes.
547
548 Copyright (C) 2009-2013 Free Software Foundation, Inc.
549
550 This file is part of GNU Emacs.
551
552 GNU Emacs is free software: you can redistribute it and/or modify
553 it under the terms of the GNU General Public License as published by
554 the Free Software Foundation, either version 3 of the License, or
555 (at your option) any later version.
556
557 GNU Emacs is distributed in the hope that it will be useful,
558 but WITHOUT ANY WARRANTY; without even the implied warranty of
559 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
560 GNU General Public License for more details.
561
562 You should have received a copy of the GNU General Public License
563 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
564
565 ;; Local Variables:
566 ;; coding: utf-8
567 ;; add-log-time-zone-rule: t
568 ;; End:
569