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