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