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