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