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