1 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-process-actions): Add POS argument. Delete
4 region between POS and (pos).
6 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use
7 `nil' position in `tramp-process-actions' call.
8 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11 position in `tramp-process-actions' call.
13 * net/trampver.el: Update release number.
15 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17 * custom.el (defcustom): Obey lexical-binding.
19 Fix octave-inf completion problems reported by Alexander Klimov.
20 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21 Inherit from octave-mode-syntax-table.
22 (inferior-octave-mode): Set info-lookup-mode.
23 (inferior-octave-completion-at-point): New function.
24 (inferior-octave-complete): Use it and completion-in-region.
25 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26 comint-filename-completion.
27 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
28 symbol elements which shouldn't be word elements.
29 (octave-font-lock-keywords, octave-beginning-of-defun)
30 (octave-function-header-regexp): Adjust regexps accordingly.
31 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
33 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
35 * net/gnutls.el (gnutls-errorp): Declare before first use.
37 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
39 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
40 verify-error, and verify-hostname-error parameters. Check whether
41 default trustfile exists before going to use it. Add missing
42 argument to gnutls-message-maybe call. Return return value.
43 Reported by Claudio Bley <claudio.bley@gmail.com>.
44 (open-gnutls-stream): Add usage example.
46 * net/network-stream.el (network-stream-open-starttls): Give host
47 parameter to `gnutls-negotiate'.
48 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
50 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
52 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
53 Use correct match group (bug#8438).
55 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
57 * emacs-lisp/package.el (package-built-in-p): Fix typo.
58 (package-menu--generate): New arg specifying packages to show.
59 (package-menu-refresh, package-menu-execute, list-packages):
61 (package-show-package-list): New function, replacing deleted
62 package--list-packages (renamed because it is non-internal).
64 * finder.el (finder-list-matches): Use package-show-package-list
65 instead of deleted package--list-packages.
67 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
68 Based on a previous implementation by Juanma Barranquero (Bug#8366).
69 (vc-annotate-mode-map): Bind it to RET.
71 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
73 * progmodes/etags.el (next-file): Don't use set-buffer to change
76 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
78 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
80 * apropos.el (apropos-label-face): Avoid variable-pitch face.
81 (apropos-accumulator): Doc fix.
82 (apropos-function, apropos-macro, apropos-command)
83 (apropos-variable, apropos-face, apropos-group, apropos-widget)
84 (apropos-plist): Add face property.
85 (apropos-symbols-internal): Fix indentation.
86 (apropos-print): Simplify help, and recognize apropos-multi-type.
87 (apropos-print-doc): Use button-type-get to extract the button's
88 face property. Fill docstring (Bug#8352).
90 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
92 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
94 * play/mpuz.el (mpuz-silent): Doc fix.
95 (mpuz-mode-map): Use mapc.
96 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
97 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
98 Fix typos in docstrings.
100 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
101 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
103 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
105 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
107 * minibuffer.el (completion--do-completion): Avoid the "Next char
108 not unique" prompt if icomplete-mode is enabled (Bug#5849).
110 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
111 mouse-2 into unread-command-events, it is interpreted correctly.
113 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
114 (image-toggle-display): Doc fix.
116 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
118 * textmodes/page.el (what-page): Use line-number-at-pos to
119 calculate line number (Bug#6825).
121 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
123 * eshell/esh-mode.el (find-tag-interactive): Declare function.
124 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
125 Pass argument NO-DEFAULT to `find-tag-interactive'.
127 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
129 Lexical-binding cleanup.
131 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
132 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
133 * progmodes/ada-prj.el (ada-prj-initialize-values)
134 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
135 (ada-prj-show-value):
136 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
137 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
138 (antlr-invalidate-context-cache, antlr-options-menu-filter)
139 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
140 * progmodes/bug-reference.el (bug-reference-push-button):
141 * progmodes/fortran.el (fortran-line-length):
142 * progmodes/glasses.el (glasses-change):
143 * progmodes/octave-mod.el (octave-fill-paragraph):
144 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
145 (python-pdbtrack-grub-for-buffer, python-sentinel):
146 * progmodes/sql.el (sql-save-connection):
147 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
148 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
149 Mark unused parameters.
151 * progmodes/compile.el (compilation--flush-directory-cache)
152 (compilation--flush-parse, compile-internal): Mark unused parameters.
153 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
154 (compilation-next-error-function): Remove unused variable `timestamp'.
156 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
157 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
159 * progmodes/dcl-mode.el (dcl-end-of-command):
160 Remove unused variable `start'.
161 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
162 (dcl-option-value-basic, dcl-option-value-offset)
163 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
164 Mark unused parameters.
165 (dcl-save-local-variable): Remove unused variable `val'.
168 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
169 Mark unused parameters.
170 (delphi-ignore-changes): Move before first use.
171 (delphi-charset-token-at): Remove unused variable `start'.
172 (delphi-else-start): Remove unused variable `if-count'.
173 (delphi-comment-block-start, delphi-comment-block-end):
174 Remove unused variable `kind'.
175 (delphi-indent-line): Remove unused variable `new-point'.
177 * progmodes/ebrowse.el (ebrowse-files-list)
178 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
179 Mark unused parameters. Don't quote `lambda'.
180 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
181 Don't quote `lambda'.
182 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
183 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
184 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
185 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
187 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
188 (ebrowse-view/find-file-and-search-pattern)
189 (ebrowse-view/find-member-declaration/definition):
190 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
191 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
192 Rename parameter PREFIX-ARG to PREFIX.
193 (ebrowse-tags-read-name): Remove unused variables `start' and
195 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
198 * progmodes/etags.el (local-find-tag-hook): Declare.
199 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
200 Mark unused parameters.
202 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
203 (executable-interpret): Mark unused parameter.
205 * progmodes/flymake.el (flymake-process-sentinel)
206 (flymake-after-change-function)
207 (flymake-create-temp-with-folder-structure)
208 (flymake-get-include-dirs-dot): Mark unused parameters.
209 (flymake-safe-delete-directory): Remove unused variable `err'.
211 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
212 (speedbar-timer-fn, speedbar-line-text)
213 (speedbar-change-expand-button-char, speedbar-delete-subblock)
214 (speedbar-center-buffer-smartly): Declare functions.
215 (gdb-find-watch-expression): Remove unused variable `array'.
216 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
217 (gdb-starting): Mark unused parameters.
218 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
219 (gdb-table-string): Remove unused variable `res'.
220 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
221 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
222 (gdb-display-buffer): Remove unused variable `cur-size'.
224 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
225 allow lexical-binding compilation.
226 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
227 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
228 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
229 Mark unused parameters.
230 (gud-gdb-marker-filter): Remove unused variable `match'.
231 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
232 lambda expressions and funcall them, instead of using `fset'.
234 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
235 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
237 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
238 variable `header-beg'; use `let'.
240 * progmodes/icon.el (indent-icon-exp): Remove unused variables
241 `restart', `last-sexp' and `at-do'.
243 * progmodes/js.el (js--debug): Mark unused parameter.
244 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
245 (js--splice-into-items): Remove unused variable `item'.
246 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
248 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
249 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
250 (makefile-complete): Remove unused variable `try'.
251 (makefile-fill-paragraph, makefile-match-function-end):
252 Mark unused parameters.
254 * progmodes/octave-inf.el (inferior-octave-complete):
255 Remove unused variable `proc'.
256 (inferior-octave-output-digest): Mark unused parameter.
258 * progmodes/perl-mode.el (perl-calculate-indent):
259 Remove unused variable `err'.
261 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
262 (prolog-indent-line): Mark unused parameters.
263 (prolog-indent-line): Remove unused variable `beg'.
265 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
266 (reporter-dont-compact-list): Declare.
268 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
269 Remove unused variable `char'.
270 (sh-debug): Mark unused parameter.
271 (sh-get-indent-info): Remove unused variable `start'.
272 (sh-calculate-indent): Remove unused variable `var'.
274 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
275 (simula-electric-keyword): Remove unused variable `null'.
276 (simula-search-backward, simula-search-forward): Remove unused
277 variables `begin' and `end'.
279 * progmodes/vera-mode.el (vera-guess-basic-syntax):
280 Remove unused variable `pos'.
281 (vera-electric-tab, vera-comment-uncomment-region):
282 Mark unused parameters.
283 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
285 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
287 * emacs-lisp/package.el (package--builtins, package-alist)
288 (package-load-descriptor, package-built-in-p, package-activate)
289 (define-package, package-installed-p)
290 (package-compute-transaction, package-buffer-info)
291 (package--push): Doc fix. Distinguish more clearly between
292 version strings and version lists.
294 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
296 Lexical-binding cleanup.
298 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
299 (5x5-make-mutate-best):
300 * play/fortune.el (fortune-in-buffer):
301 * play/gomoku.el (gomoku-init-display):
302 * play/solitaire.el (solitaire, solitaire-do-check):
303 * play/tetris.el (tetris-default-update-speed-function):
304 Mark unused parameters.
306 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
307 (bubbles--shift): Remove unused variable `char-org'.
308 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
309 (bubbles--show-images): Remove unused variable `char'.
311 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
312 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
313 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
314 (decipher-analyze-buffer): Use ?\s.
315 (decipher-make-checkpoint): Remove unused variable `mapping'.
317 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
319 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
320 Remove unused variable `result'; use `let'.
322 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
323 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
324 (gametree-children-shown-p, gametree-compute-reduced-score):
327 * play/handwrite.el (ps-lpr-switches): Declare.
328 (handwrite): Remove unused variables `pmin' and `lastp'.
330 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
332 * play/landmark.el (landmark-init-display)
333 (landmark-update-naught-weights): Mark unused parameters.
334 (landmark-y): Remove unused variable `noise'. Simplify.
335 (landmark-human-plays): Remove unused variable `score'.
337 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
338 (mpuz-try-proposal): Remove unused variable `game'.
340 * play/zone.el (life-patterns): Declare.
342 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
344 * vc/vc.el (ediff-vc-internal): Declare function.
346 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
348 * shell.el: Use lexical-binding and std completion UI.
349 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
350 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
351 comint-preoutput-filter-functions rather than on
352 comint-output-filter-functions.
353 (shell-command-completion, shell--command-completion-data)
354 (shell-filename-completion, shell-environment-variable-completion)
355 (shell-c-a-p-replace-by-expanded-directory): New functions.
356 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
357 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
358 (shell-dynamic-complete-environment-variable): Use them.
359 (shell-dynamic-complete-as-environment-variable)
360 (shell-dynamic-complete-as-command): Remove.
361 (shell-match-partial-variable): Match past point.
362 * comint.el: Clean up use of completion-at-point-functions.
363 (comint-completion-at-point): New function.
364 (comint-mode): Use it completion-at-point-functions.
365 (comint-dynamic-complete): Make it obsolete.
366 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
367 (comint-c-a-p-replace-by-expanded-history): New function.
368 (comint-dynamic-complete-functions)
369 (comint-replace-by-expanded-history): Use it.
370 * minibuffer.el (completion-table-with-terminator): Allow dynamic
371 termination strings. Try harder to avoid second try-completion.
372 (completion-in-region-mode-map): Disable bindings that don't work yet.
374 * comint.el: Use lexical-binding. Require CL.
375 (comint-dynamic-complete-functions): Use comint-filename-completion.
376 (comint-completion-addsuffix): Tweak custom type.
377 (comint-filename-completion, comint--common-suffix)
378 (comint--common-quoted-suffix, comint--table-subvert)
379 (comint--complete-file-name-data): New functions.
380 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
381 (comint-dynamic-list-filename-completions): Use them.
382 (comint-dynamic-simple-complete): Make obsolete.
384 * minibuffer.el (completion-in-region-mode):
385 Keep completion-in-region-mode--predicate global.
386 (completion-in-region--postch):
387 Assume completion-in-region-mode--predicate is not null.
389 * progmodes/flymake.el (flymake-start-syntax-check-process):
390 Obey `dir'. Simplify.
392 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
393 we're in VC after all.
395 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
397 * vc/vc.el (vc-diff-build-argument-list-internal)
398 (vc-version-ediff, vc-ediff): New commands.
399 (vc-version-diff): Use vc-diff-build-argument-list-internal.
401 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
403 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
406 * obsolete/erc-hecomplete.el: Make obsolete.
407 * obsolete/: Standardize obsolescence info in the header.
409 2011-04-20 Glenn Morris <rgm@gnu.org>
411 * calendar/solar.el (solar-horizontal-coordinates):
412 Use the longitude argument rather than `calendar-longitude'.
413 (solar-date-next-longitude): Remove unused locals.
415 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
417 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
418 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
419 multi-line comments as well.
421 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
423 Lexical-binding cleanup.
425 * arc-mode.el (archive-mode-revert):
426 * cmuscheme.el (scheme-interactively-start-process):
427 * custom.el (custom-initialize-delay):
428 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
429 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
430 * emacs-lock.el (emacs-lock-clear-sentinel):
431 * ezimage.el (defezimage):
432 * follow.el (follow-avoid-tail-recenter):
433 * fringe.el (set-fringe-mode-1):
434 * generic-x.el (bat-generic-mode-compile):
435 * help-mode.el (help-info-variable, help-do-xref)
436 (help-mode-revert-buffer):
437 * help.el (view-emacs-todo):
438 * iswitchb.el (iswitchb-completion-help):
439 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
440 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
441 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
442 * locate.el (locate-update):
443 * longlines.el (longlines-encode-region)
444 (longlines-after-change-function):
445 * outline.el (outline-isearch-open-invisible):
446 * ps-def.el (declare-function, charset-dimension, char-width)
448 * ps-mule.el (ps-mule-plot-string):
449 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
450 (recentf-edit-list-select, recentf-edit-list-validate)
451 (recentf-open-files-action):
452 * rect.el (delete-whitespace-rectangle-line)
453 (rectangle-number-line-callback):
454 * register.el (window-configuration-to-register)
455 (frame-configuration-to-register):
456 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
457 * select.el (xselect-convert-to-string, xselect-convert-to-length)
458 (xselect-convert-to-targets, xselect-convert-to-delete)
459 (xselect-convert-to-filename, xselect-convert-to-charpos)
460 (xselect-convert-to-lineno, xselect-convert-to-colno)
461 (xselect-convert-to-os, xselect-convert-to-host)
462 (xselect-convert-to-user, xselect-convert-to-class)
463 (xselect-convert-to-name, xselect-convert-to-integer)
464 (xselect-convert-to-atom, xselect-convert-to-identity):
465 * subr.el (declare, ignore, process-kill-without-query)
466 (text-clone-maintain):
467 * terminal.el (te-get-char, te-tic-sentinel):
468 * tool-bar.el (tool-bar-make-keymap):
469 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
470 * type-break.el (type-break-mode, type-break-noninteractive-query):
471 * view.el (View-back-to-mark):
472 * wid-browse.el (widget-browse-action, widget-browse-widget)
473 (widget-browse-widgets, widget-browse-sexp):
474 * widget.el (define-widget-keywords):
475 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
476 Mark unused parameters.
478 * align.el (align-adjust-col-for-rule): Mark unused parameter.
479 (align-areas): Remove unused variable `look'.
480 (align-region): Remove unused variables `real-end' and `pos-list'.
482 * apropos.el (apropos-score-doc): Remove unused variable `i'.
484 * bindings.el (mode-line-modified, mode-line-remote):
485 Mark unused parameters.
486 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
488 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
489 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
491 * comint.el (comint-history-isearch-pop-state)
492 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
493 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
494 (comint-substitute-in-file-name): Doc fix.
496 * completion.el (cmpl-statistics-block): Mark unused parameter.
497 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
498 (save-completions-to-file, load-completions-from-file):
499 Remove unused local variable `e'.
501 * composite.el (compose-chars): Remove unused variable `len'.
502 (lgstring-insert-glyph): Remove unused variable `g'.
503 (compose-glyph-string): Remove unused variables `ascent',
504 `descent', `lbearing' and `rbearing'.
505 (compose-glyph-string-relative): Remove unused variables
506 `lbearing', `rbearing' and `wadjust'.
507 (compose-gstring-for-graphic): Remove unused variables `header',
508 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
509 (compose-gstring-for-terminal): Remove unused variables `header'
510 and `nchars'. Use `let', not `let*'.
512 * cus-edit.el (Custom-set, Custom-save, custom-reset)
513 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
514 (Custom-buffer-done, custom-buffer-create-internal)
515 (custom-browse-visibility-action, custom-browse-group-tag-action)
516 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
517 (widget-magic-mouse-down-action, custom-toggle-parent)
518 (custom-add-parent-links, custom-toggle-hide-variable)
519 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
520 (custom-toggle-hide-face, face, hook, custom-group-link-action)
521 (custom-face-menu-create, custom-variable-menu-create, get)
522 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
523 (custom-reset-standard-save-and-update): Remove unused variable `value'.
524 (customize-apropos): Remove unused variable `tests'.
525 (custom-group-value-create): Remove unused variable `hidden-p'.
526 (sort-fold-case): Declare.
528 * cus-theme.el (custom-reset-standard-faces-list)
529 (custom-reset-standard-variables-list): Declare.
530 (customize-create-theme, custom-theme-revert, custom-theme-write)
531 (custom-theme-choose-mode, customize-themes, custom-theme-save):
532 Mark unused parameters.
534 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
536 * delim-col.el (delimit-columns-max): Move defvar before first use.
538 * descr-text.el (describe-char-categories): Don't quote `lambda'.
539 (describe-char): Don't quote `lambda'. Mark unused parameter.
541 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
542 (auto-insert): Declare.
543 (desktop-restore-file-buffer): Rename desktop-* parameters;
545 (desktop-create-buffer): Rename desktop-* parameters and bind them.
546 (desktop-buffer): Rename desktop-* parameters.
548 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
549 (dframe-reposition-frame-xemacs, dframe-help-echo)
550 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
551 Mark unused parameters.
553 * dired-aux.el (backup-extract-version-start, overwrite-query)
554 (overwrite-backup-query, rename-regexp-query)
555 (rename-non-directory-query): Declare.
556 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
557 (dired-add-entry): Remove unused variable `orig-file-name'.
558 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
559 Use parameter PRESERVE-TIME instead of accessing dynamic variable
560 `dired-copy-preserve-time' directly.
561 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
562 (dired-insert-subdir-newpos): Rename unused variable `pos'.
564 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
565 (dired-virtual-revert, dired-make-relative-symlink):
566 Mark unused parameters.
567 (manual-program): Declare.
568 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
569 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
570 wrapped in `with-no-warnings' to avoid replacing one warning by another.
572 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
574 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
576 * echistory.el (electric-history-in-progress, Helper-return-blurb):
579 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
581 * electric.el (Electric-command-loop): Rename parameter
582 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
584 * expand.el (expand-in-literal): Remove unused variable `here'.
586 * facemenu.el (facemenu-add-new-color):
587 Remove unused variable `docstring'.
589 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
590 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
591 (face-attr-construct): Mark unused parameter. Doc fix.
592 (read-color): Remove unused variable `hex-string'.
594 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
595 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
596 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
597 (display-buffer-other-frame): Remove unused variable `old-window'.
598 (kill-buffer-hook): Declare.
599 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
600 Mark unused parameters.
601 (after-find-file): Pass 1 to `auto-save-mode', not t.
603 * files-x.el (auto-insert): Declare.
604 (modify-file-local-variable-prop-line): Remove unused variable `val'.
606 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
607 variable `buf'. Mark unused parameter.
608 (find-lisp-insert-directory): Mark unused parameter.
610 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
611 (format-encode-region): Remove unused variables `cur-buf' and `result'.
612 (format-common-tail): Remove, unused.
613 (format-deannotate-region): Remove unused variable `loc'.
614 (format-annotate-region): Remove unused variable `p'.
615 (format-annotate-single-property-change): Remove unused variables
616 `default' and `tail'.
618 * forms.el (read-file-filter): Declare.
619 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
621 * frame.el (frame-creation-function-alist): Mark unused parameter.
622 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
624 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
625 Remove unused parameters.
626 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
627 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
629 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
630 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
631 (hfy-prepare-tag-map): Mark unused parameters.
632 (htmlfontify-buffer): Use `called-interactively-p'.
634 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
635 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
636 (ibuffer-do-occur): Mark unused parameters.
637 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
638 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
640 * ibuffer.el: Don't quote `lambda'.
641 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
642 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
643 Mark unused parameters.
645 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
646 (ido-completing-read): Mark unused parameters.
647 (ido-copy-current-word): Mark unused parameters;
648 remove unused variable `name'.
649 (ido-sort-merged-list): Remove unused parameter `dirs'.
651 * ielm.el (ielm-input-sender): Mark unused parameter.
652 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
653 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
654 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
655 `ielm-string' as a dynamic variable accessible from the IELM prompt.
656 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
658 * image-dired.el (image-dired-display-thumbs): Remove unused
659 variables `curr-file' and `count'.
660 (image-dired-remove-tag): Remove unused variable `start'.
661 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
663 (image-dired-rotate-original): Remove unused variable `temp-file'.
664 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
665 Remove unused variable `file'.
666 (image-dired-gallery-generate): Remove unused variable `curr'.
667 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
669 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
671 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
673 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
675 * isearch.el (minibuffer-history-symbol): Declare.
676 (isearch-edit-string): Remove unused variable `err'.
677 (isearch-message-prefix, isearch-message-suffix):
678 Mark unused parameters.
680 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
682 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
684 * makesum.el (double-column): Remove unused variable `cnt'.
686 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
687 (ido-ignore-item-temp-list): Declare.
689 * mouse-drag.el (mouse-drag-throw): Remove unused variables
690 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
691 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
692 (mouse-drag-drag): Remove unused variables `mouse-delta' and
695 * mouse-sel.el (mouse-extend-internal):
696 Remove unused variable `orig-window-frame'.
698 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
699 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
700 Move declarations before first use.
701 (pcomplete-opt): Mark unused parameters; doc fix.
703 * proced.el (proced-revert): Mark unused parameter.
704 (proced-send-signal): Remove unused variable `err'.
706 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
707 Rename parameter PREFIX-ARG to ARG.
708 (ps-basic-plot-string, ps-basic-plot-whitespace):
709 Mark unused parameters.
711 * replace.el (replace-count): Define.
712 (occur-revert-function): Mark unused parameters.
713 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
714 (isearch-case-fold-search, isearch-string): Declare.
715 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
716 bind `case-fold-search'. Remove unused variables `beg' and `end',
718 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
719 COUNT and bind `replace-count'.
720 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
723 * savehist.el (print-readably, print-string-length): Declare.
725 * shadowfile.el (shadow-expand-cluster-in-file-name):
726 Remove unused variable `cluster'.
727 (shadow-copy-file): Remove unused variable `i'.
728 (shadow-noquery, shadow-clusters, shadow-site-cluster)
729 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
730 (shadow-define-literal-group, shadow-define-regexp-group)
731 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
733 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
734 (shell): Use `called-interactively-p'.
735 (shell-directory-tracker): Remove unused variable `chdir-failure'.
737 * simple.el (compilation-context-lines, comint-file-name-quote-list)
738 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
739 (delete-backward-char): Remove unused variable `ocol'.
740 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
741 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
742 (event-apply-hyper-modifier, event-apply-shift-modifier)
743 (event-apply-control-modifier, event-apply-meta-modifier):
744 Mark unused parameters.
745 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
746 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
748 * speedbar.el (speedbar-ignored-directory-expressions)
749 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
750 (speedbar-find-file, speedbar-dir-follow)
751 (speedbar-directory-buttons-follow, speedbar-tag-find)
752 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
753 (speedbar-buffers-line-directory, speedbar-buffer-click):
754 Mark unused parameters.
755 (speedbar-tag-file): Remove unused variable `mode'.
756 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
758 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
760 * talk.el (talk): Remove unused variable `display'.
762 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
763 (tar-write-region-annotate): Mark unused parameter.
765 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
766 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
767 Declare them, wrapped in `with-no-warnings' to avoid replacing one
770 * time-stamp.el (time-stamp-string-preprocess):
771 Remove unused variable `require-padding'.
773 * tree-widget.el (widget-glyph-enable): Declare.
774 (tree-widget-action): Mark unused parameter.
776 * w32-fns.el (x-get-selection): Mark unused parameter.
777 (autoload-make-program, generated-autoload-file): Declare.
779 * wdired.el (wdired-revert): Mark unused parameters.
780 (wdired-xcase-word): Remove unused variable `err'.
782 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
783 (whitespace-help-scroll): Remove unused variable `data-help'.
785 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
786 (widget-image-insert, widget-after-change, default)
787 (widget-default-format-handler, widget-default-notify)
788 (widget-default-prompt-value, widget-info-link-action)
789 (widget-url-link-action, widget-function-link-action)
790 (widget-variable-link-action, widget-file-link-action)
791 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
792 (widget-field-prompt-internal, widget-field-action, widget-field-match)
793 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
794 (widget-insert-button-action, widget-delete-button-action, visibility)
795 (widget-documentation-link-action, widget-documentation-string-action)
796 (widget-const-prompt-value, widget-regexp-match, symbol)
797 (widget-coding-system-prompt-value)
798 (widget-key-sequence-value-to-external, sexp)
799 (widget-sexp-value-to-internal, character, vector, cons)
800 (widget-choice-prompt-value, widget-boolean-prompt-value)
801 (widget-color--choose-action): Mark unused parameters.
802 (widget-item-match-inline, widget-choice-match-inline)
803 (widget-checklist-match, widget-checklist-match-inline)
804 (widget-group-match): Rename parameter VALUES to VALS.
805 (widget-field-value-set): Remove unused variable `size'.
806 (widget-color-action): Remove unused variables `value' and `start'.
808 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
809 variable `dir'. Doc fix.
810 (windmove-find-other-window): Don't pass it.
812 * window.el (count-windows): Mark unused parameter.
813 (bw-adjust-window): Remove unused variable `err'.
815 * woman.el (woman-file-name): Remove unused variable `default'.
816 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
817 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
818 (global-font-lock-mode): Declare.
819 (woman-decode-region): Mark unused parameter.
820 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
822 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
823 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
824 (x-dnd-handle-moz-url): Remove unused variable `title'.
825 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
827 * xml.el (xml-parse-tag, xml-parse-attlist):
828 Remove unused variable `pos'.
830 2011-04-19 Glenn Morris <rgm@gnu.org>
832 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
833 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
834 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
835 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
836 * calendar/cal-html.el (cal-html-insert-minical):
837 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
838 (calendar-mark-date-pattern):
839 Prefix "unused" locals.
841 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
842 optional argument `style'.
844 * calendar/appt.el (appt-make-list):
845 * calendar/cal-china.el (calendar-chinese-date-string):
846 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
847 (diary-hebrew-yahrzeit):
848 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
849 * calendar/calendar.el (calendar-generate-window):
850 * calendar/time-date.el (time-to-days):
851 Remove unused local variables.
853 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
855 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
856 glyphless-char-display table.
857 (tabulated-list-glyphless-char-display): New var.
859 2011-04-18 Sam Steingold <sds@gnu.org>
861 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
864 2011-04-17 Glenn Morris <rgm@gnu.org>
866 * calendar/diary-lib.el (diary-sexp-entry):
867 * calendar/holidays.el (holiday-sexp):
868 Set debug-on-error rather than the removed stack-trace-on-error.
870 2011-04-16 Glenn Morris <rgm@gnu.org>
872 * progmodes/f90.el: Use lexical-binding.
873 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
875 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
877 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
878 (mail-mode): Setup mailalias completion here instead.
879 * mail/mailalias.el: Use lexical-binding.
880 (pattern, mailalias-done): Declare dynamic.
881 (mail-completion-at-point-function): New function, from mail-complete.
882 (mail-complete): Use it.
883 (mail-completion-expand): New function.
884 (mail-get-names): Use it.
885 (mail-directory, mail-directory-process, mail-directory-stream):
886 Don't use `pattern' for lexically bound arg.
888 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
890 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
891 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
892 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
894 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
895 (byte-save-window-excursion, byte-temp-output-buffer-setup)
896 (byte-interactive-p): Define them again, for use when inlining
899 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
901 * loadup.el: Use `string-to-number', not `string-to-int'.
903 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
905 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
906 gud-gdb-complete-command.
907 (gud-gdb-completions): New function, from gud-gdb-complete-command.
908 (gud-gdb-completion-at-point): New function.
909 (gud-gdb-completions): Remove.
911 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
913 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
914 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
915 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
916 whether `executable-find' is bound.
918 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
920 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
922 * minibuffer.el (completion-in-region-mode-predicate)
923 (completion-in-region-mode--predicate): New vars.
924 (completion-in-region, completion-in-region--postch)
925 (completion-in-region-mode): Use them.
926 (completion--capf-wrapper): Also return the hook function.
927 (completion-at-point, completion-help-at-point):
928 Adjust and provide a predicate.
930 Preserve arg names for advice of subr and lexical functions (bug#8457).
931 * help-fns.el (help-function-arglist): Consolidate the subr and
932 new-byte-code cases. Add argument `preserve-names' to extract names
933 from the docstring when needed.
934 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
935 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
936 (ad-arglist): Use help-function-arglist's new arg.
937 (ad-definition-type): Use cond.
939 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
941 * autorevert.el (auto-revert-handler):
942 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
943 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
946 * image-mode.el (image-transform-set-scale):
947 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
949 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
951 * net/network-stream.el (network-stream-open-starttls): Only do
952 opportunistic STARTTLS upgrades if we have built-in gnutls support.
953 Upgrades via gnutls-cli are too slow to be done opportunistically.
955 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
957 * dframe.el (dframe-current-frame): Remove spurious quote.
959 2011-04-12 Glenn Morris <rgm@gnu.org>
961 * calendar/cal-tex.el (cal-tex-end-document):
962 Try to automatically use latin1 input if needed.
964 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
965 Don't try to cons a mark onto an empty element.
967 2011-04-11 Leo Liu <sdl.web@gmail.com>
969 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
971 (ido-kill-buffer-at-head): Support killing virtual buffers.
973 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
975 * minibuffer.el (completion-show-inline-help): New var.
976 (completion--do-completion, minibuffer-complete)
977 (minibuffer-force-complete, minibuffer-complete-word):
978 Inhibit minibuffer messages if completion-show-inline-help is nil.
980 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
981 to avoid interference from inline help (Bug#5849).
983 2011-04-10 Leo Liu <sdl.web@gmail.com>
985 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
988 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
990 * image-mode.el (image-toggle-display-image): Signal an error if
992 (image-transform-mode, image-transform-resize)
993 (image-transform-set-rotation): Doc fix.
994 (image-transform-set-resize): Delete.
995 (image-transform-set-scale, image-transform-fit-to-height)
996 (image-transform-fit-to-width): Handle image-toggle-display-image
997 and image-transform-resize directly.
999 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1001 * doc-view.el (doc-view-fit-width-to-window)
1002 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1003 New functions for fitting the shown image to the Emacs window size.
1004 (doc-view-mode-map): Add bindings for the new functions.
1006 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1008 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1009 Fix typo in docstring.
1011 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1013 * files.el (file-size-human-readable): Produce one digit after
1014 decimal, like "ls -lh" does.
1016 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1017 the file size representation.
1019 * simple.el (list-processes): If async subprocesses are not
1020 available, error out with a clear error message.
1022 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1024 * help.el (help-form-show): New function, to be called from C.
1025 Put help-form output in a buffer named differently than *Help*.
1027 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1029 * files.el (file-size-human-readable): New function.
1031 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1032 computing the representation inline. Don't require `cl'.
1034 2011-04-08 Glenn Morris <rgm@gnu.org>
1036 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1038 * net/browse-url.el (browse-url-firefox):
1039 Test system-type, not system-configuration.
1041 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1042 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1043 Use log-edit-empty-buffer-p. (Bug#7598)
1045 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1046 (rlogin-mode-map): Initialize in the defvar.
1047 (rlogin): Use ignore-errors.
1049 * replace.el (occur-mode-map): Some fixes for menu items.
1051 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1053 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1055 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1057 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1058 issuing unused warnings.
1060 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1063 * simple.el: Lisp reimplement of list-processes. Based on an
1064 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1065 (process-menu-mode): New major mode.
1066 (list-processes--refresh, list-processes):
1067 (process-menu-visit-buffer): New functions.
1069 * files.el (save-buffers-kill-emacs): Don't assume any return
1070 value of list-processes, which is undocumented anyway.
1072 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1074 * emacs-lisp/tabulated-list.el: New file.
1076 * emacs-lisp/package.el: Use Tabulated List mode.
1077 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1078 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1079 table format using Tabulated List mode variables.
1080 (package--push): New macro, replacing package-list-maybe-add.
1081 (package-menu--generate): Use package--push. Renamed from
1082 package--generate-package-list.
1083 (package-menu-refresh, list-packages): Use it.
1084 (package-menu--print-info): Rename from package-print-package.
1085 Return insertion data instead of inserting it directly.
1086 (package-menu-describe-package, package-menu-execute):
1087 Use tabulated-list-get-id.
1088 (package-menu-mark-delete, package-menu-mark-install)
1089 (package-menu-mark-unmark, package-menu-backup-unmark)
1090 (package-menu-mark-obsolete-for-deletion):
1091 Use tabulated-list-put-tag.
1092 (package--list-packages, package-menu-revert)
1093 (package-menu-get-package, package-menu-get-version)
1094 (package-menu-sort-by-column): Functions deleted.
1095 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1096 (package-menu--status-predicate, package-menu--version-predicate)
1097 (package-menu--name-predicate)
1098 (package-menu--description-predicate): Handle arguments in the
1099 Tabulated List format.
1100 (package-list-packages-no-fetch): Call list-packages.
1102 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1104 * files.el (after-find-file-from-revert-buffer): Remove variable.
1105 (after-find-file): Don't bind it.
1106 (revert-buffer-in-progress-p): New variable.
1107 (revert-buffer): Bind it.
1108 Pass nil for `after-find-file-from-revert-buffer'.
1110 * saveplace.el (save-place-find-file-hook): Use new variable
1111 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1113 2011-04-06 Glenn Morris <rgm@gnu.org>
1115 * Makefile.in (AUTOGEN_VCS): New variable.
1116 (autoloads): Use $AUTOGEN_VCS.
1118 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1119 * calendar/calendar.el (calendar-mode-map):
1120 Check for toolkit scroll bars. (Bug#8305)
1122 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1124 * minibuffer.el (completion-in-region--postch)
1125 (completion-in-region-mode): Remove unnecessary messages.
1127 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1129 * font-lock.el (font-lock-refresh-defaults):
1130 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1131 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1133 * info.el (Info-directory-list, Info-read-node-name-2)
1134 (Info-split-parameter-string): Doc fixes.
1135 (Info-virtual-nodes): Reflow docstring.
1136 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1137 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1138 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1139 Fix typos in docstrings.
1140 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1141 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1142 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1143 (Info-restore-desktop-buffer): Mark unused parameters.
1144 (Info-directory-find-file, Info-directory-find-node)
1145 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1146 (Info-virtual-index-find-node, Info-apropos-find-file)
1147 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1148 Mark unused parameters; fix typos in docstrings.
1149 (Info-virtual-index): Remove unused local variable `nodename'.
1151 2011-04-05 Deniz Dogan <deniz@dogan.se>
1153 * net/rcirc.el: Update my e-mail address.
1154 (rcirc-mode-map): Remove M-o binding.
1156 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1158 * startup.el (command-line): Save the cursor's theme-face
1159 directly, instead of using face-override-spec.
1161 * custom.el (load-theme): Minor optimization in assigning faces.
1163 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1165 * help-fns.el (describe-variable): Complete all variables having
1166 documentation, including keywords.
1167 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1169 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1171 Convert to lexical-binding.
1173 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1174 (bs--get-marked-string, bs--get-modified-string)
1175 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1176 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1177 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1179 * ehelp.el (electric-help-execute-extended)
1180 (electric-help-ctrl-x-prefix):
1181 * hexl.el (hexl-revert-buffer-function):
1182 * linum.el (linum-after-change, linum-after-scroll):
1183 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1185 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1187 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1194 * epg.el: Use lexical binding.
1196 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1198 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1200 * textmodes/flyspell.el (flyspell-word): Recognize default
1201 dictionary case for flyspell-mark-duplications-exceptions.
1202 Use regexp matching for languages.
1203 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1204 default dictionary (Bug#7926).
1206 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1208 * emacs-lisp/package.el (package--with-work-buffer):
1209 Recognize https URLs.
1211 * net/network-stream.el: Move from gnus/proto-stream.el.
1212 Change prefix to network-stream throughout.
1213 (open-protocol-stream): Merge into open-network-stream, leaving
1214 open-protocol-stream as an alias. Handle nil BUFFER args.
1216 * subr.el (open-network-stream): Move to net/network-stream.el.
1218 2011-04-02 Glenn Morris <rgm@gnu.org>
1220 * find-dired.el (find-exec-terminator): New option.
1221 (find-ls-option): Test for -ls support.
1222 (find-ls-subdir-switches): Test for -b in find-ls-option.
1223 (find-dired, find-grep-dired): Doc fixes.
1224 (find-dired): Use find-exec-terminator.
1226 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1227 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1228 (find-name-arg): Remove purecopy.
1230 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1231 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1232 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1233 accordingly. Don't add the null-device if not needed.
1235 * files.el (save-some-buffers): Doc fix.
1237 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1239 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1241 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1243 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1244 Use `dolist' rather than `mapcar'.
1246 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1248 Add lexical binding.
1250 * subr.el (apply-partially): Use new closures rather than CL.
1251 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1252 (dolist, dotimes): Use slightly different expansion for lexical code.
1253 (functionp): Move to C.
1254 (letrec): New macro.
1255 (with-wrapper-hook): Use it and apply-partially instead of CL.
1256 (eval-after-load): Preserve lexical-binding.
1257 (save-window-excursion, with-output-to-temp-buffer): Turn them
1260 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1262 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1264 (help-add-fundoc-usage): Don't add `Not documented'.
1265 (help-function-arglist): Handle closures, subroutines, and new
1266 byte-code-functions.
1267 (help-make-usage): Remove leading underscores.
1268 (describe-function-1): Handle closures.
1269 (describe-variable): Use special-variable-p for completion.
1271 * files.el (lexical-binding): Declare safe.
1273 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1274 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1275 (pcase): Add `let' pattern.
1276 Change memoization so it actually works.
1277 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1278 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1281 * emacs-lisp/macroexp.el: Use lexical binding.
1282 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1283 Don't convert ' to #' without checking that it's indeed quoting
1286 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1287 Use eval-sexp-add-defvars.
1288 (eval-sexp-add-defvars): New fun.
1290 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1292 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1294 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1295 than the internal `byte-compile-lambda'.
1296 (defmethod): Don't hide code under quotes.
1297 (eieio-defmethod): New `code' argument.
1299 * emacs-lisp/eieio-comp.el: Remove.
1301 * emacs-lisp/edebug.el (edebug-eval-defun)
1302 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1303 (edebug-toggle): Avoid `eval'.
1305 * emacs-lisp/disass.el (disassemble-internal): Handle new
1307 (disassemble-1): Handle new byte codes.
1309 * emacs-lisp/cl.el (pushnew): Silence warning.
1311 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1312 (cl-byte-compile-throw): Remove.
1313 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1315 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1318 * emacs-lisp/cconv.el: New file.
1320 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1321 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1322 (byte-compile-initial-macro-environment):
1323 Handle declare-function here.
1324 (byte-compile--lexical-environment): New var.
1325 (byte-stack-ref, byte-stack-set, byte-discardN)
1326 (byte-discardN-preserve-tos): New lap codes.
1327 (byte-interactive-p): Don't use any more.
1328 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1330 (byte-compile-lapcode): Use them and handle new lap codes.
1331 (byte-compile-obsolete): Remove.
1332 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1333 (byte-compile-arglist-warn): Check late def of inlinable funs.
1334 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1335 since they should have been expanded by now.
1336 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1337 (byte-compile-from-buffer): Remove unused second arg.
1338 (byte-compile-preprocess): New function.
1339 (byte-compile-toplevel-file-form): New function to distinguish
1340 file-form calls from outside from file-form calls from hunk-handlers.
1341 (byte-compile-file-form): Simplify.
1342 (byte-compile-file-form-defsubst): Remove.
1343 (byte-compile-file-form-defmumble): Simplify now that
1344 byte-compile-lambda always returns a byte-code-function.
1345 (byte-compile): Preprocess.
1346 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1347 Remove, not used any more.
1348 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1349 (byte-compile-make-args-desc): New funs.
1350 (byte-compile-lambda): Handle lexical functions. Always return
1351 a byte-code-function.
1352 (byte-compile-reserved-constants): New var, to make up room for
1353 closed-over variables.
1354 (byte-compile-constants-vector): Obey it.
1355 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1356 (byte-compile-macroexpand-declare-function): New function.
1357 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1358 byte-code-functions.
1359 (byte-compile-form): Check obsolescence here.
1360 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1361 (byte-compile-variable-ref): Remove.
1362 (byte-compile-dynamic-variable-op): New fun.
1363 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1364 (byte-compile-variable-set): New funs.
1365 (byte-compile-discard): Add 2 args.
1366 (byte-compile-stack-ref, byte-compile-stack-set)
1367 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1368 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1369 macroexpand-all instead.
1370 (byte-compile-quote-form): Remove.
1371 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1372 (byte-compile-bind, byte-compile-unbind): New funs.
1373 (byte-compile-let): Handle let* and lexical binding.
1374 (byte-compile-let*): Remove.
1375 (byte-compile-catch, byte-compile-unwind-protect)
1376 (byte-compile-track-mouse, byte-compile-condition-case):
1377 Handle a new :fun-body form, used for lexical scoping.
1378 (byte-compile-save-window-excursion)
1379 (byte-compile-with-output-to-temp-buffer): Remove.
1380 (byte-compile-defun): Simplify.
1381 (byte-compile-stack-adjustment): New fun.
1382 (byte-compile-out): Use it.
1383 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1385 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1388 * emacs-lisp/byte-opt.el: Use lexical binding.
1389 (byte-inline-lapcode): Remove (to bytecomp).
1390 (byte-compile-inline-expand): Pay attention to inlining to/from
1391 lexically bound code.
1392 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1394 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1395 any more and don't call compiler-macros.
1396 (byte-compile-splice-in-already-compiled-code): Remove.
1397 (byte-code): Don't inline any more.
1398 (disassemble-offset): Receive `bytes' as argument rather than via
1400 (byte-compile-tag-number): Declare before first use.
1401 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1402 `return' even if make-spliceable.
1403 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1404 obsolete interactive-p.
1405 (byte-optimize-lapcode): Optimize new lap-codes.
1406 Don't trip up on new form of `byte-constant' lap code.
1408 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1410 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1412 * custom.el (custom-initialize-default, custom-declare-variable):
1415 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1417 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1418 (COMPILE_FIRST): Add macroexp and cconv.
1419 * makefile.w32-in: Mirror changes in Makefile.in.
1425 * vc/smerge-mode.el:
1426 * textmodes/bibtex-style.el:
1435 * emacs-lisp/smie.el:
1438 * abbrev.el: Use lexical binding.
1440 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1442 * info.el (info-display-manual): New function.
1444 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1448 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1450 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1451 an entry for that server in rcirc-authinfo. (Bug#8385)
1453 2011-03-31 Glenn Morris <rgm@gnu.org>
1455 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1457 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1459 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1461 * progmodes/python.el (python-default-interpreter)
1462 (python-python-command-args, python-jython-command-args)
1463 (python-which-shell, python-which-args, python-which-bufname)
1464 (python-file-queue, python-comint-output-filter-function)
1465 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1466 variables and functions.
1468 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1471 (completion-in-region-mode): New minor mode.
1472 (completion-in-region): Use it.
1473 (completion-in-region--data, completion-in-region-mode-map): New vars.
1474 (completion-in-region--postch): New function.
1475 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1477 (completion--capf-wrapper): New function.
1478 (completion-at-point): Use it to track well-behavedness of
1480 (completion-help-at-point): New command.
1482 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1484 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1485 syntax class to search for whitespace on a single line
1486 (Message-ID: <4D938140.4030905@redhat.com>).
1488 2011-03-30 Leo Liu <sdl.web@gmail.com>
1490 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1492 (edit-abbrevs-map): Bind them here.
1493 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1495 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1497 * allout.el (allout-hide-by-annotation, allout-flag-region):
1498 Reduce possibility of overlay leakage by making them volatile.
1500 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1501 hash is not shared between buffers. Mode initialization is
1502 responsible for giving it a useful starting value.
1503 (allout-item-span): Reduce possibility of overlay leakage by
1504 making them volatile.
1505 (allout-widgets-count-buttons-in-region): Add diagnostic function
1506 for tracking down button overlay leaks.
1508 2011-03-29 Leo Liu <sdl.web@gmail.com>
1510 * ido.el (ido-read-internal): Use the default history var
1511 minibuffer-history if no HISTORY is specified.
1513 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1515 * net/imap.el (imap-shell-open, imap-process-connection-type):
1516 Use imap-process-connection-type for 'shell' streams as well as
1517 Kerberos, SSL, other subprocesses.
1519 2011-03-28 Leo Liu <sdl.web@gmail.com>
1521 * abbrev.el (abbrev-table-empty-p): New function.
1522 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1523 nonempty ones. (Bug#5937)
1525 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1527 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1529 2011-03-27 Leo Liu <sdl.web@gmail.com>
1531 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1532 for foreground and background colors.
1533 (ansi-color-make-color-map): Adapt.
1535 2011-03-25 Leo Liu <sdl.web@gmail.com>
1537 * midnight.el (midnight-time-float): Remove. Note it calculates
1538 the microsecond component incorrectly and seconds-to-time does the
1540 Remove redundant (require 'timer).
1542 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1543 (ido-completions): Remove unused arguments. (Bug#8329)
1545 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * minibuffer.el (completion--flush-all-sorted-completions):
1548 Remove itself from hook.
1549 (completion-at-point): Let the functions perform the completion
1550 immediately and return nil or t.
1551 * comint.el (comint-dynamic-complete-functions): Now identical to
1552 completion-at-point-functions.
1553 (comint-dynamic-list-input-ring): Remove unused var `index'.
1554 (comint--match-partial-filename, comint--unquote&expand-filename):
1555 New funs, split from comint-match-partial-filename.
1556 (comint-dynamic-complete): Use completion-at-point.
1557 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1559 2011-03-24 Drew Adams <drew.adams@oracle.com>
1561 * thingatpt.el: Support `defun'.
1563 2011-03-23 Leo Liu <sdl.web@gmail.com>
1565 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1567 * help-mode.el (help-mode-finish): Tweak regexp.
1569 2011-03-23 Glenn Morris <rgm@gnu.org>
1571 * eshell/esh-opt.el (eshell-eval-using-options):
1572 Do not bind unused local variable `eshell-option-stub'.
1574 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1576 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1578 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1579 keymap variable in `with-no-warnings' to avoid a warning when the
1580 keymap has been already `defconst'ed.
1582 2011-03-22 Leo Liu <sdl.web@gmail.com>
1584 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1585 encode all chars in abbrevs; otherwise use emacs-mule or
1586 utf-8-emacs. (Bug#8308)
1588 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1590 * simple.el (backward-delete-char-untabify):
1591 Avoid warning about using `delete-backward-char'.
1593 * image.el (image-type-file-name-regexps): Make it variable.
1594 `imagemagick-register-types' modifies it, and the user may want
1595 to add new extensions for known image types.
1596 (imagemagick-register-types): Throw error if not using ImageMagick.
1598 2011-03-22 Leo Liu <sdl.web@gmail.com>
1600 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1601 located before rcirc-prompt-end-marker.
1602 (rcirc-complete): Error if point is not after rcirc prompt.
1603 Handle the case when table is nil.
1604 (rcirc-user-authenticated): Define to fix compiler warning.
1606 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1608 * custom.el (custom--inhibit-theme-enable): Make it affect only
1609 custom-theme-set-variables and custom-theme-set-faces.
1610 (provide-theme): Ignore custom--inhibit-theme-enable.
1611 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1612 (custom-enabling-themes): Delete variable.
1613 (enable-theme): Accept only loaded themes as arguments.
1614 Ignore the special custom-enabled-themes variable.
1615 (custom-enabled-themes): Forbid themes from setting this.
1616 Eliminate use of custom-enabling-themes.
1617 (custom-push-theme): Quote "changed" custom var entry.
1619 2011-03-21 Leo Liu <sdl.web@gmail.com>
1621 * ido.el (ido-read-internal): Add ido-selected to history instead
1624 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * subr.el (deferred-action-list, deferred-action-function):
1629 2011-03-21 Leo Liu <sdl.web@gmail.com>
1631 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1632 change on 2011-02-13 (bug#8309).
1634 * minibuffer.el (read-file-name-function): Change default value.
1635 (read-file-name--defaults): Rename from read-file-name-defaults.
1636 (read-file-name-default): Rename from read-file-name.
1637 (read-file-name): Call read-file-name-function.
1639 2011-03-21 Glenn Morris <rgm@gnu.org>
1641 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1644 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1646 * cus-theme.el: Add missing provide statement.
1647 (customize-create-theme): Extract theme value correctly.
1648 (custom-theme-visit-theme): Autoload.
1649 (customize-create-theme): Prompt before inserting default faces.
1651 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1653 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1654 units and musical notes.
1656 2011-03-20 Leo <sdl.web@gmail.com>
1658 * ido.el (ido-read-internal): Use completing-read-default.
1659 (ido-completing-read): Fix compatibility with completing-read.
1661 2011-03-20 Christian Ohler <ohler@gnu.org>
1663 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1664 (ert-delete-all-tests): Use `called-interactively-p' rather than
1666 (ert--make-xrefs-region): Respect END.
1668 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1670 * dired-aux.el (dired-create-directory): Signal an error if the
1671 directory already exists (Bug#8246).
1673 * facemenu.el (list-colors-display): Call list-faces-display
1674 inside with-help-window.
1675 (list-colors-print): Use display property to align the final
1676 column, instead of checking window-width.
1678 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1680 * emerge.el (emerge-metachars): Separate value for ms-dos and
1682 (emerge-protect-metachars): Quote correctly for ms-dos and
1685 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1687 * info.el (info-initialize): Replace all uses of `:' with
1688 path-separator for compatibility with non-Unix systems.
1689 Cache quoting of path-separator. (Bug#8258)
1691 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1693 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1694 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1695 (mouse-avoidance-mode): Fix typos in docstrings.
1697 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1699 * startup.el (package-subdirectory-regexp): Move from package.el.
1700 Omit \\` and \\', and let callers add them.
1702 * emacs-lisp/package.el (package-strip-version)
1703 (package-load-all-descriptors): Add \\` and \\' to
1704 package-subdirectory-regexp before using it.
1705 (package-untar-buffer): New arg DIR; ensure that file untars only
1706 into this expected directory. Remove superfluous delete-region.
1707 (package-unpack): Caller changed.
1708 (package-tar-file-info): Use package-subdirectory-regexp.
1710 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1712 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1713 diff-mode-shared-map (bug#8284).
1714 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1716 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718 * calendar/time-date.el (format-seconds): Use assoc instead of
1719 assoc-string, since assoc-string doesn't exist in XEmacs.
1721 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1723 * custom.el (custom-known-themes): Reflow docstring.
1724 (custom-theme-load-path): Fix typo in docstring.
1725 (load-theme): Fix typo in error message.
1726 (custom-available-themes, custom-variable-theme-value):
1727 Use `let', not `let*'.
1729 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1731 * calc/README: Mention inclusion of musical notes.
1733 * calc/calc-units.el (calc-lu-quant): Rename from
1734 `calc-logunits-quantity'.
1735 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1736 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1737 (calc-db): Rename from `calc-dblevel'.
1738 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1739 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1740 (calc-np): Rename from `calc-nplevel'.
1741 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1742 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1743 (calc-lu-plus): Rename from `calc-logunits-add'.
1744 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1745 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1746 (calc-lu-minus): Rename from `calc-logunits-sub'.
1747 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1748 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1749 (calc-lu-times): Rename from `calc-logunits-mul'.
1750 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1751 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1752 (calc-lu-divide): Rename from `calc-logunits-div'.
1753 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1754 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1756 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1757 functions being autoloaded.
1759 * calc/calc.el (calc-lu-power-reference): Rename from
1760 `calc-logunits-power-reference'.
1761 (calc-lu-field-reference): Rename from
1762 `calc-logunits-field-reference'.
1764 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1766 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1768 * minibuffer.el (completion-all-sorted-completions):
1769 Use :completion-cycle-penalty text property if present.
1771 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1773 * allout.el (allout-yank-processing): Adjust for new rebulleting
1774 regime so bullet being yanked is used without prompting the user
1777 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1779 * startup.el (command-line): Warn the user that _emacs is deprecated.
1781 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1783 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1784 (delphi-verbose, delphi-comment-face, delphi-string-face)
1785 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1786 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1787 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1788 (delphi-new-comment-line, delphi-font-lock-defaults)
1789 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1790 Fix typos in docstrings.
1792 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1794 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1795 Invert the roles of character and string values for INSTEAD, so a
1796 string is used for the more common case of a defaulting prompt.
1798 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1800 * progmodes/ruby-mode.el (ruby-backward-sexp):
1801 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1802 * play/gamegrid.el (gamegrid-make-face):
1803 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1804 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1805 * notifications.el (notifications-notify):
1806 * net/xesam.el (xesam-search-engines):
1807 * net/quickurl.el (quickurl-list-insert):
1808 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1810 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
1812 * startup.el (command-line): Update package subdirectory regexp.
1814 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * allout.el (allout-abbreviate-flattened-numbering)
1817 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1819 * subr.el (read-char-choice): Only show the cursor after the prompt,
1820 not after the answer.
1822 2011-03-15 Kevin Ryde <user42@zip.com.au>
1824 * help-fns.el (variable-at-point): Skip leading quotes, if any
1827 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1829 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1832 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
1834 * shell.el (shell): When called interactively, offer to change the
1835 shell file name on remote hosts.
1837 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1839 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1840 integration for LDAP parameters. The host, base, user or binddn,
1841 and secret tokens can be specified in a netrc file, for instance.
1842 This is optional because an `auth-source' parameter must be
1843 specified in the search attributes.
1845 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
1847 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1849 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1852 into declaration. Remove redundant and harmful binding.
1854 2011-03-12 Eli Zaretskii <eliz@gnu.org>
1856 * files.el (file-ownership-preserved-p): Pass `integer' as an
1857 explicit 2nd argument to `file-attributes'. If the file's owner
1858 is the Administrators group on Windows, and the current user is
1859 Administrator, consider that a match.
1861 * server.el (server-ensure-safe-dir): Consider server directory
1862 safe on MS-Windows if its owner is the Administrators group while
1863 the current Emacs user is Administrator. Use `=' to compare
1864 numerical UIDs, since they could be integers or floats.
1866 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
1868 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1870 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
1872 Sync with Tramp 2.2.1.
1874 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1876 * net/trampver.el: Update release number.
1878 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * progmodes/compile.el (compilation--previous-directory): Fix up
1881 various nil/dead-marker mismatches (bug#8014).
1882 (compilation-directory-properties, compilation-error-properties):
1883 Don't call it at a position past the one we're about to change.
1885 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1886 Disable obsolescence warnings in the file that declares it.
1888 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1890 * allout-widgets.el (allout-widgets-tally):
1891 Initialize allout-widgets-tally as a hash table rather than nil to
1892 prevent mode-line redisplay warnings. Also, clarify the module
1893 description and fix a comment typo.
1895 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
1897 * help-fns.el (describe-variable): Don't complete keywords.
1898 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1900 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
1902 * emacs-lisp/package.el (package-version-join): Impose a standard
1903 string representation for pre/alpha/beta version lists.
1904 (package-unpack-single): Standardize the directory name by passing
1905 it through package-version-join.
1906 (package-strip-rcs-id): Accept any version string that does not
1907 signal an error in version-to-list.
1909 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
1911 * simple.el (delete-trailing-whitespace): Return nil for the
1912 benefit of `write-file-functions'.
1914 2011-03-10 Glenn Morris <rgm@gnu.org>
1916 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1918 * vc/vc-git.el (vc-git-program): New option.
1919 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1920 (vc-git--call): Use it.
1922 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1924 * cus-edit.el (Custom-newline): If no button at point, look
1925 for a subgroup button at start-of-line. (Bug#2298)
1927 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1929 2011-03-10 Julien Danjou <julien@danjou.info>
1931 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1932 `cursor-type' is nil.
1934 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1936 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1938 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1940 * allout.el Summary: Change so yank of distinctive-bullet items
1941 preserves the existing header prefix, rebulleting it if necessary,
1942 rather than replacing it. This is necessary for proper operation
1943 of cooperative addons like allout-widgets.
1944 (allout-make-topic-prefix, allout-rebullet-heading): Change
1945 SOLICIT arg to INSTEAD, and interpret additionally a string value
1946 as alternate bullet to be used, instead of prompting the user for
1949 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
1951 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1952 Do not use `tramp-file-name-port', because this returns also
1953 `tramp-default-port'.
1955 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1957 * net/rcirc.el (rcirc-handler-001): Remove useless
1958 with-rcirc-process-buffer.
1959 (rcirc-check-auth-status): Swap arguments to string-match.
1961 2011-03-09 Glenn Morris <rgm@gnu.org>
1963 * shell.el (shell-mode):
1964 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1966 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1967 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1969 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1971 * emacs-lisp/package.el (package-refresh-contents)
1972 (package-menu-execute): Use condition-case-no-debug.
1974 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
1976 * simple.el (shell-command-to-string): Use `process-file'.
1978 * emacs-lisp/package.el (package-tar-file-info): Handle also
1981 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1982 Use `equal' for upload base check.
1984 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1986 * textmodes/texinfo.el (texinfo-environments):
1987 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1989 2011-03-08 Glenn Morris <rgm@gnu.org>
1991 * cus-start.el (cursor-in-non-selected-windows):
1992 Fix :set quoting oddness. (Bug#8192)
1994 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1995 in some setf expressions. (Bug#2159)
1997 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1999 * custom.el (custom-available-themes): Return themes in
2002 See ChangeLog.15 for earlier changes.
2008 Copyright (C) 2011 Free Software Foundation, Inc.
2010 This file is part of GNU Emacs.
2012 GNU Emacs is free software: you can redistribute it and/or modify
2013 it under the terms of the GNU General Public License as published by
2014 the Free Software Foundation, either version 3 of the License, or
2015 (at your option) any later version.
2017 GNU Emacs is distributed in the hope that it will be useful,
2018 but WITHOUT ANY WARRANTY; without even the implied warranty of
2019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2020 GNU General Public License for more details.
2022 You should have received a copy of the GNU General Public License
2023 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.