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