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