lisp/*.el: Lexical-binding cleanup.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
06b60517
JB
12011-04-19 Juanma Barranquero <lekktu@gmail.com>
2
3 Lexical-binding cleanup.
4
5 * arc-mode.el (archive-mode-revert):
6 * cmuscheme.el (scheme-interactively-start-process):
7 * custom.el (custom-initialize-delay):
8 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10 * emacs-lock.el (emacs-lock-clear-sentinel):
11 * ezimage.el (defezimage):
12 * follow.el (follow-avoid-tail-recenter):
13 * fringe.el (set-fringe-mode-1):
14 * generic-x.el (bat-generic-mode-compile):
15 * help-mode.el (help-info-variable, help-do-xref)
16 (help-mode-revert-buffer):
17 * help.el (view-emacs-todo):
18 * iswitchb.el (iswitchb-completion-help):
19 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22 * locate.el (locate-update):
23 * longlines.el (longlines-encode-region)
24 (longlines-after-change-function):
25 * outline.el (outline-isearch-open-invisible):
26 * ps-def.el (declare-function, charset-dimension, char-width)
27 (encode-char):
28 * ps-mule.el (ps-mule-plot-string):
29 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
30 (recentf-edit-list-select, recentf-edit-list-validate)
31 (recentf-open-files-action):
32 * rect.el (delete-whitespace-rectangle-line)
33 (rectangle-number-line-callback):
34 * register.el (window-configuration-to-register)
35 (frame-configuration-to-register):
36 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
37 * select.el (xselect-convert-to-string, xselect-convert-to-length)
38 (xselect-convert-to-targets, xselect-convert-to-delete)
39 (xselect-convert-to-filename, xselect-convert-to-charpos)
40 (xselect-convert-to-lineno, xselect-convert-to-colno)
41 (xselect-convert-to-os, xselect-convert-to-host)
42 (xselect-convert-to-user, xselect-convert-to-class)
43 (xselect-convert-to-name, xselect-convert-to-integer)
44 (xselect-convert-to-atom, xselect-convert-to-identity):
45 * subr.el (declare, ignore, process-kill-without-query)
46 (text-clone-maintain):
47 * terminal.el (te-get-char, te-tic-sentinel):
48 * tool-bar.el (tool-bar-make-keymap):
49 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
50 * type-break.el (type-break-mode, type-break-noninteractive-query):
51 * view.el (View-back-to-mark):
52 * wid-browse.el (widget-browse-action, widget-browse-widget)
53 (widget-browse-widgets, widget-browse-sexp):
54 * widget.el (define-widget-keywords):
55 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
56 Mark unused parameters.
57
58 * align.el (align-adjust-col-for-rule): Mark unused parameter.
59 (align-areas): Remove unused variable `look'.
60 (align-region): Remove unused variables `real-end' and `pos-list'.
61
62 * apropos.el (apropos-score-doc): Remove unused variable `i'.
63
64 * bindings.el (mode-line-modified, mode-line-remote):
65 Mark unused parameters.
66 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
67
68 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
69 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
70
71 * comint.el (comint-history-isearch-pop-state)
72 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
73 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
74 (comint-substitute-in-file-name): Doc fix.
75
76 * completion.el (cmpl-statistics-block): Mark unused parameter.
77 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
78 (save-completions-to-file, load-completions-from-file):
79 Remove unused local variable `e'.
80
81 * composite.el (compose-chars): Remove unused variable `len'.
82 (lgstring-insert-glyph): Remove unused variable `g'.
83 (compose-glyph-string): Remove unused variables `ascent',
84 `descent', `lbearing' and `rbearing'.
85 (compose-glyph-string-relative): Remove unused variables
86 `lbearing', `rbearing' and `wadjust'.
87 (compose-gstring-for-graphic): Remove unused variables `header',
88 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
89 (compose-gstring-for-terminal): Remove unused variables `header'
90 and `nchars'. Use `let', not `let*'.
91
92 * cus-edit.el (Custom-set, Custom-save, custom-reset)
93 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
94 (Custom-buffer-done, custom-buffer-create-internal)
95 (custom-browse-visibility-action, custom-browse-group-tag-action)
96 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
97 (widget-magic-mouse-down-action, custom-toggle-parent)
98 (custom-add-parent-links, custom-toggle-hide-variable)
99 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
100 (custom-toggle-hide-face, face, hook, custom-group-link-action)
101 (custom-face-menu-create, custom-variable-menu-create, get)
102 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
103 (custom-reset-standard-save-and-update): Remove unused variable `value'.
104 (customize-apropos): Remove unused variable `tests'.
105 (custom-group-value-create): Remove unused variable `hidden-p'.
106 (sort-fold-case): Declare.
107
108 * cus-theme.el (custom-reset-standard-faces-list)
109 (custom-reset-standard-variables-list): Declare.
110 (customize-create-theme, custom-theme-revert, custom-theme-write)
111 (custom-theme-choose-mode, customize-themes, custom-theme-save):
112 Mark unused parameters.
113
114 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
115
116 * delim-col.el (delimit-columns-max): Move defvar before first use.
117
118 * descr-text.el (describe-char-categories): Don't quote `lambda'.
119 (describe-char): Don't quote `lambda'. Mark unused parameter.
120
121 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
122 (auto-insert): Declare.
123 (desktop-restore-file-buffer): Rename desktop-* parameters;
124 mark unused ones.
125 (desktop-create-buffer): Rename desktop-* parameters and bind them.
126 (desktop-buffer): Rename desktop-* parameters.
127
128 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
129 (dframe-reposition-frame-xemacs, dframe-help-echo)
130 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
131 Mark unused parameters.
132
133 * dired-aux.el (backup-extract-version-start, overwrite-query)
134 (overwrite-backup-query, rename-regexp-query)
135 (rename-non-directory-query): Declare.
136 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
137 (dired-add-entry): Remove unused variable `orig-file-name'.
138 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
139 Use parameter PRESERVE-TIME instead of accessing dynamic variable
140 `dired-copy-preserve-time' directly.
141 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
142 (dired-insert-subdir-newpos): Rename unused variable `pos'.
143
144 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
145 (dired-virtual-revert, dired-make-relative-symlink):
146 Mark unused parameters.
147 (manual-program): Declare.
148 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
149 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
150 wrapped in `with-no-warnings' to avoid replacing one warning by another.
151
152 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
153
154 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
155
156 * echistory.el (electric-history-in-progress, Helper-return-blurb):
157 Declare.
158
159 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
160
161 * electric.el (Electric-command-loop): Rename parameter
162 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
163
164 * expand.el (expand-in-literal): Remove unused variable `here'.
165
166 * facemenu.el (facemenu-add-new-color):
167 Remove unused variable `docstring'.
168
169 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
170 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
171 (face-attr-construct): Mark unused parameter. Doc fix.
172 (read-color): Remove unused variable `hex-string'.
173
174 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
175 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
176 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
177 (display-buffer-other-frame): Remove unused variable `old-window'.
178 (kill-buffer-hook): Declare.
179 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
180 Mark unused parameters.
181 (after-find-file): Pass 1 to `auto-save-mode', not t.
182
183 * files-x.el (auto-insert): Declare.
184 (modify-file-local-variable-prop-line): Remove unused variable `val'.
185
186 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
187 variable `buf'. Mark unused parameter.
188 (find-lisp-insert-directory): Mark unused parameter.
189
190 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
191 (format-encode-region): Remove unused variables `cur-buf' and `result'.
192 (format-common-tail): Remove, unused.
193 (format-deannotate-region): Remove unused variable `loc'.
194 (format-annotate-region): Remove unused variable `p'.
195 (format-annotate-single-property-change): Remove unused variables
196 `default' and `tail'.
197
198 * forms.el (read-file-filter): Declare.
199 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
200
201 * frame.el (frame-creation-function-alist): Mark unused parameter.
202 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
203
204 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
205 Remove unused parameters.
206 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
207 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
208
209 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
210 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
211 (hfy-prepare-tag-map): Mark unused parameters.
212 (htmlfontify-buffer): Use `called-interactively-p'.
213
214 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
215 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
216 (ibuffer-do-occur): Mark unused parameters.
217 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
218 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
219
220 * ibuffer.el: Don't quote `lambda'.
221 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
222 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
223 Mark unused parameters.
224
225 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
226 (ido-completing-read): Mark unused parameters.
227 (ido-copy-current-word): Mark unused parameters;
228 remove unused variable `name'.
229 (ido-sort-merged-list): Remove unused parameter `dirs'.
230
231 * ielm.el (ielm-input-sender): Mark unused parameter.
232 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
233 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
234 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
235 `ielm-string' as a dynamic variable accessible from the IELM prompt.
236 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
237
238 * image-dired.el (image-dired-display-thumbs): Remove unused
239 variables `curr-file' and `count'.
240 (image-dired-remove-tag): Remove unused variable `start'.
241 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
242 variable `curr-file'
243 (image-dired-rotate-original): Remove unused variable `temp-file'.
244 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
245 Remove unused variable `file'.
246 (image-dired-gallery-generate): Remove unused variable `curr'.
247 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
248
249 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
250
251 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
252
253 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
254
255 * isearch.el (minibuffer-history-symbol): Declare.
256 (isearch-edit-string): Remove unused variable `err'.
257 (isearch-message-prefix, isearch-message-suffix):
258 Mark unused parameters.
259
260 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
261
262 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
263
264 * makesum.el (double-column): Remove unused variable `cnt'.
265
266 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
267 (ido-ignore-item-temp-list): Declare.
268
269 * mouse-drag.el (mouse-drag-throw): Remove unused variables
270 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
271 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
272 (mouse-drag-drag): Remove unused variables `mouse-delta' and
273 `mouse-col-delta'.
274
275 * mouse-sel.el (mouse-extend-internal):
276 Remove unused variable `orig-window-frame'.
277
278 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
279 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
280 Move declarations before first use.
281 (pcomplete-opt): Mark unused parameters; doc fix.
282
283 * proced.el (proced-revert): Mark unused parameter.
284 (proced-send-signal): Remove unused variable `err'.
285
286 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
287 Rename parameter PREFIX-ARG to ARG.
288 (ps-basic-plot-string, ps-basic-plot-whitespace):
289 Mark unused parameters.
290
291 * replace.el (replace-count): Define.
292 (occur-revert-function): Mark unused parameters.
293 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
294 (isearch-case-fold-search, isearch-string): Declare.
295 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
296 bind `case-fold-search'. Remove unused variables `beg' and `end',
297 and simplify.
298 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
299 COUNT and bind `replace-count'.
300 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
301 to COUNT.
302
303 * savehist.el (print-readably, print-string-length): Declare.
304
305 * shadowfile.el (shadow-expand-cluster-in-file-name):
306 Remove unused variable `cluster'.
307 (shadow-copy-file): Remove unused variable `i'.
308 (shadow-noquery, shadow-clusters, shadow-site-cluster)
309 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
310 (shadow-define-literal-group, shadow-define-regexp-group)
311 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
312
313 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
314 (shell): Use `called-interactively-p'.
315 (shell-directory-tracker): Remove unused variable `chdir-failure'.
316
317 * simple.el (compilation-context-lines, comint-file-name-quote-list)
318 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
319 (delete-backward-char): Remove unused variable `ocol'.
320 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
321 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
322 (event-apply-hyper-modifier, event-apply-shift-modifier)
323 (event-apply-control-modifier, event-apply-meta-modifier):
324 Mark unused parameters.
325 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
326 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
327
328 * speedbar.el (speedbar-ignored-directory-expressions)
329 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
330 (speedbar-find-file, speedbar-dir-follow)
331 (speedbar-directory-buttons-follow, speedbar-tag-find)
332 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
333 (speedbar-buffers-line-directory, speedbar-buffer-click):
334 Mark unused parameters.
335 (speedbar-tag-file): Remove unused variable `mode'.
336 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
337
338 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
339
340 * talk.el (talk): Remove unused variable `display'.
341
342 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
343 (tar-write-region-annotate): Mark unused parameter.
344
345 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
346 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
347 Declare them, wrapped in `with-no-warnings' to avoid replacing one
348 warning by another.
349
350 * time-stamp.el (time-stamp-string-preprocess):
351 Remove unused variable `require-padding'.
352
353 * tree-widget.el (widget-glyph-enable): Declare.
354 (tree-widget-action): Mark unused parameter.
355
356 * w32-fns.el (x-get-selection): Mark unused parameter.
357 (autoload-make-program, generated-autoload-file): Declare.
358
359 * wdired.el (wdired-revert): Mark unused parameters.
360 (wdired-xcase-word): Remove unused variable `err'.
361
362 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
363 (whitespace-help-scroll): Remove unused variable `data-help'.
364
365 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
366 (widget-image-insert, widget-after-change, default)
367 (widget-default-format-handler, widget-default-notify)
368 (widget-default-prompt-value, widget-info-link-action)
369 (widget-url-link-action, widget-function-link-action)
370 (widget-variable-link-action, widget-file-link-action)
371 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
372 (widget-field-prompt-internal, widget-field-action, widget-field-match)
373 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
374 (widget-insert-button-action, widget-delete-button-action, visibility)
375 (widget-documentation-link-action, widget-documentation-string-action)
376 (widget-const-prompt-value, widget-regexp-match, symbol)
377 (widget-coding-system-prompt-value)
378 (widget-key-sequence-value-to-external, sexp)
379 (widget-sexp-value-to-internal, character, vector, cons)
380 (widget-choice-prompt-value, widget-boolean-prompt-value)
381 (widget-color--choose-action): Mark unused parameters.
382 (widget-item-match-inline, widget-choice-match-inline)
383 (widget-checklist-match, widget-checklist-match-inline)
384 (widget-group-match): Rename parameter VALUES to VALS.
385 (widget-field-value-set): Remove unused variable `size'.
386 (widget-color-action): Remove unused variables `value' and `start'.
387
388 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
389 variable `dir'. Doc fix.
390 (windmove-find-other-window): Don't pass it.
391
392 * window.el (count-windows): Mark unused parameter.
393 (bw-adjust-window): Remove unused variable `err'.
394
395 * woman.el (woman-file-name): Remove unused variable `default'.
396 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
397 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
398 (global-font-lock-mode): Declare.
399 (woman-decode-region): Mark unused parameter.
400 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
401
402 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
403 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
404 (x-dnd-handle-moz-url): Remove unused variable `title'.
405 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
406
407 * xml.el (xml-parse-tag, xml-parse-attlist):
408 Remove unused variable `pos'.
409
bc4f7f3d
GM
4102011-04-19 Glenn Morris <rgm@gnu.org>
411
412 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
413 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
414 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
415 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
416 * calendar/cal-html.el (cal-html-insert-minical):
417 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
418 (calendar-mark-date-pattern):
419 Prefix "unused" locals.
420
421 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
422 optional argument `style'.
423
424 * calendar/appt.el (appt-make-list):
425 * calendar/cal-china.el (calendar-chinese-date-string):
426 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
427 (diary-hebrew-yahrzeit):
428 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
429 * calendar/calendar.el (calendar-generate-window):
430 * calendar/time-date.el (time-to-days):
431 Remove unused local variables.
432
16a43933
CY
4332011-04-18 Chong Yidong <cyd@stupidchicken.com>
434
435 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
436 glyphless-char-display table.
437 (tabulated-list-glyphless-char-display): New var.
438
7eed1860
SS
4392011-04-18 Sam Steingold <sds@gnu.org>
440
441 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
442 to acknowledgments.
443
4d2d1ccd
GM
4442011-04-17 Glenn Morris <rgm@gnu.org>
445
446 * calendar/diary-lib.el (diary-sexp-entry):
447 * calendar/holidays.el (holiday-sexp):
448 Set debug-on-error rather than the removed stack-trace-on-error.
449
239da61d
GM
4502011-04-16 Glenn Morris <rgm@gnu.org>
451
452 * progmodes/f90.el: Use lexical-binding.
453 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
454
8b05752a
SM
4552011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
456
daca8ba5
SM
457 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
458 (mail-mode): Setup mailalias completion here instead.
459 * mail/mailalias.el: Use lexical-binding.
460 (pattern, mailalias-done): Declare dynamic.
461 (mail-completion-at-point-function): New function, from mail-complete.
462 (mail-complete): Use it.
463 (mail-completion-expand): New function.
464 (mail-get-names): Use it.
465 (mail-directory, mail-directory-process, mail-directory-stream):
466 Don't use `pattern' for lexically bound arg.
467
6f542485
SM
468 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
469
037e7c3f
SM
470 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
471 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
472 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
473
8b05752a
SM
474 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
475 (byte-save-window-excursion, byte-temp-output-buffer-setup)
476 (byte-interactive-p): Define them again, for use when inlining
477 old code.
478
49093f60
JB
4792011-04-15 Juanma Barranquero <lekktu@gmail.com>
480
481 * loadup.el: Use `string-to-number', not `string-to-int'.
482
b5b8e7de
SM
4832011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
486 gud-gdb-complete-command.
487 (gud-gdb-completions): New function, from gud-gdb-complete-command.
488 (gud-gdb-completion-at-point): New function.
489 (gud-gdb-completions): Remove.
490
f42efeb5
MA
4912011-04-14 Michael Albinus <michael.albinus@gmx.de>
492
49093f60
JB
493 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
494 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
495 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
496 whether `executable-find' is bound.
f42efeb5
MA
497
498 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
499
e240cc21
SM
5002011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * minibuffer.el (completion-in-region-mode-predicate)
503 (completion-in-region-mode--predicate): New vars.
504 (completion-in-region, completion-in-region--postch)
505 (completion-in-region-mode): Use them.
506 (completion--capf-wrapper): Also return the hook function.
507 (completion-at-point, completion-help-at-point):
508 Adjust and provide a predicate.
c2bd2ab0
SM
509
510 Preserve arg names for advice of subr and lexical functions (bug#8457).
511 * help-fns.el (help-function-arglist): Consolidate the subr and
512 new-byte-code cases. Add argument `preserve-names' to extract names
513 from the docstring when needed.
514 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
515 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
516 (ad-arglist): Use help-function-arglist's new arg.
517 (ad-definition-type): Use cond.
518
c183f693
JB
5192011-04-13 Juanma Barranquero <lekktu@gmail.com>
520
06641a47
JB
521 * autorevert.el (auto-revert-handler):
522 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
523 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
524 Don't quote lambda.
525
c183f693
JB
526 * image-mode.el (image-transform-set-scale):
527 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
528
1e3b6001
G
5292011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
530
531 * net/network-stream.el (network-stream-open-starttls): Only do
532 opportunistic STARTTLS upgrades if we have built-in gnutls support.
533 Upgrades via gnutls-cli are too slow to be done opportunistically.
534
2d6af8dd
JB
5352011-04-12 Juanma Barranquero <lekktu@gmail.com>
536
537 * dframe.el (dframe-current-frame): Remove spurious quote.
538
c0749a51
GM
5392011-04-12 Glenn Morris <rgm@gnu.org>
540
088d0d61
GM
541 * calendar/cal-tex.el (cal-tex-end-document):
542 Try to automatically use latin1 input if needed.
543
c0749a51
GM
544 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
545 Don't try to cons a mark onto an empty element.
546
5c90fde0
LL
5472011-04-11 Leo Liu <sdl.web@gmail.com>
548
549 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
550 buffers.
551 (ido-kill-buffer-at-head): Support killing virtual buffers.
552
369e974d
CY
5532011-04-10 Chong Yidong <cyd@stupidchicken.com>
554
555 * minibuffer.el (completion-show-inline-help): New var.
556 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
557 (minibuffer-force-complete, minibuffer-complete-word):
558 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
559
560 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
561 to avoid interference from inline help (Bug#5849).
562
37f1c930
LL
5632011-04-10 Leo Liu <sdl.web@gmail.com>
564
099c39a4
JB
565 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
566 Fix typo.
37f1c930 567
a32d4040
CY
5682011-04-09 Chong Yidong <cyd@stupidchicken.com>
569
570 * image-mode.el (image-toggle-display-image): Signal an error if
571 not in Image mode.
572 (image-transform-mode, image-transform-resize)
573 (image-transform-set-rotation): Doc fix.
daca8ba5 574 (image-transform-set-resize): Delete.
a32d4040
CY
575 (image-transform-set-scale, image-transform-fit-to-height)
576 (image-transform-fit-to-width): Handle image-toggle-display-image
577 and image-transform-resize directly.
578
099c39a4 5792011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
580
581 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
582 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
583 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
584 (doc-view-mode-map): Add bindings for the new functions.
585
099c39a4 5862011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
587
588 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
589 Fix typo in docstring.
590
3726838a
EZ
5912011-04-08 Eli Zaretskii <eliz@gnu.org>
592
04f33f1e
EZ
593 * files.el (file-size-human-readable): Produce one digit after
594 decimal, like "ls -lh" does.
595
596 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
597 the file size representation.
598
3726838a
EZ
599 * simple.el (list-processes): If async subprocesses are not
600 available, error out with a clear error message.
601
cbb59342
CY
6022011-04-08 Chong Yidong <cyd@stupidchicken.com>
603
604 * help.el (help-form-show): New function, to be called from C.
605 Put help-form output in a buffer named differently than *Help*.
606
e3971c44
EZ
6072011-04-08 Eli Zaretskii <eliz@gnu.org>
608
609 * files.el (file-size-human-readable): New function.
610
611 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
612 computing the representation inline. Don't require `cl'.
613
12544bbe
GM
6142011-04-08 Glenn Morris <rgm@gnu.org>
615
a1de6c6a
GM
616 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
617
3c4671f4
GM
618 * net/browse-url.el (browse-url-firefox):
619 Test system-type, not system-configuration.
620
b605679c
GM
621 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
622 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
623 Use log-edit-empty-buffer-p. (Bug#7598)
624
56442f0c
GM
625 * net/rlogin.el (rlogin-process-connection-type): Simplify.
626 (rlogin-mode-map): Initialize in the defvar.
627 (rlogin): Use ignore-errors.
628
12544bbe
GM
629 * replace.el (occur-mode-map): Some fixes for menu items.
630
eb237b0f
AH
6312011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
632
633 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
634
7d668f2c
CY
6352011-04-06 Chong Yidong <cyd@stupidchicken.com>
636
e67a13ab
CY
637 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
638 issuing unused warnings.
639
640 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
641 macro directly.
642
7d668f2c
CY
643 * simple.el: Lisp reimplement of list-processes. Based on an
644 earlier reimplementation by Leo Liu, but using tabulated-list.el.
645 (process-menu-mode): New major mode.
646 (list-processes--refresh, list-processes):
647 (process-menu-visit-buffer): New functions.
648
649 * files.el (save-buffers-kill-emacs): Don't assume any return
650 value of list-processes, which is undocumented anyway.
651
a83ec3c9
CY
6522011-04-06 Chong Yidong <cyd@stupidchicken.com>
653
654 * emacs-lisp/tabulated-list.el: New file.
655
e91a96fe
CY
656 * emacs-lisp/package.el: Use Tabulated List mode.
657 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
658 (package-menu-mode): Derive from tabulated-list-mode. Set up the
659 table format using Tabulated List mode variables.
660 (package--push): New macro, replacing package-list-maybe-add.
661 (package-menu--generate): Use package--push. Renamed from
662 package--generate-package-list.
663 (package-menu-refresh, list-packages): Use it.
daca8ba5 664 (package-menu--print-info): Rename from package-print-package.
e91a96fe 665 Return insertion data instead of inserting it directly.
099c39a4
JB
666 (package-menu-describe-package, package-menu-execute):
667 Use tabulated-list-get-id.
e91a96fe
CY
668 (package-menu-mark-delete, package-menu-mark-install)
669 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
670 (package-menu-mark-obsolete-for-deletion):
671 Use tabulated-list-put-tag.
e91a96fe
CY
672 (package--list-packages, package-menu-revert)
673 (package-menu-get-package, package-menu-get-version)
674 (package-menu-sort-by-column): Functions deleted.
675 (package-menu-package-list, package-menu-sort-key): Vars deleted.
676 (package-menu--status-predicate, package-menu--version-predicate)
677 (package-menu--name-predicate)
678 (package-menu--description-predicate): Handle arguments in the
679 Tabulated List format.
680 (package-list-packages-no-fetch): Call list-packages.
681
3e214b50
JB
6822011-04-06 Juanma Barranquero <lekktu@gmail.com>
683
684 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 685 (after-find-file): Don't bind it.
3e214b50
JB
686 (revert-buffer-in-progress-p): New variable.
687 (revert-buffer): Bind it.
688 Pass nil for `after-find-file-from-revert-buffer'.
689
690 * saveplace.el (save-place-find-file-hook): Use new variable
691 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
692
3f0f1700
GM
6932011-04-06 Glenn Morris <rgm@gnu.org>
694
c0274801
GM
695 * Makefile.in (AUTOGEN_VCS): New variable.
696 (autoloads): Use $AUTOGEN_VCS.
697
3f0f1700
GM
698 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
699 * calendar/calendar.el (calendar-mode-map):
700 Check for toolkit scroll bars. (Bug#8305)
701
41ea9e48
CY
7022011-04-05 Chong Yidong <cyd@stupidchicken.com>
703
704 * minibuffer.el (completion-in-region--postch)
705 (completion-in-region-mode): Remove unnecessary messages.
706
6194c800
JB
7072011-04-05 Juanma Barranquero <lekktu@gmail.com>
708
33256f14
JB
709 * font-lock.el (font-lock-refresh-defaults):
710 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
711 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
712
6194c800
JB
713 * info.el (Info-directory-list, Info-read-node-name-2)
714 (Info-split-parameter-string): Doc fixes.
715 (Info-virtual-nodes): Reflow docstring.
716 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
717 (Info-apropos-toc-nodes, info-finder, Info-get-token)
718 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
719 Fix typos in docstrings.
720 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
721 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
722 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
723 (Info-restore-desktop-buffer): Mark unused parameters.
724 (Info-directory-find-file, Info-directory-find-node)
725 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
726 (Info-virtual-index-find-node, Info-apropos-find-file)
727 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 728 Mark unused parameters; fix typos in docstrings.
6194c800
JB
729 (Info-virtual-index): Remove unused local variable `nodename'.
730
b87a8200 7312011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 732
b87a8200
DD
733 * net/rcirc.el: Update my e-mail address.
734 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 735
3b2ff876
CY
7362011-04-05 Chong Yidong <cyd@stupidchicken.com>
737
738 * startup.el (command-line): Save the cursor's theme-face
739 directly, instead of using face-override-spec.
740
741 * custom.el (load-theme): Minor optimization in assigning faces.
742
8d17e7ca
JB
7432011-04-04 Juanma Barranquero <lekktu@gmail.com>
744
745 * help-fns.el (describe-variable): Complete all variables having
746 documentation, including keywords.
747 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
748
2fbc1934
JB
7492011-04-04 Juanma Barranquero <lekktu@gmail.com>
750
751 Convert to lexical-binding.
752
753 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
754 (bs--get-marked-string, bs--get-modified-string)
755 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
756 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
757 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
758
759 * ehelp.el (electric-help-execute-extended)
760 (electric-help-ctrl-x-prefix):
761 * hexl.el (hexl-revert-buffer-function):
762 * linum.el (linum-after-change, linum-after-scroll):
763 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
764
765 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
766
74f50695
DU
7672011-04-04 Daiki Ueno <ueno@unixuser.org>
768
769 * epa-dired.el:
770 * epa-mail.el:
771 * epa-hook.el:
772 * epa-file.el:
773 * epa.el:
774 * epg.el: Use lexical binding.
775
c11325f7
CY
7762011-04-03 Chong Yidong <cyd@stupidchicken.com>
777
0d9e9a12
CY
778 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
779
c11325f7 780 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
781 dictionary case for flyspell-mark-duplications-exceptions.
782 Use regexp matching for languages.
c11325f7
CY
783 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
784 default dictionary (Bug#7926).
785
da91b5f2
CY
7862011-04-02 Chong Yidong <cyd@stupidchicken.com>
787
099c39a4
JB
788 * emacs-lisp/package.el (package--with-work-buffer):
789 Recognize https URLs.
da91b5f2 790
099c39a4
JB
791 * net/network-stream.el: Move from gnus/proto-stream.el.
792 Change prefix to network-stream throughout.
da91b5f2
CY
793 (open-protocol-stream): Merge into open-network-stream, leaving
794 open-protocol-stream as an alias. Handle nil BUFFER args.
795
796 * subr.el (open-network-stream): Move to net/network-stream.el.
797
afa8e9f6
GM
7982011-04-02 Glenn Morris <rgm@gnu.org>
799
1d2e369d
GM
800 * find-dired.el (find-exec-terminator): New option.
801 (find-ls-option): Test for -ls support.
802 (find-ls-subdir-switches): Test for -b in find-ls-option.
803 (find-dired, find-grep-dired): Doc fixes.
804 (find-dired): Use find-exec-terminator.
805
8abb7da8 806 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
807 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
808 (find-name-arg): Remove purecopy.
8abb7da8 809
f3ca7378
GM
810 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
811 (grep-compute-defaults): Check for `-exec COMMAND +' support.
812 Set grep-find-use-xargs, grep-find-command, and grep-find-template
813 accordingly. Don't add the null-device if not needed.
814
afa8e9f6
GM
815 * files.el (save-some-buffers): Doc fix.
816
35eae264
EZ
8172011-04-02 Eli Zaretskii <eliz@gnu.org>
818
819 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
820
26b51db5
JB
8212011-04-01 Juanma Barranquero <lekktu@gmail.com>
822
823 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
824 Use `dolist' rather than `mapcar'.
825
7200d79c
SM
8262011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
827
03408648 828 Add lexical binding.
7200d79c 829
03408648
SM
830 * subr.el (apply-partially): Use new closures rather than CL.
831 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
832 (dolist, dotimes): Use slightly different expansion for lexical code.
833 (functionp): Move to C.
834 (letrec): New macro.
835 (with-wrapper-hook): Use it and apply-partially instead of CL.
836 (eval-after-load): Preserve lexical-binding.
837 (save-window-excursion, with-output-to-temp-buffer): Turn them
838 into macros.
7200d79c 839
03408648
SM
840 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
841
842 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
843 than the arglist.
844 (help-add-fundoc-usage): Don't add `Not documented'.
845 (help-function-arglist): Handle closures, subroutines, and new
846 byte-code-functions.
847 (help-make-usage): Remove leading underscores.
848 (describe-function-1): Handle closures.
849 (describe-variable): Use special-variable-p for completion.
850
851 * files.el (lexical-binding): Declare safe.
f488fb65 852
03408648
SM
853 * emacs-lisp/pcase.el: Don't use destructuring-bind.
854 (pcase--memoize): Rename from pcase-memoize. Change weakness.
855 (pcase): Add `let' pattern.
856 Change memoization so it actually works.
857 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
858 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
859 <let>: New case.
f488fb65 860
03408648
SM
861 * emacs-lisp/macroexp.el: Use lexical binding.
862 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
863 Don't convert ' to #' without checking that it's indeed quoting
864 a lambda.
865
866 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 867 Use eval-sexp-add-defvars.
03408648
SM
868 (eval-sexp-add-defvars): New fun.
869
870 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
871
872 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
873 Don't autoload.
874 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
875 than the internal `byte-compile-lambda'.
876 (defmethod): Don't hide code under quotes.
877 (eieio-defmethod): New `code' argument.
878
879 * emacs-lisp/eieio-comp.el: Remove.
880
881 * emacs-lisp/edebug.el (edebug-eval-defun)
882 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
883 (edebug-toggle): Avoid `eval'.
884
885 * emacs-lisp/disass.el (disassemble-internal): Handle new
886 `closure' objects.
887 (disassemble-1): Handle new byte codes.
888
889 * emacs-lisp/cl.el (pushnew): Silence warning.
890
891 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
892 (cl-byte-compile-throw): Remove.
893 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
894
895 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
896 closures.
897
898 * emacs-lisp/cconv.el: New file.
899
900 * emacs-lisp/bytecomp.el: Use lexical binding instead of
901 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
902 (byte-compile-initial-macro-environment):
903 Handle declare-function here.
904 (byte-compile--lexical-environment): New var.
905 (byte-stack-ref, byte-stack-set, byte-discardN)
906 (byte-discardN-preserve-tos): New lap codes.
907 (byte-interactive-p): Don't use any more.
908 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
909 New macros.
910 (byte-compile-lapcode): Use them and handle new lap codes.
911 (byte-compile-obsolete): Remove.
912 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
913 (byte-compile-arglist-warn): Check late def of inlinable funs.
914 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
915 since they should have been expanded by now.
916 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
917 (byte-compile-from-buffer): Remove unused second arg.
918 (byte-compile-preprocess): New function.
919 (byte-compile-toplevel-file-form): New function to distinguish
920 file-form calls from outside from file-form calls from hunk-handlers.
921 (byte-compile-file-form): Simplify.
922 (byte-compile-file-form-defsubst): Remove.
923 (byte-compile-file-form-defmumble): Simplify now that
924 byte-compile-lambda always returns a byte-code-function.
925 (byte-compile): Preprocess.
926 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
927 Remove, not used any more.
928 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
929 (byte-compile-make-args-desc): New funs.
930 (byte-compile-lambda): Handle lexical functions. Always return
931 a byte-code-function.
932 (byte-compile-reserved-constants): New var, to make up room for
933 closed-over variables.
934 (byte-compile-constants-vector): Obey it.
935 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
936 (byte-compile-macroexpand-declare-function): New function.
937 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
938 byte-code-functions.
939 (byte-compile-form): Check obsolescence here.
940 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
941 (byte-compile-variable-ref): Remove.
942 (byte-compile-dynamic-variable-op): New fun.
943 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
944 (byte-compile-variable-set): New funs.
945 (byte-compile-discard): Add 2 args.
946 (byte-compile-stack-ref, byte-compile-stack-set)
947 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
948 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
949 macroexpand-all instead.
950 (byte-compile-quote-form): Remove.
951 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
952 (byte-compile-bind, byte-compile-unbind): New funs.
953 (byte-compile-let): Handle let* and lexical binding.
954 (byte-compile-let*): Remove.
955 (byte-compile-catch, byte-compile-unwind-protect)
956 (byte-compile-track-mouse, byte-compile-condition-case):
957 Handle a new :fun-body form, used for lexical scoping.
958 (byte-compile-save-window-excursion)
959 (byte-compile-with-output-to-temp-buffer): Remove.
960 (byte-compile-defun): Simplify.
961 (byte-compile-stack-adjustment): New fun.
962 (byte-compile-out): Use it.
963 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
964
965 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
966 handler any more.
967
968 * emacs-lisp/byte-opt.el: Use lexical binding.
969 (byte-inline-lapcode): Remove (to bytecomp).
970 (byte-compile-inline-expand): Pay attention to inlining to/from
971 lexically bound code.
972 (byte-compile-unfold-lambda): Don't handle byte-code-functions
973 any more.
974 (byte-optimize-form-code-walker): Don't handle save-window-excursion
975 any more and don't call compiler-macros.
976 (byte-compile-splice-in-already-compiled-code): Remove.
977 (byte-code): Don't inline any more.
978 (disassemble-offset): Receive `bytes' as argument rather than via
979 dynamic scoping.
980 (byte-compile-tag-number): Declare before first use.
981 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
982 `return' even if make-spliceable.
983 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
984 obsolete interactive-p.
985 (byte-optimize-lapcode): Optimize new lap-codes.
986 Don't trip up on new form of `byte-constant' lap code.
987
988 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
989
990 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
991
992 * custom.el (custom-initialize-default, custom-declare-variable):
993 Use `defvar'.
994
995 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
996 New variables.
997 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
998 (COMPILE_FIRST): Add macroexp and cconv.
999 * makefile.w32-in: Mirror changes in Makefile.in.
1000
1001 * vc/cvs-status.el:
1002 * vc/diff-mode.el:
1003 * vc/log-edit.el:
1004 * vc/log-view.el:
1005 * vc/smerge-mode.el:
1006 * textmodes/bibtex-style.el:
1007 * textmodes/css.el:
1008 * startup.el:
1009 * uniquify.el:
da91b5f2
CY
1010 * minibuffer.el:
1011 * newcomment.el:
1012 * reveal.el:
1013 * server.el:
1014 * mpc.el:
1015 * emacs-lisp/smie.el:
1016 * doc-view.el:
1017 * dired.el:
03408648
SM
1018 * abbrev.el: Use lexical binding.
1019
0f0c1f27
EZ
10202011-04-01 Eli Zaretskii <eliz@gnu.org>
1021
1022 * info.el (info-display-manual): New function.
1023
c82b2579
SM
10242011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1027
221ddf68
TH
10282011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1029
1030 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 1031 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 1032
cba6e77e
GM
10332011-03-31 Glenn Morris <rgm@gnu.org>
1034
e040639f
GM
1035 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1036
cba6e77e
GM
1037 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1038
6d0f1c9e
CS
10392011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1040
1041 * progmodes/python.el (python-default-interpreter)
1042 (python-python-command-args, python-jython-command-args)
1043 (python-which-shell, python-which-args, python-which-bufname)
1044 (python-file-queue, python-comint-output-filter-function)
1045 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1046 variables and functions.
1047
3e2d70fd
SM
10482011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1051 (completion-in-region-mode): New minor mode.
1052 (completion-in-region): Use it.
1053 (completion-in-region--data, completion-in-region-mode-map): New vars.
1054 (completion-in-region--postch): New function.
1055 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1056 New vars.
1057 (completion--capf-wrapper): New function.
1058 (completion-at-point): Use it to track well-behavedness of
1059 hook functions.
1060 (completion-help-at-point): New command.
1061
f3e4086c
JM
10622011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1063
1064 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1065 syntax class to search for whitespace on a single line
1066 (Message-ID: <4D938140.4030905@redhat.com>).
1067
eb7ffc14
LL
10682011-03-30 Leo Liu <sdl.web@gmail.com>
1069
1070 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1071 New commands.
1072 (edit-abbrevs-map): Bind them here.
1073 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1074
d806ab68
KM
10752011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1076
1077 * allout.el (allout-hide-by-annotation, allout-flag-region):
1078 Reduce possibility of overlay leakage by making them volatile.
1079
1080 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1081 hash is not shared between buffers. Mode initialization is
1082 responsible for giving it a useful starting value.
1083 (allout-item-span): Reduce possibility of overlay leakage by
1084 making them volatile.
1085 (allout-widgets-count-buttons-in-region): Add diagnostic function
1086 for tracking down button overlay leaks.
1087
ea622834
LL
10882011-03-29 Leo Liu <sdl.web@gmail.com>
1089
1090 * ido.el (ido-read-internal): Use the default history var
1091 minibuffer-history if no HISTORY is specified.
1092
b62f8267
G
10932011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1094
03408648
SM
1095 * net/imap.el (imap-shell-open, imap-process-connection-type):
1096 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
1097 Kerberos, SSL, other subprocesses.
1098
947b6566
LL
10992011-03-28 Leo Liu <sdl.web@gmail.com>
1100
1101 * abbrev.el (abbrev-table-empty-p): New function.
1102 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1103 nonempty ones. (Bug#5937)
1104
5ffb62aa
JD
11052011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1106
1107 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1108
7a097943
LL
11092011-03-27 Leo Liu <sdl.web@gmail.com>
1110
1111 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1112 for foreground and background colors.
1113 (ansi-color-make-color-map): Adapt.
1114
c5b40130
LL
11152011-03-25 Leo Liu <sdl.web@gmail.com>
1116
1f48f7d2
LL
1117 * midnight.el (midnight-time-float): Remove. Note it calculates
1118 the microsecond component incorrectly and seconds-to-time does the
1119 same job.
625897ec 1120 Remove redundant (require 'timer).
1f48f7d2 1121
c5b40130
LL
1122 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1123 (ido-completions): Remove unused arguments. (Bug#8329)
1124
d86d2721
SM
11252011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * minibuffer.el (completion--flush-all-sorted-completions):
1128 Remove itself from hook.
1129 (completion-at-point): Let the functions perform the completion
1130 immediately and return nil or t.
1131 * comint.el (comint-dynamic-complete-functions): Now identical to
1132 completion-at-point-functions.
1133 (comint-dynamic-list-input-ring): Remove unused var `index'.
1134 (comint--match-partial-filename, comint--unquote&expand-filename):
1135 New funs, split from comint-match-partial-filename.
1136 (comint-dynamic-complete): Use completion-at-point.
1137 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1138
e8974c48
DA
11392011-03-24 Drew Adams <drew.adams@oracle.com>
1140
1141 * thingatpt.el: Support `defun'.
1142
def71b5e
LL
11432011-03-23 Leo Liu <sdl.web@gmail.com>
1144
cb5af48e
LL
1145 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1146
def71b5e
LL
1147 * help-mode.el (help-mode-finish): Tweak regexp.
1148
927c53e7
GM
11492011-03-23 Glenn Morris <rgm@gnu.org>
1150
18d05bed
GM
1151 * eshell/esh-opt.el (eshell-eval-using-options):
1152 Do not bind unused local variable `eshell-option-stub'.
1153
927c53e7
GM
1154 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1155
9d0da923
JB
11562011-03-22 Juanma Barranquero <lekktu@gmail.com>
1157
1158 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1159 keymap variable in `with-no-warnings' to avoid a warning when the
1160 keymap has been already `defconst'ed.
1161
4b978a67
LL
11622011-03-22 Leo Liu <sdl.web@gmail.com>
1163
1164 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1165 encode all chars in abbrevs; otherwise use emacs-mule or
1166 utf-8-emacs. (Bug#8308)
1167
5fd62452
JB
11682011-03-22 Juanma Barranquero <lekktu@gmail.com>
1169
0b1596c6
JB
1170 * simple.el (backward-delete-char-untabify):
1171 Avoid warning about using `delete-backward-char'.
1172
5fd62452
JB
1173 * image.el (image-type-file-name-regexps): Make it variable.
1174 `imagemagick-register-types' modifies it, and the user may want
1175 to add new extensions for known image types.
1176 (imagemagick-register-types): Throw error if not using ImageMagick.
1177
0b4e93f1
LL
11782011-03-22 Leo Liu <sdl.web@gmail.com>
1179
1180 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1181 located before rcirc-prompt-end-marker.
1182 (rcirc-complete): Error if point is not after rcirc prompt.
1183 Handle the case when table is nil.
9882e214 1184 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 1185
fccee4ab
CY
11862011-03-22 Chong Yidong <cyd@stupidchicken.com>
1187
1188 * custom.el (custom--inhibit-theme-enable): Make it affect only
1189 custom-theme-set-variables and custom-theme-set-faces.
1190 (provide-theme): Ignore custom--inhibit-theme-enable.
1191 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1192 (custom-enabling-themes): Delete variable.
d86d2721
SM
1193 (enable-theme): Accept only loaded themes as arguments.
1194 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
1195 (custom-enabled-themes): Forbid themes from setting this.
1196 Eliminate use of custom-enabling-themes.
1197 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 1198
af896da6
LL
11992011-03-21 Leo Liu <sdl.web@gmail.com>
1200
1201 * ido.el (ido-read-internal): Add ido-selected to history instead
1202 of user input.
1203
78f64af0
SM
12042011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * subr.el (deferred-action-list, deferred-action-function):
1207 Mark obsolete.
1208
b16ac1ec
LL
12092011-03-21 Leo Liu <sdl.web@gmail.com>
1210
810f7698
LL
1211 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1212 change on 2011-02-13 (bug#8309).
1213
b16ac1ec
LL
1214 * minibuffer.el (read-file-name-function): Change default value.
1215 (read-file-name--defaults): Rename from read-file-name-defaults.
1216 (read-file-name-default): Rename from read-file-name.
1217 (read-file-name): Call read-file-name-function.
1218
4e05e67e
GM
12192011-03-21 Glenn Morris <rgm@gnu.org>
1220
1221 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1222 Doc fixes.
1223
4359915b
CY
12242011-03-21 Chong Yidong <cyd@stupidchicken.com>
1225
1226 * cus-theme.el: Add missing provide statement.
1227 (customize-create-theme): Extract theme value correctly.
1228 (custom-theme-visit-theme): Autoload.
1229 (customize-create-theme): Prompt before inserting default faces.
1230
1fe275ee
JB
12312011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1232
1233 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1234 units and musical notes.
1235
3ec03f7e
LL
12362011-03-20 Leo <sdl.web@gmail.com>
1237
1238 * ido.el (ido-read-internal): Use completing-read-default.
1239 (ido-completing-read): Fix compatibility with completing-read.
1240
7d476bde
CO
12412011-03-20 Christian Ohler <ohler@gnu.org>
1242
1243 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1244 (ert-delete-all-tests): Use `called-interactively-p' rather than
1245 `interactive-p'.
1246 (ert--make-xrefs-region): Respect END.
1247
fe0fb33e
CY
12482011-03-19 Chong Yidong <cyd@stupidchicken.com>
1249
ff854b0b
CY
1250 * dired-aux.el (dired-create-directory): Signal an error if the
1251 directory already exists (Bug#8246).
1252
fe0fb33e
CY
1253 * facemenu.el (list-colors-display): Call list-faces-display
1254 inside with-help-window.
1255 (list-colors-print): Use display property to align the final
1256 column, instead of checking window-width.
1257
576bce32
EZ
12582011-03-19 Eli Zaretskii <eliz@gnu.org>
1259
1260 * emerge.el (emerge-metachars): Separate value for ms-dos and
1261 windows-nt systems.
1262 (emerge-protect-metachars): Quote correctly for ms-dos and
1263 windows-nt systems.
1264
8546720e 12652011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
e6ce307c
RS
1266
1267 * info.el (info-initialize): Replace all uses of `:' with
1268 path-separator for compatibility with non-Unix systems.
1269 Cache quoting of path-separator. (Bug#8258)
1270
b14e3e21 12712011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
1272
1273 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1274 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1275 (mouse-avoidance-mode): Fix typos in docstrings.
1276
4525ce3e
CY
12772011-03-19 Chong Yidong <cyd@stupidchicken.com>
1278
1279 * startup.el (package-subdirectory-regexp): Move from package.el.
1280 Omit \\` and \\', and let callers add them.
1281
1282 * emacs-lisp/package.el (package-strip-version)
1283 (package-load-all-descriptors): Add \\` and \\' to
1284 package-subdirectory-regexp before using it.
1285 (package-untar-buffer): New arg DIR; ensure that file untars only
1286 into this expected directory. Remove superfluous delete-region.
1287 (package-unpack): Caller changed.
1288 (package-tar-file-info): Use package-subdirectory-regexp.
1289
a904a09a 12902011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 1291
a904a09a
SM
1292 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1293 diff-mode-shared-map (bug#8284).
1294 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
1295
12962011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1297
1298 * calendar/time-date.el (format-seconds): Use assoc instead of
1299 assoc-string, since assoc-string doesn't exist in XEmacs.
1300
171fc304
JB
13012011-03-17 Juanma Barranquero <lekktu@gmail.com>
1302
1303 * custom.el (custom-known-themes): Reflow docstring.
1304 (custom-theme-load-path): Fix typo in docstring.
1305 (load-theme): Fix typo in error message.
1306 (custom-available-themes, custom-variable-theme-value):
1307 Use `let', not `let*'.
1308
d71990a1
JB
13092011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1310
1311 * calc/README: Mention inclusion of musical notes.
1312
1313 * calc/calc-units.el (calc-lu-quant): Rename from
1314 `calc-logunits-quantity'.
1315 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1316 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1317 (calc-db): Rename from `calc-dblevel'.
1318 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1319 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1320 (calc-np): Rename from `calc-nplevel'.
1321 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1322 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1323 (calc-lu-plus): Rename from `calc-logunits-add'.
1324 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1325 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1326 (calc-lu-minus): Rename from `calc-logunits-sub'.
1327 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1328 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1329 (calc-lu-times): Rename from `calc-logunits-mul'.
1330 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1331 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1332 (calc-lu-divide): Rename from `calc-logunits-div'.
1333 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1334 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1335
1336 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1337 functions being autoloaded.
1338
1339 * calc/calc.el (calc-lu-power-reference): Rename from
1340 `calc-logunits-power-reference'.
1341 (calc-lu-field-reference): Rename from
1342 `calc-logunits-field-reference'.
1343
1344 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1345
40c2934b
SM
13462011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * minibuffer.el (completion-all-sorted-completions):
1349 Use :completion-cycle-penalty text property if present.
1350
b0911414
KM
13512011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1352
1353 * allout.el (allout-yank-processing): Adjust for new rebulleting
1354 regime so bullet being yanked is used without prompting the user
1355 for a choice.
1356
8a05b668
JB
13572011-03-16 Juanma Barranquero <lekktu@gmail.com>
1358
1359 * startup.el (command-line): Warn the user that _emacs is deprecated.
1360
5ba5fb81
JB
13612011-03-16 Juanma Barranquero <lekktu@gmail.com>
1362
1363 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1364 (delphi-verbose, delphi-comment-face, delphi-string-face)
1365 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1366 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1367 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1368 (delphi-new-comment-line, delphi-font-lock-defaults)
1369 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1370 Fix typos in docstrings.
1371
2dab465b
KM
13722011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1373
5ba5fb81 1374 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
1375 Invert the roles of character and string values for INSTEAD, so a
1376 string is used for the more common case of a defaulting prompt.
1377
0adf5618
SM
13782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * progmodes/ruby-mode.el (ruby-backward-sexp):
1381 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1382 * play/gamegrid.el (gamegrid-make-face):
1383 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1384 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1385 * notifications.el (notifications-notify):
1386 * net/xesam.el (xesam-search-engines):
1387 * net/quickurl.el (quickurl-list-insert):
1388 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1389
d72700e5
CY
13902011-03-15 Chong Yidong <cyd@stupidchicken.com>
1391
1392 * startup.el (command-line): Update package subdirectory regexp.
1393
49c5410a
SM
13942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1395
c6eee9aa
SM
1396 * allout.el (allout-abbreviate-flattened-numbering)
1397 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1398
49c5410a
SM
1399 * subr.el (read-char-choice): Only show the cursor after the prompt,
1400 not after the answer.
1401
047b2bb9
KR
14022011-03-15 Kevin Ryde <user42@zip.com.au>
1403
1404 * help-fns.el (variable-at-point): Skip leading quotes, if any
1405 (bug#8253).
1406
0a57d256
SM
14072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1410 warning message.
1411
77c992bc
MA
14122011-03-14 Michael Albinus <michael.albinus@gmx.de>
1413
1414 * shell.el (shell): When called interactively, offer to change the
1415 shell file name on remote hosts.
1416
eebc475d
TZ
14172011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1418
1419 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1420 integration for LDAP parameters. The host, base, user or binddn,
1421 and secret tokens can be specified in a netrc file, for instance.
1422 This is optional because an `auth-source' parameter must be
1423 specified in the search attributes.
1424
9d05d1ba
JB
14252011-03-13 Juanma Barranquero <lekktu@gmail.com>
1426
1427 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1428
09d9db2c
GM
14292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1432 into declaration. Remove redundant and harmful binding.
1433
14342011-03-12 Eli Zaretskii <eliz@gnu.org>
1435
1436 * files.el (file-ownership-preserved-p): Pass `integer' as an
1437 explicit 2nd argument to `file-attributes'. If the file's owner
1438 is the Administrators group on Windows, and the current user is
1439 Administrator, consider that a match.
1440
1441 * server.el (server-ensure-safe-dir): Consider server directory
1442 safe on MS-Windows if its owner is the Administrators group while
1443 the current Emacs user is Administrator. Use `=' to compare
1444 numerical UIDs, since they could be integers or floats.
1445
219bd536
JB
14462011-03-12 Juanma Barranquero <lekktu@gmail.com>
1447
1448 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1449
f3afd36b
MA
14502011-03-12 Michael Albinus <michael.albinus@gmx.de>
1451
1452 Sync with Tramp 2.2.1.
1453
1454 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1455
1456 * net/trampver.el: Update release number.
1457
3aaaa6f1
SM
14582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1459
94642599
SM
1460 * progmodes/compile.el (compilation--previous-directory): Fix up
1461 various nil/dead-marker mismatches (bug#8014).
1462 (compilation-directory-properties, compilation-error-properties):
1463 Don't call it at a position past the one we're about to change.
1464
3aaaa6f1
SM
1465 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1466 Disable obsolescence warnings in the file that declares it.
1467
14239447
KM
14682011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1469
099c39a4
JB
1470 * allout-widgets.el (allout-widgets-tally):
1471 Initialize allout-widgets-tally as a hash table rather than nil to
1472 prevent mode-line redisplay warnings. Also, clarify the module
1473 description and fix a comment typo.
14239447 1474
135e287c
JB
14752011-03-11 Juanma Barranquero <lekktu@gmail.com>
1476
1477 * help-fns.el (describe-variable): Don't complete keywords.
1478 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1479
ffbf300e
CY
14802011-03-10 Chong Yidong <cyd@stupidchicken.com>
1481
ba08b241
CY
1482 * emacs-lisp/package.el (package-version-join): Impose a standard
1483 string representation for pre/alpha/beta version lists.
1484 (package-unpack-single): Standardize the directory name by passing
1485 it through package-version-join.
1486 (package-strip-rcs-id): Accept any version string that does not
1487 signal an error in version-to-list.
ffbf300e 1488
f346fd6b
MA
14892011-03-10 Michael Albinus <michael.albinus@gmx.de>
1490
1491 * simple.el (delete-trailing-whitespace): Return nil for the
1492 benefit of `write-file-functions'.
1493
ccb55d27
GM
14942011-03-10 Glenn Morris <rgm@gnu.org>
1495
5ceaac0c
GM
1496 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1497
02da65ff
GM
1498 * vc/vc-git.el (vc-git-program): New option.
1499 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1500 (vc-git--call): Use it.
1501
b2f603cc
GM
1502 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1503
5772caab
GM
1504 * cus-edit.el (Custom-newline): If no button at point, look
1505 for a subgroup button at start-of-line. (Bug#2298)
1506
ccb55d27
GM
1507 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1508
ec6ecaed
JD
15092011-03-10 Julien Danjou <julien@danjou.info>
1510
1511 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1512 `cursor-type' is nil.
1513
9d5aa01d
JB
15142011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1515
1516 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1517
b6a5875b
KM
15182011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1519
1520 * allout.el Summary: Change so yank of distinctive-bullet items
1521 preserves the existing header prefix, rebulleting it if necessary,
1522 rather than replacing it. This is necessary for proper operation
1523 of cooperative addons like allout-widgets.
219bd536 1524 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
1525 SOLICIT arg to INSTEAD, and interpret additionally a string value
1526 as alternate bullet to be used, instead of prompting the user for
1527 a bullet character.
1528
ee545c35
MA
15292011-03-09 Michael Albinus <michael.albinus@gmx.de>
1530
d86d2721
SM
1531 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1532 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
1533 `tramp-default-port'.
1534
c47971d7
DD
15352011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1536
1537 * net/rcirc.el (rcirc-handler-001): Remove useless
1538 with-rcirc-process-buffer.
1539 (rcirc-check-auth-status): Swap arguments to string-match.
1540
13522cb4
GM
15412011-03-09 Glenn Morris <rgm@gnu.org>
1542
0be6f4f1
GM
1543 * shell.el (shell-mode):
1544 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1545
13522cb4
GM
1546 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1547 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1548
515de2e3
CY
15492011-03-08 Chong Yidong <cyd@stupidchicken.com>
1550
1551 * emacs-lisp/package.el (package-refresh-contents)
1552 (package-menu-execute): Use condition-case-no-debug.
1553
b511b994
MA
15542011-03-08 Michael Albinus <michael.albinus@gmx.de>
1555
1556 * simple.el (shell-command-to-string): Use `process-file'.
1557
1558 * emacs-lisp/package.el (package-tar-file-info): Handle also
1559 remote files.
1560
d86d2721
SM
1561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1562 Use `equal' for upload base check.
b511b994 1563
25bbfb31
AM
15642011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1565
1566 * textmodes/texinfo.el (texinfo-environments):
1567 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1568
be996521
GM
15692011-03-08 Glenn Morris <rgm@gnu.org>
1570
e9c8529f
GM
1571 * cus-start.el (cursor-in-non-selected-windows):
1572 Fix :set quoting oddness. (Bug#8192)
1573
be996521
GM
1574 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1575 in some setf expressions. (Bug#2159)
1576
2bb5649e
CY
15772011-03-08 Chong Yidong <cyd@stupidchicken.com>
1578
1579 * custom.el (custom-available-themes): Return themes in
1580 alphabetical order.
1581
33383987 1582See ChangeLog.15 for earlier changes.
e3d51b27
MR
1583
1584;; Local Variables:
1585;; coding: utf-8
e3d51b27
MR
1586;; End:
1587
33383987 1588 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
1589
1590 This file is part of GNU Emacs.
1591
1592 GNU Emacs is free software: you can redistribute it and/or modify
1593 it under the terms of the GNU General Public License as published by
1594 the Free Software Foundation, either version 3 of the License, or
1595 (at your option) any later version.
1596
1597 GNU Emacs is distributed in the hope that it will be useful,
1598 but WITHOUT ANY WARRANTY; without even the implied warranty of
1599 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1600 GNU General Public License for more details.
1601
1602 You should have received a copy of the GNU General Public License
1603 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.