Doc fixes for package.el.
[emacs.git] / lisp / ChangeLog
blob118e34b96d38a9a0f77c6120f460b65821bf1491
1 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
3         * emacs-lisp/package.el (package--builtins, package-alist)
4         (package-load-descriptor, package-built-in-p, package-activate)
5         (define-package, package-installed-p)
6         (package-compute-transaction, package-buffer-info)
7         (package--push): Doc fix.  Distinguish more clearly between
8         version strings and version lists.
10 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
12         Lexical-binding cleanup.
14         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15         (5x5-make-mutate-best):
16         * play/fortune.el (fortune-in-buffer):
17         * play/gomoku.el (gomoku-init-display):
18         * play/solitaire.el (solitaire, solitaire-do-check):
19         * play/tetris.el (tetris-default-update-speed-function):
20         Mark unused parameters.
22         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23         (bubbles--shift): Remove unused variable `char-org'.
24         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
25         (bubbles--show-images): Remove unused variable `char'.
27         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
28         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
29         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
30         (decipher-analyze-buffer): Use ?\s.
31         (decipher-make-checkpoint): Remove unused variable `mapping'.
33         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
35         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
36         Remove unused variable `result'; use `let'.
38         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
39         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
40         (gametree-children-shown-p, gametree-compute-reduced-score):
41         Use `ignore-errors'.
43         * play/handwrite.el (ps-lpr-switches): Declare.
44         (handwrite): Remove unused variables `pmin' and `lastp'.
46         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
48         * play/landmark.el (landmark-init-display)
49         (landmark-update-naught-weights): Mark unused parameters.
50         (landmark-y): Remove unused variable `noise'.  Simplify.
51         (landmark-human-plays): Remove unused variable `score'.
53         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
54         (mpuz-try-proposal): Remove unused variable `game'.
56         * play/zone.el (life-patterns): Declare.
58 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
60         * vc/vc.el (ediff-vc-internal): Declare function.
62 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
64         * shell.el: Use lexical-binding and std completion UI.
65         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
66         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
67         comint-preoutput-filter-functions rather than on
68         comint-output-filter-functions.
69         (shell-command-completion, shell--command-completion-data)
70         (shell-filename-completion, shell-environment-variable-completion)
71         (shell-c-a-p-replace-by-expanded-directory): New functions.
72         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
73         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
74         (shell-dynamic-complete-environment-variable): Use them.
75         (shell-dynamic-complete-as-environment-variable)
76         (shell-dynamic-complete-as-command): Remove.
77         (shell-match-partial-variable): Match past point.
78         * comint.el: Clean up use of completion-at-point-functions.
79         (comint-completion-at-point): New function.
80         (comint-mode): Use it completion-at-point-functions.
81         (comint-dynamic-complete): Make it obsolete.
82         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
83         (comint-c-a-p-replace-by-expanded-history): New function.
84         (comint-dynamic-complete-functions)
85         (comint-replace-by-expanded-history): Use it.
86         * minibuffer.el (completion-table-with-terminator): Allow dynamic
87         termination strings.  Try harder to avoid second try-completion.
88         (completion-in-region-mode-map): Disable bindings that don't work yet.
90         * comint.el: Use lexical-binding.  Require CL.
91         (comint-dynamic-complete-functions): Use comint-filename-completion.
92         (comint-completion-addsuffix): Tweak custom type.
93         (comint-filename-completion, comint--common-suffix)
94         (comint--common-quoted-suffix, comint--table-subvert)
95         (comint--complete-file-name-data): New functions.
96         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
97         (comint-dynamic-list-filename-completions): Use them.
98         (comint-dynamic-simple-complete): Make obsolete.
100         * minibuffer.el (completion-in-region-mode):
101         Keep completion-in-region-mode--predicate global.
102         (completion-in-region--postch):
103         Assume completion-in-region-mode--predicate is not null.
105         * progmodes/flymake.el (flymake-start-syntax-check-process):
106         Obey `dir'.  Simplify.
108         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
109         we're in VC after all.
111 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
113         * vc/vc.el (vc-diff-build-argument-list-internal)
114         (vc-version-ediff, vc-ediff): New commands.
115         (vc-version-diff): Use vc-diff-build-argument-list-internal.
117 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
119         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
120         add sanity check.
122         * obsolete/erc-hecomplete.el: Make obsolete.
123         * obsolete/: Standardize obsolescence info in the header.
125 2011-04-20  Glenn Morris  <rgm@gnu.org>
127         * calendar/solar.el (solar-horizontal-coordinates):
128         Use the longitude argument rather than `calendar-longitude'.
129         (solar-date-next-longitude): Remove unused locals.
131 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
133         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
134         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
135         multi-line comments as well.
137 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
139         Lexical-binding cleanup.
141         * arc-mode.el (archive-mode-revert):
142         * cmuscheme.el (scheme-interactively-start-process):
143         * custom.el (custom-initialize-delay):
144         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
145         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
146         * emacs-lock.el (emacs-lock-clear-sentinel):
147         * ezimage.el (defezimage):
148         * follow.el (follow-avoid-tail-recenter):
149         * fringe.el (set-fringe-mode-1):
150         * generic-x.el (bat-generic-mode-compile):
151         * help-mode.el (help-info-variable, help-do-xref)
152         (help-mode-revert-buffer):
153         * help.el (view-emacs-todo):
154         * iswitchb.el (iswitchb-completion-help):
155         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
156         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
157         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
158         * locate.el (locate-update):
159         * longlines.el (longlines-encode-region)
160         (longlines-after-change-function):
161         * outline.el (outline-isearch-open-invisible):
162         * ps-def.el (declare-function, charset-dimension, char-width)
163         (encode-char):
164         * ps-mule.el (ps-mule-plot-string):
165         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
166         (recentf-edit-list-select, recentf-edit-list-validate)
167         (recentf-open-files-action):
168         * rect.el (delete-whitespace-rectangle-line)
169         (rectangle-number-line-callback):
170         * register.el (window-configuration-to-register)
171         (frame-configuration-to-register):
172         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
173         * select.el (xselect-convert-to-string, xselect-convert-to-length)
174         (xselect-convert-to-targets, xselect-convert-to-delete)
175         (xselect-convert-to-filename, xselect-convert-to-charpos)
176         (xselect-convert-to-lineno, xselect-convert-to-colno)
177         (xselect-convert-to-os, xselect-convert-to-host)
178         (xselect-convert-to-user, xselect-convert-to-class)
179         (xselect-convert-to-name, xselect-convert-to-integer)
180         (xselect-convert-to-atom, xselect-convert-to-identity):
181         * subr.el (declare, ignore, process-kill-without-query)
182         (text-clone-maintain):
183         * terminal.el (te-get-char, te-tic-sentinel):
184         * tool-bar.el (tool-bar-make-keymap):
185         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
186         * type-break.el (type-break-mode, type-break-noninteractive-query):
187         * view.el (View-back-to-mark):
188         * wid-browse.el (widget-browse-action, widget-browse-widget)
189         (widget-browse-widgets, widget-browse-sexp):
190         * widget.el (define-widget-keywords):
191         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
192         Mark unused parameters.
194         * align.el (align-adjust-col-for-rule): Mark unused parameter.
195         (align-areas): Remove unused variable `look'.
196         (align-region): Remove unused variables `real-end' and `pos-list'.
198         * apropos.el (apropos-score-doc): Remove unused variable `i'.
200         * bindings.el (mode-line-modified, mode-line-remote):
201         Mark unused parameters.
202         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
204         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
205         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
207         * comint.el (comint-history-isearch-pop-state)
208         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
209         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
210         (comint-substitute-in-file-name): Doc fix.
212         * completion.el (cmpl-statistics-block): Mark unused parameter.
213         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
214         (save-completions-to-file, load-completions-from-file):
215         Remove unused local variable `e'.
217         * composite.el (compose-chars): Remove unused variable `len'.
218         (lgstring-insert-glyph): Remove unused variable `g'.
219         (compose-glyph-string): Remove unused variables `ascent',
220         `descent', `lbearing' and `rbearing'.
221         (compose-glyph-string-relative): Remove unused variables
222         `lbearing', `rbearing' and `wadjust'.
223         (compose-gstring-for-graphic): Remove unused variables `header',
224         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
225         (compose-gstring-for-terminal): Remove unused variables `header'
226         and `nchars'.  Use `let', not `let*'.
228         * cus-edit.el (Custom-set, Custom-save, custom-reset)
229         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
230         (Custom-buffer-done, custom-buffer-create-internal)
231         (custom-browse-visibility-action, custom-browse-group-tag-action)
232         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
233         (widget-magic-mouse-down-action, custom-toggle-parent)
234         (custom-add-parent-links, custom-toggle-hide-variable)
235         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
236         (custom-toggle-hide-face, face, hook, custom-group-link-action)
237         (custom-face-menu-create, custom-variable-menu-create, get)
238         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
239         (custom-reset-standard-save-and-update): Remove unused variable `value'.
240         (customize-apropos): Remove unused variable `tests'.
241         (custom-group-value-create): Remove unused variable `hidden-p'.
242         (sort-fold-case): Declare.
244         * cus-theme.el (custom-reset-standard-faces-list)
245         (custom-reset-standard-variables-list): Declare.
246         (customize-create-theme, custom-theme-revert, custom-theme-write)
247         (custom-theme-choose-mode, customize-themes, custom-theme-save):
248         Mark unused parameters.
250         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
252         * delim-col.el (delimit-columns-max): Move defvar before first use.
254         * descr-text.el (describe-char-categories): Don't quote `lambda'.
255         (describe-char): Don't quote `lambda'.  Mark unused parameter.
257         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
258         (auto-insert): Declare.
259         (desktop-restore-file-buffer): Rename desktop-* parameters;
260         mark unused ones.
261         (desktop-create-buffer): Rename desktop-* parameters and bind them.
262         (desktop-buffer): Rename desktop-* parameters.
264         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
265         (dframe-reposition-frame-xemacs, dframe-help-echo)
266         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
267         Mark unused parameters.
269         * dired-aux.el (backup-extract-version-start, overwrite-query)
270         (overwrite-backup-query, rename-regexp-query)
271         (rename-non-directory-query): Declare.
272         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
273         (dired-add-entry): Remove unused variable `orig-file-name'.
274         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
275         Use parameter PRESERVE-TIME instead of accessing dynamic variable
276         `dired-copy-preserve-time' directly.
277         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
278         (dired-insert-subdir-newpos): Rename unused variable `pos'.
280         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
281         (dired-virtual-revert, dired-make-relative-symlink):
282         Mark unused parameters.
283         (manual-program): Declare.
284         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
285         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
286         wrapped in `with-no-warnings' to avoid replacing one warning by another.
288         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
290         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
292         * echistory.el (electric-history-in-progress, Helper-return-blurb):
293         Declare.
295         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
297         * electric.el (Electric-command-loop): Rename parameter
298         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
300         * expand.el (expand-in-literal): Remove unused variable `here'.
302         * facemenu.el (facemenu-add-new-color):
303         Remove unused variable `docstring'.
305         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
306         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
307         (face-attr-construct): Mark unused parameter.  Doc fix.
308         (read-color): Remove unused variable `hex-string'.
310         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
311         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
312         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
313         (display-buffer-other-frame): Remove unused variable `old-window'.
314         (kill-buffer-hook): Declare.
315         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
316         Mark unused parameters.
317         (after-find-file): Pass 1 to `auto-save-mode', not t.
319         * files-x.el (auto-insert): Declare.
320         (modify-file-local-variable-prop-line): Remove unused variable `val'.
322         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
323         variable `buf'.  Mark unused parameter.
324         (find-lisp-insert-directory): Mark unused parameter.
326         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
327         (format-encode-region): Remove unused variables `cur-buf' and `result'.
328         (format-common-tail): Remove, unused.
329         (format-deannotate-region): Remove unused variable `loc'.
330         (format-annotate-region): Remove unused variable `p'.
331         (format-annotate-single-property-change): Remove unused variables
332         `default' and `tail'.
334         * forms.el (read-file-filter): Declare.
335         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
337         * frame.el (frame-creation-function-alist): Mark unused parameter.
338         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
340         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
341         Remove unused parameters.
342         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
343         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
345         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
346         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
347         (hfy-prepare-tag-map): Mark unused parameters.
348         (htmlfontify-buffer): Use `called-interactively-p'.
350         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
351         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
352         (ibuffer-do-occur): Mark unused parameters.
353         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
354         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
356         * ibuffer.el: Don't quote `lambda'.
357         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
358         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
359         Mark unused parameters.
361         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
362         (ido-completing-read): Mark unused parameters.
363         (ido-copy-current-word): Mark unused parameters;
364         remove unused variable `name'.
365         (ido-sort-merged-list): Remove unused parameter `dirs'.
367         * ielm.el (ielm-input-sender): Mark unused parameter.
368         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
369         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
370         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
371         `ielm-string' as a dynamic variable accessible from the IELM prompt.
372         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
374         * image-dired.el (image-dired-display-thumbs): Remove unused
375         variables `curr-file' and `count'.
376         (image-dired-remove-tag): Remove unused variable `start'.
377         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
378         variable `curr-file'
379         (image-dired-rotate-original): Remove unused variable `temp-file'.
380         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
381         Remove unused variable `file'.
382         (image-dired-gallery-generate): Remove unused variable `curr'.
383         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
385         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
387         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
389         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
391         * isearch.el (minibuffer-history-symbol): Declare.
392         (isearch-edit-string): Remove unused variable `err'.
393         (isearch-message-prefix, isearch-message-suffix):
394         Mark unused parameters.
396         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
398         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
400         * makesum.el (double-column): Remove unused variable `cnt'.
402         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
403         (ido-ignore-item-temp-list): Declare.
405         * mouse-drag.el (mouse-drag-throw): Remove unused variables
406         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
407         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
408         (mouse-drag-drag): Remove unused variables `mouse-delta' and
409         `mouse-col-delta'.
411         * mouse-sel.el (mouse-extend-internal):
412         Remove unused variable `orig-window-frame'.
414         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
415         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
416         Move declarations before first use.
417         (pcomplete-opt): Mark unused parameters; doc fix.
419         * proced.el (proced-revert): Mark unused parameter.
420         (proced-send-signal): Remove unused variable `err'.
422         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
423         Rename parameter PREFIX-ARG to ARG.
424         (ps-basic-plot-string, ps-basic-plot-whitespace):
425         Mark unused parameters.
427         * replace.el (replace-count): Define.
428         (occur-revert-function): Mark unused parameters.
429         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
430         (isearch-case-fold-search, isearch-string): Declare.
431         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
432         bind `case-fold-search'.  Remove unused variables `beg' and `end',
433         and simplify.
434         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
435         COUNT and bind `replace-count'.
436         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
437         to COUNT.
439         * savehist.el (print-readably, print-string-length): Declare.
441         * shadowfile.el (shadow-expand-cluster-in-file-name):
442         Remove unused variable `cluster'.
443         (shadow-copy-file): Remove unused variable `i'.
444         (shadow-noquery, shadow-clusters, shadow-site-cluster)
445         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
446         (shadow-define-literal-group, shadow-define-regexp-group)
447         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
449         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
450         (shell): Use `called-interactively-p'.
451         (shell-directory-tracker): Remove unused variable `chdir-failure'.
453         * simple.el (compilation-context-lines, comint-file-name-quote-list)
454         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
455         (delete-backward-char): Remove unused variable `ocol'.
456         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
457         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
458         (event-apply-hyper-modifier, event-apply-shift-modifier)
459         (event-apply-control-modifier, event-apply-meta-modifier):
460         Mark unused parameters.
461         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
462         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
464         * speedbar.el (speedbar-ignored-directory-expressions)
465         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
466         (speedbar-find-file, speedbar-dir-follow)
467         (speedbar-directory-buttons-follow, speedbar-tag-find)
468         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
469         (speedbar-buffers-line-directory, speedbar-buffer-click):
470         Mark unused parameters.
471         (speedbar-tag-file): Remove unused variable `mode'.
472         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
474         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
476         * talk.el (talk): Remove unused variable `display'.
478         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
479         (tar-write-region-annotate): Mark unused parameter.
481         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
482         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
483         Declare them, wrapped in `with-no-warnings' to avoid replacing one
484         warning by another.
486         * time-stamp.el (time-stamp-string-preprocess):
487         Remove unused variable `require-padding'.
489         * tree-widget.el (widget-glyph-enable): Declare.
490         (tree-widget-action): Mark unused parameter.
492         * w32-fns.el (x-get-selection): Mark unused parameter.
493         (autoload-make-program, generated-autoload-file): Declare.
495         * wdired.el (wdired-revert): Mark unused parameters.
496         (wdired-xcase-word): Remove unused variable `err'.
498         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
499         (whitespace-help-scroll): Remove unused variable `data-help'.
501         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
502         (widget-image-insert, widget-after-change, default)
503         (widget-default-format-handler, widget-default-notify)
504         (widget-default-prompt-value, widget-info-link-action)
505         (widget-url-link-action, widget-function-link-action)
506         (widget-variable-link-action, widget-file-link-action)
507         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
508         (widget-field-prompt-internal, widget-field-action, widget-field-match)
509         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
510         (widget-insert-button-action, widget-delete-button-action, visibility)
511         (widget-documentation-link-action, widget-documentation-string-action)
512         (widget-const-prompt-value, widget-regexp-match, symbol)
513         (widget-coding-system-prompt-value)
514         (widget-key-sequence-value-to-external, sexp)
515         (widget-sexp-value-to-internal, character, vector, cons)
516         (widget-choice-prompt-value, widget-boolean-prompt-value)
517         (widget-color--choose-action): Mark unused parameters.
518         (widget-item-match-inline, widget-choice-match-inline)
519         (widget-checklist-match, widget-checklist-match-inline)
520         (widget-group-match): Rename parameter VALUES to VALS.
521         (widget-field-value-set): Remove unused variable `size'.
522         (widget-color-action): Remove unused variables `value' and `start'.
524         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
525         variable `dir'.  Doc fix.
526         (windmove-find-other-window): Don't pass it.
528         * window.el (count-windows): Mark unused parameter.
529         (bw-adjust-window): Remove unused variable `err'.
531         * woman.el (woman-file-name): Remove unused variable `default'.
532         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
533         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
534         (global-font-lock-mode): Declare.
535         (woman-decode-region): Mark unused parameter.
536         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
538         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
539         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
540         (x-dnd-handle-moz-url): Remove unused variable `title'.
541         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
543         * xml.el (xml-parse-tag, xml-parse-attlist):
544         Remove unused variable `pos'.
546 2011-04-19  Glenn Morris  <rgm@gnu.org>
548         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
549         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
550         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
551         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
552         * calendar/cal-html.el (cal-html-insert-minical):
553         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
554         (calendar-mark-date-pattern):
555         Prefix "unused" locals.
557         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
558         optional argument `style'.
560         * calendar/appt.el (appt-make-list):
561         * calendar/cal-china.el (calendar-chinese-date-string):
562         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
563         (diary-hebrew-yahrzeit):
564         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
565         * calendar/calendar.el (calendar-generate-window):
566         * calendar/time-date.el (time-to-days):
567         Remove unused local variables.
569 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
571         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
572         glyphless-char-display table.
573         (tabulated-list-glyphless-char-display): New var.
575 2011-04-18  Sam Steingold  <sds@gnu.org>
577         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
578         to acknowledgments.
580 2011-04-17  Glenn Morris  <rgm@gnu.org>
582         * calendar/diary-lib.el (diary-sexp-entry):
583         * calendar/holidays.el (holiday-sexp):
584         Set debug-on-error rather than the removed stack-trace-on-error.
586 2011-04-16  Glenn Morris  <rgm@gnu.org>
588         * progmodes/f90.el: Use lexical-binding.
589         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
591 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
593         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
594         (mail-mode): Setup mailalias completion here instead.
595         * mail/mailalias.el: Use lexical-binding.
596         (pattern, mailalias-done): Declare dynamic.
597         (mail-completion-at-point-function): New function, from mail-complete.
598         (mail-complete): Use it.
599         (mail-completion-expand): New function.
600         (mail-get-names): Use it.
601         (mail-directory, mail-directory-process, mail-directory-stream):
602         Don't use `pattern' for lexically bound arg.
604         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
606         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
607         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
608         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
610         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
611         (byte-save-window-excursion, byte-temp-output-buffer-setup)
612         (byte-interactive-p): Define them again, for use when inlining
613         old code.
615 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
617         * loadup.el: Use `string-to-number', not `string-to-int'.
619 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
621         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
622         gud-gdb-complete-command.
623         (gud-gdb-completions): New function, from gud-gdb-complete-command.
624         (gud-gdb-completion-at-point): New function.
625         (gud-gdb-completions): Remove.
627 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
629         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
630         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
631         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
632         whether `executable-find' is bound.
634         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
636 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
638         * minibuffer.el (completion-in-region-mode-predicate)
639         (completion-in-region-mode--predicate): New vars.
640         (completion-in-region, completion-in-region--postch)
641         (completion-in-region-mode): Use them.
642         (completion--capf-wrapper): Also return the hook function.
643         (completion-at-point, completion-help-at-point):
644         Adjust and provide a predicate.
646         Preserve arg names for advice of subr and lexical functions (bug#8457).
647         * help-fns.el (help-function-arglist): Consolidate the subr and
648         new-byte-code cases.  Add argument `preserve-names' to extract names
649         from the docstring when needed.
650         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
651         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
652         (ad-arglist): Use help-function-arglist's new arg.
653         (ad-definition-type): Use cond.
655 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
657         * autorevert.el (auto-revert-handler):
658         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
659         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
660         Don't quote lambda.
662         * image-mode.el (image-transform-set-scale):
663         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
665 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
667         * net/network-stream.el (network-stream-open-starttls): Only do
668         opportunistic STARTTLS upgrades if we have built-in gnutls support.
669         Upgrades via gnutls-cli are too slow to be done opportunistically.
671 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
673         * dframe.el (dframe-current-frame): Remove spurious quote.
675 2011-04-12  Glenn Morris  <rgm@gnu.org>
677         * calendar/cal-tex.el (cal-tex-end-document):
678         Try to automatically use latin1 input if needed.
680         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
681         Don't try to cons a mark onto an empty element.
683 2011-04-11  Leo Liu  <sdl.web@gmail.com>
685         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
686         buffers.
687         (ido-kill-buffer-at-head): Support killing virtual buffers.
689 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
691         * minibuffer.el (completion-show-inline-help): New var.
692         (completion--do-completion, minibuffer-complete)
693         (minibuffer-force-complete, minibuffer-complete-word):
694         Inhibit minibuffer messages if completion-show-inline-help is nil.
696         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
697         to avoid interference from inline help (Bug#5849).
699 2011-04-10  Leo Liu  <sdl.web@gmail.com>
701         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
702         Fix typo.
704 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
706         * image-mode.el (image-toggle-display-image): Signal an error if
707         not in Image mode.
708         (image-transform-mode, image-transform-resize)
709         (image-transform-set-rotation): Doc fix.
710         (image-transform-set-resize): Delete.
711         (image-transform-set-scale, image-transform-fit-to-height)
712         (image-transform-fit-to-width): Handle image-toggle-display-image
713         and image-transform-resize directly.
715 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
717         * doc-view.el (doc-view-fit-width-to-window)
718         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
719         New functions for fitting the shown image to the Emacs window size.
720         (doc-view-mode-map): Add bindings for the new functions.
722 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
724         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
725         Fix typo in docstring.
727 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
729         * files.el (file-size-human-readable): Produce one digit after
730         decimal, like "ls -lh" does.
732         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
733         the file size representation.
735         * simple.el (list-processes): If async subprocesses are not
736         available, error out with a clear error message.
738 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
740         * help.el (help-form-show): New function, to be called from C.
741         Put help-form output in a buffer named differently than *Help*.
743 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
745         * files.el (file-size-human-readable): New function.
747         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
748         computing the representation inline.  Don't require `cl'.
750 2011-04-08  Glenn Morris  <rgm@gnu.org>
752         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
754         * net/browse-url.el (browse-url-firefox):
755         Test system-type, not system-configuration.
757         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
758         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
759         Use log-edit-empty-buffer-p.  (Bug#7598)
761         * net/rlogin.el (rlogin-process-connection-type): Simplify.
762         (rlogin-mode-map): Initialize in the defvar.
763         (rlogin): Use ignore-errors.
765         * replace.el (occur-mode-map): Some fixes for menu items.
767 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
769         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
771 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
773         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
774         issuing unused warnings.
776         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
777         macro directly.
779         * simple.el: Lisp reimplement of list-processes.  Based on an
780         earlier reimplementation by Leo Liu, but using tabulated-list.el.
781         (process-menu-mode): New major mode.
782         (list-processes--refresh, list-processes):
783         (process-menu-visit-buffer): New functions.
785         * files.el (save-buffers-kill-emacs): Don't assume any return
786         value of list-processes, which is undocumented anyway.
788 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
790         * emacs-lisp/tabulated-list.el: New file.
792         * emacs-lisp/package.el: Use Tabulated List mode.
793         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
794         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
795         table format using Tabulated List mode variables.
796         (package--push): New macro, replacing package-list-maybe-add.
797         (package-menu--generate): Use package--push.  Renamed from
798         package--generate-package-list.
799         (package-menu-refresh, list-packages): Use it.
800         (package-menu--print-info): Rename from package-print-package.
801         Return insertion data instead of inserting it directly.
802         (package-menu-describe-package, package-menu-execute):
803         Use tabulated-list-get-id.
804         (package-menu-mark-delete, package-menu-mark-install)
805         (package-menu-mark-unmark, package-menu-backup-unmark)
806         (package-menu-mark-obsolete-for-deletion):
807         Use tabulated-list-put-tag.
808         (package--list-packages, package-menu-revert)
809         (package-menu-get-package, package-menu-get-version)
810         (package-menu-sort-by-column): Functions deleted.
811         (package-menu-package-list, package-menu-sort-key): Vars deleted.
812         (package-menu--status-predicate, package-menu--version-predicate)
813         (package-menu--name-predicate)
814         (package-menu--description-predicate): Handle arguments in the
815         Tabulated List format.
816         (package-list-packages-no-fetch): Call list-packages.
818 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
820         * files.el (after-find-file-from-revert-buffer): Remove variable.
821         (after-find-file): Don't bind it.
822         (revert-buffer-in-progress-p): New variable.
823         (revert-buffer): Bind it.
824         Pass nil for `after-find-file-from-revert-buffer'.
826         * saveplace.el (save-place-find-file-hook): Use new variable
827         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
829 2011-04-06  Glenn Morris  <rgm@gnu.org>
831         * Makefile.in (AUTOGEN_VCS): New variable.
832         (autoloads): Use $AUTOGEN_VCS.
834         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
835         * calendar/calendar.el (calendar-mode-map):
836         Check for toolkit scroll bars.  (Bug#8305)
838 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
840         * minibuffer.el (completion-in-region--postch)
841         (completion-in-region-mode): Remove unnecessary messages.
843 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
845         * font-lock.el (font-lock-refresh-defaults):
846         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
847         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
849         * info.el (Info-directory-list, Info-read-node-name-2)
850         (Info-split-parameter-string): Doc fixes.
851         (Info-virtual-nodes): Reflow docstring.
852         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
853         (Info-apropos-toc-nodes, info-finder, Info-get-token)
854         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
855         Fix typos in docstrings.
856         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
857         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
858         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
859         (Info-restore-desktop-buffer): Mark unused parameters.
860         (Info-directory-find-file, Info-directory-find-node)
861         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
862         (Info-virtual-index-find-node, Info-apropos-find-file)
863         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
864         Mark unused parameters; fix typos in docstrings.
865         (Info-virtual-index): Remove unused local variable `nodename'.
867 2011-04-05  Deniz Dogan  <deniz@dogan.se>
869         * net/rcirc.el: Update my e-mail address.
870         (rcirc-mode-map): Remove M-o binding.
872 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
874         * startup.el (command-line): Save the cursor's theme-face
875         directly, instead of using face-override-spec.
877         * custom.el (load-theme): Minor optimization in assigning faces.
879 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
881         * help-fns.el (describe-variable): Complete all variables having
882         documentation, including keywords.
883         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
885 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
887         Convert to lexical-binding.
889         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
890         (bs--get-marked-string, bs--get-modified-string)
891         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
892         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
893         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
895         * ehelp.el (electric-help-execute-extended)
896         (electric-help-ctrl-x-prefix):
897         * hexl.el (hexl-revert-buffer-function):
898         * linum.el (linum-after-change, linum-after-scroll):
899         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
901         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
903 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
905         * epa-dired.el:
906         * epa-mail.el:
907         * epa-hook.el:
908         * epa-file.el:
909         * epa.el:
910         * epg.el: Use lexical binding.
912 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
914         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
916         * textmodes/flyspell.el (flyspell-word): Recognize default
917         dictionary case for flyspell-mark-duplications-exceptions.
918         Use regexp matching for languages.
919         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
920         default dictionary (Bug#7926).
922 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
924         * emacs-lisp/package.el (package--with-work-buffer):
925         Recognize https URLs.
927         * net/network-stream.el: Move from gnus/proto-stream.el.
928         Change prefix to network-stream throughout.
929         (open-protocol-stream): Merge into open-network-stream, leaving
930         open-protocol-stream as an alias.  Handle nil BUFFER args.
932         * subr.el (open-network-stream): Move to net/network-stream.el.
934 2011-04-02  Glenn Morris  <rgm@gnu.org>
936         * find-dired.el (find-exec-terminator): New option.
937         (find-ls-option): Test for -ls support.
938         (find-ls-subdir-switches): Test for -b in find-ls-option.
939         (find-dired, find-grep-dired): Doc fixes.
940         (find-dired): Use find-exec-terminator.
942         * find-dired.el (find-ls-option, find-ls-subdir-switches)
943         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
944         (find-name-arg): Remove purecopy.
946         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
947         (grep-compute-defaults): Check for `-exec COMMAND +' support.
948         Set grep-find-use-xargs, grep-find-command, and grep-find-template
949         accordingly.  Don't add the null-device if not needed.
951         * files.el (save-some-buffers): Doc fix.
953 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
955         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
957 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
959         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
960         Use `dolist' rather than `mapcar'.
962 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
964         Add lexical binding.
966         * subr.el (apply-partially): Use new closures rather than CL.
967         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
968         (dolist, dotimes): Use slightly different expansion for lexical code.
969         (functionp): Move to C.
970         (letrec): New macro.
971         (with-wrapper-hook): Use it and apply-partially instead of CL.
972         (eval-after-load): Preserve lexical-binding.
973         (save-window-excursion, with-output-to-temp-buffer): Turn them
974         into macros.
976         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
978         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
979         than the arglist.
980         (help-add-fundoc-usage): Don't add `Not documented'.
981         (help-function-arglist): Handle closures, subroutines, and new
982         byte-code-functions.
983         (help-make-usage): Remove leading underscores.
984         (describe-function-1): Handle closures.
985         (describe-variable): Use special-variable-p for completion.
987         * files.el (lexical-binding): Declare safe.
989         * emacs-lisp/pcase.el: Don't use destructuring-bind.
990         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
991         (pcase): Add `let' pattern.
992         Change memoization so it actually works.
993         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
994         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
995         <let>: New case.
997         * emacs-lisp/macroexp.el: Use lexical binding.
998         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
999         Don't convert ' to #' without checking that it's indeed quoting
1000         a lambda.
1002         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1003         Use eval-sexp-add-defvars.
1004         (eval-sexp-add-defvars): New fun.
1006         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1008         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1009         Don't autoload.
1010         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1011         than the internal `byte-compile-lambda'.
1012         (defmethod): Don't hide code under quotes.
1013         (eieio-defmethod): New `code' argument.
1015         * emacs-lisp/eieio-comp.el: Remove.
1017         * emacs-lisp/edebug.el (edebug-eval-defun)
1018         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1019         (edebug-toggle): Avoid `eval'.
1021         * emacs-lisp/disass.el (disassemble-internal): Handle new
1022         `closure' objects.
1023         (disassemble-1): Handle new byte codes.
1025         * emacs-lisp/cl.el (pushnew): Silence warning.
1027         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1028         (cl-byte-compile-throw): Remove.
1029         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1031         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1032         closures.
1034         * emacs-lisp/cconv.el: New file.
1036         * emacs-lisp/bytecomp.el: Use lexical binding instead of
1037         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
1038         (byte-compile-initial-macro-environment):
1039         Handle declare-function here.
1040         (byte-compile--lexical-environment): New var.
1041         (byte-stack-ref, byte-stack-set, byte-discardN)
1042         (byte-discardN-preserve-tos): New lap codes.
1043         (byte-interactive-p): Don't use any more.
1044         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1045         New macros.
1046         (byte-compile-lapcode): Use them and handle new lap codes.
1047         (byte-compile-obsolete): Remove.
1048         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1049         (byte-compile-arglist-warn): Check late def of inlinable funs.
1050         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1051         since they should have been expanded by now.
1052         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1053         (byte-compile-from-buffer): Remove unused second arg.
1054         (byte-compile-preprocess): New function.
1055         (byte-compile-toplevel-file-form): New function to distinguish
1056         file-form calls from outside from file-form calls from hunk-handlers.
1057         (byte-compile-file-form): Simplify.
1058         (byte-compile-file-form-defsubst): Remove.
1059         (byte-compile-file-form-defmumble): Simplify now that
1060         byte-compile-lambda always returns a byte-code-function.
1061         (byte-compile): Preprocess.
1062         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1063         Remove, not used any more.
1064         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1065         (byte-compile-make-args-desc): New funs.
1066         (byte-compile-lambda): Handle lexical functions.  Always return
1067         a byte-code-function.
1068         (byte-compile-reserved-constants): New var, to make up room for
1069         closed-over variables.
1070         (byte-compile-constants-vector): Obey it.
1071         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1072         (byte-compile-macroexpand-declare-function): New function.
1073         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1074         byte-code-functions.
1075         (byte-compile-form): Check obsolescence here.
1076         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1077         (byte-compile-variable-ref): Remove.
1078         (byte-compile-dynamic-variable-op): New fun.
1079         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1080         (byte-compile-variable-set): New funs.
1081         (byte-compile-discard): Add 2 args.
1082         (byte-compile-stack-ref, byte-compile-stack-set)
1083         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1084         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1085         macroexpand-all instead.
1086         (byte-compile-quote-form): Remove.
1087         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1088         (byte-compile-bind, byte-compile-unbind): New funs.
1089         (byte-compile-let): Handle let* and lexical binding.
1090         (byte-compile-let*): Remove.
1091         (byte-compile-catch, byte-compile-unwind-protect)
1092         (byte-compile-track-mouse, byte-compile-condition-case):
1093         Handle a new :fun-body form, used for lexical scoping.
1094         (byte-compile-save-window-excursion)
1095         (byte-compile-with-output-to-temp-buffer): Remove.
1096         (byte-compile-defun): Simplify.
1097         (byte-compile-stack-adjustment): New fun.
1098         (byte-compile-out): Use it.
1099         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1101         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1102         handler any more.
1104         * emacs-lisp/byte-opt.el: Use lexical binding.
1105         (byte-inline-lapcode): Remove (to bytecomp).
1106         (byte-compile-inline-expand): Pay attention to inlining to/from
1107         lexically bound code.
1108         (byte-compile-unfold-lambda): Don't handle byte-code-functions
1109         any more.
1110         (byte-optimize-form-code-walker): Don't handle save-window-excursion
1111         any more and don't call compiler-macros.
1112         (byte-compile-splice-in-already-compiled-code): Remove.
1113         (byte-code): Don't inline any more.
1114         (disassemble-offset): Receive `bytes' as argument rather than via
1115         dynamic scoping.
1116         (byte-compile-tag-number): Declare before first use.
1117         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1118         `return' even if make-spliceable.
1119         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1120         obsolete interactive-p.
1121         (byte-optimize-lapcode): Optimize new lap-codes.
1122         Don't trip up on new form of `byte-constant' lap code.
1124         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1126         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1128         * custom.el (custom-initialize-default, custom-declare-variable):
1129         Use `defvar'.
1131         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1132         New variables.
1133         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1134         (COMPILE_FIRST): Add macroexp and cconv.
1135         * makefile.w32-in: Mirror changes in Makefile.in.
1137         * vc/cvs-status.el:
1138         * vc/diff-mode.el:
1139         * vc/log-edit.el:
1140         * vc/log-view.el:
1141         * vc/smerge-mode.el:
1142         * textmodes/bibtex-style.el:
1143         * textmodes/css.el:
1144         * startup.el:
1145         * uniquify.el:
1146         * minibuffer.el:
1147         * newcomment.el:
1148         * reveal.el:
1149         * server.el:
1150         * mpc.el:
1151         * emacs-lisp/smie.el:
1152         * doc-view.el:
1153         * dired.el:
1154         * abbrev.el: Use lexical binding.
1156 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
1158         * info.el (info-display-manual): New function.
1160 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1162         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1164 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
1166         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1167         an entry for that server in rcirc-authinfo.  (Bug#8385)
1169 2011-03-31  Glenn Morris  <rgm@gnu.org>
1171         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1173         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1175 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
1177         * progmodes/python.el (python-default-interpreter)
1178         (python-python-command-args, python-jython-command-args)
1179         (python-which-shell, python-which-args, python-which-bufname)
1180         (python-file-queue, python-comint-output-filter-function)
1181         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1182         variables and functions.
1184 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1186         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1187         (completion-in-region-mode): New minor mode.
1188         (completion-in-region): Use it.
1189         (completion-in-region--data, completion-in-region-mode-map): New vars.
1190         (completion-in-region--postch): New function.
1191         (completion--capf-misbehave-funs, completion--capf-safe-funs):
1192         New vars.
1193         (completion--capf-wrapper): New function.
1194         (completion-at-point): Use it to track well-behavedness of
1195         hook functions.
1196         (completion-help-at-point): New command.
1198 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
1200         * vc/add-log.el (add-change-log-entry): Don't use whitespace
1201         syntax class to search for whitespace on a single line
1202         (Message-ID: <4D938140.4030905@redhat.com>).
1204 2011-03-30  Leo Liu  <sdl.web@gmail.com>
1206         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1207         New commands.
1208         (edit-abbrevs-map): Bind them here.
1209         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
1211 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
1213         * allout.el (allout-hide-by-annotation, allout-flag-region):
1214         Reduce possibility of overlay leakage by making them volatile.
1216         * allout-widgets.el (allout-widgets-tally): Define as nil so the
1217         hash is not shared between buffers.  Mode initialization is
1218         responsible for giving it a useful starting value.
1219         (allout-item-span): Reduce possibility of overlay leakage by
1220         making them volatile.
1221         (allout-widgets-count-buttons-in-region): Add diagnostic function
1222         for tracking down button overlay leaks.
1224 2011-03-29  Leo Liu  <sdl.web@gmail.com>
1226         * ido.el (ido-read-internal): Use the default history var
1227         minibuffer-history if no HISTORY is specified.
1229 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
1231         * net/imap.el (imap-shell-open, imap-process-connection-type):
1232         Use imap-process-connection-type for 'shell' streams as well as
1233         Kerberos, SSL, other subprocesses.
1235 2011-03-28  Leo Liu  <sdl.web@gmail.com>
1237         * abbrev.el (abbrev-table-empty-p): New function.
1238         (prepare-abbrev-list-buffer): Place empty abbrev tables after
1239         nonempty ones.  (Bug#5937)
1241 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
1243         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1245 2011-03-27  Leo Liu  <sdl.web@gmail.com>
1247         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1248         for foreground and background colors.
1249         (ansi-color-make-color-map): Adapt.
1251 2011-03-25  Leo Liu  <sdl.web@gmail.com>
1253         * midnight.el (midnight-time-float): Remove.  Note it calculates
1254         the microsecond component incorrectly and seconds-to-time does the
1255         same job.
1256         Remove redundant (require 'timer).
1258         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1259         (ido-completions): Remove unused arguments.  (Bug#8329)
1261 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1263         * minibuffer.el (completion--flush-all-sorted-completions):
1264         Remove itself from hook.
1265         (completion-at-point): Let the functions perform the completion
1266         immediately and return nil or t.
1267         * comint.el (comint-dynamic-complete-functions): Now identical to
1268         completion-at-point-functions.
1269         (comint-dynamic-list-input-ring): Remove unused var `index'.
1270         (comint--match-partial-filename, comint--unquote&expand-filename):
1271         New funs, split from comint-match-partial-filename.
1272         (comint-dynamic-complete): Use completion-at-point.
1273         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1275 2011-03-24  Drew Adams  <drew.adams@oracle.com>
1277         * thingatpt.el: Support `defun'.
1279 2011-03-23  Leo Liu  <sdl.web@gmail.com>
1281         * abbrevlist.el: Move to obsolete/abbrevlist.el.
1283         * help-mode.el (help-mode-finish): Tweak regexp.
1285 2011-03-23  Glenn Morris  <rgm@gnu.org>
1287         * eshell/esh-opt.el (eshell-eval-using-options):
1288         Do not bind unused local variable `eshell-option-stub'.
1290         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1292 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
1294         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1295         keymap variable in `with-no-warnings' to avoid a warning when the
1296         keymap has been already `defconst'ed.
1298 2011-03-22  Leo Liu  <sdl.web@gmail.com>
1300         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1301         encode all chars in abbrevs; otherwise use emacs-mule or
1302         utf-8-emacs.  (Bug#8308)
1304 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
1306         * simple.el (backward-delete-char-untabify):
1307         Avoid warning about using `delete-backward-char'.
1309         * image.el (image-type-file-name-regexps): Make it variable.
1310         `imagemagick-register-types' modifies it, and the user may want
1311         to add new extensions for known image types.
1312         (imagemagick-register-types): Throw error if not using ImageMagick.
1314 2011-03-22  Leo Liu  <sdl.web@gmail.com>
1316         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1317         located before rcirc-prompt-end-marker.
1318         (rcirc-complete): Error if point is not after rcirc prompt.
1319         Handle the case when table is nil.
1320         (rcirc-user-authenticated): Define to fix compiler warning.
1322 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
1324         * custom.el (custom--inhibit-theme-enable): Make it affect only
1325         custom-theme-set-variables and custom-theme-set-faces.
1326         (provide-theme): Ignore custom--inhibit-theme-enable.
1327         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1328         (custom-enabling-themes): Delete variable.
1329         (enable-theme): Accept only loaded themes as arguments.
1330         Ignore the special custom-enabled-themes variable.
1331         (custom-enabled-themes): Forbid themes from setting this.
1332         Eliminate use of custom-enabling-themes.
1333         (custom-push-theme): Quote "changed" custom var entry.
1335 2011-03-21  Leo Liu  <sdl.web@gmail.com>
1337         * ido.el (ido-read-internal): Add ido-selected to history instead
1338         of user input.
1340 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1342         * subr.el (deferred-action-list, deferred-action-function):
1343         Mark obsolete.
1345 2011-03-21  Leo Liu  <sdl.web@gmail.com>
1347         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1348         change on 2011-02-13 (bug#8309).
1350         * minibuffer.el (read-file-name-function): Change default value.
1351         (read-file-name--defaults): Rename from read-file-name-defaults.
1352         (read-file-name-default): Rename from read-file-name.
1353         (read-file-name): Call read-file-name-function.
1355 2011-03-21  Glenn Morris  <rgm@gnu.org>
1357         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1358         Doc fixes.
1360 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
1362         * cus-theme.el: Add missing provide statement.
1363         (customize-create-theme): Extract theme value correctly.
1364         (custom-theme-visit-theme): Autoload.
1365         (customize-create-theme): Prompt before inserting default faces.
1367 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
1369         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1370         units and musical notes.
1372 2011-03-20  Leo  <sdl.web@gmail.com>
1374         * ido.el (ido-read-internal): Use completing-read-default.
1375         (ido-completing-read): Fix compatibility with completing-read.
1377 2011-03-20  Christian Ohler  <ohler@gnu.org>
1379         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1380         (ert-delete-all-tests): Use `called-interactively-p' rather than
1381         `interactive-p'.
1382         (ert--make-xrefs-region): Respect END.
1384 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
1386         * dired-aux.el (dired-create-directory): Signal an error if the
1387         directory already exists (Bug#8246).
1389         * facemenu.el (list-colors-display): Call list-faces-display
1390         inside with-help-window.
1391         (list-colors-print): Use display property to align the final
1392         column, instead of checking window-width.
1394 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
1396         * emerge.el (emerge-metachars): Separate value for ms-dos and
1397         windows-nt systems.
1398         (emerge-protect-metachars): Quote correctly for ms-dos and
1399         windows-nt systems.
1401 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>  (tiny change)
1403         * info.el (info-initialize): Replace all uses of `:' with
1404         path-separator for compatibility with non-Unix systems.
1405         Cache quoting of path-separator.  (Bug#8258)
1407 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
1409         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1410         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1411         (mouse-avoidance-mode): Fix typos in docstrings.
1413 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
1415         * startup.el (package-subdirectory-regexp): Move from package.el.
1416         Omit \\` and \\', and let callers add them.
1418         * emacs-lisp/package.el (package-strip-version)
1419         (package-load-all-descriptors): Add \\` and \\' to
1420         package-subdirectory-regexp before using it.
1421         (package-untar-buffer): New arg DIR; ensure that file untars only
1422         into this expected directory.  Remove superfluous delete-region.
1423         (package-unpack): Caller changed.
1424         (package-tar-file-info): Use package-subdirectory-regexp.
1426 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1428         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1429         diff-mode-shared-map (bug#8284).
1430         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1432 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1434         * calendar/time-date.el (format-seconds): Use assoc instead of
1435         assoc-string, since assoc-string doesn't exist in XEmacs.
1437 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
1439         * custom.el (custom-known-themes): Reflow docstring.
1440         (custom-theme-load-path): Fix typo in docstring.
1441         (load-theme): Fix typo in error message.
1442         (custom-available-themes, custom-variable-theme-value):
1443         Use `let', not `let*'.
1445 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
1447         * calc/README: Mention inclusion of musical notes.
1449         * calc/calc-units.el (calc-lu-quant): Rename from
1450         `calc-logunits-quantity'.
1451         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1452         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1453         (calc-db): Rename from `calc-dblevel'.
1454         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1455         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1456         (calc-np): Rename from `calc-nplevel'.
1457         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1458         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1459         (calc-lu-plus): Rename from `calc-logunits-add'.
1460         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1461         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1462         (calc-lu-minus): Rename from `calc-logunits-sub'.
1463         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1464         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1465         (calc-lu-times): Rename from `calc-logunits-mul'.
1466         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1467         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1468         (calc-lu-divide): Rename from `calc-logunits-div'.
1469         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1470         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1472         * calc/calc-ext.el (calc-init-extensions): Update the names of the
1473         functions being autoloaded.
1475         * calc/calc.el (calc-lu-power-reference): Rename from
1476         `calc-logunits-power-reference'.
1477         (calc-lu-field-reference): Rename from
1478         `calc-logunits-field-reference'.
1480         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1482 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1484         * minibuffer.el (completion-all-sorted-completions):
1485         Use :completion-cycle-penalty text property if present.
1487 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
1489         * allout.el (allout-yank-processing): Adjust for new rebulleting
1490         regime so bullet being yanked is used without prompting the user
1491         for a choice.
1493 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
1495         * startup.el (command-line): Warn the user that _emacs is deprecated.
1497 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
1499         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1500         (delphi-verbose, delphi-comment-face, delphi-string-face)
1501         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1502         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1503         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1504         (delphi-new-comment-line, delphi-font-lock-defaults)
1505         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1506         Fix typos in docstrings.
1508 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
1510         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1511         Invert the roles of character and string values for INSTEAD, so a
1512         string is used for the more common case of a defaulting prompt.
1514 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1516         * progmodes/ruby-mode.el (ruby-backward-sexp):
1517         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1518         * play/gamegrid.el (gamegrid-make-face):
1519         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1520         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1521         * notifications.el (notifications-notify):
1522         * net/xesam.el (xesam-search-engines):
1523         * net/quickurl.el (quickurl-list-insert):
1524         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1526 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
1528         * startup.el (command-line): Update package subdirectory regexp.
1530 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1532         * allout.el (allout-abbreviate-flattened-numbering)
1533         (allout-mode-deactivate-hook): Fix up obsolescence "date".
1535         * subr.el (read-char-choice): Only show the cursor after the prompt,
1536         not after the answer.
1538 2011-03-15  Kevin Ryde  <user42@zip.com.au>
1540         * help-fns.el (variable-at-point): Skip leading quotes, if any
1541         (bug#8253).
1543 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1545         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1546         warning message.
1548 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
1550         * shell.el (shell): When called interactively, offer to change the
1551         shell file name on remote hosts.
1553 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
1555         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1556         integration for LDAP parameters.  The host, base, user or binddn,
1557         and secret tokens can be specified in a netrc file, for instance.
1558         This is optional because an `auth-source' parameter must be
1559         specified in the search attributes.
1561 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
1563         * help.el (describe-mode): Link to the mode's definition (bug#8185).
1565 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1567         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1568         into declaration.  Remove redundant and harmful binding.
1570 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
1572         * files.el (file-ownership-preserved-p): Pass `integer' as an
1573         explicit 2nd argument to `file-attributes'.  If the file's owner
1574         is the Administrators group on Windows, and the current user is
1575         Administrator, consider that a match.
1577         * server.el (server-ensure-safe-dir): Consider server directory
1578         safe on MS-Windows if its owner is the Administrators group while
1579         the current Emacs user is Administrator.  Use `=' to compare
1580         numerical UIDs, since they could be integers or floats.
1582 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
1584         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1586 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
1588         Sync with Tramp 2.2.1.
1590         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1592         * net/trampver.el: Update release number.
1594 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1596         * progmodes/compile.el (compilation--previous-directory): Fix up
1597         various nil/dead-marker mismatches (bug#8014).
1598         (compilation-directory-properties, compilation-error-properties):
1599         Don't call it at a position past the one we're about to change.
1601         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1602         Disable obsolescence warnings in the file that declares it.
1604 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
1606         * allout-widgets.el (allout-widgets-tally):
1607         Initialize allout-widgets-tally as a hash table rather than nil to
1608         prevent mode-line redisplay warnings.  Also, clarify the module
1609         description and fix a comment typo.
1611 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
1613         * help-fns.el (describe-variable): Don't complete keywords.
1614         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1616 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
1618         * emacs-lisp/package.el (package-version-join): Impose a standard
1619         string representation for pre/alpha/beta version lists.
1620         (package-unpack-single): Standardize the directory name by passing
1621         it through package-version-join.
1622         (package-strip-rcs-id): Accept any version string that does not
1623         signal an error in version-to-list.
1625 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
1627         * simple.el (delete-trailing-whitespace): Return nil for the
1628         benefit of `write-file-functions'.
1630 2011-03-10  Glenn Morris  <rgm@gnu.org>
1632         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1634         * vc/vc-git.el (vc-git-program): New option.
1635         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1636         (vc-git--call): Use it.
1638         * eshell/esh-util.el (eshell-condition-case): Doc fix.
1640         * cus-edit.el (Custom-newline): If no button at point, look
1641         for a subgroup button at start-of-line.  (Bug#2298)
1643         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1645 2011-03-10  Julien Danjou  <julien@danjou.info>
1647         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1648         `cursor-type' is nil.
1650 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
1652         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1654 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
1656         * allout.el Summary: Change so yank of distinctive-bullet items
1657         preserves the existing header prefix, rebulleting it if necessary,
1658         rather than replacing it.  This is necessary for proper operation
1659         of cooperative addons like allout-widgets.
1660         (allout-make-topic-prefix, allout-rebullet-heading): Change
1661         SOLICIT arg to INSTEAD, and interpret additionally a string value
1662         as alternate bullet to be used, instead of prompting the user for
1663         a bullet character.
1665 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
1667         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1668         Do not use `tramp-file-name-port', because this returns also
1669         `tramp-default-port'.
1671 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1673         * net/rcirc.el (rcirc-handler-001): Remove useless
1674         with-rcirc-process-buffer.
1675         (rcirc-check-auth-status): Swap arguments to string-match.
1677 2011-03-09  Glenn Morris  <rgm@gnu.org>
1679         * shell.el (shell-mode):
1680         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
1682         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1683         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
1685 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
1687         * emacs-lisp/package.el (package-refresh-contents)
1688         (package-menu-execute): Use condition-case-no-debug.
1690 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
1692         * simple.el (shell-command-to-string): Use `process-file'.
1694         * emacs-lisp/package.el (package-tar-file-info): Handle also
1695         remote files.
1697         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1698         Use `equal' for upload base check.
1700 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
1702         * textmodes/texinfo.el (texinfo-environments):
1703         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
1705 2011-03-08  Glenn Morris  <rgm@gnu.org>
1707         * cus-start.el (cursor-in-non-selected-windows):
1708         Fix :set quoting oddness.  (Bug#8192)
1710         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1711         in some setf expressions.  (Bug#2159)
1713 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
1715         * custom.el (custom-available-themes): Return themes in
1716         alphabetical order.
1718 See ChangeLog.15 for earlier changes.
1720 ;; Local Variables:
1721 ;; coding: utf-8
1722 ;; End:
1724   Copyright (C) 2011  Free Software Foundation, Inc.
1726   This file is part of GNU Emacs.
1728   GNU Emacs is free software: you can redistribute it and/or modify
1729   it under the terms of the GNU General Public License as published by
1730   the Free Software Foundation, either version 3 of the License, or
1731   (at your option) any later version.
1733   GNU Emacs is distributed in the hope that it will be useful,
1734   but WITHOUT ANY WARRANTY; without even the implied warranty of
1735   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1736   GNU General Public License for more details.
1738   You should have received a copy of the GNU General Public License
1739   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.