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