Commit | Line | Data |
---|---|---|
5e56b3fb MO |
1 | 2008-01-25 Michael Olson <mwolson@gnu.org> |
2 | ||
3 | * NEWS: Update. | |
4 | ||
5 | * erc-goodies.el (keep-place): New module which keeps your place | |
6 | in unvisited ERC buffers when new messages arrive. This is mostly | |
7 | taken from Johan Bockgård's init file. | |
8 | (erc-noncommands-list): Move to correct place. | |
9 | ||
10 | * erc-networks.el: Add a module definition. | |
11 | ||
12 | * erc-services.el (erc-nickserv-identify-mode): Force-enable the | |
13 | networks module, because we need it to set erc-network for us. | |
14 | ||
15 | * erc-track.el (erc-track-faces-normal-list): Indicate in the | |
16 | docstring that this variable can be set to nil. | |
17 | ||
18 | * erc.el: On second thought, don't load erc-networks. Just enable | |
19 | the networks module by default. | |
20 | (erc-modules): Add option for keep-place and networks. Enable | |
21 | networks by default. | |
22 | (erc-version-string): Make release candidate 1 available. | |
23 | ||
24 | 2008-01-24 Michael Olson <mwolson@gnu.org> | |
25 | ||
26 | * erc.el: Load erc-networks.el so that functions get access to the | |
27 | `erc-network-name' function. | |
28 | ||
29 | * erc-track.el (erc-track-faces-normal-list): Add | |
30 | erc-dangerous-host-face. | |
31 | (erc-track-exclude-types): Add 333 and 353 to the default list of | |
32 | things to ignore, and explain what they are in the docstring. | |
33 | ||
34 | 2008-01-23 Michael Olson <mwolson@gnu.org> | |
35 | ||
36 | * erc-track.el (erc-track-faces-priority-list): Move | |
37 | erc-nick-default-face higher, so that it can be used for the | |
38 | activity indication effect. Add erc-current-nick-face, | |
39 | erc-pal-face, erc-dangerous-host-face, and erc-fool-face by | |
40 | themselves. | |
41 | (erc-track-faces-normal-list): New option that contains a list of | |
42 | faces to consider "normal". | |
43 | (erc-track-position-in-mode-line): Minor docfix. | |
44 | (erc-track-find-face): Use erc-track-faces-normal-list to produce | |
45 | a sort of blinking activity effect. | |
46 | ||
47 | 2008-01-22 Michael Olson <mwolson@gnu.org> | |
48 | ||
49 | * erc-button.el (erc-button-add-nickname-buttons): When in a | |
50 | channel buffer, only look at nicks from the current channel. | |
51 | Thanks to e1f for the report. | |
52 | ||
53 | 2008-01-21 Michael Olson <mwolson@gnu.org> | |
54 | ||
55 | * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): Remove, | |
56 | since we can use the default `assert' function without it causing | |
57 | us any problems, even in Emacs 21. Thanks to bojohan for the | |
58 | suggestion. | |
59 | ||
60 | * erc-goodies.el (move-to-prompt): Use the "XEmacs" method | |
61 | instead, because the [remap ...] method interferes with | |
62 | delete-selection-mode. | |
63 | (erc-move-to-prompt): Rename from erc-move-to-prompt-xemacs. | |
64 | Deactivate mark and call push-mark before moving point. Thanks to | |
65 | bojohan for the suggestion. | |
66 | (erc-move-to-prompt-setup): Rename from | |
67 | erc-move-to-prompt-init-xemacs. | |
68 | ||
69 | * erc-track.el (erc-track-faces-priority-list): Replace erc-button | |
70 | with '(erc-button erc-default-face) so that we only care about | |
71 | buttons that are part of normal text. Adjust customization type | |
72 | to handle this case. Make erc-nick-default-face a list. Handle | |
73 | pals, fools, current nick, and dangerous hosts. | |
74 | (erc-track-find-face): Simplify. Adapt for list of faces case. | |
75 | (erc-faces-in): Don't deflate lists of faces. Add them as-is. | |
76 | (erc-track-face-priority): Use equal instead of eq. | |
77 | ||
78 | 2008-01-20 Michael Olson <mwolson@gnu.org> | |
79 | ||
80 | * erc-goodies.el (erc-move-to-prompt, erc-move-to-prompt-xemacs): | |
81 | Fix off-by-one error that caused the point to move when placed at | |
82 | the beginning of some already-typed text. Thanks to e1f for the | |
83 | report. | |
84 | ||
85 | * erc-dcc.el, erc-xdcc.el: Add simple module definitions. | |
86 | ||
87 | * erc.el (erc-modules): Add dcc and xdcc. | |
88 | ||
89 | 2008-01-19 Michael Olson <mwolson@gnu.org> | |
90 | ||
91 | * erc-bbdb.el (erc-bbdb-insinuate-and-show-entry): Work around bug | |
92 | in XEmacs 21.4 that throws an error when the first argument to | |
93 | run-at-time is nil. | |
94 | ||
95 | * erc-button.el (button): Undo XEmacs-specific change to all ERC | |
96 | buffers when module is removed. | |
97 | (erc-button-setup): Rename from erc-button-add-keys, and move | |
98 | XEmacs-specific stuff here. | |
99 | ||
100 | * erc-goodies.el (erc-unmorse): Improve regexp for detecting | |
101 | morse. Deal with the morse style that has "/ " at the end of | |
102 | every letter. | |
103 | (erc-imenu-setup): New function that sets up Imenu support. Add | |
104 | it instead of a lambda form to erc-mode-hook. | |
105 | (scrolltobottom): Remove erc-scroll-to-bottom from all ERC buffers | |
106 | when module is removed. Activate the functionality in all ERC | |
107 | buffers when the module is activated, rather than leaving it up to | |
108 | the user. | |
109 | (move-to-prompt): New module that moves to the ERC prompt if a | |
110 | user tries to type elsewhere in the buffer, and then inserts their | |
111 | keystrokes there. This is mostly taken from Johan Bockgård's init | |
112 | file. | |
113 | (erc-move-to-prompt): New function that implements this. | |
114 | (erc-move-to-prompt-xemacs): New function that implements this for | |
115 | XEmacs. | |
116 | (erc-move-to-prompt-init-xemacs): New function to perform the | |
117 | extra initialization step needed for XEmacs. | |
118 | ||
119 | * erc-page.el, erc-replace.el: Fix header and footer. | |
120 | ||
121 | * erc-track.el (erc-track-minor-mode-maybe): Take an optional | |
122 | buffer arg so that we can put this in erc-connect-pre-hook. If | |
123 | given this argument, include it in the check to determine whether | |
124 | to activate erc-track-minor-mode. | |
125 | (track): Add erc-track-minor-mode-maybe to erc-connect-pre-hook, | |
126 | so that we can use it as soon as a connection is attempted. | |
127 | ||
128 | * erc.el (erc-format-network, erc-format-target-and/or-network): | |
129 | Use erc-network-name function instead, and check to see whether | |
130 | that function is bound. This fixes an error in process filter for | |
131 | people who did not have erc-services or erc-networks loaded. | |
132 | (erc-modules): Add move-to-prompt module and enable it by | |
133 | default. Thanks to e1f for the suggestion. | |
134 | ||
135 | 2008-01-18 Michael Olson <mwolson@gnu.org> | |
136 | ||
137 | * Makefile (EXTRAS): Include erc-list-old.el. | |
138 | ||
139 | * erc-dcc.el (erc-dcc-verbose): Rename from erc-verbose-dcc. | |
140 | (erc-pack-int): Rewrite to not depend on a count argument. | |
141 | (erc-unpack-int): Rewrite to remove 4-character limitation. | |
142 | (erc-dcc-server): Call set-process-coding-system and | |
143 | set-process-filter-multibyte so that the contents get sent out | |
144 | without modification. | |
145 | (erc-dcc-send-filter): Don't take a substring -- just pass the | |
146 | whole string to erc-unpack-int. | |
147 | (erc-dcc-receive-cache): New option that indicates the number of | |
148 | bytes to let the receive buffer grow before flushing it. | |
149 | (erc-dcc-file-name): New buffer-local variable to keep track of | |
150 | the filename of the currently-received file. | |
151 | (erc-dcc-get-file): Disable undo for a speed increase. Set | |
152 | erc-dcc-file-name. Truncate the file before writing to it. | |
153 | (erc-dcc-append-contents): New function to append the contents of | |
154 | a buffer to a file and then erase the contents of the buffer. | |
155 | (erc-dcc-get-filter): Flush buffer contents after exceeding | |
156 | erc-dcc-receive-cache. This allows large files to be downloaded | |
157 | without storing the whole thing in memory. | |
158 | (erc-dcc-get-sentinel): Flush any remaining contents before | |
159 | closing. No need to save buffer. | |
160 | (erc-dcc-listen-host): New option that determines which IP address | |
161 | to listen on. | |
162 | (erc-dcc-public-host): New option that determines which IP address | |
163 | to advertise when sending a file. This is useful for people who | |
164 | are on a local subnet. Together, these two options replace | |
165 | erc-dcc-host. | |
166 | ||
167 | * erc.el (erc-mode-line-format): Add %N and %S. %N is the name of | |
168 | the network, and %S is much like %s but with the network name | |
169 | trumping the server name. Default to "%S %a". Thanks to e1f for | |
170 | the suggestion. | |
171 | (erc-format-network): New function that formats the network name. | |
172 | (erc-format-target-and/or-network): New function that formats both | |
173 | the network name and target, falling back on the server name if | |
174 | the network name is not available. | |
175 | (erc-update-mode-line-buffer): Add the new format spec items. | |
176 | ||
177 | 2008-01-17 Michael Olson <mwolson@gnu.org> | |
178 | ||
179 | * erc.el (erc-join-buffer): Improve documentation. | |
180 | (erc-query-display): New option indicating how to display a query | |
181 | buffer that is made by using the /QUERY command. The default is | |
182 | to display the query in a new window. | |
183 | (erc-cmd-QUERY): Use it. Improve docstring. | |
184 | (erc-auto-query): Default this to 'window-noselect instead, | |
185 | because I've already seen bug reports about new users thinking | |
186 | that ERC didn't display their test messages. Improve | |
187 | customization type. | |
188 | (erc-notice-face): Make this work with XEmacs. | |
189 | (erc-join-buffer): Mention 'buffer in docstring. Improve | |
190 | customization type. | |
191 | ||
192 | * erc-dcc.el (erc-dcc-send-sentinel): Better handle case where elt | |
193 | is nil, in order to avoid an error. Thanks to Brent Goodrick for | |
194 | the initial patch. | |
195 | (erc-dcc-display-send): New function split from erc-dcc-send-hook. | |
196 | (erc-dcc-send-connect-hook): Use it -- we don't like lambda forms | |
197 | in hooks. | |
198 | (erc-dcc-send-filter): Display byte count if the client confirmed | |
199 | too much, and kill the buffer. Otherwise a DoS might be possible | |
200 | by making Emacs run out of RAM. | |
201 | ||
202 | * erc-backend.el (erc-server-connect): Detect early on whether the | |
203 | connection attempt has failed in order to avoid confusing error | |
204 | messages. | |
205 | ||
206 | * erc-networks.el (erc-server-alist): Add Rizon network. | |
207 | ||
208 | * erc-services.el (erc-nickserv-passwords): Add Rizon to options. | |
209 | (erc-nickserv-alist): Add support for Rizon. | |
210 | ||
211 | * erc-track.el (erc-track-find-face): Don't let buttons in notices | |
212 | trump default text. Use catch/throw. Default to first element of | |
213 | FACES is nothing is found. | |
214 | ||
215 | * erc-xdcc.el: Add local variables for proper indentation setup. | |
216 | ||
217 | 2008-01-15 Michael Olson <mwolson@gnu.org> | |
218 | ||
219 | * erc-backend.el (erc-server-coding-system): Docfix. | |
220 | (erc-coding-system-for-target): Pass the `target' argument along | |
221 | as the first and only argument. It's not good to just depend on a | |
222 | dynamic binding. | |
223 | ||
224 | 2008-01-10 Michael Olson <mwolson@gnu.org> | |
225 | ||
226 | * erc-backend.el (321, 322): Split message-displaying parts into | |
227 | new functions, which are added to each response's respective | |
228 | hook. This makes them easier to disable. | |
229 | ||
230 | * erc-list.el: New file from Tom Tromey. Use erc-propertize | |
231 | instead of propertize. Require 'erc. | |
232 | (list): New module definition. Remove message-displaying | |
233 | functions for 321 and 322 response handlers when enabling the | |
234 | module, and restore them when disabling. As a sanity check, | |
235 | remove the erc-list-handle-322 function when disabling the module. | |
236 | (erc-list-handle-322): Handle the case where we run the LIST | |
237 | command, but do not go through the normal steps. | |
238 | (erc-cmd-LIST): Add docstring. Strip initial space from line if | |
239 | it is non-nil. Use make-local-variable to silence compiler | |
240 | warning. Capture current buffer and pass it to | |
241 | erc-list-install-322-handler. | |
242 | (erc-list-install-322-handler): Take server-buffer argument, so | |
243 | that we are certain of being in the right buffer. Use 4th | |
244 | argument to add-hook, so that erc-server-322-functions is only | |
245 | modified in one buffer. | |
246 | ||
247 | * erc-list-old.el: Renamed from old erc-list.el. | |
248 | ||
249 | * erc.el (erc-modules): Add list-old. | |
250 | (erc-set-topic): Handle case where there are no newlines in the | |
251 | existing topic, which happens when /LIST is run. | |
252 | (erc-notice-face): If we have less than 88 colors, make this | |
253 | blue. Otherwise the text will be pink in a tty, which looks | |
254 | dreadful. Thanks to e1f for the report. | |
255 | (erc-remove-parsed-property): New option that determines whether | |
256 | to remove the erc-parsed property after displaying a message. | |
257 | This should have the effect of making ERC take up less memory. | |
258 | (erc-display-line-1): Use it. | |
259 | ||
48d33090 SM |
260 | 2008-01-04 Stefan Monnier <monnier@iro.umontreal.ca> |
261 | ||
262 | * erc-ibuffer.el (erc-channel-modes): | |
263 | Pass mode-name through format-mode-line | |
264 | ||
c2e5c939 | 265 | |
5e56b3fb | 266 | See ChangeLog.07 for earlier changes. |
c2e5c939 | 267 | |
5e56b3fb | 268 | Copyright (C) 2008 Free Software Foundation, Inc. |
5b87ad55 GM |
269 | |
270 | This file is part of GNU Emacs. | |
271 | ||
272 | GNU Emacs is free software; you can redistribute it and/or modify | |
273 | it under the terms of the GNU General Public License as published by | |
e0085d62 | 274 | the Free Software Foundation; either version 3, or (at your option) |
5b87ad55 GM |
275 | any later version. |
276 | ||
277 | GNU Emacs is distributed in the hope that it will be useful, | |
278 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
279 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
280 | GNU General Public License for more details. | |
281 | ||
282 | You should have received a copy of the GNU General Public License | |
283 | along with GNU Emacs; see the file COPYING. If not, write to the | |
284 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
285 | Boston, MA 02110-1301, USA. | |
597993cf | 286 | |
19750a72 MB |
287 | ;; Local Variables: |
288 | ;; coding: utf-8 | |
33462dfa | 289 | ;; add-log-time-zone-rule: t |
19750a72 | 290 | ;; End: |
f187f57d MB |
291 | |
292 | ;; arch-tag: 15787dfd-e091-4c8c-8b88-747b474e1ac7 |