1 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
3 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
5 * play/mpuz.el (mpuz-silent): Doc fix.
6 (mpuz-mode-map): Use mapc.
7 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9 Fix typos in docstrings.
11 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18 * minibuffer.el (completion--do-completion): Avoid the "Next char
19 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22 mouse-2 into unread-command-events, it is interpreted correctly.
24 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25 (image-toggle-display): Doc fix.
27 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
29 * textmodes/page.el (what-page): Use line-number-at-pos to
30 calculate line number (Bug#6825).
32 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
34 * eshell/esh-mode.el (find-tag-interactive): Declare function.
35 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
36 Pass argument NO-DEFAULT to `find-tag-interactive'.
38 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
40 Lexical-binding cleanup.
42 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
43 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
44 * progmodes/ada-prj.el (ada-prj-initialize-values)
45 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
47 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
48 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
49 (antlr-invalidate-context-cache, antlr-options-menu-filter)
50 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
51 * progmodes/bug-reference.el (bug-reference-push-button):
52 * progmodes/fortran.el (fortran-line-length):
53 * progmodes/glasses.el (glasses-change):
54 * progmodes/octave-mod.el (octave-fill-paragraph):
55 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
56 (python-pdbtrack-grub-for-buffer, python-sentinel):
57 * progmodes/sql.el (sql-save-connection):
58 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
59 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
60 Mark unused parameters.
62 * progmodes/compile.el (compilation--flush-directory-cache)
63 (compilation--flush-parse, compile-internal): Mark unused parameters.
64 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
65 (compilation-next-error-function): Remove unused variable `timestamp'.
67 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
68 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
70 * progmodes/dcl-mode.el (dcl-end-of-command):
71 Remove unused variable `start'.
72 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
73 (dcl-option-value-basic, dcl-option-value-offset)
74 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
75 Mark unused parameters.
76 (dcl-save-local-variable): Remove unused variable `val'.
79 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
80 Mark unused parameters.
81 (delphi-ignore-changes): Move before first use.
82 (delphi-charset-token-at): Remove unused variable `start'.
83 (delphi-else-start): Remove unused variable `if-count'.
84 (delphi-comment-block-start, delphi-comment-block-end):
85 Remove unused variable `kind'.
86 (delphi-indent-line): Remove unused variable `new-point'.
88 * progmodes/ebrowse.el (ebrowse-files-list)
89 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
90 Mark unused parameters. Don't quote `lambda'.
91 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
93 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
94 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
95 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
96 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
98 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
99 (ebrowse-view/find-file-and-search-pattern)
100 (ebrowse-view/find-member-declaration/definition):
101 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
102 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
103 Rename parameter PREFIX-ARG to PREFIX.
104 (ebrowse-tags-read-name): Remove unused variables `start' and
106 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
109 * progmodes/etags.el (local-find-tag-hook): Declare.
110 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
111 Mark unused parameters.
113 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
114 (executable-interpret): Mark unused parameter.
116 * progmodes/flymake.el (flymake-process-sentinel)
117 (flymake-after-change-function)
118 (flymake-create-temp-with-folder-structure)
119 (flymake-get-include-dirs-dot): Mark unused parameters.
120 (flymake-safe-delete-directory): Remove unused variable `err'.
122 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
123 (speedbar-timer-fn, speedbar-line-text)
124 (speedbar-change-expand-button-char, speedbar-delete-subblock)
125 (speedbar-center-buffer-smartly): Declare functions.
126 (gdb-find-watch-expression): Remove unused variable `array'.
127 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
128 (gdb-starting): Mark unused parameters.
129 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
130 (gdb-table-string): Remove unused variable `res'.
131 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
132 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
133 (gdb-display-buffer): Remove unused variable `cur-size'.
135 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
136 allow lexical-binding compilation.
137 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
138 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
139 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
140 Mark unused parameters.
141 (gud-gdb-marker-filter): Remove unused variable `match'.
142 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
143 lambda expressions and funcall them, instead of using `fset'.
145 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
146 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
148 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
149 variable `header-beg'; use `let'.
151 * progmodes/icon.el (indent-icon-exp): Remove unused variables
152 `restart', `last-sexp' and `at-do'.
154 * progmodes/js.el (js--debug): Mark unused parameter.
155 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
156 (js--splice-into-items): Remove unused variable `item'.
157 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
159 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
160 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
161 (makefile-complete): Remove unused variable `try'.
162 (makefile-fill-paragraph, makefile-match-function-end):
163 Mark unused parameters.
165 * progmodes/octave-inf.el (inferior-octave-complete):
166 Remove unused variable `proc'.
167 (inferior-octave-output-digest): Mark unused parameter.
169 * progmodes/perl-mode.el (perl-calculate-indent):
170 Remove unused variable `err'.
172 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
173 (prolog-indent-line): Mark unused parameters.
174 (prolog-indent-line): Remove unused variable `beg'.
176 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
177 (reporter-dont-compact-list): Declare.
179 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
180 Remove unused variable `char'.
181 (sh-debug): Mark unused parameter.
182 (sh-get-indent-info): Remove unused variable `start'.
183 (sh-calculate-indent): Remove unused variable `var'.
185 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
186 (simula-electric-keyword): Remove unused variable `null'.
187 (simula-search-backward, simula-search-forward): Remove unused
188 variables `begin' and `end'.
190 * progmodes/vera-mode.el (vera-guess-basic-syntax):
191 Remove unused variable `pos'.
192 (vera-electric-tab, vera-comment-uncomment-region):
193 Mark unused parameters.
194 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
196 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
198 * emacs-lisp/package.el (package--builtins, package-alist)
199 (package-load-descriptor, package-built-in-p, package-activate)
200 (define-package, package-installed-p)
201 (package-compute-transaction, package-buffer-info)
202 (package--push): Doc fix. Distinguish more clearly between
203 version strings and version lists.
205 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
207 Lexical-binding cleanup.
209 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
210 (5x5-make-mutate-best):
211 * play/fortune.el (fortune-in-buffer):
212 * play/gomoku.el (gomoku-init-display):
213 * play/solitaire.el (solitaire, solitaire-do-check):
214 * play/tetris.el (tetris-default-update-speed-function):
215 Mark unused parameters.
217 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
218 (bubbles--shift): Remove unused variable `char-org'.
219 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
220 (bubbles--show-images): Remove unused variable `char'.
222 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
223 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
224 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
225 (decipher-analyze-buffer): Use ?\s.
226 (decipher-make-checkpoint): Remove unused variable `mapping'.
228 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
230 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
231 Remove unused variable `result'; use `let'.
233 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
234 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
235 (gametree-children-shown-p, gametree-compute-reduced-score):
238 * play/handwrite.el (ps-lpr-switches): Declare.
239 (handwrite): Remove unused variables `pmin' and `lastp'.
241 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
243 * play/landmark.el (landmark-init-display)
244 (landmark-update-naught-weights): Mark unused parameters.
245 (landmark-y): Remove unused variable `noise'. Simplify.
246 (landmark-human-plays): Remove unused variable `score'.
248 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
249 (mpuz-try-proposal): Remove unused variable `game'.
251 * play/zone.el (life-patterns): Declare.
253 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
255 * vc/vc.el (ediff-vc-internal): Declare function.
257 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
259 * shell.el: Use lexical-binding and std completion UI.
260 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
261 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
262 comint-preoutput-filter-functions rather than on
263 comint-output-filter-functions.
264 (shell-command-completion, shell--command-completion-data)
265 (shell-filename-completion, shell-environment-variable-completion)
266 (shell-c-a-p-replace-by-expanded-directory): New functions.
267 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
268 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
269 (shell-dynamic-complete-environment-variable): Use them.
270 (shell-dynamic-complete-as-environment-variable)
271 (shell-dynamic-complete-as-command): Remove.
272 (shell-match-partial-variable): Match past point.
273 * comint.el: Clean up use of completion-at-point-functions.
274 (comint-completion-at-point): New function.
275 (comint-mode): Use it completion-at-point-functions.
276 (comint-dynamic-complete): Make it obsolete.
277 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
278 (comint-c-a-p-replace-by-expanded-history): New function.
279 (comint-dynamic-complete-functions)
280 (comint-replace-by-expanded-history): Use it.
281 * minibuffer.el (completion-table-with-terminator): Allow dynamic
282 termination strings. Try harder to avoid second try-completion.
283 (completion-in-region-mode-map): Disable bindings that don't work yet.
285 * comint.el: Use lexical-binding. Require CL.
286 (comint-dynamic-complete-functions): Use comint-filename-completion.
287 (comint-completion-addsuffix): Tweak custom type.
288 (comint-filename-completion, comint--common-suffix)
289 (comint--common-quoted-suffix, comint--table-subvert)
290 (comint--complete-file-name-data): New functions.
291 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
292 (comint-dynamic-list-filename-completions): Use them.
293 (comint-dynamic-simple-complete): Make obsolete.
295 * minibuffer.el (completion-in-region-mode):
296 Keep completion-in-region-mode--predicate global.
297 (completion-in-region--postch):
298 Assume completion-in-region-mode--predicate is not null.
300 * progmodes/flymake.el (flymake-start-syntax-check-process):
301 Obey `dir'. Simplify.
303 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
304 we're in VC after all.
306 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
308 * vc/vc.el (vc-diff-build-argument-list-internal)
309 (vc-version-ediff, vc-ediff): New commands.
310 (vc-version-diff): Use vc-diff-build-argument-list-internal.
312 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
314 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
317 * obsolete/erc-hecomplete.el: Make obsolete.
318 * obsolete/: Standardize obsolescence info in the header.
320 2011-04-20 Glenn Morris <rgm@gnu.org>
322 * calendar/solar.el (solar-horizontal-coordinates):
323 Use the longitude argument rather than `calendar-longitude'.
324 (solar-date-next-longitude): Remove unused locals.
326 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
328 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
329 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
330 multi-line comments as well.
332 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
334 Lexical-binding cleanup.
336 * arc-mode.el (archive-mode-revert):
337 * cmuscheme.el (scheme-interactively-start-process):
338 * custom.el (custom-initialize-delay):
339 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
340 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
341 * emacs-lock.el (emacs-lock-clear-sentinel):
342 * ezimage.el (defezimage):
343 * follow.el (follow-avoid-tail-recenter):
344 * fringe.el (set-fringe-mode-1):
345 * generic-x.el (bat-generic-mode-compile):
346 * help-mode.el (help-info-variable, help-do-xref)
347 (help-mode-revert-buffer):
348 * help.el (view-emacs-todo):
349 * iswitchb.el (iswitchb-completion-help):
350 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
351 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
352 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
353 * locate.el (locate-update):
354 * longlines.el (longlines-encode-region)
355 (longlines-after-change-function):
356 * outline.el (outline-isearch-open-invisible):
357 * ps-def.el (declare-function, charset-dimension, char-width)
359 * ps-mule.el (ps-mule-plot-string):
360 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
361 (recentf-edit-list-select, recentf-edit-list-validate)
362 (recentf-open-files-action):
363 * rect.el (delete-whitespace-rectangle-line)
364 (rectangle-number-line-callback):
365 * register.el (window-configuration-to-register)
366 (frame-configuration-to-register):
367 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
368 * select.el (xselect-convert-to-string, xselect-convert-to-length)
369 (xselect-convert-to-targets, xselect-convert-to-delete)
370 (xselect-convert-to-filename, xselect-convert-to-charpos)
371 (xselect-convert-to-lineno, xselect-convert-to-colno)
372 (xselect-convert-to-os, xselect-convert-to-host)
373 (xselect-convert-to-user, xselect-convert-to-class)
374 (xselect-convert-to-name, xselect-convert-to-integer)
375 (xselect-convert-to-atom, xselect-convert-to-identity):
376 * subr.el (declare, ignore, process-kill-without-query)
377 (text-clone-maintain):
378 * terminal.el (te-get-char, te-tic-sentinel):
379 * tool-bar.el (tool-bar-make-keymap):
380 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
381 * type-break.el (type-break-mode, type-break-noninteractive-query):
382 * view.el (View-back-to-mark):
383 * wid-browse.el (widget-browse-action, widget-browse-widget)
384 (widget-browse-widgets, widget-browse-sexp):
385 * widget.el (define-widget-keywords):
386 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
387 Mark unused parameters.
389 * align.el (align-adjust-col-for-rule): Mark unused parameter.
390 (align-areas): Remove unused variable `look'.
391 (align-region): Remove unused variables `real-end' and `pos-list'.
393 * apropos.el (apropos-score-doc): Remove unused variable `i'.
395 * bindings.el (mode-line-modified, mode-line-remote):
396 Mark unused parameters.
397 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
399 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
400 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
402 * comint.el (comint-history-isearch-pop-state)
403 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
404 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
405 (comint-substitute-in-file-name): Doc fix.
407 * completion.el (cmpl-statistics-block): Mark unused parameter.
408 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
409 (save-completions-to-file, load-completions-from-file):
410 Remove unused local variable `e'.
412 * composite.el (compose-chars): Remove unused variable `len'.
413 (lgstring-insert-glyph): Remove unused variable `g'.
414 (compose-glyph-string): Remove unused variables `ascent',
415 `descent', `lbearing' and `rbearing'.
416 (compose-glyph-string-relative): Remove unused variables
417 `lbearing', `rbearing' and `wadjust'.
418 (compose-gstring-for-graphic): Remove unused variables `header',
419 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
420 (compose-gstring-for-terminal): Remove unused variables `header'
421 and `nchars'. Use `let', not `let*'.
423 * cus-edit.el (Custom-set, Custom-save, custom-reset)
424 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
425 (Custom-buffer-done, custom-buffer-create-internal)
426 (custom-browse-visibility-action, custom-browse-group-tag-action)
427 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
428 (widget-magic-mouse-down-action, custom-toggle-parent)
429 (custom-add-parent-links, custom-toggle-hide-variable)
430 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
431 (custom-toggle-hide-face, face, hook, custom-group-link-action)
432 (custom-face-menu-create, custom-variable-menu-create, get)
433 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
434 (custom-reset-standard-save-and-update): Remove unused variable `value'.
435 (customize-apropos): Remove unused variable `tests'.
436 (custom-group-value-create): Remove unused variable `hidden-p'.
437 (sort-fold-case): Declare.
439 * cus-theme.el (custom-reset-standard-faces-list)
440 (custom-reset-standard-variables-list): Declare.
441 (customize-create-theme, custom-theme-revert, custom-theme-write)
442 (custom-theme-choose-mode, customize-themes, custom-theme-save):
443 Mark unused parameters.
445 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
447 * delim-col.el (delimit-columns-max): Move defvar before first use.
449 * descr-text.el (describe-char-categories): Don't quote `lambda'.
450 (describe-char): Don't quote `lambda'. Mark unused parameter.
452 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
453 (auto-insert): Declare.
454 (desktop-restore-file-buffer): Rename desktop-* parameters;
456 (desktop-create-buffer): Rename desktop-* parameters and bind them.
457 (desktop-buffer): Rename desktop-* parameters.
459 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
460 (dframe-reposition-frame-xemacs, dframe-help-echo)
461 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
462 Mark unused parameters.
464 * dired-aux.el (backup-extract-version-start, overwrite-query)
465 (overwrite-backup-query, rename-regexp-query)
466 (rename-non-directory-query): Declare.
467 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
468 (dired-add-entry): Remove unused variable `orig-file-name'.
469 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
470 Use parameter PRESERVE-TIME instead of accessing dynamic variable
471 `dired-copy-preserve-time' directly.
472 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
473 (dired-insert-subdir-newpos): Rename unused variable `pos'.
475 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
476 (dired-virtual-revert, dired-make-relative-symlink):
477 Mark unused parameters.
478 (manual-program): Declare.
479 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
480 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
481 wrapped in `with-no-warnings' to avoid replacing one warning by another.
483 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
485 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
487 * echistory.el (electric-history-in-progress, Helper-return-blurb):
490 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
492 * electric.el (Electric-command-loop): Rename parameter
493 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
495 * expand.el (expand-in-literal): Remove unused variable `here'.
497 * facemenu.el (facemenu-add-new-color):
498 Remove unused variable `docstring'.
500 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
501 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
502 (face-attr-construct): Mark unused parameter. Doc fix.
503 (read-color): Remove unused variable `hex-string'.
505 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
506 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
507 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
508 (display-buffer-other-frame): Remove unused variable `old-window'.
509 (kill-buffer-hook): Declare.
510 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
511 Mark unused parameters.
512 (after-find-file): Pass 1 to `auto-save-mode', not t.
514 * files-x.el (auto-insert): Declare.
515 (modify-file-local-variable-prop-line): Remove unused variable `val'.
517 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
518 variable `buf'. Mark unused parameter.
519 (find-lisp-insert-directory): Mark unused parameter.
521 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
522 (format-encode-region): Remove unused variables `cur-buf' and `result'.
523 (format-common-tail): Remove, unused.
524 (format-deannotate-region): Remove unused variable `loc'.
525 (format-annotate-region): Remove unused variable `p'.
526 (format-annotate-single-property-change): Remove unused variables
527 `default' and `tail'.
529 * forms.el (read-file-filter): Declare.
530 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
532 * frame.el (frame-creation-function-alist): Mark unused parameter.
533 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
535 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
536 Remove unused parameters.
537 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
538 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
540 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
541 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
542 (hfy-prepare-tag-map): Mark unused parameters.
543 (htmlfontify-buffer): Use `called-interactively-p'.
545 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
546 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
547 (ibuffer-do-occur): Mark unused parameters.
548 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
549 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
551 * ibuffer.el: Don't quote `lambda'.
552 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
553 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
554 Mark unused parameters.
556 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
557 (ido-completing-read): Mark unused parameters.
558 (ido-copy-current-word): Mark unused parameters;
559 remove unused variable `name'.
560 (ido-sort-merged-list): Remove unused parameter `dirs'.
562 * ielm.el (ielm-input-sender): Mark unused parameter.
563 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
564 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
565 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
566 `ielm-string' as a dynamic variable accessible from the IELM prompt.
567 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
569 * image-dired.el (image-dired-display-thumbs): Remove unused
570 variables `curr-file' and `count'.
571 (image-dired-remove-tag): Remove unused variable `start'.
572 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
574 (image-dired-rotate-original): Remove unused variable `temp-file'.
575 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
576 Remove unused variable `file'.
577 (image-dired-gallery-generate): Remove unused variable `curr'.
578 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
580 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
582 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
584 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
586 * isearch.el (minibuffer-history-symbol): Declare.
587 (isearch-edit-string): Remove unused variable `err'.
588 (isearch-message-prefix, isearch-message-suffix):
589 Mark unused parameters.
591 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
593 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
595 * makesum.el (double-column): Remove unused variable `cnt'.
597 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
598 (ido-ignore-item-temp-list): Declare.
600 * mouse-drag.el (mouse-drag-throw): Remove unused variables
601 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
602 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
603 (mouse-drag-drag): Remove unused variables `mouse-delta' and
606 * mouse-sel.el (mouse-extend-internal):
607 Remove unused variable `orig-window-frame'.
609 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
610 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
611 Move declarations before first use.
612 (pcomplete-opt): Mark unused parameters; doc fix.
614 * proced.el (proced-revert): Mark unused parameter.
615 (proced-send-signal): Remove unused variable `err'.
617 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
618 Rename parameter PREFIX-ARG to ARG.
619 (ps-basic-plot-string, ps-basic-plot-whitespace):
620 Mark unused parameters.
622 * replace.el (replace-count): Define.
623 (occur-revert-function): Mark unused parameters.
624 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
625 (isearch-case-fold-search, isearch-string): Declare.
626 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
627 bind `case-fold-search'. Remove unused variables `beg' and `end',
629 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
630 COUNT and bind `replace-count'.
631 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
634 * savehist.el (print-readably, print-string-length): Declare.
636 * shadowfile.el (shadow-expand-cluster-in-file-name):
637 Remove unused variable `cluster'.
638 (shadow-copy-file): Remove unused variable `i'.
639 (shadow-noquery, shadow-clusters, shadow-site-cluster)
640 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
641 (shadow-define-literal-group, shadow-define-regexp-group)
642 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
644 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
645 (shell): Use `called-interactively-p'.
646 (shell-directory-tracker): Remove unused variable `chdir-failure'.
648 * simple.el (compilation-context-lines, comint-file-name-quote-list)
649 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
650 (delete-backward-char): Remove unused variable `ocol'.
651 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
652 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
653 (event-apply-hyper-modifier, event-apply-shift-modifier)
654 (event-apply-control-modifier, event-apply-meta-modifier):
655 Mark unused parameters.
656 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
657 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
659 * speedbar.el (speedbar-ignored-directory-expressions)
660 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
661 (speedbar-find-file, speedbar-dir-follow)
662 (speedbar-directory-buttons-follow, speedbar-tag-find)
663 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
664 (speedbar-buffers-line-directory, speedbar-buffer-click):
665 Mark unused parameters.
666 (speedbar-tag-file): Remove unused variable `mode'.
667 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
669 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
671 * talk.el (talk): Remove unused variable `display'.
673 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
674 (tar-write-region-annotate): Mark unused parameter.
676 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
677 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
678 Declare them, wrapped in `with-no-warnings' to avoid replacing one
681 * time-stamp.el (time-stamp-string-preprocess):
682 Remove unused variable `require-padding'.
684 * tree-widget.el (widget-glyph-enable): Declare.
685 (tree-widget-action): Mark unused parameter.
687 * w32-fns.el (x-get-selection): Mark unused parameter.
688 (autoload-make-program, generated-autoload-file): Declare.
690 * wdired.el (wdired-revert): Mark unused parameters.
691 (wdired-xcase-word): Remove unused variable `err'.
693 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
694 (whitespace-help-scroll): Remove unused variable `data-help'.
696 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
697 (widget-image-insert, widget-after-change, default)
698 (widget-default-format-handler, widget-default-notify)
699 (widget-default-prompt-value, widget-info-link-action)
700 (widget-url-link-action, widget-function-link-action)
701 (widget-variable-link-action, widget-file-link-action)
702 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
703 (widget-field-prompt-internal, widget-field-action, widget-field-match)
704 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
705 (widget-insert-button-action, widget-delete-button-action, visibility)
706 (widget-documentation-link-action, widget-documentation-string-action)
707 (widget-const-prompt-value, widget-regexp-match, symbol)
708 (widget-coding-system-prompt-value)
709 (widget-key-sequence-value-to-external, sexp)
710 (widget-sexp-value-to-internal, character, vector, cons)
711 (widget-choice-prompt-value, widget-boolean-prompt-value)
712 (widget-color--choose-action): Mark unused parameters.
713 (widget-item-match-inline, widget-choice-match-inline)
714 (widget-checklist-match, widget-checklist-match-inline)
715 (widget-group-match): Rename parameter VALUES to VALS.
716 (widget-field-value-set): Remove unused variable `size'.
717 (widget-color-action): Remove unused variables `value' and `start'.
719 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
720 variable `dir'. Doc fix.
721 (windmove-find-other-window): Don't pass it.
723 * window.el (count-windows): Mark unused parameter.
724 (bw-adjust-window): Remove unused variable `err'.
726 * woman.el (woman-file-name): Remove unused variable `default'.
727 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
728 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
729 (global-font-lock-mode): Declare.
730 (woman-decode-region): Mark unused parameter.
731 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
733 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
734 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
735 (x-dnd-handle-moz-url): Remove unused variable `title'.
736 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
738 * xml.el (xml-parse-tag, xml-parse-attlist):
739 Remove unused variable `pos'.
741 2011-04-19 Glenn Morris <rgm@gnu.org>
743 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
744 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
745 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
746 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
747 * calendar/cal-html.el (cal-html-insert-minical):
748 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
749 (calendar-mark-date-pattern):
750 Prefix "unused" locals.
752 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
753 optional argument `style'.
755 * calendar/appt.el (appt-make-list):
756 * calendar/cal-china.el (calendar-chinese-date-string):
757 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
758 (diary-hebrew-yahrzeit):
759 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
760 * calendar/calendar.el (calendar-generate-window):
761 * calendar/time-date.el (time-to-days):
762 Remove unused local variables.
764 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
766 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
767 glyphless-char-display table.
768 (tabulated-list-glyphless-char-display): New var.
770 2011-04-18 Sam Steingold <sds@gnu.org>
772 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
775 2011-04-17 Glenn Morris <rgm@gnu.org>
777 * calendar/diary-lib.el (diary-sexp-entry):
778 * calendar/holidays.el (holiday-sexp):
779 Set debug-on-error rather than the removed stack-trace-on-error.
781 2011-04-16 Glenn Morris <rgm@gnu.org>
783 * progmodes/f90.el: Use lexical-binding.
784 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
786 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
788 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
789 (mail-mode): Setup mailalias completion here instead.
790 * mail/mailalias.el: Use lexical-binding.
791 (pattern, mailalias-done): Declare dynamic.
792 (mail-completion-at-point-function): New function, from mail-complete.
793 (mail-complete): Use it.
794 (mail-completion-expand): New function.
795 (mail-get-names): Use it.
796 (mail-directory, mail-directory-process, mail-directory-stream):
797 Don't use `pattern' for lexically bound arg.
799 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
801 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
802 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
803 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
805 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
806 (byte-save-window-excursion, byte-temp-output-buffer-setup)
807 (byte-interactive-p): Define them again, for use when inlining
810 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
812 * loadup.el: Use `string-to-number', not `string-to-int'.
814 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
816 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
817 gud-gdb-complete-command.
818 (gud-gdb-completions): New function, from gud-gdb-complete-command.
819 (gud-gdb-completion-at-point): New function.
820 (gud-gdb-completions): Remove.
822 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
824 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
825 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
826 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
827 whether `executable-find' is bound.
829 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
831 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
833 * minibuffer.el (completion-in-region-mode-predicate)
834 (completion-in-region-mode--predicate): New vars.
835 (completion-in-region, completion-in-region--postch)
836 (completion-in-region-mode): Use them.
837 (completion--capf-wrapper): Also return the hook function.
838 (completion-at-point, completion-help-at-point):
839 Adjust and provide a predicate.
841 Preserve arg names for advice of subr and lexical functions (bug#8457).
842 * help-fns.el (help-function-arglist): Consolidate the subr and
843 new-byte-code cases. Add argument `preserve-names' to extract names
844 from the docstring when needed.
845 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
846 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
847 (ad-arglist): Use help-function-arglist's new arg.
848 (ad-definition-type): Use cond.
850 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
852 * autorevert.el (auto-revert-handler):
853 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
854 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
857 * image-mode.el (image-transform-set-scale):
858 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
860 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
862 * net/network-stream.el (network-stream-open-starttls): Only do
863 opportunistic STARTTLS upgrades if we have built-in gnutls support.
864 Upgrades via gnutls-cli are too slow to be done opportunistically.
866 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
868 * dframe.el (dframe-current-frame): Remove spurious quote.
870 2011-04-12 Glenn Morris <rgm@gnu.org>
872 * calendar/cal-tex.el (cal-tex-end-document):
873 Try to automatically use latin1 input if needed.
875 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
876 Don't try to cons a mark onto an empty element.
878 2011-04-11 Leo Liu <sdl.web@gmail.com>
880 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
882 (ido-kill-buffer-at-head): Support killing virtual buffers.
884 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
886 * minibuffer.el (completion-show-inline-help): New var.
887 (completion--do-completion, minibuffer-complete)
888 (minibuffer-force-complete, minibuffer-complete-word):
889 Inhibit minibuffer messages if completion-show-inline-help is nil.
891 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
892 to avoid interference from inline help (Bug#5849).
894 2011-04-10 Leo Liu <sdl.web@gmail.com>
896 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
899 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
901 * image-mode.el (image-toggle-display-image): Signal an error if
903 (image-transform-mode, image-transform-resize)
904 (image-transform-set-rotation): Doc fix.
905 (image-transform-set-resize): Delete.
906 (image-transform-set-scale, image-transform-fit-to-height)
907 (image-transform-fit-to-width): Handle image-toggle-display-image
908 and image-transform-resize directly.
910 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
912 * doc-view.el (doc-view-fit-width-to-window)
913 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
914 New functions for fitting the shown image to the Emacs window size.
915 (doc-view-mode-map): Add bindings for the new functions.
917 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
919 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
920 Fix typo in docstring.
922 2011-04-08 Eli Zaretskii <eliz@gnu.org>
924 * files.el (file-size-human-readable): Produce one digit after
925 decimal, like "ls -lh" does.
927 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
928 the file size representation.
930 * simple.el (list-processes): If async subprocesses are not
931 available, error out with a clear error message.
933 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
935 * help.el (help-form-show): New function, to be called from C.
936 Put help-form output in a buffer named differently than *Help*.
938 2011-04-08 Eli Zaretskii <eliz@gnu.org>
940 * files.el (file-size-human-readable): New function.
942 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
943 computing the representation inline. Don't require `cl'.
945 2011-04-08 Glenn Morris <rgm@gnu.org>
947 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
949 * net/browse-url.el (browse-url-firefox):
950 Test system-type, not system-configuration.
952 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
953 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
954 Use log-edit-empty-buffer-p. (Bug#7598)
956 * net/rlogin.el (rlogin-process-connection-type): Simplify.
957 (rlogin-mode-map): Initialize in the defvar.
958 (rlogin): Use ignore-errors.
960 * replace.el (occur-mode-map): Some fixes for menu items.
962 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
964 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
966 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
968 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
969 issuing unused warnings.
971 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
974 * simple.el: Lisp reimplement of list-processes. Based on an
975 earlier reimplementation by Leo Liu, but using tabulated-list.el.
976 (process-menu-mode): New major mode.
977 (list-processes--refresh, list-processes):
978 (process-menu-visit-buffer): New functions.
980 * files.el (save-buffers-kill-emacs): Don't assume any return
981 value of list-processes, which is undocumented anyway.
983 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
985 * emacs-lisp/tabulated-list.el: New file.
987 * emacs-lisp/package.el: Use Tabulated List mode.
988 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
989 (package-menu-mode): Derive from tabulated-list-mode. Set up the
990 table format using Tabulated List mode variables.
991 (package--push): New macro, replacing package-list-maybe-add.
992 (package-menu--generate): Use package--push. Renamed from
993 package--generate-package-list.
994 (package-menu-refresh, list-packages): Use it.
995 (package-menu--print-info): Rename from package-print-package.
996 Return insertion data instead of inserting it directly.
997 (package-menu-describe-package, package-menu-execute):
998 Use tabulated-list-get-id.
999 (package-menu-mark-delete, package-menu-mark-install)
1000 (package-menu-mark-unmark, package-menu-backup-unmark)
1001 (package-menu-mark-obsolete-for-deletion):
1002 Use tabulated-list-put-tag.
1003 (package--list-packages, package-menu-revert)
1004 (package-menu-get-package, package-menu-get-version)
1005 (package-menu-sort-by-column): Functions deleted.
1006 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1007 (package-menu--status-predicate, package-menu--version-predicate)
1008 (package-menu--name-predicate)
1009 (package-menu--description-predicate): Handle arguments in the
1010 Tabulated List format.
1011 (package-list-packages-no-fetch): Call list-packages.
1013 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1015 * files.el (after-find-file-from-revert-buffer): Remove variable.
1016 (after-find-file): Don't bind it.
1017 (revert-buffer-in-progress-p): New variable.
1018 (revert-buffer): Bind it.
1019 Pass nil for `after-find-file-from-revert-buffer'.
1021 * saveplace.el (save-place-find-file-hook): Use new variable
1022 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1024 2011-04-06 Glenn Morris <rgm@gnu.org>
1026 * Makefile.in (AUTOGEN_VCS): New variable.
1027 (autoloads): Use $AUTOGEN_VCS.
1029 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1030 * calendar/calendar.el (calendar-mode-map):
1031 Check for toolkit scroll bars. (Bug#8305)
1033 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1035 * minibuffer.el (completion-in-region--postch)
1036 (completion-in-region-mode): Remove unnecessary messages.
1038 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1040 * font-lock.el (font-lock-refresh-defaults):
1041 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1042 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1044 * info.el (Info-directory-list, Info-read-node-name-2)
1045 (Info-split-parameter-string): Doc fixes.
1046 (Info-virtual-nodes): Reflow docstring.
1047 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1048 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1049 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1050 Fix typos in docstrings.
1051 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1052 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1053 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1054 (Info-restore-desktop-buffer): Mark unused parameters.
1055 (Info-directory-find-file, Info-directory-find-node)
1056 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1057 (Info-virtual-index-find-node, Info-apropos-find-file)
1058 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1059 Mark unused parameters; fix typos in docstrings.
1060 (Info-virtual-index): Remove unused local variable `nodename'.
1062 2011-04-05 Deniz Dogan <deniz@dogan.se>
1064 * net/rcirc.el: Update my e-mail address.
1065 (rcirc-mode-map): Remove M-o binding.
1067 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1069 * startup.el (command-line): Save the cursor's theme-face
1070 directly, instead of using face-override-spec.
1072 * custom.el (load-theme): Minor optimization in assigning faces.
1074 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1076 * help-fns.el (describe-variable): Complete all variables having
1077 documentation, including keywords.
1078 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1080 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1082 Convert to lexical-binding.
1084 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1085 (bs--get-marked-string, bs--get-modified-string)
1086 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1087 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1088 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1090 * ehelp.el (electric-help-execute-extended)
1091 (electric-help-ctrl-x-prefix):
1092 * hexl.el (hexl-revert-buffer-function):
1093 * linum.el (linum-after-change, linum-after-scroll):
1094 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1096 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1098 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1105 * epg.el: Use lexical binding.
1107 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1109 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1111 * textmodes/flyspell.el (flyspell-word): Recognize default
1112 dictionary case for flyspell-mark-duplications-exceptions.
1113 Use regexp matching for languages.
1114 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1115 default dictionary (Bug#7926).
1117 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1119 * emacs-lisp/package.el (package--with-work-buffer):
1120 Recognize https URLs.
1122 * net/network-stream.el: Move from gnus/proto-stream.el.
1123 Change prefix to network-stream throughout.
1124 (open-protocol-stream): Merge into open-network-stream, leaving
1125 open-protocol-stream as an alias. Handle nil BUFFER args.
1127 * subr.el (open-network-stream): Move to net/network-stream.el.
1129 2011-04-02 Glenn Morris <rgm@gnu.org>
1131 * find-dired.el (find-exec-terminator): New option.
1132 (find-ls-option): Test for -ls support.
1133 (find-ls-subdir-switches): Test for -b in find-ls-option.
1134 (find-dired, find-grep-dired): Doc fixes.
1135 (find-dired): Use find-exec-terminator.
1137 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1138 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1139 (find-name-arg): Remove purecopy.
1141 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1142 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1143 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1144 accordingly. Don't add the null-device if not needed.
1146 * files.el (save-some-buffers): Doc fix.
1148 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1150 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1152 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1154 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1155 Use `dolist' rather than `mapcar'.
1157 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1159 Add lexical binding.
1161 * subr.el (apply-partially): Use new closures rather than CL.
1162 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1163 (dolist, dotimes): Use slightly different expansion for lexical code.
1164 (functionp): Move to C.
1165 (letrec): New macro.
1166 (with-wrapper-hook): Use it and apply-partially instead of CL.
1167 (eval-after-load): Preserve lexical-binding.
1168 (save-window-excursion, with-output-to-temp-buffer): Turn them
1171 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1173 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1175 (help-add-fundoc-usage): Don't add `Not documented'.
1176 (help-function-arglist): Handle closures, subroutines, and new
1177 byte-code-functions.
1178 (help-make-usage): Remove leading underscores.
1179 (describe-function-1): Handle closures.
1180 (describe-variable): Use special-variable-p for completion.
1182 * files.el (lexical-binding): Declare safe.
1184 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1185 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1186 (pcase): Add `let' pattern.
1187 Change memoization so it actually works.
1188 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1189 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1192 * emacs-lisp/macroexp.el: Use lexical binding.
1193 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1194 Don't convert ' to #' without checking that it's indeed quoting
1197 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1198 Use eval-sexp-add-defvars.
1199 (eval-sexp-add-defvars): New fun.
1201 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1203 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1205 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1206 than the internal `byte-compile-lambda'.
1207 (defmethod): Don't hide code under quotes.
1208 (eieio-defmethod): New `code' argument.
1210 * emacs-lisp/eieio-comp.el: Remove.
1212 * emacs-lisp/edebug.el (edebug-eval-defun)
1213 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1214 (edebug-toggle): Avoid `eval'.
1216 * emacs-lisp/disass.el (disassemble-internal): Handle new
1218 (disassemble-1): Handle new byte codes.
1220 * emacs-lisp/cl.el (pushnew): Silence warning.
1222 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1223 (cl-byte-compile-throw): Remove.
1224 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1226 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1229 * emacs-lisp/cconv.el: New file.
1231 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1232 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1233 (byte-compile-initial-macro-environment):
1234 Handle declare-function here.
1235 (byte-compile--lexical-environment): New var.
1236 (byte-stack-ref, byte-stack-set, byte-discardN)
1237 (byte-discardN-preserve-tos): New lap codes.
1238 (byte-interactive-p): Don't use any more.
1239 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1241 (byte-compile-lapcode): Use them and handle new lap codes.
1242 (byte-compile-obsolete): Remove.
1243 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1244 (byte-compile-arglist-warn): Check late def of inlinable funs.
1245 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1246 since they should have been expanded by now.
1247 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1248 (byte-compile-from-buffer): Remove unused second arg.
1249 (byte-compile-preprocess): New function.
1250 (byte-compile-toplevel-file-form): New function to distinguish
1251 file-form calls from outside from file-form calls from hunk-handlers.
1252 (byte-compile-file-form): Simplify.
1253 (byte-compile-file-form-defsubst): Remove.
1254 (byte-compile-file-form-defmumble): Simplify now that
1255 byte-compile-lambda always returns a byte-code-function.
1256 (byte-compile): Preprocess.
1257 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1258 Remove, not used any more.
1259 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1260 (byte-compile-make-args-desc): New funs.
1261 (byte-compile-lambda): Handle lexical functions. Always return
1262 a byte-code-function.
1263 (byte-compile-reserved-constants): New var, to make up room for
1264 closed-over variables.
1265 (byte-compile-constants-vector): Obey it.
1266 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1267 (byte-compile-macroexpand-declare-function): New function.
1268 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1269 byte-code-functions.
1270 (byte-compile-form): Check obsolescence here.
1271 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1272 (byte-compile-variable-ref): Remove.
1273 (byte-compile-dynamic-variable-op): New fun.
1274 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1275 (byte-compile-variable-set): New funs.
1276 (byte-compile-discard): Add 2 args.
1277 (byte-compile-stack-ref, byte-compile-stack-set)
1278 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1279 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1280 macroexpand-all instead.
1281 (byte-compile-quote-form): Remove.
1282 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1283 (byte-compile-bind, byte-compile-unbind): New funs.
1284 (byte-compile-let): Handle let* and lexical binding.
1285 (byte-compile-let*): Remove.
1286 (byte-compile-catch, byte-compile-unwind-protect)
1287 (byte-compile-track-mouse, byte-compile-condition-case):
1288 Handle a new :fun-body form, used for lexical scoping.
1289 (byte-compile-save-window-excursion)
1290 (byte-compile-with-output-to-temp-buffer): Remove.
1291 (byte-compile-defun): Simplify.
1292 (byte-compile-stack-adjustment): New fun.
1293 (byte-compile-out): Use it.
1294 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1296 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1299 * emacs-lisp/byte-opt.el: Use lexical binding.
1300 (byte-inline-lapcode): Remove (to bytecomp).
1301 (byte-compile-inline-expand): Pay attention to inlining to/from
1302 lexically bound code.
1303 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1305 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1306 any more and don't call compiler-macros.
1307 (byte-compile-splice-in-already-compiled-code): Remove.
1308 (byte-code): Don't inline any more.
1309 (disassemble-offset): Receive `bytes' as argument rather than via
1311 (byte-compile-tag-number): Declare before first use.
1312 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1313 `return' even if make-spliceable.
1314 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1315 obsolete interactive-p.
1316 (byte-optimize-lapcode): Optimize new lap-codes.
1317 Don't trip up on new form of `byte-constant' lap code.
1319 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1321 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1323 * custom.el (custom-initialize-default, custom-declare-variable):
1326 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1328 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1329 (COMPILE_FIRST): Add macroexp and cconv.
1330 * makefile.w32-in: Mirror changes in Makefile.in.
1336 * vc/smerge-mode.el:
1337 * textmodes/bibtex-style.el:
1346 * emacs-lisp/smie.el:
1349 * abbrev.el: Use lexical binding.
1351 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1353 * info.el (info-display-manual): New function.
1355 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1359 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1361 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1362 an entry for that server in rcirc-authinfo. (Bug#8385)
1364 2011-03-31 Glenn Morris <rgm@gnu.org>
1366 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1368 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1370 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1372 * progmodes/python.el (python-default-interpreter)
1373 (python-python-command-args, python-jython-command-args)
1374 (python-which-shell, python-which-args, python-which-bufname)
1375 (python-file-queue, python-comint-output-filter-function)
1376 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1377 variables and functions.
1379 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1381 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1382 (completion-in-region-mode): New minor mode.
1383 (completion-in-region): Use it.
1384 (completion-in-region--data, completion-in-region-mode-map): New vars.
1385 (completion-in-region--postch): New function.
1386 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1388 (completion--capf-wrapper): New function.
1389 (completion-at-point): Use it to track well-behavedness of
1391 (completion-help-at-point): New command.
1393 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1395 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1396 syntax class to search for whitespace on a single line
1397 (Message-ID: <4D938140.4030905@redhat.com>).
1399 2011-03-30 Leo Liu <sdl.web@gmail.com>
1401 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1403 (edit-abbrevs-map): Bind them here.
1404 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1406 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1408 * allout.el (allout-hide-by-annotation, allout-flag-region):
1409 Reduce possibility of overlay leakage by making them volatile.
1411 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1412 hash is not shared between buffers. Mode initialization is
1413 responsible for giving it a useful starting value.
1414 (allout-item-span): Reduce possibility of overlay leakage by
1415 making them volatile.
1416 (allout-widgets-count-buttons-in-region): Add diagnostic function
1417 for tracking down button overlay leaks.
1419 2011-03-29 Leo Liu <sdl.web@gmail.com>
1421 * ido.el (ido-read-internal): Use the default history var
1422 minibuffer-history if no HISTORY is specified.
1424 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1426 * net/imap.el (imap-shell-open, imap-process-connection-type):
1427 Use imap-process-connection-type for 'shell' streams as well as
1428 Kerberos, SSL, other subprocesses.
1430 2011-03-28 Leo Liu <sdl.web@gmail.com>
1432 * abbrev.el (abbrev-table-empty-p): New function.
1433 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1434 nonempty ones. (Bug#5937)
1436 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1438 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1440 2011-03-27 Leo Liu <sdl.web@gmail.com>
1442 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1443 for foreground and background colors.
1444 (ansi-color-make-color-map): Adapt.
1446 2011-03-25 Leo Liu <sdl.web@gmail.com>
1448 * midnight.el (midnight-time-float): Remove. Note it calculates
1449 the microsecond component incorrectly and seconds-to-time does the
1451 Remove redundant (require 'timer).
1453 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1454 (ido-completions): Remove unused arguments. (Bug#8329)
1456 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * minibuffer.el (completion--flush-all-sorted-completions):
1459 Remove itself from hook.
1460 (completion-at-point): Let the functions perform the completion
1461 immediately and return nil or t.
1462 * comint.el (comint-dynamic-complete-functions): Now identical to
1463 completion-at-point-functions.
1464 (comint-dynamic-list-input-ring): Remove unused var `index'.
1465 (comint--match-partial-filename, comint--unquote&expand-filename):
1466 New funs, split from comint-match-partial-filename.
1467 (comint-dynamic-complete): Use completion-at-point.
1468 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1470 2011-03-24 Drew Adams <drew.adams@oracle.com>
1472 * thingatpt.el: Support `defun'.
1474 2011-03-23 Leo Liu <sdl.web@gmail.com>
1476 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1478 * help-mode.el (help-mode-finish): Tweak regexp.
1480 2011-03-23 Glenn Morris <rgm@gnu.org>
1482 * eshell/esh-opt.el (eshell-eval-using-options):
1483 Do not bind unused local variable `eshell-option-stub'.
1485 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1487 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1489 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1490 keymap variable in `with-no-warnings' to avoid a warning when the
1491 keymap has been already `defconst'ed.
1493 2011-03-22 Leo Liu <sdl.web@gmail.com>
1495 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1496 encode all chars in abbrevs; otherwise use emacs-mule or
1497 utf-8-emacs. (Bug#8308)
1499 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1501 * simple.el (backward-delete-char-untabify):
1502 Avoid warning about using `delete-backward-char'.
1504 * image.el (image-type-file-name-regexps): Make it variable.
1505 `imagemagick-register-types' modifies it, and the user may want
1506 to add new extensions for known image types.
1507 (imagemagick-register-types): Throw error if not using ImageMagick.
1509 2011-03-22 Leo Liu <sdl.web@gmail.com>
1511 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1512 located before rcirc-prompt-end-marker.
1513 (rcirc-complete): Error if point is not after rcirc prompt.
1514 Handle the case when table is nil.
1515 (rcirc-user-authenticated): Define to fix compiler warning.
1517 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1519 * custom.el (custom--inhibit-theme-enable): Make it affect only
1520 custom-theme-set-variables and custom-theme-set-faces.
1521 (provide-theme): Ignore custom--inhibit-theme-enable.
1522 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1523 (custom-enabling-themes): Delete variable.
1524 (enable-theme): Accept only loaded themes as arguments.
1525 Ignore the special custom-enabled-themes variable.
1526 (custom-enabled-themes): Forbid themes from setting this.
1527 Eliminate use of custom-enabling-themes.
1528 (custom-push-theme): Quote "changed" custom var entry.
1530 2011-03-21 Leo Liu <sdl.web@gmail.com>
1532 * ido.el (ido-read-internal): Add ido-selected to history instead
1535 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * subr.el (deferred-action-list, deferred-action-function):
1540 2011-03-21 Leo Liu <sdl.web@gmail.com>
1542 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1543 change on 2011-02-13 (bug#8309).
1545 * minibuffer.el (read-file-name-function): Change default value.
1546 (read-file-name--defaults): Rename from read-file-name-defaults.
1547 (read-file-name-default): Rename from read-file-name.
1548 (read-file-name): Call read-file-name-function.
1550 2011-03-21 Glenn Morris <rgm@gnu.org>
1552 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1555 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1557 * cus-theme.el: Add missing provide statement.
1558 (customize-create-theme): Extract theme value correctly.
1559 (custom-theme-visit-theme): Autoload.
1560 (customize-create-theme): Prompt before inserting default faces.
1562 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1564 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1565 units and musical notes.
1567 2011-03-20 Leo <sdl.web@gmail.com>
1569 * ido.el (ido-read-internal): Use completing-read-default.
1570 (ido-completing-read): Fix compatibility with completing-read.
1572 2011-03-20 Christian Ohler <ohler@gnu.org>
1574 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1575 (ert-delete-all-tests): Use `called-interactively-p' rather than
1577 (ert--make-xrefs-region): Respect END.
1579 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1581 * dired-aux.el (dired-create-directory): Signal an error if the
1582 directory already exists (Bug#8246).
1584 * facemenu.el (list-colors-display): Call list-faces-display
1585 inside with-help-window.
1586 (list-colors-print): Use display property to align the final
1587 column, instead of checking window-width.
1589 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1591 * emerge.el (emerge-metachars): Separate value for ms-dos and
1593 (emerge-protect-metachars): Quote correctly for ms-dos and
1596 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1598 * info.el (info-initialize): Replace all uses of `:' with
1599 path-separator for compatibility with non-Unix systems.
1600 Cache quoting of path-separator. (Bug#8258)
1602 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1604 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1605 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1606 (mouse-avoidance-mode): Fix typos in docstrings.
1608 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1610 * startup.el (package-subdirectory-regexp): Move from package.el.
1611 Omit \\` and \\', and let callers add them.
1613 * emacs-lisp/package.el (package-strip-version)
1614 (package-load-all-descriptors): Add \\` and \\' to
1615 package-subdirectory-regexp before using it.
1616 (package-untar-buffer): New arg DIR; ensure that file untars only
1617 into this expected directory. Remove superfluous delete-region.
1618 (package-unpack): Caller changed.
1619 (package-tar-file-info): Use package-subdirectory-regexp.
1621 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1624 diff-mode-shared-map (bug#8284).
1625 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1627 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1629 * calendar/time-date.el (format-seconds): Use assoc instead of
1630 assoc-string, since assoc-string doesn't exist in XEmacs.
1632 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1634 * custom.el (custom-known-themes): Reflow docstring.
1635 (custom-theme-load-path): Fix typo in docstring.
1636 (load-theme): Fix typo in error message.
1637 (custom-available-themes, custom-variable-theme-value):
1638 Use `let', not `let*'.
1640 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1642 * calc/README: Mention inclusion of musical notes.
1644 * calc/calc-units.el (calc-lu-quant): Rename from
1645 `calc-logunits-quantity'.
1646 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1647 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1648 (calc-db): Rename from `calc-dblevel'.
1649 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1650 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1651 (calc-np): Rename from `calc-nplevel'.
1652 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1653 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1654 (calc-lu-plus): Rename from `calc-logunits-add'.
1655 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1656 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1657 (calc-lu-minus): Rename from `calc-logunits-sub'.
1658 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1659 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1660 (calc-lu-times): Rename from `calc-logunits-mul'.
1661 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1662 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1663 (calc-lu-divide): Rename from `calc-logunits-div'.
1664 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1665 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1667 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1668 functions being autoloaded.
1670 * calc/calc.el (calc-lu-power-reference): Rename from
1671 `calc-logunits-power-reference'.
1672 (calc-lu-field-reference): Rename from
1673 `calc-logunits-field-reference'.
1675 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1677 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1679 * minibuffer.el (completion-all-sorted-completions):
1680 Use :completion-cycle-penalty text property if present.
1682 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1684 * allout.el (allout-yank-processing): Adjust for new rebulleting
1685 regime so bullet being yanked is used without prompting the user
1688 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1690 * startup.el (command-line): Warn the user that _emacs is deprecated.
1692 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1694 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1695 (delphi-verbose, delphi-comment-face, delphi-string-face)
1696 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1697 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1698 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1699 (delphi-new-comment-line, delphi-font-lock-defaults)
1700 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1701 Fix typos in docstrings.
1703 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1705 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1706 Invert the roles of character and string values for INSTEAD, so a
1707 string is used for the more common case of a defaulting prompt.
1709 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * progmodes/ruby-mode.el (ruby-backward-sexp):
1712 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1713 * play/gamegrid.el (gamegrid-make-face):
1714 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1715 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1716 * notifications.el (notifications-notify):
1717 * net/xesam.el (xesam-search-engines):
1718 * net/quickurl.el (quickurl-list-insert):
1719 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1721 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
1723 * startup.el (command-line): Update package subdirectory regexp.
1725 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * allout.el (allout-abbreviate-flattened-numbering)
1728 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1730 * subr.el (read-char-choice): Only show the cursor after the prompt,
1731 not after the answer.
1733 2011-03-15 Kevin Ryde <user42@zip.com.au>
1735 * help-fns.el (variable-at-point): Skip leading quotes, if any
1738 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1740 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1743 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
1745 * shell.el (shell): When called interactively, offer to change the
1746 shell file name on remote hosts.
1748 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1750 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1751 integration for LDAP parameters. The host, base, user or binddn,
1752 and secret tokens can be specified in a netrc file, for instance.
1753 This is optional because an `auth-source' parameter must be
1754 specified in the search attributes.
1756 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
1758 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1760 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1763 into declaration. Remove redundant and harmful binding.
1765 2011-03-12 Eli Zaretskii <eliz@gnu.org>
1767 * files.el (file-ownership-preserved-p): Pass `integer' as an
1768 explicit 2nd argument to `file-attributes'. If the file's owner
1769 is the Administrators group on Windows, and the current user is
1770 Administrator, consider that a match.
1772 * server.el (server-ensure-safe-dir): Consider server directory
1773 safe on MS-Windows if its owner is the Administrators group while
1774 the current Emacs user is Administrator. Use `=' to compare
1775 numerical UIDs, since they could be integers or floats.
1777 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
1779 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1781 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
1783 Sync with Tramp 2.2.1.
1785 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1787 * net/trampver.el: Update release number.
1789 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * progmodes/compile.el (compilation--previous-directory): Fix up
1792 various nil/dead-marker mismatches (bug#8014).
1793 (compilation-directory-properties, compilation-error-properties):
1794 Don't call it at a position past the one we're about to change.
1796 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1797 Disable obsolescence warnings in the file that declares it.
1799 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1801 * allout-widgets.el (allout-widgets-tally):
1802 Initialize allout-widgets-tally as a hash table rather than nil to
1803 prevent mode-line redisplay warnings. Also, clarify the module
1804 description and fix a comment typo.
1806 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
1808 * help-fns.el (describe-variable): Don't complete keywords.
1809 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1811 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
1813 * emacs-lisp/package.el (package-version-join): Impose a standard
1814 string representation for pre/alpha/beta version lists.
1815 (package-unpack-single): Standardize the directory name by passing
1816 it through package-version-join.
1817 (package-strip-rcs-id): Accept any version string that does not
1818 signal an error in version-to-list.
1820 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
1822 * simple.el (delete-trailing-whitespace): Return nil for the
1823 benefit of `write-file-functions'.
1825 2011-03-10 Glenn Morris <rgm@gnu.org>
1827 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1829 * vc/vc-git.el (vc-git-program): New option.
1830 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1831 (vc-git--call): Use it.
1833 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1835 * cus-edit.el (Custom-newline): If no button at point, look
1836 for a subgroup button at start-of-line. (Bug#2298)
1838 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1840 2011-03-10 Julien Danjou <julien@danjou.info>
1842 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1843 `cursor-type' is nil.
1845 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1847 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1849 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1851 * allout.el Summary: Change so yank of distinctive-bullet items
1852 preserves the existing header prefix, rebulleting it if necessary,
1853 rather than replacing it. This is necessary for proper operation
1854 of cooperative addons like allout-widgets.
1855 (allout-make-topic-prefix, allout-rebullet-heading): Change
1856 SOLICIT arg to INSTEAD, and interpret additionally a string value
1857 as alternate bullet to be used, instead of prompting the user for
1860 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
1862 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1863 Do not use `tramp-file-name-port', because this returns also
1864 `tramp-default-port'.
1866 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1868 * net/rcirc.el (rcirc-handler-001): Remove useless
1869 with-rcirc-process-buffer.
1870 (rcirc-check-auth-status): Swap arguments to string-match.
1872 2011-03-09 Glenn Morris <rgm@gnu.org>
1874 * shell.el (shell-mode):
1875 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1877 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1878 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1880 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1882 * emacs-lisp/package.el (package-refresh-contents)
1883 (package-menu-execute): Use condition-case-no-debug.
1885 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
1887 * simple.el (shell-command-to-string): Use `process-file'.
1889 * emacs-lisp/package.el (package-tar-file-info): Handle also
1892 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1893 Use `equal' for upload base check.
1895 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1897 * textmodes/texinfo.el (texinfo-environments):
1898 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1900 2011-03-08 Glenn Morris <rgm@gnu.org>
1902 * cus-start.el (cursor-in-non-selected-windows):
1903 Fix :set quoting oddness. (Bug#8192)
1905 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1906 in some setf expressions. (Bug#2159)
1908 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1910 * custom.el (custom-available-themes): Return themes in
1913 See ChangeLog.15 for earlier changes.
1919 Copyright (C) 2011 Free Software Foundation, Inc.
1921 This file is part of GNU Emacs.
1923 GNU Emacs is free software: you can redistribute it and/or modify
1924 it under the terms of the GNU General Public License as published by
1925 the Free Software Foundation, either version 3 of the License, or
1926 (at your option) any later version.
1928 GNU Emacs is distributed in the hope that it will be useful,
1929 but WITHOUT ANY WARRANTY; without even the implied warranty of
1930 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1931 GNU General Public License for more details.
1933 You should have received a copy of the GNU General Public License
1934 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.