* lisp/emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
478d6f95
SM
12011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4 variable's status.
5
ca530739
JD
62011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7
8 * x-dnd.el (x-dnd-version-from-flags)
9 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10 and long as number (Bug#8899).
11 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12
bcd70d97
SM
132011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14
4cb3bfa0
SM
15 * minibuffer.el (completion-metadata): Prepend the alist with `metadata'.
16 (completion-try-completion, completion-all-completions): Compute the
17 metadata argument if it's missing; make it optional (bug#8795).
18
bcd70d97
SM
19 * wid-edit.el: Use lexical scoping and move towards completion-at-point.
20 (widget-complete): Use new :completion-function property.
21 (widget-completions-at-point): New function.
22 (default): Use :completion-function instead of :complete.
23 (widget-default-completions): Rename from widget-default-complete, rewrite.
24 (widget-string-complete, widget-file-complete, widget-color-complete):
25 Remove functions.
26 (file, symbol, function, variable, coding-system, color):
27 * international/mule-cmds.el (default-input-method, charset)
28 (language-info-custom-alist):
29 * cus-edit.el (face): Use new property :completions.
30
31 * progmodes/pascal.el (pascal-completions-at-point): New function.
32 (pascal-mode): Use it.
33 (pascal-mode-map): Use completion-at-point.
34 (pascal-toggle-completions): Make obsolete.
35 (pascal-complete-word, pascal-show-completions):
36 * progmodes/octave-mod.el (octave-complete-symbol):
37 Redefine as obsolete alias.
38 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
39 Signal absence of completion info for old Octave,
40 (inferior-octave-complete): Redefine as obsolete alias.
41 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
42 (meta-completions-at-point): Rename from meta-complete-symbol and
43 adapt it for use on completion-at-point-functions.
44 (meta-common-mode): Use it.
45 (meta-looking-at-backward, meta-match-buffer): Remove.
46 (meta-complete-symbol): Redefine as obsolete alias.
47 (meta-common-mode-map): Use completion-at-point.
48 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
49 (makefile-mode-map): Use completion-at-point.
50 (makefile-completions-at-point): Rename from makefile-complete and
51 adapt it for use on completion-at-point-functions.
52 (makefile-mode): Use it.
53 (makefile-complete): Redefine as obsolete alias.
54
aebf69c8
DD
552011-06-20 Deniz Dogan <deniz@dogan.se>
56
57 * net/rcirc.el: Delete trailing whitespaces once and for all.
58
4c43d97b
MR
592011-06-20 Martin Rudalics <rudalics@gmx.at>
60
61 * window.el (get-window-with-predicate): Start scanning with
62 window following selected window to restore Emacs 23 behavior.
63 Clarify doc-string.
64 (get-buffer-window-list): Start scanning with selected window to
65 restore Emacs 23 behavior. Clarify doc-string.
66
bfbbb27d
DC
672011-06-20 Daniel Colascione <dan.colascione@gmail.com>
68
69 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
70
d264a46b
CY
712011-06-19 Chong Yidong <cyd@stupidchicken.com>
72
4ca009e5
CY
73 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
74
d264a46b
CY
75 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
76
fbf5b3ce
MR
772011-06-19 Martin Rudalics <rudalics@gmx.at>
78
79 * window.el (display-buffer-other-window-means-other-frame):
80 Call display-buffer-normalize-alist.
81 (display-buffer-normalize-specifiers-1): Rename to
82 display-buffer-normalize-argument. New argument other-frame.
83 Rewrite.
84 (display-buffer-normalize-specifiers-2): Rename to
85 display-buffer-normalize-options.
86 (display-buffer-normalize-alist-1): New function.
87 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
88 display-buffer-normalize-alist.
89 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
90 (display-buffer-normalize-options-inhibit): New variable.
91 (display-buffer-normalize-specifiers): Rewrite calling
92 display-buffer-normalize-alist,
93 display-buffer-normalize-argument, and
94 display-buffer-normalize-options. Don't call the latter if
95 display-buffer-normalize-options-inhibit is non-nil.
96 (frame-auto-delete): New option.
97 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
98 (window-list-no-nils, window-state-ignored-parameters)
99 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
100 (window-state-put-1, window-state-put-2, window-state-put):
101 New functions.
9a028c23
MR
102 (display-buffer-normalize-options): Move special-display-p group
103 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 104
6d10d800
CY
1052011-06-18 Chong Yidong <cyd@stupidchicken.com>
106
6420d28b
CY
107 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
108 groups (Bug#8776).
109 (rx-submatch-n): New function.
110 (rx): Document it.
111
ddb8b596
CY
112 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
113 (Bug#8768).
114
115 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
116
77080289
CY
117 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
118
61dfb316
CY
119 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
120 anytime existing face settings are present (Bug#8889).
121
6d10d800
CY
122 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
123 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
124 Remove unused argument.
125
be3fb2b8
MR
1262011-06-18 Martin Rudalics <rudalics@gmx.at>
127
bcd70d97
SM
128 * window.el (display-buffer-default-specifiers):
129 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
130 pop-up-window-min-width, and another reuse-window specifier
131 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
132 (display-buffer-normalize-specifiers-2):
133 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
134 pop-up-windows is unset. Add a reuse-window specifier for the
135 case popping up a new window fails.
136 (special-display-popup-frame): Remove double quoting.
28dec25a 137 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 138
1c6d8c76
SM
1392011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * shell.el (shell-completion-vars): Set pcomplete-termination-string
142 according to comint-completion-addsuffix.
143
144 * pcomplete.el: Convert to lexical binding and fix bug#8819.
145 (pcomplete-suffix-list): Mark as obsolete.
146 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
147 pcomplete-seen in the closure.
148 (pcomplete-comint-setup): Setup completion-at-point as well.
149 (pcomplete--entries): New function.
150 (pcomplete--env-regexp): New var.
151 (pcomplete-entries): Rewrite to work with partial-completion and
152 without relying on pcomplete-suffix-list.
153 (pcomplete-pare-list): Remove, unused.
154
25aef8b8
MR
1552011-06-17 Martin Rudalics <rudalics@gmx.at>
156
157 * window.el (display-buffer-alist): Set pop-up-window-min-height
158 and pop-up-window-min-width in default value. Reported by
159 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
160 other-window-means-other-frame.
161 (display-buffer-macro-specifiers): Comment out entry for
162 other-window specifier.
163 (display-buffer-other-window-means-other-frame): New function.
164 (display-buffer-normalize-specifiers-1): New arguments
165 buffer-name and label. Treat other-window case specially.
166 (display-buffer-normalize-specifiers-2): Treat other-window case
167 specially.
168 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
169 (display-buffer-normalize-specifiers):
170 Call display-buffer-normalize-specifiers-3.
25aef8b8 171
dbad4f69
MR
1722011-06-17 Martin Rudalics <rudalics@gmx.at>
173
174 * window.el (same-window-p): Fix two typos introduced when
175 adding with-no-warnings.
d1067961
MR
176 (display-buffer-normalize-specifiers-1): Don't check
177 pop-up-frames for 'unset initialization.
178 (display-buffer-normalize-specifiers-2): Major rewrite using
179 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
180 (pop-up-frames, display-buffer-reuse-frames)
181 (display-buffer-mark-dedicated): Don't initialize to 'unset.
182 Suggested by David Engster <deng@randomsample.de>.
183 (even-window-heights): Initialize to 'unset.
184 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
185 (display-buffer-macro-specifiers): Don't pop up a new frame in the
186 other window case.
dbad4f69 187
9b9c9e3a
MR
1882011-06-16 Martin Rudalics <rudalics@gmx.at>
189
bcd70d97
SM
190 * window.el (display-buffer-normalize-specifiers-1):
191 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 192 second argument of display-buffer (Bug#8865).
981d5c09
MR
193 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
194 (switch-to-buffer-other-window-same-frame)
195 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
196 Adams (Bug#8875).
9c2755e9
MR
197 (display-buffer): Don't check noninteractive when calling
198 display-buffer-pop-up-frame.
199 (display-buffer-pop-up-frame): Never pop up a frame in
200 noninteractive mode (Bug#8857).
67222e1d
MR
201 (enlarge-window, shrink-window): Don't report an error when the
202 window can't be resized as requested (Bug#8862).
9b9c9e3a 203
2b75be67
SM
2042011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
205
9ffdd3ba
SM
206 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
207
cb581a67
SM
208 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
209
2b75be67
SM
210 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
211
8c0e3589
AM
2122011-06-15 Alan Mackenzie <acm@muc.de>
213
cb581a67
SM
214 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
215 for declarators, disable knr checking to speed up for normal files.
216 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 217
b96e6cde
LMI
2182011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
219
4bba86e6
LMI
220 * net/network-stream.el (open-network-stream): Add the keyword
221 :always-query-capabilities for the case where you want to force a
222 `plain' network connection, but the protocol still requires the
223 capabilitiy command (i.e., SMTP and EHLO).
224
2b75be67 225 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
226 consistency with other `-live-p' functions.
227
efdcdbf8
SM
2282011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * window.el (same-window-buffer-names, same-window-regexps)
231 (special-display-frame-alist, special-display-popup-frame)
232 (special-display-function, special-display-buffer-names)
233 (special-display-regexps, pop-up-frame-alist)
234 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
235 (pop-up-windows, split-window-preferred-function)
236 (split-height-threshold, split-width-threshold, even-window-heights)
237 (display-buffer-mark-dedicated): Don't encourage the use of
238 display-buffer-alist from Elisp code.
239
c5cde042
DN
2402011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
241
242 * progmodes/python.el (python-mode): Derive from prog-mode.
243 * progmodes/ps-mode.el (ps-mode):
244 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 245 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
246 * progmodes/ld-script.el (ld-script-mode): Likewise.
247
baa1c9ab
MR
2482011-06-15 Martin Rudalics <rudalics@gmx.at>
249
250 * window.el (display-buffer-alist): Trim default value to avoid
251 popping up a new frame (Bug#8857) or reusing an arbitrary window
252 on another frame.
253 (display-buffer): Do not fall back on popping up a new frame in
254 batch mode (Bug#8857).
255
c5dd5a51
CY
2562011-06-14 Chong Yidong <cyd@stupidchicken.com>
257
258 * cus-theme.el (describe-theme-1): Use custom-theme-p.
259 (custom-theme-summary): New function.
260 (customize-themes): Use it.
261
d647b7c4
GM
2622011-06-13 Glenn Morris <rgm@gnu.org>
263
264 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
265
9481c002
MR
2662011-06-13 Martin Rudalics <rudalics@gmx.at>
267
357f93d2
MR
268 * help.el (help-window): Remove variable.
269 (help-window-point-marker, temp-buffer-max-height)
270 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
271 (help-print-return-message): Don't set help-window.
272 (resize-temp-buffer-window): Rewrite cod eand doc-string.
273 (help-window-setup-finish): Remove.
274 (help-window-display-message, help-window-setup)
275 (with-help-window): Major rewrite based on new
276 display-buffer-window variable.
277
278 * help-mode.el (help-mode-finish): Remove help-window related
279 code.
280
281 * view.el (view-exits-all-viewing-windows): Remove reference to
282 view-return-to-alist in doc-string.
283 (view-return-to-alist): Make obsolete.
284 (view-buffer): Call pop-to-buffer-same-window and remove
285 undo-window code.
286 (view-buffer-other-window): Call pop-to-buffer-other-window and
287 simplify code. Ignore second argument.
288 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
289 simplify code. Ignore second argument.
290 (view-return-to-alist-update): Make obsolete.
291 (view-mode-enter): Rename second argument to QUIT-RESTORE.
292 Rewrite using quit-restore window parameters.
2b75be67
SM
293 (view-mode-exit): Rename second argument to EXIT-ONLY.
294 Rewrite using quit-restore-window.
357f93d2
MR
295 (View-exit, View-exit-and-edit, View-leave, View-quit)
296 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
297 appropriate arguments.
298 (view-end-message): Use quit-restore window parameter.
299
9481c002
MR
300 * window.el (display-buffer-function): Rewrite doc-string.
301 (display-buffer-window, display-buffer-alist): New variables.
302 (display-buffer-split-specifiers)
303 (display-buffer-side-specifiers)
304 (display-buffer-macro-specifiers): New constants.
305 (display-buffer-even-window-sizes, display-buffer-set-height)
306 (display-buffer-set-width, display-buffer-select-window)
307 (display-buffer-in-window, display-buffer-reuse-window)
308 (display-buffer-split-window-1, display-buffer-split-window)
309 (display-buffer-split-atom-window, display-buffer-pop-up-window)
310 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
311 (display-buffer-in-side-window, normalize-buffer-to-display)
312 (display-buffer-normalize-specifiers-1)
313 (display-buffer-normalize-specifiers-2)
2b75be67
SM
314 (display-buffer-normalize-specifiers, display-buffer-frame):
315 New functions.
9481c002
MR
316 (display-buffer): Major rewrite.
317 (display-buffer-other-window, display-buffer-other-frame)
318 (pop-to-buffer, switch-to-buffer-other-window)
319 (switch-to-buffer-other-frame): Rewrite.
320 (display-buffer-same-window, display-buffer-same-frame)
321 (display-buffer-same-frame-other-window)
322 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
323 (pop-to-buffer-other-window)
324 (pop-to-buffer-same-frame-other-window)
325 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
326 (switch-to-buffer-other-window-same-frame): New functions.
327 (same-window-p, special-display-p): Rewrite disabling warnings.
328 Make obsolete.
329 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
330 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
331 Make obsolete
332 (same-window-buffer-names, same-window-regexps)
333 (special-display-frame-alist, special-display-popup-frame)
334 (special-display-function, special-display-buffer-names)
335 (special-display-regexps, pop-up-frame-alist)
336 (pop-up-frame-function, split-window-preferred-function)
337 (split-height-threshold, split-width-threshold)
338 (even-window-heights): Make obsolete.
339
9db51aca
GM
3402011-06-12 Glenn Morris <rgm@gnu.org>
341
342 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 343 Misc simplifications.
9db51aca 344
39cffb44
MR
3452011-06-12 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (window-safely-shrinkable-p): Restore function which
348 was inadvertently removed in change from 2011-06-11. Declare as
349 obsolete.
350
2b75be67
SM
351 * calendar/calendar.el (calendar-generate-window):
352 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
353 window-safely-shrinkable-p.
354
a8955be7
GM
3552011-06-12 Glenn Morris <rgm@gnu.org>
356
357 * progmodes/fortran.el (fortran-mode-syntax-table):
358 * progmodes/f90.el (f90-mode-syntax-table):
359 Set % to punctuation. (Bug#8820)
360 (f90-find-tag-default): Remove, no longer needed.
361
f0d4059d
DC
3622011-06-12 Daniel Colascione <dan.colascione@gmail.com>
363
364 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
365
1100a63c
CY
3662011-06-11 Chong Yidong <cyd@stupidchicken.com>
367
368 * image.el (image-animated-p): Return animation delay in seconds.
369 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
370 (image-animate-timeout): Remove DELAY argument. Don't assume
371 every subimage has the same delay; get it from image-animated-p.
372 (image-animate): Caller changed.
373
def722bf
MA
3742011-06-11 Michael Albinus <michael.albinus@gmx.de>
375
376 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
377 to ignored backtrace functions.
378
0a2bb1a9
GM
3792011-06-11 Glenn Morris <rgm@gnu.org>
380
381 * calendar/appt.el (appt-disp-window-function): Doc fix.
382 (appt-check): Handle overlapping appointments. (Bug#8337)
383
6198ccd0
MR
3842011-06-11 Martin Rudalics <rudalics@gmx.at>
385
386 * window.el (window-tree-1, window-tree): New functions, moving
387 the latter to window.el.
388 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
389 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
390 (bw-refresh-edges): Remove.
391 (balance-windows-1, balance-windows-2): New functions.
392 (balance-windows): Rewrite in terms of window tree functions,
393 balance-windows-1 and balance-windows-2.
394 (bw-adjust-window): Remove.
395 (balance-windows-area-adjust): New function with functionality of
396 bw-adjust-window but using resize-window.
2b75be67
SM
397 (set-window-text-height): Rewrite doc-string.
398 Use normalize-live-window and resize-window.
399 (enlarge-window-horizontally, shrink-window-horizontally):
400 Rename argument to DELTA.
6198ccd0
MR
401 (window-buffer-height): New function.
402 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
403 Rewrite using new window resize routines.
2b75be67
SM
404 (kill-buffer-and-window, mouse-autoselect-window-select):
405 Use ignore-errors instead of condition-case.
6198ccd0
MR
406 (quit-window): Call delete-frame instead of delete-windows-on
407 for the only buffer on frame.
408
9397e56f
MR
4092011-06-10 Martin Rudalics <rudalics@gmx.at>
410
411 * loadup.el (top-level): Load window before files for the sake
412 of replace-buffer-in-windows.
413
414 * files.el (read-buffer-to-switch)
415 (switch-to-buffer-other-window)
2b75be67
SM
416 (switch-to-buffer-other-frame, display-buffer-other-frame):
417 Move to window.el.
9397e56f
MR
418
419 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
420 (previous-buffer): Move to window.el.
421
422 * bindings.el (unbury-buffer): Move to window.el.
423
424 * window.el (delete-other-windows-vertically): Move after
425 definition of delete-other-windows.
426 (other-window, delete-windows-on, replace-buffer-in-windows):
427 Move here from window.c.
428 (record-window-buffer, unrecord-window-buffer)
429 (set-window-buffer-start-and-point, switch-to-prev-buffer)
430 (switch-to-next-buffer): New functions.
431 (get-next-valid-buffer, last-buffer, next-buffer): Move here
432 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
433 (previous-buffer): Move here from simple.el.
434 Call switch-to-prev-buffer.
9397e56f
MR
435 (bury-buffer): Move here from buffer.c. Switch to previous
436 buffer when window cannot be deleted.
437 (unbury-buffer): Move here from bindings.el.
438 (ctl-x-map): Move binding for other-window from window.c to
439 here.
440 (read-buffer-to-switch, switch-to-buffer-other-window)
441 (switch-to-buffer-other-frame): Move here from files.el.
442 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
443 (switch-to-buffer): Move here from buffer.c.
444 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 445
562dd5e9
MR
4462011-06-10 Martin Rudalics <rudalics@gmx.at>
447
448 * window.el (window-min-height, window-min-width): Move here
449 from window.c. Add defcustoms and rewrite doc-strings.
450 (resize-mini-window, resize-window): New functions.
451 (adjust-window-trailing-edge, enlarge-window, shrink-window):
452 Move here from window.c.
453 (maximize-window, minimize-window): New functions.
454 (delete-window, delete-other-windows, split-window): Move here
455 from window.c.
456 (window-split-min-size): New function.
457 (split-window-keep-point): Mention split-window-above-each-other
458 instead of split-window-vertically.
2b75be67
SM
459 (split-window-above-each-other, split-window-vertically):
460 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
461 provide defalias for old definition.
462 (split-window-side-by-side, split-window-horizontally): Rename
463 split-window-horizontally to split-window-side-by-side and provide
464 defalias for the old definition.
465 (ctl-x-map): Move bindings for delete-window,
466 delete-other-windows and enlarge-window here from window.c.
467 Replace bindings for split-window-vertically and
468 split-window-horizontally by bindings for
469 split-window-above-each-other and split-window-side-by-side.
470
471 * cus-start.el (all): Remove entries for window-min-height and
472 window-min-width. Add entries for window-splits and
473 window-nest.
474
f0da764a
GM
4752011-06-09 Glenn Morris <rgm@gnu.org>
476
80675c21
GM
477 * calendar/appt.el (appt-mode-line): New function.
478 (appt-check, appt-disp-window): Use it.
479
f0da764a
GM
480 * files.el (hack-one-local-variable-eval-safep):
481 Allow minor-modes with explicit +/-1 arguments.
482
59f623b7
TZ
4832011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
484
485 * term/xterm.el (xterm): Add defgroup.
486 (xterm-extra-capabilities): Add defcustom to supply known xterm
487 capabilities, skip querying them, or query them (default).
488 (terminal-init-xterm): Use it.
489 (terminal-init-xterm-modify-other-keys): New function to set up
490 modifyOtherKeys support to simplify `terminal-init-xterm'.
491
9aab8e0d
MR
4922011-06-09 Martin Rudalics <rudalics@gmx.at>
493
494 * window.el (resize-window-reset, resize-window-reset-1)
495 (resize-subwindows-skip-p, resize-subwindows-normal)
496 (resize-subwindows, resize-other-windows, resize-this-window)
497 (resize-root-window, resize-root-window-vertically)
498 (window-deletable-p, window-or-subwindow-p)
499 (frame-root-window-p): New functions.
500
e8b08aee
GM
5012011-06-09 Glenn Morris <rgm@gnu.org>
502
503 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
504 (ange-ftp-get-files): Use it.
505
254c37a5
AK
5062011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
507
508 * mail/sendmail.el (mail-recover-1, mail-recover):
509 * files.el (recover-file, recover-session):
510 Handle dired-listing-switches not being just a single short option.
511
35d7dbd3
GM
5122011-06-09 Glenn Morris <rgm@gnu.org>
513
514 * calendar/appt.el (appt-display-message, appt-disp-window):
515 Handle lists of appointments.
516
387522b2
MR
5172011-06-08 Martin Rudalics <rudalics@gmx.at>
518
2b75be67
SM
519 * window.el (one-window-p): Move down in code.
520 Rewrite doc-string.
521 (window-current-scroll-bars): Rewrite doc-string.
522 Normalize live window argument.
387522b2
MR
523 (walk-windows, get-window-with-predicate, count-windows):
524 Rewrite doc-string. Use window-list-1.
525 (window-in-direction-2, window-in-direction, get-mru-window):
526 New functions.
527
2c587104
GM
5282011-06-08 Reuben Thomas <rrt@sc3d.org>
529
530 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
531 Doc fix (Bug#8713).
532
5332011-06-08 Chong Yidong <cyd@stupidchicken.com>
534
535 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
536
5372011-06-08 Juanma Barranquero <lekktu@gmail.com>
538
539 * loadhist.el (unload-feature-special-hooks):
540 Add `comint-output-filter-functions'.
541
0de12c52
IK
5422011-06-08 Ivan Kanis <gnu@kanis.fr>
543
544 * calendar/appt.el (appt-check): Move some initializations into the let.
545
f3d1777e
MR
5462011-06-08 Martin Rudalics <rudalics@gmx.at>
547
548 * window.el (window-height): Defalias to window-total-height.
549 (window-width): Defalias to window-body-width.
550
18af70d0
CY
5512011-06-07 Chong Yidong <cyd@stupidchicken.com>
552
553 * image-mode.el (image-toggle-animation): New command.
554 (image-mode-map): Bind it to RET.
555 (image-mode): Update message.
556 (image-toggle-display-image): Avoid a spurious cache flush.
557 (image-transform-rotation): Doc fix.
558 (image-transform-properties): Return quickly in the normal case.
559 (image-animate-loop): Rename from image-animate-max-time.
560
2b75be67 561 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
562 (create-animated-image): Remove unnecessary function.
563 (image-animate): Rename from image-animate-start. New arg.
2b75be67 564 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
565 (image-animate-timer): Use car-safe.
566 (image-animate-timeout): Rename argument.
567
190b47e6
MR
5682011-06-07 Martin Rudalics <rudalics@gmx.at>
569
570 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
571 window.c. Rename first argument to ALL-FRAMES.
572 Rephrase doc-strings.
573 (get-buffer-window-list): Rewrite using window-list-1.
574 Rephrase doc-string.
a1511caf
MR
575 (window-safe-min-height, window-safe-min-width): New constants.
576 (window-size-ignore, window-min-size, window-min-size-1)
577 (window-sizable, window-sizable-p, window-size-fixed-1)
578 (window-size-fixed-p, window-min-delta-1, window-min-delta)
579 (window-max-delta-1, window-max-delta, window-resizable)
580 (window-resizable-p, window-total-height, window-total-width)
581 (window-body-width): New functions.
582 (window-full-height-p, window-full-width-p): Rewrite using
583 window-total-size.
584 (window-body-height): Rewrite using window-body-size.
190b47e6 585
85cc1f11
MR
5862011-06-06 Martin Rudalics <rudalics@gmx.at>
587
588 * window.el (window-right, window-left, window-child)
589 (window-child-count, window-last-child, window-any-p)
590 (normalize-live-buffer, normalize-live-frame)
591 (normalize-any-window, normalize-live-window)
592 (window-iso-combination-p, window-iso-combined-p)
593 (window-iso-combinations)
594 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
595 (windows-with-parameter, window-with-parameter)
596 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
597 (window-atom-check, window-side-check, window-check):
598 New functions.
85cc1f11
MR
599 (ignore-window-parameters, window-sides, window-sides-vertical)
600 (window-sides-slots): New variables.
601 (window-size-fixed): Move down in code. Minor doc-string fix.
602
e7156492
AS
6032011-06-05 Andreas Schwab <schwab@linux-m68k.org>
604
605 * comint.el (comint-dynamic-complete-as-filename)
606 (comint-dynamic-complete-filename): Correctly call
607 completion-in-region.
608
7e821d0d
DD
6092011-06-05 Deniz Dogan <deniz@dogan.se>
610
611 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
612 in last change.
613
ac09b8a1
DD
6142011-06-05 Deniz Dogan <deniz@dogan.se>
615
616 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
617 (rcirc): Use it to prompt for encryption.
618
34699b85
RW
6192011-06-05 Roland Winkler <winkler@gnu.org>
620
621 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
622 (bibtex-search-entries): New command bound to C-c C-a.
623 (bibtex-display-entries): New function.
624
004dedd3
RW
6252011-06-05 Roland Winkler <winkler@gnu.org>
626
627 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
628 (bibtex-insert-kill): After yanking insert newline if necessary.
629 (bibtex-initialize): Call bibtex-string-files-init only once.
630 (bibtex-mode): Do not call easy-menu-add.
631 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
632 (bibtex-yank): Set arg properly if nil.
633
022fe7ce
RW
6342011-06-05 Roland Winkler <winkler@gnu.org>
635
2b75be67
SM
636 * textmodes/bibtex.el (bibtex-search-entry-globally):
637 New variable.
022fe7ce
RW
638 (bibtex-search-entry): Use it.
639
b7c3692a
RW
6402011-06-05 Roland Winkler <winkler@gnu.org>
641
642 * textmodes/bibtex.el (bibtex-entry-format): New option
643 sort-fields.
644 (bibtex-format-entry, bibtex-reformat): Honor this option.
645 (bibtex-parse-entry): Return fields in proper order.
646
8eda563d
JB
6472011-06-05 Juanma Barranquero <lekktu@gmail.com>
648
649 * doc-view.el (doc-view-remove-if): Move computation of result out
650 of `dolist' to silence misleading lexical-binding warning.
651
7dbe3dbc
CY
6522011-06-04 Chong Yidong <cyd@stupidchicken.com>
653
654 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
655 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
656
0c33dd17
MA
6572011-06-04 Michael Albinus <michael.albinus@gmx.de>
658
659 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
660 "SunOS 5.10".
661
f8f91c2b
MA
6622011-06-04 Michael Albinus <michael.albinus@gmx.de>
663
664 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
665 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
666 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
667 (tramp-parse-putty):
668 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
669 (tramp-completion-function-alist-ssh)
670 (tramp-completion-function-alist-telnet)
671 (tramp-completion-function-alist-su)
672 (tramp-completion-function-alist-putty): Set `tramp-autoload'
673 cookie.
674
675 * net/tramp-ftp.el:
676 * net/tramp-sh.el:
677 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
678 load "tramp.el" `tramp-set-completion-function'.
679
e17d9003
SM
6802011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * shell.el: Require and use pcomplete.
683 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
684 (shell-completion-vars): Set pcomplete-default-completion-function.
685
6c4cab03
DD
6862011-06-04 Deniz Dogan <deniz@dogan.se>
687
688 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
689 `memq' (Bug#8799).
690
ea9fafe0
SM
6912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
694
b3e945d3
JB
6952011-06-02 Juanma Barranquero <lekktu@gmail.com>
696
697 * bs.el (bs--mark-unmark, bs--nth-wrapper):
698 * mpc.el (mpc-select-extend, mpc-songpointer-context):
699 * vc/log-view.el (log-view-beginning-of-defun):
700 * vc/smerge-mode.el (smerge-apply-resolution-patch)
701 (smerge-refine-forward, smerge-refine-chopup-region):
702 Silence warning for unused `dotimes' counter variables.
703
7d520089
SM
7042011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * net/tramp.el (tramp-with-progress-reporter): Rename from
707 with-progress-reporter. Use `declare'.
708 * net/tramp-smb.el:
709 * net/tramp-sh.el:
710 * net/tramp-gvfs.el: Update all uses.
711
a1c2400f
JB
7122011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
713
714 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
715 buffer isn't killed before making it current.
716
2403c841
SM
7172011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 Silence various byte-compiler warnings.
720 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
721 `access-type' and new obsolescence format.
722 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
723 new format.
724 (byte-compile-check-variable): New `access-type' argument.
725 Only warn if the access-type is obsolete.
726 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
727 (byte-compile-variable-set): Adjust callers.
728 * help-fns.el (describe-variable): Adjust to new obsolescence format.
729 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
730 setting it as obsolete.
731 * simple.el (minibuffer-completing-symbol):
732 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
733 access as obsolete.
734 * minibuffer.el (minibuffer-completing-file-name): Don't make it
735 obsolete yet.
736 * international/quail.el (quail-mouse-choose-completion): Remove unused
737 code referring to obsolete var.
738 (quail-choose-completion-string): Remove.
739 * server.el (server-clients-with, server-kill-buffer-query-function)
740 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
741 * proced.el (proced-send-signal):
742 * emacs-lisp/lisp.el (lisp-complete-symbol):
743 Replace completion-annotate-function with completion-extra-properties.
744
2462470b
SM
7452011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
746
fb5b2591
SM
747 * simple.el (goto-line): Use read-number.
748 (overriding-map-is-bound): Remove.
749 (saved-overriding-map): Change default.
750 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
751 Take the map as argument.
752 (universal-argument, negative-argument, digit-argument): Use it.
753 (restore-overriding-map): Adjust.
754 (do-auto-fill): Use fill-forward-paragraph.
755 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
756
fd6fa53f
SM
757 * minibuffer.el (minibuffer-inactive-mode-map): New var.
758 (minibuffer-inactive-mode): New major mode.
759 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
760 the *Messages* buffer" hack.
761 (mouse-popup-menubar): Don't burp if the event is a normal key.
762
2462470b
SM
763 Miscellaneous tweaks.
764 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
765 lexical scoping as in subr.el's dolist and dotimes.
766 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
767 Silence compiler warning.
768 * thingatpt.el (forward-whitespace): Trivial coding style fix.
769 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
770 * international/ccl.el (ccl-compile): Trivial simplification.
771 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
772 * emacs-lisp/testcover.el (testcover-end): Remove spurious
773 `printflag' argument.
774 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
775 Purecopy the whole obsolescence data.
776
108bf785
LL
7772011-06-01 Leo Liu <sdl.web@gmail.com>
778
779 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
780 improve doc-string as suggested by Marco Pessotto
781 <melmothx@gmail.com>.
782 (rcirc-print): Fix last change.
783
30a23501
SM
7842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * minibuffer.el (complete-with-action): Return nil for the metadata and
787 boundaries of non-functional tables.
788 (completion-table-dynamic): Return nil for the metadata.
789 (completion-table-with-terminator): Add default case, using
790 complete-with-action.
791 (completion--metadata): New function.
792 (completion-all-sorted-completions, minibuffer-completion-help): Use it
793 to try and avoid pathological performance problems.
794 (completion--embedded-envvar-table): Return `category' metadata.
795
bcd54f83
LMI
7962011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
797
798 * subr.el (process-alive-p): New tiny convenience function.
799
e227544d
SM
8002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
803 content but also its previous major mode.
804
e8296fdc
HE
8052011-05-31 Helmut Eller <eller.helmut@gmail.com>
806
807 * debug.el (debug): Restore the previous content of the
808 *Backtrace* buffer when we exit with C-M-c.
809
620c53a6
SM
8102011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * minibuffer.el: Add metadata method to completion tables.
813 (completion-category-overrides): New defcustom.
814 (completion-metadata, completion--field-metadata)
815 (completion-metadata-get, completion--styles)
816 (completion--cycle-threshold): New functions.
817 (completion-try-completion, completion-all-completions):
818 Add `metadata' argument to choose completion-styles.
819 (completion--do-completion): Use metadata to choose cycling.
820 (completion-all-sorted-completions): Use metadata for sorting.
821 Remove :completion-cycle-penalty which is not needed any more.
822 (completion--try-word-completion): Add `metadata' argument.
823 (minibuffer-completion-help): Check metadata for annotation function
824 and sorting.
825 (completion-file-name-table): Return `category' metadata.
826 (minibuffer-completing-file-name): Make obsolete.
827 * simple.el (minibuffer-completing-symbol): Make obsolete.
828 * icomplete.el (icomplete-completions): Pass new `metadata' param to
829 completion-try-completion.
830
1257e755
SM
8312011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
834
3767e706
LL
8352011-05-30 Leo Liu <sdl.web@gmail.com>
836
837 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
838 (rcirc-print): Decode all incoming messages (bug#8744).
839 (rcirc-decode-coding-system): Allow value nil for automatic coding
840 system detection.
3767e706 841
d1a5d56a
GM
8422011-06-01 Glenn Morris <rgm@gnu.org>
843
844 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
845
e8cbec34
CY
8462011-05-29 Chong Yidong <cyd@stupidchicken.com>
847
848 * image.el (image-animate-max-time): Allow nil and t values.
849 Default to nil.
850 (create-animated-image): Doc fix.
851 (image-animate-start): Remove second arg; just use
852 image-animate-max-time.
853 (image-animate-timeout): Doc fix. Args changed.
854
855 * image-mode.el (image-toggle-display-image): Ensure that the
856 image spec passed to the animate timer is the same object as in
857 the the buffer's display property (Bug#6981).
858 (image-transform-properties): Doc fix.
859
860 * image.el (image-animate-max-time): Default to nil.
861
159daf87
MR
8622011-05-29 Martin Rudalics <rudalics@gmx.at>
863
864 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
865 entire buffer list (Bug#8184).
866
d66c4c7c
CY
8672011-05-29 Chong Yidong <cyd@stupidchicken.com>
868
869 * image.el (imagemagick-types-inhibit)
870 (imagemagick-register-types): Doc fix.
871
80aec780
DD
8722011-05-29 Deniz Dogan <deniz@dogan.se>
873
874 * net/rcirc.el (rcirc): Use the user's stored encryption method by
875 default.
876
1dd3c2d9
CY
8772011-05-29 Chong Yidong <cyd@stupidchicken.com>
878
879 * select.el: Don't perform clipboard-manager saving in hooks;
880 leave the hooks empty.
881
60e56523
LL
8822011-05-28 Leo Liu <sdl.web@gmail.com>
883
884 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
885 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
886 (occur-edit-mode): New major mode (Bug#8463).
887 (occur-after-change-function): New function.
888 (occur-engine): Give Occur tags a read-only property.
889
2b1e1a22
KR
8902011-05-28 Kevin Ryde <user42@zip.com.au>
891
892 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
893
5d344e88
CY
8942011-05-28 Chong Yidong <cyd@stupidchicken.com>
895
8e6ca83d
CY
896 * bindings.el (help-echo): Make the initial non-indicator dash
897 empty on graphical terminals (Bug#7295).
898
5d344e88
CY
899 * files.el (auto-mode-alist): Move config rule after the
900 in-stripping one (Bug#8547).
901
bfbbace7
CY
902 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
903
fbeba6e2
CY
904 * startup.el (normal-splash-screen): Remove gratuitous mode-line
905 setting (Bug#8740).
906
60ed8c72
AA
9072011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
908
4ac619f0
AA
909 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
910 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
911 (Bug#8539).
60ed8c72 912
23db196e
CY
9132011-05-28 Chong Yidong <cyd@stupidchicken.com>
914
60ed8c72 915
23db196e
CY
916 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
917
5012f24c
DK
9182011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
919
920 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
921 (hs-hide-block-at-point, hs-find-block-beginning)
922 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
923 (Bug#8279).
924
6a639b16
GM
9252011-05-28 Glenn Morris <rgm@gnu.org>
926
927 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
928
d43eaf2c
CY
9292011-05-28 Chong Yidong <cyd@stupidchicken.com>
930
5199bde1
CY
931 * help-fns.el (describe-function-1): If the function is a derived
932 major mode, print the parent mode.
933
d43eaf2c
CY
934 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
935 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
936
423428a8
SM
9372011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
938
0ff8e1ba
SM
939 * minibuffer.el (completion--capf-wrapper): Check applicability before
940 retuning non-nil for non-exclusive completion data.
941 * progmodes/etags.el (tags-completion-at-point-function):
942 * info-look.el (info-lookup-completions-at-point): Mark as
943 non-exclusive.
944 (info-complete): Adjust accordingly.
945
423428a8
SM
946 * info-look.el: Convert to lexical-binding and completion-at-point.
947 (info-lookup-completions-at-point): New function.
948 (info-complete): Use it and completion-in-region.
949
b74aa22b
DA
9502011-05-28 Drew Adams <drew.adams@oracle.com>
951
952 * isearch.el: Let M-e start with point at the first mismatched char.
953 (isearch-fail-pos): New function.
954 (isearch-edit-string): Use it.
955
66e2e71d
DK
9562011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
957
958 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
959
eb95d01d
TC
9602009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
961
962 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
963 traversal functions for avl-trees.
964 (avl-tree--stack): New struct.
965 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
966 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
967 (avl-tree--do-enter): Add optional `updatefun' arg.
968 Change return value.
eb95d01d 969 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
970 (avl-tree--do-delete): Add `test' and `nilflag' args.
971 Change return value.
eb95d01d
TC
972 (avl-tree-member): Add optional `nilflag'
973 (avl-tree-member-p): New function.
974 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
975 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
976 (avl-tree-stack-empty-p): New functions.
977
3769ddcf
TC
9782009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
979
980 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
981 avl-tree--del-balance1 and make it work both ways.
982 (avl-tree--del-balance2): Remove.
983 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
984 make it work both ways.
985 (avl-tree--enter-balance2): Remove.
986 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
987 New macros.
988 (avl-tree--mapc, avl-tree-map): Add direction argument.
989
eb95d01d 9902011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
991
992 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
993
a9f737ee
CY
9942011-05-27 Chong Yidong <cyd@stupidchicken.com>
995
996 * select.el: Support clipboard managers with built-in function
997 x-clipboard-manager-save, via delete-frame-functions and
998 kill-emacs-hook.
999 (xselect-convert-to-targets): Add MULTIPLE target to list.
1000 (xselect-convert-to-save-targets): New function.
1001
c92a1e54
KH
10022011-05-27 Kenichi Handa <handa@m17n.org>
1003
1004 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1005 let-binding rfc2047-encode-encoded-words to nil.
1006
e145f188
GM
10072011-05-27 Glenn Morris <rgm@gnu.org>
1008
5ec8a862
GM
1009 * mail/emacsbug.el: Don't require url-util.
1010
4b29d9fb
GM
1011 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1012
e145f188
GM
1013 * files.el (set-auto-mode):
1014 Also respect mode: entries at the end of the file. (Bug#8586)
1015
7d15102b
GM
10162011-05-26 Glenn Morris <rgm@gnu.org>
1017
98f593b8
GM
1018 * files.el (hack-local-variables-prop-line, hack-local-variables):
1019 Downcase mode names, as seems to be traditional.
27b48e63 1020 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 1021
7d15102b
GM
1022 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1023 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1024
51d5b4ec
JD
10252011-05-25 Julien Danjou <julien@danjou.info>
1026
1027 * textmodes/rst.el (rst-define-level-faces): Do not define face
1028 symbol if it is already defined.
1029
91513f63
VB
10302011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1031
1032 * play/5x5.el (5x5-new-game, 5x5-randomize):
1033 Reset 5x5-solver-output to nil when a new grid is cast.
1034 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1035 these debugging traces, as defmacro breaks the compiled code.
1036
4d90d6d0
DK
10372011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1038
1039 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1040
e1b90ef6
LL
10412011-05-24 Leo Liu <sdl.web@gmail.com>
1042
1043 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1044 (vc-bzr-sha1): Adapt.
1045
1046 * sha1.el: Remove. Function `sha1' is now builtin.
1047
1048 * bindings.el: Provide sha1 feature.
1049
db0406bb 10502011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
1051
1052 * mail/sendmail.el: Require `rfc2047'.
1053 (mail-insert-from-field): Do not perform RFC2047 encoding.
1054 (mail-encode-header): New function.
1055 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
1056 buffer to the return value of select-message-coding-system.
1057 Call mail-encode-header.
b8d747b9
KH
1058
1059 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1060
db0406bb 10612011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 1062
4d90d6d0
DK
1063 * mail/supercite.el (sc-default-cite-frame):
1064 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 1065
eb8a5e9b
GM
10662011-05-24 Glenn Morris <rgm@gnu.org>
1067
f8630703
GM
1068 * progmodes/python.el (brm-menu): Declare.
1069
8831bbed
GM
1070 * emulation/viper.el (viper-set-hooks): Declare.
1071
eb8a5e9b
GM
1072 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1073 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1074 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1075 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1076 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1077 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1078
a2a25d24
SM
10792011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1080
1081 Add an :exit-function for completion-at-point.
1082
1083 * minibuffer.el (completion--done): New fun.
1084 (completion--do-completion): Use it. New arg `expect-exact'.
1085 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1086 since completion--do-completion does it for us now.
1087 (minibuffer-force-complete): Use completion--done and
1088 completion--replace. Handle sole-completion case with more care.
1089 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1090 (completion-extra-properties): New var.
1091 (completion-annotate-function): Make obsolete.
1092 (minibuffer-completion-help): Adjust accordingly.
1093 Use completion-list-insert-choice-function.
1094 (completion-at-point, completion-help-at-point):
1095 Bind completion-extra-properties.
1096 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1097 * simple.el (completion-list-insert-choice-function): New var.
1098 (completion-setup-function): Preserve it.
1099 (choose-completion): Pay attention to it, shuffle the code a bit.
1100 (choose-completion-string): New arg `insert-function'.
1101
1102 * textmodes/bibtex.el: Convert to lexical binding.
1103 (bibtex-mode-map): Use completion-at-point.
1104 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1105 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1106 (bibtex-complete): Define as obsolete alias.
1107 (bibtex-complete-internal): Remove.
1108 (bibtex-format-entry): Remove unused sub-group in regexp.
1109 * shell.el (shell--command-completion-data)
1110 (shell-environment-variable-completion):
1111 * pcomplete.el (pcomplete-completions-at-point):
1112 * comint.el (comint--complete-file-name-data): Use :exit-function
1113 instead of completion-table-with-terminator so it also works for
1114 choose-completion.
1115
e44e373d
SM
11162011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1117
4f91a816
SM
1118 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1119
782fc819
SM
1120 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1121 (bug#8710).
1122
e44e373d
SM
1123 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1124
381987c3
KM
11252011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1126
1127 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1128 customization variable and implement: If non-nil, auto-fill will
1129 be inhibited while on topic's header line.
1130
b776bc70
VB
11312011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1132
1133 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1134 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1135 always have a solution in grid size = 5 cases.
1136 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1137 (5x5-solver-output, 5x5-log-buffer): New vars.
1138 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1139 Make these variables buffer local to achieve 5x5 multi-session-ness.
1140 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1141 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1142 (5x5-solve-suggest): New funs.
1143 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1144 randomize a grid so that we ensure that there is always a solution.
1145 (5x5-make-random-grid): Allow other movement than flipping.
1146
7de88b6e
KR
11472011-05-23 Kevin Ryde <user42@zip.com.au>
1148
1149 * emacs-lisp/advice.el (ad-read-advised-function):
1150 Use `function-called-at-point' as the default default, if it has
1151 advice and passes PREDICATE.
1152
b1ef1257
SM
11532011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1154
bbca48fe
SM
1155 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1156 byte-compile-lambda if it's actually a lambda.
1157
b1ef1257
SM
1158 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1159 Fix function quoting. Use backquote better.
1160
92a9cc65
YS
11612011-05-22 Yuanle Song <sylecn@gmail.com>
1162
1163 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1164 matching (Bug#8516).
1165
f0fb8059
JA
11662011-01-22 Jari Aalto <jari.aalto@cante.net>
1167
1168 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1169 different face (Bug#8178).
1170
d5b44c93
CY
11712011-05-22 Chong Yidong <cyd@stupidchicken.com>
1172
1173 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1174 defface (Bug#8144).
1175
79106a44
SM
11762011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1177
9c848d8a
SM
1178 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1179 funcall as well (bug#8712). Warn when performing those conversions.
1180 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1181
79106a44
SM
1182 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1183
88dfa756
GM
11842011-05-22 Glenn Morris <rgm@gnu.org>
1185
1186 * files.el (hack-local-variables-prop-line): Small simplifications.
1187 (hack-local-variables, hack-local-variables-prop-line):
1188 If MODE-ONLY, return the mode, rather than just `t'.
1189
b7cf2c79
SM
11902011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1193
3f1a8558
GM
11942011-05-21 Glenn Morris <rgm@gnu.org>
1195
7e4ccca3
GM
1196 * files.el (hack-local-variables-prop-line, hack-local-variables):
1197 If only interested in the mode, don't bother doing the other stuff.
1198
637d46ca
GM
1199 * image-mode.el (image-after-revert-hook):
1200 Redraw all frames on which the image is visible. (Bug#8567)
1201
973d955b
GM
1202 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1203
3f1a8558
GM
1204 * wid-edit.el (widget-checklist-match-inline):
1205 Fix 2011-04-19 change. (Bug#8649)
1206
96479927
SM
12072011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1dcf791f
SM
1209 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1210 Also allow singlespace after single-letter capitals followed by a dot.
1211
96479927
SM
1212 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1213 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1214
35fd0881
N
12152011-05-20 Nix <nix@esperi.org.uk>
1216
1217 * files.el (basic-save-buffer-2):
1218 Fix handling of break-hardlink-on-save with non-existent files.
1219
82745640
DD
12202011-05-19 Deniz Dogan <deniz@dogan.se>
1221
1222 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 1223 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 1224
4a720484
GM
12252011-05-19 Glenn Morris <rgm@gnu.org>
1226
d1f21341
GM
1227 * progmodes/f90.el (f90-type-def-re):
1228 Handle "type, bind(c)". (Bug#8691)
1229
4a720484
GM
1230 * emacs-lisp/autoload.el (batch-update-autoloads):
1231 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1232
2fb0a219
MA
12332011-05-18 Michael Albinus <michael.albinus@gmx.de>
1234
1235 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1236 property for the correct connection in case of multihops.
1237
e565dd37
GM
12382011-05-18 Glenn Morris <rgm@gnu.org>
1239
c2571358 1240 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
1241 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1242
e565dd37
GM
1243 Rationalize calendar handling of day and month abbrev-arrays.
1244 * calendar/calendar.el (calendar-customized-p): New function.
1245 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1246 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1247 Add :set function.
1248 (calendar-abbrev-length, calendar-day-abbrev-array)
1249 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1250 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1251 Elements may no longer be nil.
1252 (calendar-day-name, calendar-month-name):
1253 Update for changed nature of abbrev arrays.
1254 * calendar/diary-lib.el (diary-name-pattern):
1255 Update for changed nature of abbrev arrays.
1256 (diary-mark-entries-1): Update calendar-make-alist calls.
1257 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1258 * calendar/cal-html.el (cal-html-day-abbrev-array):
1259 Simply inherit from calendar-day-abbrev-array.
1260
1d99a745
SM
12612011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * progmodes/grep.el (grep-mode): Disable default
1264 compilation-directory-matcher setting (bug#8684).
1265
7c1d9aa0
MA
12662011-05-17 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1269 instead of "head" and "tail". There were problems with SunOS 5.9,
1270 and it performs better.
1271
3952e9d8
GM
12722011-05-17 Glenn Morris <rgm@gnu.org>
1273
2dd12e7f
GM
1274 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1275
e4157b9c
GM
1276 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1277 Replace obsolete function.
1278
8e249bbd
GM
1279 * shell.el (pcomplete-parse-arguments-function): Declare.
1280
3952e9d8
GM
1281 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1282 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1283 (appt-check): Doc fixes.
1284 (appt-disp-window-function, appt-delete-window-function):
1285 Remove needless special case in custom :type.
1286 (appt-display-count): Default to 0, not nil.
1287 (appt-check): Reset appt-display-count to 0, not nil.
1288
c71a0d48 12892011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 1290
c71a0d48
GM
1291 * progmodes/python.el (python-font-lock-keywords):
1292 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 1293
31d55be9
SM
12942011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1297
3bfacb2f
KR
12982011-05-16 Kevin Ryde <user42@zip.com.au>
1299
1300 * info-look.el (makefile-automake-mode): New setups, looking in
1301 automake manual, then makefile-mode.
1302 (makefile-mode): Remove automake manual, have it just in
1303 makefile-automake-mode since there's various things different or
1304 not relevant to plain make.
1305 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1306 believe a hypothetical automake-mode would go to makefile-mode,
1307 not the other way around.
1308
c8e83751
CY
13092011-05-15 Chong Yidong <cyd@stupidchicken.com>
1310
5e9e35cd
CY
1311 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1312 hunk-end tags (Bug#8672).
1313
c8e83751
CY
1314 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1315 vc-annotate-show-diff-revision-at-line (Bug#8671).
1316
50b23e5a
GM
13172011-05-14 Glenn Morris <rgm@gnu.org>
1318
7210a739
GM
1319 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1320 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
1321 (change-log-font-lock-keywords): Also handle multiple author lines
1322 with leading tabs. (Bug#8644)
7210a739 1323
4691905a
GM
1324 * calendar/appt.el (appt-check): Rename some local variables.
1325 Some simplification/reordering.
1326
50b23e5a
GM
1327 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1328 (feedmail-sendmail-f-doesnt-sell-me-out)
1329 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1330 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1331 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
1332 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1333 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
1334 (feedmail-binmail-gnulinuxish-template):
1335 Rename from feedmail-binmail-linuxish-template.
1336 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1337 Use insert-buffer-substring.
1338
215cda7c
BC
13392011-05-14 Bill Carpenter <bill@carpenter.org>
1340
1341 * mail/feedmail.el (feedmail-patch-level): Increase.
1342 (feedmail-debug): New custom group.
1343 (feedmail-confirm-outgoing-timeout)
1344 (feedmail-sendmail-f-doesnt-sell-me-out)
1345 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1346 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1347 (feedmail-sender-line, feedmail-from-line)
1348 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 1349 (feedmail-spray-this-address)
215cda7c
BC
1350 (feedmail-spray-address-fiddle-plex-list)
1351 (feedmail-queue-use-send-time-for-date)
1352 (feedmail-queue-use-send-time-for-message-id)
1353 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1354 (feedmail-buffer-eating-function):
1355 Doc fixes.
1356 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1357 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1358 (feedmail-message-action-scroll-down): New functions.
1359 (feedmail-queue-directory, feedmail-queue-draft-directory):
1360 Use expand-file-name.
1361 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1362 Remove C-v help entry.
1363 (feedmail-queue-buffer-file-name): New variable.
1364 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1365 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1366 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1367 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1368 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1369 (feedmail-message-action-toggle-spray)
1370 (feedmail-run-the-queue-no-prompts)
1371 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1372 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1373 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1374 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1375 (feedmail-envelope-deducer, feedmail-fiddle-from)
1376 (feedmail-fiddle-sender, feedmail-default-date-generator)
1377 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1378 (feedmail-fiddle-spray-address)
1379 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1380 (feedmail-fiddle-list-of-fiddle-plexes)
1381 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1382 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1383 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1384 Change default. Doc fix.
1385 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1386 (feedmail-binmail-linuxish-template): New constant.
1387 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1388 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1389 (feedmail-send-it): Add debug call.
1390 Use feedmail-queue-buffer-file-name, and
1391 feedmail-send-it-immediately-wrapper.
1392 (feedmail-message-action-send): Add debug call.
1393 Use feedmail-send-it-immediately-wrapper.
1394 (feedmail-queue-express-to-queue): Add debug call.
1395 Run feedmail-queue-express-hook.
1396 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1397 (feedmail-message-action-help-blat):
1398 Rename from feedmail-queue-send-edit-prompt-help-first.
1399 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1400 Check line-endings. Handle errors better.
1401 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1402 Doc fix. Add debug call.
1403 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1404 Use feedmail-queue-send-edit-prompt-inner.
1405 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1406 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1407 from feedmail-queue-send-edit-prompt.
1408 (feedmail-queue-send-edit-prompt-help)
1409 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1410 (feedmail-tidy-up-slug): Add debug call.
1411 Respect feedmail-queue-slug-suspect-regexp.
1412 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1413 (feedmail-dump-message-to-queue): Add debug call.
1414 Expand queue-directory.
1415 (feedmail-dump-message-to-queue): Change message slightly.
1416 Use feedmail-say-chatter.
1417 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1418 (feedmail-send-it-immediately-wrapper): New function.
1419 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1420 Insert empty string rather than newline. Handle full-frame case.
1421 Use catch/throw. Use feedmail-say-chatter.
1422 (feedmail-fiddle-from): Try mail-host-address.
1423 (feedmail-default-message-id-generator): Doc fix.
1424 Bind system-time-locale. Handle missing end.
1425 (feedmail-fiddle-x-mailer): Add debug call.
1426 Handle feedmail-x-mailer-line being nil.
1427 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1428 Add debug call. Use buffer-substring-no-properties.
1429 (feedmail-say-debug, feedmail-say-chatter): New functions.
1430 (feedmail-find-eoh): Give an explicit error.
1431
42c7e61e
UJ
14322011-05-13 Ulf Jasper <ulf.jasper@web.de>
1433
c2571358 1434 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 1435 family from helvetica to sans.
c2571358 1436 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
1437 etc/images/newsticker.
1438
c2571358 1439 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
1440 family from helvetica to sans.
1441
1442 * net/newst-plainview.el (newsticker-new-item-face)
1443 (newsticker-old-item-face, newsticker-immortal-item-face)
1444 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 1445 (newsticker-statistics-face): Change default family from
42c7e61e 1446 helvetica to sans.
c2571358 1447 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
1448 etc/images/newsticker.
1449
1450 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1451 (newsticker--process-auto-mark-filter-match): : Tell user about
1452 auto-marking.
1453
8497a297
DV
14542011-05-13 Didier Verna <didier@xemacs.org>
1455
1456 Common Lisp indentation improvements on defmethod and lambda-lists.
1457 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1458 (lisp-lambda-list-keyword-parameter-indentation)
1459 (lisp-lambda-list-keyword-parameter-alignment)
1460 (lisp-lambda-list-keyword-alignment): New customizable user options.
1461 (lisp-indent-defun-method): Improve docstring.
1462 (extended-loop-p): Fix comment.
1463 (lisp-indent-lambda-list-keywords-regexp): New variable.
1464 (lisp-indent-lambda-list): New function.
1465 (lisp-indent-259): Use it.
1466 (lisp-indent-defmethod): Support for more than one
1467 method qualifier and properly indent methods lambda-lists.
1468 (defgeneric): Provide a missing common-lisp-indent-function property.
1469
f278f87f
SM
14702011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1473 bounds for the empty string (bug#8667).
1474
5233edd7
GM
14752011-05-13 Glenn Morris <rgm@gnu.org>
1476
5237a44f
GM
1477 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1478
8340026c 1479 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 1480 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 1481
5233edd7 1482 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 1483 (appt-time-msg-list): Doc fix.
a5464014 1484 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 1485
92d10796
AS
14862011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1487
1488 * progmodes/ld-script.el (ld-script-keywords)
1489 (ld-script-builtins): Update keywords list.
1490
914a0ae1
SM
14912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1492
c89be45f
SM
1493 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1494
914a0ae1
SM
1495 * shell.el (shell-completion-vars): New function.
1496 (shell-mode):
1497 * simple.el (read-shell-command): Use it.
1498 (blink-matching-open): No need for " [...]" in minibuffer-message.
1499
98dc3df3
GM
15002011-05-12 Glenn Morris <rgm@gnu.org>
1501
1502 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1503 (appt-check): Simplify.
1504
d2fc7e3d 15052011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
1506
1507 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1508 literal "/dev/null".
1509
d2fc7e3d 15102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
1511
1512 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1513 Fix typo.
1514
d2fc7e3d 15152011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 1516
3f254caa
SM
1517 * progmodes/which-func.el (which-function):
1518 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
1519 which might not be defined (Bug#8260).
1520
d45885f7
GM
15212011-05-12 Glenn Morris <rgm@gnu.org>
1522
1523 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1524 Let byte-compile-initial-macro-environment always take precedence.
1525
488086f4
SM
15262011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * net/rcirc.el: Add support for SSL/TLS connections.
1529 (rcirc-server-alist): New field `encryption'.
1530 (rcirc): Check `encryption' settings.
1531 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1532 Merge make-local-variable into `set'.
1533 (rcirc--connection-open-p): New function.
1534 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1535 the process is not a network process (e.g. running gnutls-cli).
1536 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1537 Make rcirc-(en|de)code-coding-system local here.
1538 (rcirc-mode): Merge make-local-variable into `set'.
1539 (rcirc-parent-buffer): Make permanent buffer-local.
1540 (rcirc-multiline-minor-mode): Don't do it here.
1541 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1542 there's no server buffer.
1543
7d3b9d44
GM
15442011-05-11 Glenn Morris <rgm@gnu.org>
1545
f64049c6
GM
1546 * newcomment.el (comment-kill): Prefix "unused" local.
1547
93c9df73
GM
1548 * term/w32console.el (get-screen-color): Declare.
1549
7d3b9d44
GM
1550 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1551 Handle symbol elements of byte-compile-initial-macro-environment.
1552
9e2dd53f
LL
15532011-05-10 Leo Liu <sdl.web@gmail.com>
1554
488086f4
SM
1555 * bookmark.el (bookmark-bmenu-mode-map):
1556 Bind bookmark-bmenu-search to `/'.
8b340240 1557
9e2dd53f 1558 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
1559 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1560 (Footnote-unicode): New function.
1561 (footnote-style-alist): Add unicode style to the list.
1562 (footnote-style): Doc fix.
9e2dd53f 1563
79b70037
GM
15642011-05-10 Jim Meyering <meyering@redhat.com>
1565
1566 Fix doubled-word typos.
1567 * international/quail.el (quail-insert-kbd-layout): and and -> and
1568 * kermit.el: and and -> and
1569 * net/ldap.el (ldap-search-internal): to to -> to
1570 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1571 * progmodes/js.el (js-mode): and and -> and
1572 * textmodes/artist.el (artist-move-to-xy): at at -> at
1573 (artist-draw-region-trim-line-endings): if if -> if
1574 And Safetyc -> Safety.
1575 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1576
b8f82dc1 15772011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 1578 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
1579
1580 * files.el (hack-one-local-variable-eval-safep):
1581 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1582
4f99f44b
GM
15832011-05-10 Glenn Morris <rgm@gnu.org>
1584
1585 * calendar/diary-lib.el (diary-list-entries-hook)
1586 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1587 (diary-nongregorian-marking-hook, diary-list-entries)
1588 (diary-include-other-diary-files, diary-mark-entries)
1589 (diary-mark-included-diary-files): Doc fixes.
1590
84f29e6b
JB
15912011-05-09 Juanma Barranquero <lekktu@gmail.com>
1592
1593 * misc.el: Require tabulated-list.el during compilation.
1594
9bedd73a
CY
15952011-05-09 Chong Yidong <cyd@stupidchicken.com>
1596
488086f4
SM
1597 * progmodes/compile.el (compilation-start):
1598 Run compilation-filter-hook for the async case too.
9bedd73a
CY
1599 (compilation-filter-hook): Doc fix.
1600
797c735c
DD
16012011-05-09 Deniz Dogan <deniz@dogan.se>
1602
1603 * wdired.el: Remove outdated installation comment. Fix usage
1604 comment.
1605
5f4b1dfe
JB
16062011-05-09 Juanma Barranquero <lekktu@gmail.com>
1607
1608 * misc.el: Implement new command `list-dynamic-libraries'.
1609 (list-dynamic-libraries--loaded-only-p): New variable.
1610 (list-dynamic-libraries--refresh): New function.
1611 (list-dynamic-libraries): New command.
1612
4c44026c
CY
16132011-05-09 Chong Yidong <cyd@stupidchicken.com>
1614
488086f4
SM
1615 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1616 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
1617 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1618 higher priority to avoid clobbering by gnu.
1619
027f966d
CY
16202011-05-08 Chong Yidong <cyd@stupidchicken.com>
1621
1622 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1623 if the face has existing theme settings (Bug#8454).
1624
085f5d7d
CY
16252011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1626
488086f4
SM
1627 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1628 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 1629
2a86a00c
RS
1630 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1631 special file names `.' and `..' (Bug#8259).
1632
d9c54a06
CY
16332011-05-08 Chong Yidong <cyd@stupidchicken.com>
1634
488086f4
SM
1635 * progmodes/grep.el (grep-mode-font-lock-keywords):
1636 Remove buffer-changing entries.
d9c54a06
CY
1637 (grep-filter): New function.
1638 (grep-mode): Add it to compilation-filter-hook.
1639
1640 * progmodes/compile.el (compilation-filter-hook)
1641 (compilation-filter-start): New defvars.
1642 (compilation-filter): Call compilation-filter-hook prior to
1643 updating the process mark.
1644
c4662635
SM
16452011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1648
b0512a1d
EZ
16492011-05-07 Eli Zaretskii <eliz@gnu.org>
1650
605c9376
EZ
1651 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1652 mailclient-send-it even if window-system is nil. (Bug#8595)
1653
c4662635
SM
1654 * term/w32console.el (terminal-init-w32console):
1655 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
1656 background-mode. (Bug#8597)
1657
d1dc2cc2
SM
16582011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 Make bytecomp.el understand that defmethod defines funs (bug#8631).
1661 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1662 New functions.
1663 (defgeneric, eieio--defmethod): Use them.
1664 (eieio-defgeneric): Remove.
1665 (defmethod): Call defgeneric in a way visible to the byte-compiler.
1666
915d1300
GM
16672011-05-07 Glenn Morris <rgm@gnu.org>
1668
a3961c3e
GM
1669 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1670 Use let rather than let*.
1671 (timeclock-find-discrep): Remove unused local.
1672
314347b9
GM
1673 * calendar/diary-lib.el (diary-comment-start): Doc fix.
1674
915d1300
GM
1675 * calendar/appt.el (appt-time-msg-list): Doc fix.
1676
275b59b0
NF
16772011-05-06 Noah Friedman <friedman@splode.com>
1678
1679 * apropos.el (apropos-print-doc): Only use
1680 emacs-lisp-docstring-fill-column when it is bound to an integer,
1681 per that variable's documentation.
1682
6c19f744
SM
16832011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 1686 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 1687
60f884b2
GM
16882011-05-06 Glenn Morris <rgm@gnu.org>
1689
5006e634
GM
1690 * calendar/appt.el (appt-message-warning-time): Doc fix.
1691 (appt-warning-time-regexp): New option.
1692 (appt-make-list): Respect appt-message-warning-time.
1693
548d0a63
GM
1694 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1695 New options.
1696 (diary-add-to-list): Strip comments from the displayed string.
1697 (diary-mode): Set comment-start and comment-end.
1698
60f884b2
GM
1699 * vc/diff-mode.el (smerge-refine-subst): Declare.
1700 (diff-refine-hunk): Don't require smerge-mode when compiling.
1701
989681bb
JB
17022011-05-06 Juanma Barranquero <lekktu@gmail.com>
1703
1704 * simple.el (list-processes): Return nil as the docstring says.
1705
a6bc05e1
MA
17062011-05-05 Michael Albinus <michael.albinus@gmx.de>
1707
1708 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1709 to "".
1710 (ange-ftp-write-region, ange-ftp-insert-file-contents)
1711 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1712 determining of binary transfer. (Bug#7383)
1713
23c22e9a
MA
17142011-05-05 Michael Albinus <michael.albinus@gmx.de>
1715
c4662635
SM
1716 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1717 Fix port computation bug. (Bug#8618)
23c22e9a 1718
0bff894f
GM
17192011-05-05 Glenn Morris <rgm@gnu.org>
1720
b8296902
GM
1721 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1722
1f522ce8
GM
1723 * simple.el (shell-dynamic-complete-functions)
1724 (comint-dynamic-complete-functions): Declare.
1725
cf5bee67
GM
1726 * net/network-stream.el (gnutls-negotiate):
1727 * simple.el (tabulated-list-print): Fix declarations.
1728
1729 * progmodes/gud.el (syntax-symbol, syntax-point):
1730 Remove unnecessary and incorrect declarations.
1731
0bff894f
GM
1732 * emacs-lisp/check-declare.el (check-declare-scan):
1733 Handle byte-compile-initial-macro-environment in bytecomp.el
1734
9869b3ae
SM
17352011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 Fix earlier half-done eieio-defmethod change (bug#8338).
1738 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1739 Streamline and change calling convention.
1740 (defmethod): Adjust accordingly and simplify.
1741 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1742 new eieio--defmethod.
1743 (slot-boundp): Minor CSE simplification.
1744
9c1d5ac5
MZ
17452011-05-05 Milan Zamazal <pdm@zamazal.org>
1746
1747 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1748 (glasses-make-readable): Use glasses-separate-capital-groups.
1749
455c834e
JB
17502011-05-05 Juanma Barranquero <lekktu@gmail.com>
1751
1752 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1753 (warning-series): Doc fix.
1754 (display-warning): Don't try to create the buffer if we just found it.
1755
9ed7c8cb
CY
17562011-05-04 Chong Yidong <cyd@stupidchicken.com>
1757
1758 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1759 (autoload-find-generated-file): New function.
1760 (generate-file-autoloads): Bind generated-autoload-file to
1761 buffer-file-name.
9869b3ae
SM
1762 (update-file-autoloads, update-directory-autoloads):
1763 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
1764 output file (Bug#7989).
1765 (batch-update-autoloads): Doc fix.
1766
0898ca10
JB
17672011-05-04 Juanma Barranquero <lekktu@gmail.com>
1768
1769 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1770
31dfb76c
GM
17712011-05-04 Glenn Morris <rgm@gnu.org>
1772
f330b642
GM
1773 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1774 function, so it follows changes in calendar-date-style.
1775 (diary-fancy-date-matcher): New function.
1776 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1777 (diary-fancy-font-lock-fontify-region-function):
1778 Use diary-fancy-date-pattern as a function.
1779
31dfb76c
GM
1780 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1781 non-numbers for `year' etc pseudo-variables. (Bug#8583)
1782
48e79d6a
TZ
17832011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
1784
1785 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1786 instead of positional arguments. Allow :keylist and :crlfiles
1787 arguments.
1788 (open-gnutls-stream): Call it.
1789
1790 * net/network-stream.el (network-stream-open-starttls): Adjust to
1791 call `gnutls-negotiate' with :process and :hostname arguments.
1792
dd5a5ee0
SM
17932011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1794
ef80fc09
SM
1795 * minibuffer.el (completion--message): New function.
1796 (completion--do-completion, minibuffer-complete)
1797 (minibuffer-force-complete, minibuffer-complete-word): Use it.
1798 (completion--do-completion): Don't ignore completion-auto-help when in
1799 icomplete-mode.
1800
dd5a5ee0
SM
1801 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1802 internal encoding (e.g. tibetan zero is not whitespace).
1803 (global-whitespace-mode): Prefer save-current-buffer.
1804 (whitespace-trailing-regexp): Remove useless save-match-data.
1805 (whitespace-empty-at-bob-regexp): Minor simplification.
1806
b7d22a83
CY
18072011-05-03 Chong Yidong <cyd@stupidchicken.com>
1808
1809 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1810
5192af46
AM
18112011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1812
1813 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 1814 Use `concat' to create string for insertion.
5192af46 1815
5767d190
SM
18162011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1819 Avoid open-line which runs post-self-insert-hook.
1820 (bibtex-fill-entry): Remove unused `end' var.
1821
bf242939
AM
18222011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
1823
5767d190
SM
1824 * textmodes/ispell.el (ispell-add-per-file-word-list):
1825 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 1826
25666126
LL
18272011-05-03 Leo Liu <sdl.web@gmail.com>
1828
1829 * isearch.el (isearch-yank-pop): New command.
5767d190 1830 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
1831 (isearch-forward): Mention it.
1832
52d3c2d0
SM
18332011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1bcace58
SM
1835 * simple.el (minibuffer-complete-shell-command): Remove.
1836 (minibuffer-local-shell-command-map): Use completion-at-point.
1837 (read-shell-command): Setup completion vars here instead.
1838 (read-expression-map): Bind TAB to symbol completion.
1839
52d3c2d0
SM
1840 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1841 error directly rather via storing it into `results'.
1842
35813471
LL
18432011-05-02 Leo Liu <sdl.web@gmail.com>
1844
1845 * vc/diff.el: Fix description.
1846
e793a940
LMI
18472011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1848
1849 * server.el (server-eval-at): New function.
1850
8de66e05
LMI
18512011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1852
1853 * net/network-stream.el (open-network-stream): Take a :nowait
1854 parameter and pass it on to `make-network-process'.
1855 (network-stream-open-plain): Ditto.
1856
dcb79f20
AS
18572011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1858
1859 * faces.el (face-spec-set-match-display): Don't match toolkit
1860 options on terminal frames.
1861
14a7fbd8
SM
18622011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1863
7eabc1be
SM
1864 * progmodes/pascal.el: Use lexical binding.
1865 (pascal-mode-map): Remove author preferences.
1866
14a7fbd8
SM
1867 * pcomplete.el (pcomplete-std-complete): Don't abuse
1868 completion-at-point.
1869
50f84510
JB
18702011-04-28 Juanma Barranquero <lekktu@gmail.com>
1871
6e087a44
JB
1872 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1873 removing code that has been dead since 1991 or so.
1874
50f84510
JB
1875 * startup.el (command-line): When warning about "_emacs", use a
1876 delayed warning to allow the user to filter it out.
1877
0ba690bd
DD
18782011-04-28 Deniz Dogan <deniz@dogan.se>
1879
1880 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1881 user has not joined.
1882
08abfaad
SM
18832011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1886 aren't any completions at point.
1887
638f053a
JB
18882011-04-28 Juanma Barranquero <lekktu@gmail.com>
1889
1890 * subr.el (display-delayed-warnings): New function.
1891 (delayed-warnings-hook): New variable.
1892
8fff8daa
SM
18932011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1894
08abfaad
SM
1895 * minibuffer.el (completion-at-point, completion-help-at-point):
1896 Don't presume that a given completion-at-point-function will always
1897 use the same calling convention.
1898
8fff8daa
SM
1899 * pcomplete.el (pcomplete-completions-at-point):
1900 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1901 pcomplete-seen is non-nil.
1902 (pcomplete-comint-setup): Also recognize the new comint/shell
1903 completion functions.
1904 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1905 pcomplete-seen is non-nil.
1906
841a1577 19072011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 1908
841a1577 1909 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 1910 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 1911 the first character in the entry. This allows for code to add its
211ec907
UJ
1912 own uid to the entry.
1913 (icalendar--convert-float-to-ical): Add export of
1914 `diary-float'-entries save for those with the optional DAY
1915 argument.
1916
2a782793
DC
19172011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1918
1919 * subr.el (shell-quote-argument): Use alternate escaping strategy
1920 when we spot a variable reference in a string.
1921
0438ce91
DC
19222011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1923
1924 * cus-start.el (all): Define customization for debug-on-event.
1925
841a1577 19262011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
1927
1928 * subr.el (shell-quote-argument): Escape correctly under Windows.
1929
d090ed6c
SM
19302011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1933
bfd31217
MA
19342011-04-25 Michael Albinus <michael.albinus@gmx.de>
1935
d090ed6c
SM
1936 * net/tramp.el (tramp-process-actions): Add POS argument.
1937 Delete region between POS and (pos).
bfd31217 1938
d090ed6c
SM
1939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1940 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
1941 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1942
1943 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1944 position in `tramp-process-actions' call.
1945
1946 * net/trampver.el: Update release number.
1947
e92f3bd3
SM
19482011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1949
850256b5
SM
1950 * custom.el (defcustom): Obey lexical-binding.
1951
e92f3bd3
SM
1952 Fix octave-inf completion problems reported by Alexander Klimov.
1953 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1954 Inherit from octave-mode-syntax-table.
1955 (inferior-octave-mode): Set info-lookup-mode.
1956 (inferior-octave-completion-at-point): New function.
1957 (inferior-octave-complete): Use it and completion-in-region.
1958 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1959 comint-filename-completion.
1960 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1961 symbol elements which shouldn't be word elements.
1962 (octave-font-lock-keywords, octave-beginning-of-defun)
1963 (octave-function-header-regexp): Adjust regexps accordingly.
1964 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1965
cd22b309
JB
19662011-04-25 Juanma Barranquero <lekktu@gmail.com>
1967
1968 * net/gnutls.el (gnutls-errorp): Declare before first use.
1969
8b492194
TZ
19702011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1971
1972 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1973 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
1974 default trustfile exists before going to use it. Add missing
1975 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
1976 Reported by Claudio Bley <claudio.bley@gmail.com>.
1977 (open-gnutls-stream): Add usage example.
1978
1979 * net/network-stream.el (network-stream-open-starttls): Give host
1980 parameter to `gnutls-negotiate'.
1981 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 1982 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 1983
841a1577 19842011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 1985
cd22b309
JB
1986 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1987 Use correct match group (bug#8438).
05842630 1988
3ba7869c
CY
19892011-04-24 Chong Yidong <cyd@stupidchicken.com>
1990
512e3ae1
CY
1991 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1992 (package-menu--generate): New arg specifying packages to show.
1993 (package-menu-refresh, package-menu-execute, list-packages):
1994 Callers changed.
1995 (package-show-package-list): New function, replacing deleted
1996 package--list-packages (renamed because it is non-internal).
1997
1998 * finder.el (finder-list-matches): Use package-show-package-list
1999 instead of deleted package--list-packages.
2000
e92f3bd3
SM
2001 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2002 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
2003 (vc-annotate-mode-map): Bind it to RET.
2004
7031be6d
UR
20052011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2006
2007 * progmodes/etags.el (next-file): Don't use set-buffer to change
2008 buffers (Bug#8478).
2009
4ef177aa
CY
20102011-04-24 Chong Yidong <cyd@stupidchicken.com>
2011
c8d173eb
CY
2012 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2013
4ef177aa
CY
2014 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2015 (apropos-accumulator): Doc fix.
2016 (apropos-function, apropos-macro, apropos-command)
2017 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2018 (apropos-plist): Add face property.
2019 (apropos-symbols-internal): Fix indentation.
2020 (apropos-print): Simplify help, and recognize apropos-multi-type.
2021 (apropos-print-doc): Use button-type-get to extract the button's
2022 face property. Fill docstring (Bug#8352).
2023
4ffd0d6b 20242011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
2025
2026 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2027
c6c32125 2028 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 2029 (mpuz-mode-map): Use mapc.
c6c32125
JB
2030 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2031 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2032 Fix typos in docstrings.
2033
58d468b4
JB
2034 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2035 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2036
6470c3c6
JB
2037 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2038
4ffd0d6b 20392011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
2040
2041 * minibuffer.el (completion--do-completion): Avoid the "Next char
2042 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2043
3ad8bad0
CY
2044 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2045 mouse-2 into unread-command-events, it is interpreted correctly.
2046
71d73c9c 2047 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 2048 (image-toggle-display): Doc fix.
71d73c9c 2049
841a1577 20502011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 2051
4ffd0d6b
GM
2052 * textmodes/page.el (what-page): Use line-number-at-pos to
2053 calculate line number (Bug#6825).
6e1dbaa9 2054
c2fb1b60
JB
20552011-04-22 Juanma Barranquero <lekktu@gmail.com>
2056
2057 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2058 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2059 Pass argument NO-DEFAULT to `find-tag-interactive'.
2060
e02f48d7
JB
20612011-04-22 Juanma Barranquero <lekktu@gmail.com>
2062
2063 Lexical-binding cleanup.
2064
2065 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2066 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2067 * progmodes/ada-prj.el (ada-prj-initialize-values)
2068 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2069 (ada-prj-show-value):
2070 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2071 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2072 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2073 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2074 * progmodes/bug-reference.el (bug-reference-push-button):
2075 * progmodes/fortran.el (fortran-line-length):
2076 * progmodes/glasses.el (glasses-change):
2077 * progmodes/octave-mod.el (octave-fill-paragraph):
2078 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2079 (python-pdbtrack-grub-for-buffer, python-sentinel):
2080 * progmodes/sql.el (sql-save-connection):
2081 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2082 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2083 Mark unused parameters.
2084
2085 * progmodes/compile.el (compilation--flush-directory-cache)
2086 (compilation--flush-parse, compile-internal): Mark unused parameters.
2087 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2088 (compilation-next-error-function): Remove unused variable `timestamp'.
2089
2090 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2091 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2092
2093 * progmodes/dcl-mode.el (dcl-end-of-command):
2094 Remove unused variable `start'.
2095 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2096 (dcl-option-value-basic, dcl-option-value-offset)
2097 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2098 Mark unused parameters.
2099 (dcl-save-local-variable): Remove unused variable `val'.
2100 (mode): Declare.
2101
2102 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2103 Mark unused parameters.
2104 (delphi-ignore-changes): Move before first use.
2105 (delphi-charset-token-at): Remove unused variable `start'.
2106 (delphi-else-start): Remove unused variable `if-count'.
2107 (delphi-comment-block-start, delphi-comment-block-end):
2108 Remove unused variable `kind'.
2109 (delphi-indent-line): Remove unused variable `new-point'.
2110
2111 * progmodes/ebrowse.el (ebrowse-files-list)
2112 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2113 Mark unused parameters. Don't quote `lambda'.
2114 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2115 Don't quote `lambda'.
2116 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2117 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2118 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2119 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2120 Use `ignore-errors'.
2121 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2122 (ebrowse-view/find-file-and-search-pattern)
2123 (ebrowse-view/find-member-declaration/definition):
2124 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2125 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2126 Rename parameter PREFIX-ARG to PREFIX.
2127 (ebrowse-tags-read-name): Remove unused variables `start' and
2128 `member-info'.
2129 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2130 to `tags-file'.
2131
2132 * progmodes/etags.el (local-find-tag-hook): Declare.
2133 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2134 Mark unused parameters.
2135
2136 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2137 (executable-interpret): Mark unused parameter.
2138
2139 * progmodes/flymake.el (flymake-process-sentinel)
2140 (flymake-after-change-function)
2141 (flymake-create-temp-with-folder-structure)
2142 (flymake-get-include-dirs-dot): Mark unused parameters.
2143 (flymake-safe-delete-directory): Remove unused variable `err'.
2144
2145 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2146 (speedbar-timer-fn, speedbar-line-text)
2147 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2148 (speedbar-center-buffer-smartly): Declare functions.
2149 (gdb-find-watch-expression): Remove unused variable `array'.
2150 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2151 (gdb-starting): Mark unused parameters.
2152 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2153 (gdb-table-string): Remove unused variable `res'.
2154 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2155 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2156 (gdb-display-buffer): Remove unused variable `cur-size'.
2157
2158 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2159 allow lexical-binding compilation.
2160 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2161 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2162 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2163 Mark unused parameters.
2164 (gud-gdb-marker-filter): Remove unused variable `match'.
2165 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2166 lambda expressions and funcall them, instead of using `fset'.
2167
2168 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2169 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2170
2171 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2172 variable `header-beg'; use `let'.
2173
2174 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2175 `restart', `last-sexp' and `at-do'.
2176
2177 * progmodes/js.el (js--debug): Mark unused parameter.
2178 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2179 (js--splice-into-items): Remove unused variable `item'.
2180 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2181
2182 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2183 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2184 (makefile-complete): Remove unused variable `try'.
2185 (makefile-fill-paragraph, makefile-match-function-end):
2186 Mark unused parameters.
2187
2188 * progmodes/octave-inf.el (inferior-octave-complete):
2189 Remove unused variable `proc'.
2190 (inferior-octave-output-digest): Mark unused parameter.
2191
2192 * progmodes/perl-mode.el (perl-calculate-indent):
2193 Remove unused variable `err'.
2194
2195 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2196 (prolog-indent-line): Mark unused parameters.
2197 (prolog-indent-line): Remove unused variable `beg'.
2198
2199 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2200 (reporter-dont-compact-list): Declare.
2201
2202 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2203 Remove unused variable `char'.
2204 (sh-debug): Mark unused parameter.
2205 (sh-get-indent-info): Remove unused variable `start'.
2206 (sh-calculate-indent): Remove unused variable `var'.
2207
2208 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2209 (simula-electric-keyword): Remove unused variable `null'.
2210 (simula-search-backward, simula-search-forward): Remove unused
2211 variables `begin' and `end'.
2212
2213 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2214 Remove unused variable `pos'.
2215 (vera-electric-tab, vera-comment-uncomment-region):
2216 Mark unused parameters.
2217 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2218
7ede3b65
CY
22192011-04-22 Chong Yidong <cyd@stupidchicken.com>
2220
2221 * emacs-lisp/package.el (package--builtins, package-alist)
2222 (package-load-descriptor, package-built-in-p, package-activate)
2223 (define-package, package-installed-p)
2224 (package-compute-transaction, package-buffer-info)
2225 (package--push): Doc fix. Distinguish more clearly between
2226 version strings and version lists.
2227
121656e9
JB
22282011-04-21 Juanma Barranquero <lekktu@gmail.com>
2229
2230 Lexical-binding cleanup.
2231
2232 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2233 (5x5-make-mutate-best):
2234 * play/fortune.el (fortune-in-buffer):
2235 * play/gomoku.el (gomoku-init-display):
2236 * play/solitaire.el (solitaire, solitaire-do-check):
2237 * play/tetris.el (tetris-default-update-speed-function):
2238 Mark unused parameters.
2239
2240 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2241 (bubbles--shift): Remove unused variable `char-org'.
2242 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2243 (bubbles--show-images): Remove unused variable `char'.
2244
2245 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2246 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2247 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2248 (decipher-analyze-buffer): Use ?\s.
2249 (decipher-make-checkpoint): Remove unused variable `mapping'.
2250
2251 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2252
2253 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2254 Remove unused variable `result'; use `let'.
2255
2256 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2257 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2258 (gametree-children-shown-p, gametree-compute-reduced-score):
2259 Use `ignore-errors'.
2260
2261 * play/handwrite.el (ps-lpr-switches): Declare.
2262 (handwrite): Remove unused variables `pmin' and `lastp'.
2263
2264 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2265
2266 * play/landmark.el (landmark-init-display)
2267 (landmark-update-naught-weights): Mark unused parameters.
2268 (landmark-y): Remove unused variable `noise'. Simplify.
2269 (landmark-human-plays): Remove unused variable `score'.
2270
2271 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2272 (mpuz-try-proposal): Remove unused variable `game'.
2273
2274 * play/zone.el (life-patterns): Declare.
2275
80f499c7
JB
22762011-04-20 Juanma Barranquero <lekktu@gmail.com>
2277
2278 * vc/vc.el (ediff-vc-internal): Declare function.
2279
024ff170
SM
22802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2281
c0a193ea
SM
2282 * shell.el: Use lexical-binding and std completion UI.
2283 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2284 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2285 comint-preoutput-filter-functions rather than on
2286 comint-output-filter-functions.
2287 (shell-command-completion, shell--command-completion-data)
2288 (shell-filename-completion, shell-environment-variable-completion)
2289 (shell-c-a-p-replace-by-expanded-directory): New functions.
2290 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2291 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2292 (shell-dynamic-complete-environment-variable): Use them.
2293 (shell-dynamic-complete-as-environment-variable)
2294 (shell-dynamic-complete-as-command): Remove.
2295 (shell-match-partial-variable): Match past point.
2296 * comint.el: Clean up use of completion-at-point-functions.
2297 (comint-completion-at-point): New function.
2298 (comint-mode): Use it completion-at-point-functions.
2299 (comint-dynamic-complete): Make it obsolete.
2300 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2301 (comint-c-a-p-replace-by-expanded-history): New function.
2302 (comint-dynamic-complete-functions)
2303 (comint-replace-by-expanded-history): Use it.
2304 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2305 termination strings. Try harder to avoid second try-completion.
2306 (completion-in-region-mode-map): Disable bindings that don't work yet.
2307
2dbaa080
SM
2308 * comint.el: Use lexical-binding. Require CL.
2309 (comint-dynamic-complete-functions): Use comint-filename-completion.
2310 (comint-completion-addsuffix): Tweak custom type.
2311 (comint-filename-completion, comint--common-suffix)
2312 (comint--common-quoted-suffix, comint--table-subvert)
2313 (comint--complete-file-name-data): New functions.
2314 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2315 (comint-dynamic-list-filename-completions): Use them.
2316 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 2317
2dbaa080
SM
2318 * minibuffer.el (completion-in-region-mode):
2319 Keep completion-in-region-mode--predicate global.
2320 (completion-in-region--postch):
2321 Assume completion-in-region-mode--predicate is not null.
2322
c79a6f38
SM
2323 * progmodes/flymake.el (flymake-start-syntax-check-process):
2324 Obey `dir'. Simplify.
2325
024ff170
SM
2326 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2327 we're in VC after all.
2328
1c6c854e
CS
23292011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2330
2331 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 2332 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
2333 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2334
bed7f140
SM
23352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2336
332e62ab
SM
2337 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2338 add sanity check.
2339
bed7f140
SM
2340 * obsolete/erc-hecomplete.el: Make obsolete.
2341 * obsolete/: Standardize obsolescence info in the header.
2342
f195c582
GM
23432011-04-20 Glenn Morris <rgm@gnu.org>
2344
2345 * calendar/solar.el (solar-horizontal-coordinates):
2346 Use the longitude argument rather than `calendar-longitude'.
2347 (solar-date-next-longitude): Remove unused locals.
2348
cb79b8c0
VJL
23492011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2350
2351 * whitespace.el: New version 13.2.1.
2352
23532011-04-20 felix <EmacsWiki> (tiny change)
2354
2355 * whitespace.el (global-whitespace-mode): keep highlight when
2356 switching between major modes on a file.
2357
602ea69d
SM
23582011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2361 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2362 multi-line comments as well.
2363
06b60517
JB
23642011-04-19 Juanma Barranquero <lekktu@gmail.com>
2365
2366 Lexical-binding cleanup.
2367
2368 * arc-mode.el (archive-mode-revert):
2369 * cmuscheme.el (scheme-interactively-start-process):
2370 * custom.el (custom-initialize-delay):
2371 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2372 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2373 * emacs-lock.el (emacs-lock-clear-sentinel):
2374 * ezimage.el (defezimage):
2375 * follow.el (follow-avoid-tail-recenter):
2376 * fringe.el (set-fringe-mode-1):
2377 * generic-x.el (bat-generic-mode-compile):
2378 * help-mode.el (help-info-variable, help-do-xref)
2379 (help-mode-revert-buffer):
2380 * help.el (view-emacs-todo):
2381 * iswitchb.el (iswitchb-completion-help):
2382 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2383 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2384 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2385 * locate.el (locate-update):
2386 * longlines.el (longlines-encode-region)
2387 (longlines-after-change-function):
2388 * outline.el (outline-isearch-open-invisible):
2389 * ps-def.el (declare-function, charset-dimension, char-width)
2390 (encode-char):
2391 * ps-mule.el (ps-mule-plot-string):
2392 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2393 (recentf-edit-list-select, recentf-edit-list-validate)
2394 (recentf-open-files-action):
2395 * rect.el (delete-whitespace-rectangle-line)
2396 (rectangle-number-line-callback):
2397 * register.el (window-configuration-to-register)
2398 (frame-configuration-to-register):
2399 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2400 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2401 (xselect-convert-to-targets, xselect-convert-to-delete)
2402 (xselect-convert-to-filename, xselect-convert-to-charpos)
2403 (xselect-convert-to-lineno, xselect-convert-to-colno)
2404 (xselect-convert-to-os, xselect-convert-to-host)
2405 (xselect-convert-to-user, xselect-convert-to-class)
2406 (xselect-convert-to-name, xselect-convert-to-integer)
2407 (xselect-convert-to-atom, xselect-convert-to-identity):
2408 * subr.el (declare, ignore, process-kill-without-query)
2409 (text-clone-maintain):
2410 * terminal.el (te-get-char, te-tic-sentinel):
2411 * tool-bar.el (tool-bar-make-keymap):
2412 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2413 * type-break.el (type-break-mode, type-break-noninteractive-query):
2414 * view.el (View-back-to-mark):
2415 * wid-browse.el (widget-browse-action, widget-browse-widget)
2416 (widget-browse-widgets, widget-browse-sexp):
2417 * widget.el (define-widget-keywords):
2418 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2419 Mark unused parameters.
2420
2421 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2422 (align-areas): Remove unused variable `look'.
2423 (align-region): Remove unused variables `real-end' and `pos-list'.
2424
2425 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2426
2427 * bindings.el (mode-line-modified, mode-line-remote):
2428 Mark unused parameters.
2429 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2430
2431 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2432 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2433
2434 * comint.el (comint-history-isearch-pop-state)
2435 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2436 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2437 (comint-substitute-in-file-name): Doc fix.
2438
2439 * completion.el (cmpl-statistics-block): Mark unused parameter.
2440 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2441 (save-completions-to-file, load-completions-from-file):
2442 Remove unused local variable `e'.
2443
2444 * composite.el (compose-chars): Remove unused variable `len'.
2445 (lgstring-insert-glyph): Remove unused variable `g'.
2446 (compose-glyph-string): Remove unused variables `ascent',
2447 `descent', `lbearing' and `rbearing'.
2448 (compose-glyph-string-relative): Remove unused variables
2449 `lbearing', `rbearing' and `wadjust'.
2450 (compose-gstring-for-graphic): Remove unused variables `header',
2451 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2452 (compose-gstring-for-terminal): Remove unused variables `header'
2453 and `nchars'. Use `let', not `let*'.
2454
2455 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2456 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2457 (Custom-buffer-done, custom-buffer-create-internal)
2458 (custom-browse-visibility-action, custom-browse-group-tag-action)
2459 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2460 (widget-magic-mouse-down-action, custom-toggle-parent)
2461 (custom-add-parent-links, custom-toggle-hide-variable)
2462 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2463 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2464 (custom-face-menu-create, custom-variable-menu-create, get)
2465 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2466 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2467 (customize-apropos): Remove unused variable `tests'.
2468 (custom-group-value-create): Remove unused variable `hidden-p'.
2469 (sort-fold-case): Declare.
2470
2471 * cus-theme.el (custom-reset-standard-faces-list)
2472 (custom-reset-standard-variables-list): Declare.
2473 (customize-create-theme, custom-theme-revert, custom-theme-write)
2474 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2475 Mark unused parameters.
2476
2477 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2478
2479 * delim-col.el (delimit-columns-max): Move defvar before first use.
2480
2481 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 2482 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
2483
2484 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2485 (auto-insert): Declare.
2486 (desktop-restore-file-buffer): Rename desktop-* parameters;
2487 mark unused ones.
2488 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2489 (desktop-buffer): Rename desktop-* parameters.
2490
2491 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2492 (dframe-reposition-frame-xemacs, dframe-help-echo)
2493 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2494 Mark unused parameters.
2495
2496 * dired-aux.el (backup-extract-version-start, overwrite-query)
2497 (overwrite-backup-query, rename-regexp-query)
2498 (rename-non-directory-query): Declare.
2499 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2500 (dired-add-entry): Remove unused variable `orig-file-name'.
2501 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2502 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2503 `dired-copy-preserve-time' directly.
2504 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2505 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2506
2507 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2508 (dired-virtual-revert, dired-make-relative-symlink):
2509 Mark unused parameters.
2510 (manual-program): Declare.
2511 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2512 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2513 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2514
2515 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2516
2517 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2518
2519 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2520 Declare.
2521
2522 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2523
2524 * electric.el (Electric-command-loop): Rename parameter
2525 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2526
2527 * expand.el (expand-in-literal): Remove unused variable `here'.
2528
2529 * facemenu.el (facemenu-add-new-color):
2530 Remove unused variable `docstring'.
2531
2532 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2533 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2534 (face-attr-construct): Mark unused parameter. Doc fix.
2535 (read-color): Remove unused variable `hex-string'.
2536
2537 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2538 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2539 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2540 (display-buffer-other-frame): Remove unused variable `old-window'.
2541 (kill-buffer-hook): Declare.
2542 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2543 Mark unused parameters.
2544 (after-find-file): Pass 1 to `auto-save-mode', not t.
2545
2546 * files-x.el (auto-insert): Declare.
2547 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2548
2549 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 2550 variable `buf'. Mark unused parameter.
06b60517
JB
2551 (find-lisp-insert-directory): Mark unused parameter.
2552
2553 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2554 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2555 (format-common-tail): Remove, unused.
2556 (format-deannotate-region): Remove unused variable `loc'.
2557 (format-annotate-region): Remove unused variable `p'.
2558 (format-annotate-single-property-change): Remove unused variables
2559 `default' and `tail'.
2560
2561 * forms.el (read-file-filter): Declare.
2562 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2563
2564 * frame.el (frame-creation-function-alist): Mark unused parameter.
2565 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2566
2567 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2568 Remove unused parameters.
2569 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2570 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2571
2572 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2573 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2574 (hfy-prepare-tag-map): Mark unused parameters.
2575 (htmlfontify-buffer): Use `called-interactively-p'.
2576
2577 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2578 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2579 (ibuffer-do-occur): Mark unused parameters.
2580 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2581 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2582
2583 * ibuffer.el: Don't quote `lambda'.
2584 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2585 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2586 Mark unused parameters.
2587
2588 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2589 (ido-completing-read): Mark unused parameters.
2590 (ido-copy-current-word): Mark unused parameters;
2591 remove unused variable `name'.
2592 (ido-sort-merged-list): Remove unused parameter `dirs'.
2593
2594 * ielm.el (ielm-input-sender): Mark unused parameter.
2595 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2596 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2597 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2598 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2599 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2600
2601 * image-dired.el (image-dired-display-thumbs): Remove unused
2602 variables `curr-file' and `count'.
2603 (image-dired-remove-tag): Remove unused variable `start'.
2604 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2605 variable `curr-file'
2606 (image-dired-rotate-original): Remove unused variable `temp-file'.
2607 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2608 Remove unused variable `file'.
2609 (image-dired-gallery-generate): Remove unused variable `curr'.
2610 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2611
2612 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2613
2614 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2615
2616 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2617
2618 * isearch.el (minibuffer-history-symbol): Declare.
2619 (isearch-edit-string): Remove unused variable `err'.
2620 (isearch-message-prefix, isearch-message-suffix):
2621 Mark unused parameters.
2622
2623 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2624
2625 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2626
2627 * makesum.el (double-column): Remove unused variable `cnt'.
2628
2629 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2630 (ido-ignore-item-temp-list): Declare.
2631
2632 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2633 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2634 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2635 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2636 `mouse-col-delta'.
2637
2638 * mouse-sel.el (mouse-extend-internal):
2639 Remove unused variable `orig-window-frame'.
2640
2641 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2642 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2643 Move declarations before first use.
2644 (pcomplete-opt): Mark unused parameters; doc fix.
2645
2646 * proced.el (proced-revert): Mark unused parameter.
2647 (proced-send-signal): Remove unused variable `err'.
2648
2649 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2650 Rename parameter PREFIX-ARG to ARG.
2651 (ps-basic-plot-string, ps-basic-plot-whitespace):
2652 Mark unused parameters.
2653
2654 * replace.el (replace-count): Define.
2655 (occur-revert-function): Mark unused parameters.
2656 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2657 (isearch-case-fold-search, isearch-string): Declare.
2658 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2659 bind `case-fold-search'. Remove unused variables `beg' and `end',
2660 and simplify.
2661 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2662 COUNT and bind `replace-count'.
2663 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2664 to COUNT.
2665
2666 * savehist.el (print-readably, print-string-length): Declare.
2667
2668 * shadowfile.el (shadow-expand-cluster-in-file-name):
2669 Remove unused variable `cluster'.
2670 (shadow-copy-file): Remove unused variable `i'.
2671 (shadow-noquery, shadow-clusters, shadow-site-cluster)
2672 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2673 (shadow-define-literal-group, shadow-define-regexp-group)
2674 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2675
2676 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2677 (shell): Use `called-interactively-p'.
2678 (shell-directory-tracker): Remove unused variable `chdir-failure'.
2679
2680 * simple.el (compilation-context-lines, comint-file-name-quote-list)
2681 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2682 (delete-backward-char): Remove unused variable `ocol'.
2683 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2684 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2685 (event-apply-hyper-modifier, event-apply-shift-modifier)
2686 (event-apply-control-modifier, event-apply-meta-modifier):
2687 Mark unused parameters.
2688 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2689 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2690
2691 * speedbar.el (speedbar-ignored-directory-expressions)
2692 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2693 (speedbar-find-file, speedbar-dir-follow)
2694 (speedbar-directory-buttons-follow, speedbar-tag-find)
2695 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2696 (speedbar-buffers-line-directory, speedbar-buffer-click):
2697 Mark unused parameters.
2698 (speedbar-tag-file): Remove unused variable `mode'.
2699 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2700
2701 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2702
2703 * talk.el (talk): Remove unused variable `display'.
2704
2705 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2706 (tar-write-region-annotate): Mark unused parameter.
2707
2708 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2709 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2710 Declare them, wrapped in `with-no-warnings' to avoid replacing one
2711 warning by another.
2712
2713 * time-stamp.el (time-stamp-string-preprocess):
2714 Remove unused variable `require-padding'.
2715
2716 * tree-widget.el (widget-glyph-enable): Declare.
2717 (tree-widget-action): Mark unused parameter.
2718
2719 * w32-fns.el (x-get-selection): Mark unused parameter.
2720 (autoload-make-program, generated-autoload-file): Declare.
2721
2722 * wdired.el (wdired-revert): Mark unused parameters.
2723 (wdired-xcase-word): Remove unused variable `err'.
2724
2725 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2726 (whitespace-help-scroll): Remove unused variable `data-help'.
2727
2728 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2729 (widget-image-insert, widget-after-change, default)
2730 (widget-default-format-handler, widget-default-notify)
2731 (widget-default-prompt-value, widget-info-link-action)
2732 (widget-url-link-action, widget-function-link-action)
2733 (widget-variable-link-action, widget-file-link-action)
2734 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2735 (widget-field-prompt-internal, widget-field-action, widget-field-match)
2736 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2737 (widget-insert-button-action, widget-delete-button-action, visibility)
2738 (widget-documentation-link-action, widget-documentation-string-action)
2739 (widget-const-prompt-value, widget-regexp-match, symbol)
2740 (widget-coding-system-prompt-value)
2741 (widget-key-sequence-value-to-external, sexp)
2742 (widget-sexp-value-to-internal, character, vector, cons)
2743 (widget-choice-prompt-value, widget-boolean-prompt-value)
2744 (widget-color--choose-action): Mark unused parameters.
2745 (widget-item-match-inline, widget-choice-match-inline)
2746 (widget-checklist-match, widget-checklist-match-inline)
2747 (widget-group-match): Rename parameter VALUES to VALS.
2748 (widget-field-value-set): Remove unused variable `size'.
2749 (widget-color-action): Remove unused variables `value' and `start'.
2750
2751 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 2752 variable `dir'. Doc fix.
06b60517
JB
2753 (windmove-find-other-window): Don't pass it.
2754
2755 * window.el (count-windows): Mark unused parameter.
2756 (bw-adjust-window): Remove unused variable `err'.
2757
2758 * woman.el (woman-file-name): Remove unused variable `default'.
2759 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2760 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2761 (global-font-lock-mode): Declare.
2762 (woman-decode-region): Mark unused parameter.
2763 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2764
2765 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2766 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2767 (x-dnd-handle-moz-url): Remove unused variable `title'.
2768 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2769
2770 * xml.el (xml-parse-tag, xml-parse-attlist):
2771 Remove unused variable `pos'.
2772
bc4f7f3d
GM
27732011-04-19 Glenn Morris <rgm@gnu.org>
2774
2775 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2776 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2777 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2778 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2779 * calendar/cal-html.el (cal-html-insert-minical):
2780 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2781 (calendar-mark-date-pattern):
2782 Prefix "unused" locals.
2783
2784 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2785 optional argument `style'.
2786
2787 * calendar/appt.el (appt-make-list):
2788 * calendar/cal-china.el (calendar-chinese-date-string):
2789 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2790 (diary-hebrew-yahrzeit):
2791 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2792 * calendar/calendar.el (calendar-generate-window):
2793 * calendar/time-date.el (time-to-days):
2794 Remove unused local variables.
2795
16a43933
CY
27962011-04-18 Chong Yidong <cyd@stupidchicken.com>
2797
2798 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2799 glyphless-char-display table.
2800 (tabulated-list-glyphless-char-display): New var.
2801
7eed1860
SS
28022011-04-18 Sam Steingold <sds@gnu.org>
2803
2804 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2805 to acknowledgments.
2806
4d2d1ccd
GM
28072011-04-17 Glenn Morris <rgm@gnu.org>
2808
2809 * calendar/diary-lib.el (diary-sexp-entry):
2810 * calendar/holidays.el (holiday-sexp):
2811 Set debug-on-error rather than the removed stack-trace-on-error.
2812
239da61d
GM
28132011-04-16 Glenn Morris <rgm@gnu.org>
2814
2815 * progmodes/f90.el: Use lexical-binding.
2816 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2817
8b05752a
SM
28182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2819
daca8ba5
SM
2820 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2821 (mail-mode): Setup mailalias completion here instead.
2822 * mail/mailalias.el: Use lexical-binding.
2823 (pattern, mailalias-done): Declare dynamic.
2824 (mail-completion-at-point-function): New function, from mail-complete.
2825 (mail-complete): Use it.
2826 (mail-completion-expand): New function.
2827 (mail-get-names): Use it.
2828 (mail-directory, mail-directory-process, mail-directory-stream):
2829 Don't use `pattern' for lexically bound arg.
2830
6f542485
SM
2831 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2832
037e7c3f
SM
2833 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2834 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2835 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2836
8b05752a
SM
2837 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2838 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2839 (byte-interactive-p): Define them again, for use when inlining
2840 old code.
2841
49093f60
JB
28422011-04-15 Juanma Barranquero <lekktu@gmail.com>
2843
2844 * loadup.el: Use `string-to-number', not `string-to-int'.
2845
b5b8e7de
SM
28462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2849 gud-gdb-complete-command.
2850 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2851 (gud-gdb-completion-at-point): New function.
2852 (gud-gdb-completions): Remove.
2853
f42efeb5
MA
28542011-04-14 Michael Albinus <michael.albinus@gmx.de>
2855
49093f60
JB
2856 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2857 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2858 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2859 whether `executable-find' is bound.
f42efeb5
MA
2860
2861 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2862
e240cc21
SM
28632011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2864
2865 * minibuffer.el (completion-in-region-mode-predicate)
2866 (completion-in-region-mode--predicate): New vars.
2867 (completion-in-region, completion-in-region--postch)
2868 (completion-in-region-mode): Use them.
2869 (completion--capf-wrapper): Also return the hook function.
2870 (completion-at-point, completion-help-at-point):
2871 Adjust and provide a predicate.
c2bd2ab0
SM
2872
2873 Preserve arg names for advice of subr and lexical functions (bug#8457).
2874 * help-fns.el (help-function-arglist): Consolidate the subr and
2875 new-byte-code cases. Add argument `preserve-names' to extract names
2876 from the docstring when needed.
2877 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2878 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2879 (ad-arglist): Use help-function-arglist's new arg.
2880 (ad-definition-type): Use cond.
2881
c183f693
JB
28822011-04-13 Juanma Barranquero <lekktu@gmail.com>
2883
06641a47
JB
2884 * autorevert.el (auto-revert-handler):
2885 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2886 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2887 Don't quote lambda.
2888
c183f693
JB
2889 * image-mode.el (image-transform-set-scale):
2890 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2891
1e3b6001
G
28922011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2893
2894 * net/network-stream.el (network-stream-open-starttls): Only do
2895 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2896 Upgrades via gnutls-cli are too slow to be done opportunistically.
2897
2d6af8dd
JB
28982011-04-12 Juanma Barranquero <lekktu@gmail.com>
2899
2900 * dframe.el (dframe-current-frame): Remove spurious quote.
2901
c0749a51
GM
29022011-04-12 Glenn Morris <rgm@gnu.org>
2903
088d0d61
GM
2904 * calendar/cal-tex.el (cal-tex-end-document):
2905 Try to automatically use latin1 input if needed.
2906
c0749a51
GM
2907 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2908 Don't try to cons a mark onto an empty element.
2909
5c90fde0
LL
29102011-04-11 Leo Liu <sdl.web@gmail.com>
2911
2912 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2913 buffers.
2914 (ido-kill-buffer-at-head): Support killing virtual buffers.
2915
369e974d
CY
29162011-04-10 Chong Yidong <cyd@stupidchicken.com>
2917
2918 * minibuffer.el (completion-show-inline-help): New var.
2919 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
2920 (minibuffer-force-complete, minibuffer-complete-word):
2921 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
2922
2923 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2924 to avoid interference from inline help (Bug#5849).
2925
37f1c930
LL
29262011-04-10 Leo Liu <sdl.web@gmail.com>
2927
099c39a4
JB
2928 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2929 Fix typo.
37f1c930 2930
a32d4040
CY
29312011-04-09 Chong Yidong <cyd@stupidchicken.com>
2932
2933 * image-mode.el (image-toggle-display-image): Signal an error if
2934 not in Image mode.
2935 (image-transform-mode, image-transform-resize)
2936 (image-transform-set-rotation): Doc fix.
daca8ba5 2937 (image-transform-set-resize): Delete.
a32d4040
CY
2938 (image-transform-set-scale, image-transform-fit-to-height)
2939 (image-transform-fit-to-width): Handle image-toggle-display-image
2940 and image-transform-resize directly.
2941
099c39a4 29422011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
2943
2944 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
2945 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2946 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
2947 (doc-view-mode-map): Add bindings for the new functions.
2948
099c39a4 29492011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
2950
2951 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2952 Fix typo in docstring.
2953
3726838a
EZ
29542011-04-08 Eli Zaretskii <eliz@gnu.org>
2955
04f33f1e
EZ
2956 * files.el (file-size-human-readable): Produce one digit after
2957 decimal, like "ls -lh" does.
2958
2959 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2960 the file size representation.
2961
3726838a
EZ
2962 * simple.el (list-processes): If async subprocesses are not
2963 available, error out with a clear error message.
2964
cbb59342
CY
29652011-04-08 Chong Yidong <cyd@stupidchicken.com>
2966
2967 * help.el (help-form-show): New function, to be called from C.
2968 Put help-form output in a buffer named differently than *Help*.
2969
e3971c44
EZ
29702011-04-08 Eli Zaretskii <eliz@gnu.org>
2971
2972 * files.el (file-size-human-readable): New function.
2973
2974 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2975 computing the representation inline. Don't require `cl'.
2976
12544bbe
GM
29772011-04-08 Glenn Morris <rgm@gnu.org>
2978
a1de6c6a
GM
2979 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2980
3c4671f4
GM
2981 * net/browse-url.el (browse-url-firefox):
2982 Test system-type, not system-configuration.
2983
b605679c
GM
2984 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2985 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2986 Use log-edit-empty-buffer-p. (Bug#7598)
2987
56442f0c
GM
2988 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2989 (rlogin-mode-map): Initialize in the defvar.
2990 (rlogin): Use ignore-errors.
2991
12544bbe
GM
2992 * replace.el (occur-mode-map): Some fixes for menu items.
2993
eb237b0f
AH
29942011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2995
2996 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2997
7d668f2c
CY
29982011-04-06 Chong Yidong <cyd@stupidchicken.com>
2999
e67a13ab
CY
3000 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3001 issuing unused warnings.
3002
3003 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3004 macro directly.
3005
7d668f2c
CY
3006 * simple.el: Lisp reimplement of list-processes. Based on an
3007 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3008 (process-menu-mode): New major mode.
3009 (list-processes--refresh, list-processes):
3010 (process-menu-visit-buffer): New functions.
3011
3012 * files.el (save-buffers-kill-emacs): Don't assume any return
3013 value of list-processes, which is undocumented anyway.
3014
a83ec3c9
CY
30152011-04-06 Chong Yidong <cyd@stupidchicken.com>
3016
3017 * emacs-lisp/tabulated-list.el: New file.
3018
e91a96fe
CY
3019 * emacs-lisp/package.el: Use Tabulated List mode.
3020 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3021 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3022 table format using Tabulated List mode variables.
3023 (package--push): New macro, replacing package-list-maybe-add.
3024 (package-menu--generate): Use package--push. Renamed from
3025 package--generate-package-list.
3026 (package-menu-refresh, list-packages): Use it.
daca8ba5 3027 (package-menu--print-info): Rename from package-print-package.
e91a96fe 3028 Return insertion data instead of inserting it directly.
099c39a4
JB
3029 (package-menu-describe-package, package-menu-execute):
3030 Use tabulated-list-get-id.
e91a96fe
CY
3031 (package-menu-mark-delete, package-menu-mark-install)
3032 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
3033 (package-menu-mark-obsolete-for-deletion):
3034 Use tabulated-list-put-tag.
e91a96fe
CY
3035 (package--list-packages, package-menu-revert)
3036 (package-menu-get-package, package-menu-get-version)
3037 (package-menu-sort-by-column): Functions deleted.
3038 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3039 (package-menu--status-predicate, package-menu--version-predicate)
3040 (package-menu--name-predicate)
3041 (package-menu--description-predicate): Handle arguments in the
3042 Tabulated List format.
3043 (package-list-packages-no-fetch): Call list-packages.
3044
3e214b50
JB
30452011-04-06 Juanma Barranquero <lekktu@gmail.com>
3046
3047 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 3048 (after-find-file): Don't bind it.
3e214b50
JB
3049 (revert-buffer-in-progress-p): New variable.
3050 (revert-buffer): Bind it.
3051 Pass nil for `after-find-file-from-revert-buffer'.
3052
3053 * saveplace.el (save-place-find-file-hook): Use new variable
3054 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3055
3f0f1700
GM
30562011-04-06 Glenn Morris <rgm@gnu.org>
3057
c0274801
GM
3058 * Makefile.in (AUTOGEN_VCS): New variable.
3059 (autoloads): Use $AUTOGEN_VCS.
3060
3f0f1700
GM
3061 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3062 * calendar/calendar.el (calendar-mode-map):
3063 Check for toolkit scroll bars. (Bug#8305)
3064
41ea9e48
CY
30652011-04-05 Chong Yidong <cyd@stupidchicken.com>
3066
3067 * minibuffer.el (completion-in-region--postch)
3068 (completion-in-region-mode): Remove unnecessary messages.
3069
6194c800
JB
30702011-04-05 Juanma Barranquero <lekktu@gmail.com>
3071
33256f14
JB
3072 * font-lock.el (font-lock-refresh-defaults):
3073 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3074 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3075
6194c800
JB
3076 * info.el (Info-directory-list, Info-read-node-name-2)
3077 (Info-split-parameter-string): Doc fixes.
3078 (Info-virtual-nodes): Reflow docstring.
3079 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3080 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3081 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3082 Fix typos in docstrings.
3083 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3084 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3085 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3086 (Info-restore-desktop-buffer): Mark unused parameters.
3087 (Info-directory-find-file, Info-directory-find-node)
3088 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3089 (Info-virtual-index-find-node, Info-apropos-find-file)
3090 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 3091 Mark unused parameters; fix typos in docstrings.
6194c800
JB
3092 (Info-virtual-index): Remove unused local variable `nodename'.
3093
b87a8200 30942011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 3095
b87a8200
DD
3096 * net/rcirc.el: Update my e-mail address.
3097 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 3098
3b2ff876
CY
30992011-04-05 Chong Yidong <cyd@stupidchicken.com>
3100
3101 * startup.el (command-line): Save the cursor's theme-face
3102 directly, instead of using face-override-spec.
3103
3104 * custom.el (load-theme): Minor optimization in assigning faces.
3105
8d17e7ca
JB
31062011-04-04 Juanma Barranquero <lekktu@gmail.com>
3107
3108 * help-fns.el (describe-variable): Complete all variables having
3109 documentation, including keywords.
3110 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3111
2fbc1934
JB
31122011-04-04 Juanma Barranquero <lekktu@gmail.com>
3113
3114 Convert to lexical-binding.
3115
3116 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3117 (bs--get-marked-string, bs--get-modified-string)
3118 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3119 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3120 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3121
3122 * ehelp.el (electric-help-execute-extended)
3123 (electric-help-ctrl-x-prefix):
3124 * hexl.el (hexl-revert-buffer-function):
3125 * linum.el (linum-after-change, linum-after-scroll):
3126 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3127
3128 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3129
74f50695
DU
31302011-04-04 Daiki Ueno <ueno@unixuser.org>
3131
3132 * epa-dired.el:
3133 * epa-mail.el:
3134 * epa-hook.el:
3135 * epa-file.el:
3136 * epa.el:
3137 * epg.el: Use lexical binding.
3138
c11325f7
CY
31392011-04-03 Chong Yidong <cyd@stupidchicken.com>
3140
0d9e9a12
CY
3141 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3142
c11325f7 3143 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
3144 dictionary case for flyspell-mark-duplications-exceptions.
3145 Use regexp matching for languages.
c11325f7
CY
3146 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3147 default dictionary (Bug#7926).
3148
da91b5f2
CY
31492011-04-02 Chong Yidong <cyd@stupidchicken.com>
3150
099c39a4
JB
3151 * emacs-lisp/package.el (package--with-work-buffer):
3152 Recognize https URLs.
da91b5f2 3153
099c39a4
JB
3154 * net/network-stream.el: Move from gnus/proto-stream.el.
3155 Change prefix to network-stream throughout.
da91b5f2
CY
3156 (open-protocol-stream): Merge into open-network-stream, leaving
3157 open-protocol-stream as an alias. Handle nil BUFFER args.
3158
3159 * subr.el (open-network-stream): Move to net/network-stream.el.
3160
afa8e9f6
GM
31612011-04-02 Glenn Morris <rgm@gnu.org>
3162
1d2e369d
GM
3163 * find-dired.el (find-exec-terminator): New option.
3164 (find-ls-option): Test for -ls support.
3165 (find-ls-subdir-switches): Test for -b in find-ls-option.
3166 (find-dired, find-grep-dired): Doc fixes.
3167 (find-dired): Use find-exec-terminator.
3168
8abb7da8 3169 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
3170 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3171 (find-name-arg): Remove purecopy.
8abb7da8 3172
f3ca7378
GM
3173 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3174 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3175 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3176 accordingly. Don't add the null-device if not needed.
3177
afa8e9f6
GM
3178 * files.el (save-some-buffers): Doc fix.
3179
35eae264
EZ
31802011-04-02 Eli Zaretskii <eliz@gnu.org>
3181
3182 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3183
26b51db5
JB
31842011-04-01 Juanma Barranquero <lekktu@gmail.com>
3185
3186 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3187 Use `dolist' rather than `mapcar'.
3188
7200d79c
SM
31892011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3190
03408648 3191 Add lexical binding.
7200d79c 3192
03408648
SM
3193 * subr.el (apply-partially): Use new closures rather than CL.
3194 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3195 (dolist, dotimes): Use slightly different expansion for lexical code.
3196 (functionp): Move to C.
3197 (letrec): New macro.
3198 (with-wrapper-hook): Use it and apply-partially instead of CL.
3199 (eval-after-load): Preserve lexical-binding.
3200 (save-window-excursion, with-output-to-temp-buffer): Turn them
3201 into macros.
7200d79c 3202
03408648
SM
3203 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3204
3205 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3206 than the arglist.
3207 (help-add-fundoc-usage): Don't add `Not documented'.
3208 (help-function-arglist): Handle closures, subroutines, and new
3209 byte-code-functions.
3210 (help-make-usage): Remove leading underscores.
3211 (describe-function-1): Handle closures.
3212 (describe-variable): Use special-variable-p for completion.
3213
3214 * files.el (lexical-binding): Declare safe.
f488fb65 3215
03408648
SM
3216 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3217 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3218 (pcase): Add `let' pattern.
3219 Change memoization so it actually works.
3220 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3221 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3222 <let>: New case.
f488fb65 3223
03408648
SM
3224 * emacs-lisp/macroexp.el: Use lexical binding.
3225 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3226 Don't convert ' to #' without checking that it's indeed quoting
3227 a lambda.
3228
3229 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 3230 Use eval-sexp-add-defvars.
03408648
SM
3231 (eval-sexp-add-defvars): New fun.
3232
3233 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3234
3235 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3236 Don't autoload.
3237 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3238 than the internal `byte-compile-lambda'.
3239 (defmethod): Don't hide code under quotes.
3240 (eieio-defmethod): New `code' argument.
3241
3242 * emacs-lisp/eieio-comp.el: Remove.
3243
3244 * emacs-lisp/edebug.el (edebug-eval-defun)
3245 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3246 (edebug-toggle): Avoid `eval'.
3247
3248 * emacs-lisp/disass.el (disassemble-internal): Handle new
3249 `closure' objects.
3250 (disassemble-1): Handle new byte codes.
3251
3252 * emacs-lisp/cl.el (pushnew): Silence warning.
3253
3254 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3255 (cl-byte-compile-throw): Remove.
3256 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3257
3258 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3259 closures.
3260
3261 * emacs-lisp/cconv.el: New file.
3262
3263 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3264 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3265 (byte-compile-initial-macro-environment):
3266 Handle declare-function here.
3267 (byte-compile--lexical-environment): New var.
3268 (byte-stack-ref, byte-stack-set, byte-discardN)
3269 (byte-discardN-preserve-tos): New lap codes.
3270 (byte-interactive-p): Don't use any more.
3271 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3272 New macros.
3273 (byte-compile-lapcode): Use them and handle new lap codes.
3274 (byte-compile-obsolete): Remove.
3275 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3276 (byte-compile-arglist-warn): Check late def of inlinable funs.
3277 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3278 since they should have been expanded by now.
3279 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3280 (byte-compile-from-buffer): Remove unused second arg.
3281 (byte-compile-preprocess): New function.
3282 (byte-compile-toplevel-file-form): New function to distinguish
3283 file-form calls from outside from file-form calls from hunk-handlers.
3284 (byte-compile-file-form): Simplify.
3285 (byte-compile-file-form-defsubst): Remove.
3286 (byte-compile-file-form-defmumble): Simplify now that
3287 byte-compile-lambda always returns a byte-code-function.
3288 (byte-compile): Preprocess.
3289 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3290 Remove, not used any more.
3291 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3292 (byte-compile-make-args-desc): New funs.
3293 (byte-compile-lambda): Handle lexical functions. Always return
3294 a byte-code-function.
3295 (byte-compile-reserved-constants): New var, to make up room for
3296 closed-over variables.
3297 (byte-compile-constants-vector): Obey it.
3298 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3299 (byte-compile-macroexpand-declare-function): New function.
3300 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3301 byte-code-functions.
3302 (byte-compile-form): Check obsolescence here.
3303 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3304 (byte-compile-variable-ref): Remove.
3305 (byte-compile-dynamic-variable-op): New fun.
3306 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3307 (byte-compile-variable-set): New funs.
3308 (byte-compile-discard): Add 2 args.
3309 (byte-compile-stack-ref, byte-compile-stack-set)
3310 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3311 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3312 macroexpand-all instead.
3313 (byte-compile-quote-form): Remove.
3314 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3315 (byte-compile-bind, byte-compile-unbind): New funs.
3316 (byte-compile-let): Handle let* and lexical binding.
3317 (byte-compile-let*): Remove.
3318 (byte-compile-catch, byte-compile-unwind-protect)
3319 (byte-compile-track-mouse, byte-compile-condition-case):
3320 Handle a new :fun-body form, used for lexical scoping.
3321 (byte-compile-save-window-excursion)
3322 (byte-compile-with-output-to-temp-buffer): Remove.
3323 (byte-compile-defun): Simplify.
3324 (byte-compile-stack-adjustment): New fun.
3325 (byte-compile-out): Use it.
3326 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3327
3328 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3329 handler any more.
3330
3331 * emacs-lisp/byte-opt.el: Use lexical binding.
3332 (byte-inline-lapcode): Remove (to bytecomp).
3333 (byte-compile-inline-expand): Pay attention to inlining to/from
3334 lexically bound code.
3335 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3336 any more.
3337 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3338 any more and don't call compiler-macros.
3339 (byte-compile-splice-in-already-compiled-code): Remove.
3340 (byte-code): Don't inline any more.
3341 (disassemble-offset): Receive `bytes' as argument rather than via
3342 dynamic scoping.
3343 (byte-compile-tag-number): Declare before first use.
3344 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3345 `return' even if make-spliceable.
3346 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3347 obsolete interactive-p.
3348 (byte-optimize-lapcode): Optimize new lap-codes.
3349 Don't trip up on new form of `byte-constant' lap code.
3350
3351 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3352
3353 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3354
3355 * custom.el (custom-initialize-default, custom-declare-variable):
3356 Use `defvar'.
3357
3358 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3359 New variables.
3360 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3361 (COMPILE_FIRST): Add macroexp and cconv.
3362 * makefile.w32-in: Mirror changes in Makefile.in.
3363
3364 * vc/cvs-status.el:
3365 * vc/diff-mode.el:
3366 * vc/log-edit.el:
3367 * vc/log-view.el:
3368 * vc/smerge-mode.el:
3369 * textmodes/bibtex-style.el:
3370 * textmodes/css.el:
3371 * startup.el:
3372 * uniquify.el:
da91b5f2
CY
3373 * minibuffer.el:
3374 * newcomment.el:
3375 * reveal.el:
3376 * server.el:
3377 * mpc.el:
3378 * emacs-lisp/smie.el:
3379 * doc-view.el:
3380 * dired.el:
03408648
SM
3381 * abbrev.el: Use lexical binding.
3382
0f0c1f27
EZ
33832011-04-01 Eli Zaretskii <eliz@gnu.org>
3384
3385 * info.el (info-display-manual): New function.
3386
c82b2579
SM
33872011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3390
221ddf68
TH
33912011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3392
3393 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 3394 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 3395
cba6e77e
GM
33962011-03-31 Glenn Morris <rgm@gnu.org>
3397
e040639f
GM
3398 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3399
cba6e77e
GM
3400 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3401
6d0f1c9e
CS
34022011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3403
3404 * progmodes/python.el (python-default-interpreter)
3405 (python-python-command-args, python-jython-command-args)
3406 (python-which-shell, python-which-args, python-which-bufname)
3407 (python-file-queue, python-comint-output-filter-function)
3408 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3409 variables and functions.
3410
3e2d70fd
SM
34112011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3414 (completion-in-region-mode): New minor mode.
3415 (completion-in-region): Use it.
3416 (completion-in-region--data, completion-in-region-mode-map): New vars.
3417 (completion-in-region--postch): New function.
3418 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3419 New vars.
3420 (completion--capf-wrapper): New function.
3421 (completion-at-point): Use it to track well-behavedness of
3422 hook functions.
3423 (completion-help-at-point): New command.
3424
f3e4086c
JM
34252011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3426
3427 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3428 syntax class to search for whitespace on a single line
3429 (Message-ID: <4D938140.4030905@redhat.com>).
3430
eb7ffc14
LL
34312011-03-30 Leo Liu <sdl.web@gmail.com>
3432
3433 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3434 New commands.
3435 (edit-abbrevs-map): Bind them here.
3436 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3437
d806ab68
KM
34382011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3439
3440 * allout.el (allout-hide-by-annotation, allout-flag-region):
3441 Reduce possibility of overlay leakage by making them volatile.
3442
3443 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3444 hash is not shared between buffers. Mode initialization is
3445 responsible for giving it a useful starting value.
3446 (allout-item-span): Reduce possibility of overlay leakage by
3447 making them volatile.
3448 (allout-widgets-count-buttons-in-region): Add diagnostic function
3449 for tracking down button overlay leaks.
3450
ea622834
LL
34512011-03-29 Leo Liu <sdl.web@gmail.com>
3452
3453 * ido.el (ido-read-internal): Use the default history var
3454 minibuffer-history if no HISTORY is specified.
3455
b62f8267
G
34562011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3457
03408648
SM
3458 * net/imap.el (imap-shell-open, imap-process-connection-type):
3459 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
3460 Kerberos, SSL, other subprocesses.
3461
947b6566
LL
34622011-03-28 Leo Liu <sdl.web@gmail.com>
3463
3464 * abbrev.el (abbrev-table-empty-p): New function.
3465 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3466 nonempty ones. (Bug#5937)
3467
5ffb62aa
JD
34682011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3469
3470 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3471
7a097943
LL
34722011-03-27 Leo Liu <sdl.web@gmail.com>
3473
3474 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3475 for foreground and background colors.
3476 (ansi-color-make-color-map): Adapt.
3477
c5b40130
LL
34782011-03-25 Leo Liu <sdl.web@gmail.com>
3479
1f48f7d2
LL
3480 * midnight.el (midnight-time-float): Remove. Note it calculates
3481 the microsecond component incorrectly and seconds-to-time does the
3482 same job.
625897ec 3483 Remove redundant (require 'timer).
1f48f7d2 3484
c5b40130
LL
3485 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3486 (ido-completions): Remove unused arguments. (Bug#8329)
3487
d86d2721
SM
34882011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * minibuffer.el (completion--flush-all-sorted-completions):
3491 Remove itself from hook.
3492 (completion-at-point): Let the functions perform the completion
3493 immediately and return nil or t.
3494 * comint.el (comint-dynamic-complete-functions): Now identical to
3495 completion-at-point-functions.
3496 (comint-dynamic-list-input-ring): Remove unused var `index'.
3497 (comint--match-partial-filename, comint--unquote&expand-filename):
3498 New funs, split from comint-match-partial-filename.
3499 (comint-dynamic-complete): Use completion-at-point.
3500 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3501
e8974c48
DA
35022011-03-24 Drew Adams <drew.adams@oracle.com>
3503
3504 * thingatpt.el: Support `defun'.
3505
def71b5e
LL
35062011-03-23 Leo Liu <sdl.web@gmail.com>
3507
cb5af48e
LL
3508 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3509
def71b5e
LL
3510 * help-mode.el (help-mode-finish): Tweak regexp.
3511
927c53e7
GM
35122011-03-23 Glenn Morris <rgm@gnu.org>
3513
18d05bed
GM
3514 * eshell/esh-opt.el (eshell-eval-using-options):
3515 Do not bind unused local variable `eshell-option-stub'.
3516
927c53e7
GM
3517 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3518
9d0da923
JB
35192011-03-22 Juanma Barranquero <lekktu@gmail.com>
3520
3521 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3522 keymap variable in `with-no-warnings' to avoid a warning when the
3523 keymap has been already `defconst'ed.
3524
4b978a67
LL
35252011-03-22 Leo Liu <sdl.web@gmail.com>
3526
3527 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3528 encode all chars in abbrevs; otherwise use emacs-mule or
3529 utf-8-emacs. (Bug#8308)
3530
5fd62452
JB
35312011-03-22 Juanma Barranquero <lekktu@gmail.com>
3532
0b1596c6
JB
3533 * simple.el (backward-delete-char-untabify):
3534 Avoid warning about using `delete-backward-char'.
3535
5fd62452
JB
3536 * image.el (image-type-file-name-regexps): Make it variable.
3537 `imagemagick-register-types' modifies it, and the user may want
3538 to add new extensions for known image types.
3539 (imagemagick-register-types): Throw error if not using ImageMagick.
3540
0b4e93f1
LL
35412011-03-22 Leo Liu <sdl.web@gmail.com>
3542
3543 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3544 located before rcirc-prompt-end-marker.
3545 (rcirc-complete): Error if point is not after rcirc prompt.
3546 Handle the case when table is nil.
9882e214 3547 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 3548
fccee4ab
CY
35492011-03-22 Chong Yidong <cyd@stupidchicken.com>
3550
3551 * custom.el (custom--inhibit-theme-enable): Make it affect only
3552 custom-theme-set-variables and custom-theme-set-faces.
3553 (provide-theme): Ignore custom--inhibit-theme-enable.
3554 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3555 (custom-enabling-themes): Delete variable.
d86d2721
SM
3556 (enable-theme): Accept only loaded themes as arguments.
3557 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
3558 (custom-enabled-themes): Forbid themes from setting this.
3559 Eliminate use of custom-enabling-themes.
3560 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 3561
af896da6
LL
35622011-03-21 Leo Liu <sdl.web@gmail.com>
3563
3564 * ido.el (ido-read-internal): Add ido-selected to history instead
3565 of user input.
3566
78f64af0
SM
35672011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * subr.el (deferred-action-list, deferred-action-function):
3570 Mark obsolete.
3571
b16ac1ec
LL
35722011-03-21 Leo Liu <sdl.web@gmail.com>
3573
810f7698
LL
3574 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3575 change on 2011-02-13 (bug#8309).
3576
b16ac1ec
LL
3577 * minibuffer.el (read-file-name-function): Change default value.
3578 (read-file-name--defaults): Rename from read-file-name-defaults.
3579 (read-file-name-default): Rename from read-file-name.
3580 (read-file-name): Call read-file-name-function.
3581
4e05e67e
GM
35822011-03-21 Glenn Morris <rgm@gnu.org>
3583
3584 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3585 Doc fixes.
3586
4359915b
CY
35872011-03-21 Chong Yidong <cyd@stupidchicken.com>
3588
3589 * cus-theme.el: Add missing provide statement.
3590 (customize-create-theme): Extract theme value correctly.
3591 (custom-theme-visit-theme): Autoload.
3592 (customize-create-theme): Prompt before inserting default faces.
3593
1fe275ee
JB
35942011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3595
3596 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3597 units and musical notes.
3598
3ec03f7e
LL
35992011-03-20 Leo <sdl.web@gmail.com>
3600
3601 * ido.el (ido-read-internal): Use completing-read-default.
3602 (ido-completing-read): Fix compatibility with completing-read.
3603
7d476bde
CO
36042011-03-20 Christian Ohler <ohler@gnu.org>
3605
3606 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3607 (ert-delete-all-tests): Use `called-interactively-p' rather than
3608 `interactive-p'.
3609 (ert--make-xrefs-region): Respect END.
3610
fe0fb33e
CY
36112011-03-19 Chong Yidong <cyd@stupidchicken.com>
3612
ff854b0b
CY
3613 * dired-aux.el (dired-create-directory): Signal an error if the
3614 directory already exists (Bug#8246).
3615
fe0fb33e
CY
3616 * facemenu.el (list-colors-display): Call list-faces-display
3617 inside with-help-window.
3618 (list-colors-print): Use display property to align the final
3619 column, instead of checking window-width.
3620
576bce32
EZ
36212011-03-19 Eli Zaretskii <eliz@gnu.org>
3622
3623 * emerge.el (emerge-metachars): Separate value for ms-dos and
3624 windows-nt systems.
3625 (emerge-protect-metachars): Quote correctly for ms-dos and
3626 windows-nt systems.
3627
89c41d68 36282011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
3629
3630 * info.el (info-initialize): Replace all uses of `:' with
3631 path-separator for compatibility with non-Unix systems.
3632 Cache quoting of path-separator. (Bug#8258)
3633
b14e3e21 36342011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
3635
3636 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3637 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3638 (mouse-avoidance-mode): Fix typos in docstrings.
3639
4525ce3e
CY
36402011-03-19 Chong Yidong <cyd@stupidchicken.com>
3641
3642 * startup.el (package-subdirectory-regexp): Move from package.el.
3643 Omit \\` and \\', and let callers add them.
3644
3645 * emacs-lisp/package.el (package-strip-version)
3646 (package-load-all-descriptors): Add \\` and \\' to
3647 package-subdirectory-regexp before using it.
3648 (package-untar-buffer): New arg DIR; ensure that file untars only
3649 into this expected directory. Remove superfluous delete-region.
3650 (package-unpack): Caller changed.
3651 (package-tar-file-info): Use package-subdirectory-regexp.
3652
a904a09a 36532011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 3654
a904a09a
SM
3655 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3656 diff-mode-shared-map (bug#8284).
3657 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
3658
36592011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3660
3661 * calendar/time-date.el (format-seconds): Use assoc instead of
3662 assoc-string, since assoc-string doesn't exist in XEmacs.
3663
171fc304
JB
36642011-03-17 Juanma Barranquero <lekktu@gmail.com>
3665
3666 * custom.el (custom-known-themes): Reflow docstring.
3667 (custom-theme-load-path): Fix typo in docstring.
3668 (load-theme): Fix typo in error message.
3669 (custom-available-themes, custom-variable-theme-value):
3670 Use `let', not `let*'.
3671
d71990a1
JB
36722011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3673
3674 * calc/README: Mention inclusion of musical notes.
3675
3676 * calc/calc-units.el (calc-lu-quant): Rename from
3677 `calc-logunits-quantity'.
3678 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3679 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3680 (calc-db): Rename from `calc-dblevel'.
3681 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3682 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3683 (calc-np): Rename from `calc-nplevel'.
3684 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3685 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3686 (calc-lu-plus): Rename from `calc-logunits-add'.
3687 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3688 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3689 (calc-lu-minus): Rename from `calc-logunits-sub'.
3690 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3691 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3692 (calc-lu-times): Rename from `calc-logunits-mul'.
3693 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3694 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3695 (calc-lu-divide): Rename from `calc-logunits-div'.
3696 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3697 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3698
3699 * calc/calc-ext.el (calc-init-extensions): Update the names of the
3700 functions being autoloaded.
3701
3702 * calc/calc.el (calc-lu-power-reference): Rename from
3703 `calc-logunits-power-reference'.
3704 (calc-lu-field-reference): Rename from
3705 `calc-logunits-field-reference'.
3706
3707 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3708
40c2934b
SM
37092011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * minibuffer.el (completion-all-sorted-completions):
3712 Use :completion-cycle-penalty text property if present.
3713
b0911414
KM
37142011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
3715
3716 * allout.el (allout-yank-processing): Adjust for new rebulleting
3717 regime so bullet being yanked is used without prompting the user
3718 for a choice.
3719
8a05b668
JB
37202011-03-16 Juanma Barranquero <lekktu@gmail.com>
3721
3722 * startup.el (command-line): Warn the user that _emacs is deprecated.
3723
5ba5fb81
JB
37242011-03-16 Juanma Barranquero <lekktu@gmail.com>
3725
3726 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3727 (delphi-verbose, delphi-comment-face, delphi-string-face)
3728 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3729 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3730 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3731 (delphi-new-comment-line, delphi-font-lock-defaults)
3732 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3733 Fix typos in docstrings.
3734
2dab465b
KM
37352011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
3736
5ba5fb81 3737 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
3738 Invert the roles of character and string values for INSTEAD, so a
3739 string is used for the more common case of a defaulting prompt.
3740
0adf5618
SM
37412011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * progmodes/ruby-mode.el (ruby-backward-sexp):
3744 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3745 * play/gamegrid.el (gamegrid-make-face):
3746 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3747 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3748 * notifications.el (notifications-notify):
3749 * net/xesam.el (xesam-search-engines):
3750 * net/quickurl.el (quickurl-list-insert):
3751 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3752
d72700e5
CY
37532011-03-15 Chong Yidong <cyd@stupidchicken.com>
3754
3755 * startup.el (command-line): Update package subdirectory regexp.
3756
49c5410a
SM
37572011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3758
c6eee9aa
SM
3759 * allout.el (allout-abbreviate-flattened-numbering)
3760 (allout-mode-deactivate-hook): Fix up obsolescence "date".
3761
49c5410a
SM
3762 * subr.el (read-char-choice): Only show the cursor after the prompt,
3763 not after the answer.
3764
047b2bb9
KR
37652011-03-15 Kevin Ryde <user42@zip.com.au>
3766
3767 * help-fns.el (variable-at-point): Skip leading quotes, if any
3768 (bug#8253).
3769
0a57d256
SM
37702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3773 warning message.
3774
77c992bc
MA
37752011-03-14 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * shell.el (shell): When called interactively, offer to change the
3778 shell file name on remote hosts.
3779
eebc475d
TZ
37802011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
3781
3782 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3783 integration for LDAP parameters. The host, base, user or binddn,
3784 and secret tokens can be specified in a netrc file, for instance.
3785 This is optional because an `auth-source' parameter must be
3786 specified in the search attributes.
3787
9d05d1ba
JB
37882011-03-13 Juanma Barranquero <lekktu@gmail.com>
3789
3790 * help.el (describe-mode): Link to the mode's definition (bug#8185).
3791
09d9db2c
GM
37922011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3795 into declaration. Remove redundant and harmful binding.
3796
37972011-03-12 Eli Zaretskii <eliz@gnu.org>
3798
3799 * files.el (file-ownership-preserved-p): Pass `integer' as an
3800 explicit 2nd argument to `file-attributes'. If the file's owner
3801 is the Administrators group on Windows, and the current user is
3802 Administrator, consider that a match.
3803
3804 * server.el (server-ensure-safe-dir): Consider server directory
3805 safe on MS-Windows if its owner is the Administrators group while
3806 the current Emacs user is Administrator. Use `=' to compare
3807 numerical UIDs, since they could be integers or floats.
3808
219bd536
JB
38092011-03-12 Juanma Barranquero <lekktu@gmail.com>
3810
3811 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3812
f3afd36b
MA
38132011-03-12 Michael Albinus <michael.albinus@gmx.de>
3814
3815 Sync with Tramp 2.2.1.
3816
3817 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3818
3819 * net/trampver.el: Update release number.
3820
3aaaa6f1
SM
38212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3822
94642599
SM
3823 * progmodes/compile.el (compilation--previous-directory): Fix up
3824 various nil/dead-marker mismatches (bug#8014).
3825 (compilation-directory-properties, compilation-error-properties):
3826 Don't call it at a position past the one we're about to change.
3827
3aaaa6f1
SM
3828 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3829 Disable obsolescence warnings in the file that declares it.
3830
14239447
KM
38312011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
3832
099c39a4
JB
3833 * allout-widgets.el (allout-widgets-tally):
3834 Initialize allout-widgets-tally as a hash table rather than nil to
3835 prevent mode-line redisplay warnings. Also, clarify the module
3836 description and fix a comment typo.
14239447 3837
135e287c
JB
38382011-03-11 Juanma Barranquero <lekktu@gmail.com>
3839
3840 * help-fns.el (describe-variable): Don't complete keywords.
3841 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3842
ffbf300e
CY
38432011-03-10 Chong Yidong <cyd@stupidchicken.com>
3844
ba08b241
CY
3845 * emacs-lisp/package.el (package-version-join): Impose a standard
3846 string representation for pre/alpha/beta version lists.
3847 (package-unpack-single): Standardize the directory name by passing
3848 it through package-version-join.
3849 (package-strip-rcs-id): Accept any version string that does not
3850 signal an error in version-to-list.
ffbf300e 3851
f346fd6b
MA
38522011-03-10 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * simple.el (delete-trailing-whitespace): Return nil for the
3855 benefit of `write-file-functions'.
3856
ccb55d27
GM
38572011-03-10 Glenn Morris <rgm@gnu.org>
3858
5ceaac0c
GM
3859 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3860
02da65ff
GM
3861 * vc/vc-git.el (vc-git-program): New option.
3862 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3863 (vc-git--call): Use it.
3864
b2f603cc
GM
3865 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3866
5772caab
GM
3867 * cus-edit.el (Custom-newline): If no button at point, look
3868 for a subgroup button at start-of-line. (Bug#2298)
3869
ccb55d27
GM
3870 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3871
ec6ecaed
JD
38722011-03-10 Julien Danjou <julien@danjou.info>
3873
3874 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3875 `cursor-type' is nil.
3876
9d5aa01d
JB
38772011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3878
3879 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3880
b6a5875b
KM
38812011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3882
3883 * allout.el Summary: Change so yank of distinctive-bullet items
3884 preserves the existing header prefix, rebulleting it if necessary,
3885 rather than replacing it. This is necessary for proper operation
3886 of cooperative addons like allout-widgets.
219bd536 3887 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
3888 SOLICIT arg to INSTEAD, and interpret additionally a string value
3889 as alternate bullet to be used, instead of prompting the user for
3890 a bullet character.
3891
ee545c35
MA
38922011-03-09 Michael Albinus <michael.albinus@gmx.de>
3893
d86d2721
SM
3894 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3895 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
3896 `tramp-default-port'.
3897
c47971d7
DD
38982011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3899
3900 * net/rcirc.el (rcirc-handler-001): Remove useless
3901 with-rcirc-process-buffer.
3902 (rcirc-check-auth-status): Swap arguments to string-match.
3903
13522cb4
GM
39042011-03-09 Glenn Morris <rgm@gnu.org>
3905
0be6f4f1
GM
3906 * shell.el (shell-mode):
3907 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3908
13522cb4
GM
3909 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3910 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3911
515de2e3
CY
39122011-03-08 Chong Yidong <cyd@stupidchicken.com>
3913
3914 * emacs-lisp/package.el (package-refresh-contents)
3915 (package-menu-execute): Use condition-case-no-debug.
3916
b511b994
MA
39172011-03-08 Michael Albinus <michael.albinus@gmx.de>
3918
3919 * simple.el (shell-command-to-string): Use `process-file'.
3920
3921 * emacs-lisp/package.el (package-tar-file-info): Handle also
3922 remote files.
3923
d86d2721
SM
3924 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3925 Use `equal' for upload base check.
b511b994 3926
25bbfb31
AM
39272011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3928
3929 * textmodes/texinfo.el (texinfo-environments):
3930 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3931
be996521
GM
39322011-03-08 Glenn Morris <rgm@gnu.org>
3933
e9c8529f
GM
3934 * cus-start.el (cursor-in-non-selected-windows):
3935 Fix :set quoting oddness. (Bug#8192)
3936
be996521
GM
3937 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3938 in some setf expressions. (Bug#2159)
3939
2bb5649e
CY
39402011-03-08 Chong Yidong <cyd@stupidchicken.com>
3941
3942 * custom.el (custom-available-themes): Return themes in
3943 alphabetical order.
3944
33383987 3945See ChangeLog.15 for earlier changes.
e3d51b27
MR
3946
3947;; Local Variables:
3948;; coding: utf-8
e3d51b27
MR
3949;; End:
3950
33383987 3951 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
3952
3953 This file is part of GNU Emacs.
3954
3955 GNU Emacs is free software: you can redistribute it and/or modify
3956 it under the terms of the GNU General Public License as published by
3957 the Free Software Foundation, either version 3 of the License, or
3958 (at your option) any later version.
3959
3960 GNU Emacs is distributed in the hope that it will be useful,
3961 but WITHOUT ANY WARRANTY; without even the implied warranty of
3962 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3963 GNU General Public License for more details.
3964
3965 You should have received a copy of the GNU General Public License
3966 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.