1 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
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...).
32 2013-05-30 Glenn Morris <rgm@gnu.org>
34 * erc-backend.el: Require erc at run-time too.
36 2013-05-21 Glenn Morris <rgm@gnu.org>
38 * erc-log.el (erc-network-name): Declare.
40 * erc-notify.el (pcomplete--here): Declare.
41 (pcomplete/erc-mode/NOTIFY): Require pcomplete.
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.
49 2013-05-15 Glenn Morris <rgm@gnu.org>
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.
55 * erc-list.el: Provide a feature.
57 2013-05-09 Glenn Morris <rgm@gnu.org>
59 * erc-desktop-notifications.el (erc-notifications-icon):
62 2013-02-13 Aidan Gauland <aidalgol@no8wireless.co.nz>
64 * erc-match.el (erc-match-message): Fix last commit.
66 2013-02-12 Aidan Gauland <aidalgol@no8wireless.co.nz>
68 * erc-match.el (erc-match-message):
69 Don't truncate action messages. (Bug#13689)
71 2013-02-09 Eli Zaretskii <eliz@gnu.org>
73 * erc-dcc.el (erc-dcc-get-file): Don't reference buffer-file-type.
75 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
77 * erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
78 (erc-dcc-chat-setup): Use point-max-marker.
80 2013-01-04 Glenn Morris <rgm@gnu.org>
82 * erc-backend.el (312): Fix typo. (Bug#13235)
84 2012-11-30 Glenn Morris <rgm@gnu.org>
86 * erc.el (erc-accidental-paste-threshold-seconds): Add :version.
88 2012-11-30 Eric Hanchrow <eric.hanchrow@gmail.com>
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.
95 2012-11-30 Chong Yidong <cyd@gnu.org>
97 * erc.el (erc-lurker-cleanup, erc-lurker-p): Use float-time.
99 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
101 * erc-backend.el: Fix last change that missed calls to `second'
104 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
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
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.
117 2012-11-16 Glenn Morris <rgm@gnu.org>
119 * erc.el (erc-modules): Add "notifications". Tweak "hecomplete" doc.
121 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
123 * erc-backend.el: Only require `erc' during compilation (bug#12740).
125 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
127 * erc-backend.el: Require `erc' instead of autoloading its macros
130 2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
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.
137 2012-10-07 Deniz Dogan <deniz@dogan.se>
139 * erc-log.el (erc-generate-log-file-name-function):
140 Clarify tags for various choices. (Bug#11186)
142 2012-10-07 Glenn Morris <rgm@gnu.org>
144 * erc-button.el (erc-button-alist): Remove "finger". (Bug#4443)
146 2012-10-07 Antoine Levitt <antoine.levitt@gmail.com>
148 * erc-stamp.el (erc-format-timestamp): Don't apply intangible
149 property to invisible stamps. (Bug#11706)
151 2012-10-07 Glenn Morris <rgm@gnu.org>
153 * erc-backend.el (NICK): Handle pre-existing buffers. (Bug#12002)
155 2012-10-06 Glenn Morris <rgm@gnu.org>
157 * erc.el (erc-lurker):
158 * erc-desktop-notifications.el (erc-notifications):
159 Add missing group :version tags.
161 2012-10-04 Julien Danjou <julien@danjou.info>
163 * erc-desktop-notifications.el: Rename from erc-notifications to
164 avoid clash with 8+3 filename format and erc-notify.el.
166 2012-09-25 Chong Yidong <cyd@gnu.org>
168 * erc.el (erc-send-command): Use define-obsolete-function-alias.
170 2012-09-17 Chong Yidong <cyd@gnu.org>
172 * erc-page.el (erc-page-function):
173 * erc-stamp.el (erc-stamp): Doc fix.
175 2012-08-21 Josh Feinstein <jlf@foxtail.org>
177 * erc-join.el (erc-autojoin-timing): Fix defcustom type.
179 2012-08-21 Julien Danjou <julien@danjou.info>
181 * erc-match.el (erc-match-message):
182 Use `erc-match-exclude-server-buffer' not
183 `erc-track-exclude-server-buffer'.
185 2012-08-20 Josh Feinstein <jlf@foxtail.org>
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.
201 2012-08-06 Julien Danjou <julien@danjou.info>
203 * erc-match.el (erc-match-exclude-server-buffer)
204 (erc-match-message): Add new option to exclude server buffer from
207 2012-07-21 Julien Danjou <julien@danjou.info>
209 * erc-notifications.el: New file.
211 2012-06-15 Julien Danjou <julien@danjou.info>
213 * erc.el (erc-open): Use `auth-source' for password retrieval when
216 2012-06-12 Chong Yidong <cyd@gnu.org>
218 * erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
219 erc-dcc-chat-filter-hook, since this is an abnormal hook.
221 2012-06-08 Chong Yidong <cyd@gnu.org>
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.
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.
235 2012-06-02 Chong Yidong <cyd@gnu.org>
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.
241 2012-05-14 Mike Kazantsev <mk.fraggod@gmail.com> (tiny change)
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.
247 2012-05-13 Teemu Likonen <tlikonen@iki.fi>
249 * erc-backend.el (erc-server-timestamp-format): New variable to
250 allow specifying the timestamp format (bug#10779).
252 2012-04-11 Vivek Dasmohapatra <vivek@etla.org>
254 * erc-services.el (erc-nickserv-passwords): Don't display the
257 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
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.
265 2012-04-10 Deniz Dogan <deniz@dogan.se>
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
272 2012-04-09 Chong Yidong <cyd@gnu.org>
274 * erc.el (erc-cmd-SET): Call custom-variable-p instead of
277 2012-02-08 Glenn Morris <rgm@gnu.org>
279 * erc-backend.el (erc-coding-system-precedence):
280 * erc-join.el (erc-autojoin-delay, erc-autojoin-timing):
281 Add missing :version settings.
283 2012-01-06 Glenn Morris <rgm@gnu.org>
285 * erc.el (erc-tls): Add autoload cookie. (Bug#10333)
287 2011-12-31 Antoine Levitt <antoine.levitt@gmail.com>
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
293 2011-11-28 Mike Kazantsev <mk.fraggod@gmail.com> (tiny change)
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.
301 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
303 * erc-log.el (erc-logging-enabled): Fix typo.
305 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
307 * erc-notify.el (erc-notify-interval, erc-cmd-NOTIFY): Fix typos.
309 2011-10-20 Chong Yidong <cyd@gnu.org>
311 * erc.el (define-erc-module): Fix autogenerated docstring to
312 reflect Emacs 24 minor mode changes.
314 * erc-fill.el (erc-fill-mode):
315 * erc-track.el (erc-track-minor-mode): Doc fix.
317 2011-09-23 Antoine Levitt <antoine.levitt@gmail.com>
319 * erc-button.el (erc-button-next-function): Scoping fix
322 2011-07-04 Vivek Dasmohapatra <vivek@etla.org>
324 * erc.el (erc-generate-new-buffer-name): Reuse old buffer names
325 when reconnecting (bug#5563).
327 2011-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
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
336 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
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.
343 2011-05-03 Debarshi Ray <rishi@gnu.org> (tiny change)
345 * erc-backend.el (671): New response handler.
346 * erc.el (english): Add 671 to catalog.
348 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
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.
355 2011-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
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.
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
368 (button, erc-button-next): Use it.
370 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
372 * erc-hecomplete.el: Move to ../obsolete.
374 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
376 * Version 23.3 released.
378 2011-03-04 Julien Danjou <julien@danjou.info>
380 * erc-track.el (erc-track-visibility): Fix :type. (Bug#6369)
382 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
384 * erc-list.el (erc-list-menu-mode-map): Move initialization
387 2011-02-07 Julien Danjou <julien@danjou.info>
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.
397 2011-01-31 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
399 * erc-track.el (track): Don't reset erc-modified-channels-object
400 each time erc-track-mode is activated.
402 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
405 * erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode.
407 2010-11-11 Glenn Morris <rgm@gnu.org>
409 * erc-lang.el (erc-cmd-LANG): Fix what may have been a typo.
411 2010-11-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
413 * erc-backend.el (erc-coding-system-precedence): New variable.
414 (erc-decode-string-from-target): Use it.
416 2010-10-24 Julien Danjou <julien@danjou.info>
418 * erc-backend.el (erc-server-JOIN): Set the correct target list on join.
420 * erc-backend.el (erc-process-sentinel): Check that buffer is alive
421 before setting it as current buffer.
423 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
425 * erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.
427 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
429 * erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
431 2010-08-14 Vivek Dasmohapatra <vivek@etla.org>
433 * erc-join.el (erc-autojoin-timing, erc-autojoin-delay): New vars.
434 (erc-autojoin-channels-delayed, erc-autojoin-after-ident):
436 (erc-autojoin-channels): Allow autojoining after ident (Bug#5521).
438 2010-08-08 Fran Litterio <flitterio@gmail.com>
440 * erc-backend.el (erc-server-filter-function):
441 Call erc-log-irc-protocol.
443 * erc.el (erc-toggle-debug-irc-protocol):
444 Bind erc-toggle-debug-irc-protocol to t.
446 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
448 * Version 23.2 released.
450 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
454 2010-02-07 Vivek Dasmohapatra <vivek@etla.org>
456 * erc-services.el (erc-nickserv-alist): Fix defcustom type (Bug#5520).
458 2010-01-25 Vivek Dasmohapatra <vivek@etla.org>
460 * erc-backend.el (erc-session-connector): New var.
461 (erc-server-reconnect): Use it to reconnect via old
462 connector (Bug#4958).
464 * erc.el (erc-determine-parameters):
465 Save erc-server-connect-function to erc-session-connector.
467 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
469 * erc.el (erc-display-line-1, erc-process-away):
470 * erc-truncate.el (erc-truncate-buffer-to-size):
471 Use with-current-buffer.
473 2009-10-24 Glenn Morris <rgm@gnu.org>
475 * erc-dcc.el (pcomplete-erc-all-nicks):
476 * erc-notify.el (pcomplete-erc-all-nicks):
477 Autoload it, to silence compiler.
479 * erc-dcc.el (pcomplete/erc-mode/DCC): Replace cl-function
480 remove-duplicates with erc-delete-dups.
482 2009-09-27 Johan Bockgård <bojohan@gnu.org>
484 * erc-button.el (erc-button-keymap): Bind `follow-link'.
486 2009-09-26 Johan Bockgård <bojohan@gnu.org>
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.
493 2009-09-19 Glenn Morris <rgm@gnu.org>
495 * erc-lang.el (line): Define for compiler.
497 2009-07-22 Kevin Ryde <user42@zip.com.au>
499 * erc/erc.el (erc-cmd-MODE): Hyperlink urls in docstring with URL `...'.
501 2009-03-13 D. Goel <deego3@gmail.com>
503 * erc-backend.el: In (multiple-value-bind/setq .. ls),
504 ls-> (values-list ls) throughout.
507 2009-01-18 Michael Olson <mwolson@gnu.org>
509 * erc.el (erc-header-line-uses-tabbar-p): Set to nil by default.
511 2009-01-16 Glenn Morris <rgm@gnu.org>
513 * erc.el (erc-input-message): Conditionalize previous change for XEmacs.
515 * erc-dcc.el (erc-dcc-server): Silence warning about obsolete function
518 2009-01-09 Glenn Morris <rgm@gnu.org>
520 * erc.el (erc-input-message): Replace last-command-char with
523 2009-01-08 Glenn Morris <rgm@gnu.org>
525 * erc.el (tabbar--local-hlf): Silence compiler.
527 2009-01-03 Michael Olson <mwolson@gnu.org>
529 * erc.el (erc-user-input): Do not include text properties when
530 returning user input.
533 See ChangeLog.08 for earlier changes.
535 Copyright (C) 2009-2013 Free Software Foundation, Inc.
537 This file is part of GNU Emacs.
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.
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.
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/>.
554 ;; add-log-time-zone-rule: t