1 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
3 * subr.el (display-delayed-warnings): New function.
4 (delayed-warnings-hook): New variable.
6 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8 * pcomplete.el (pcomplete-completions-at-point):
9 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10 pcomplete-seen is non-nil.
11 (pcomplete-comint-setup): Also recognize the new comint/shell
13 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14 pcomplete-seen is non-nil.
16 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18 * calendar/icalendar.el (diary-lib): Add require statement.
19 (icalendar--create-uid): Read out a uid from a text-property on
20 the first character in the entry. This allows for code to add its
22 (icalendar--convert-float-to-ical): Add export of
23 `diary-float'-entries save for those with the optional DAY
26 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
28 * subr.el (shell-quote-argument): Use alternate escaping strategy
29 when we spot a variable reference in a string.
31 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
33 * cus-start.el (all): Define customization for debug-on-event.
35 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
37 * subr.el (shell-quote-argument): Escape correctly under Windows.
39 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
41 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
43 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
45 * net/tramp.el (tramp-process-actions): Add POS argument.
46 Delete region between POS and (pos).
48 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
49 Use `nil' position in `tramp-process-actions' call.
50 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
52 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
53 position in `tramp-process-actions' call.
55 * net/trampver.el: Update release number.
57 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
59 * custom.el (defcustom): Obey lexical-binding.
61 Fix octave-inf completion problems reported by Alexander Klimov.
62 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
63 Inherit from octave-mode-syntax-table.
64 (inferior-octave-mode): Set info-lookup-mode.
65 (inferior-octave-completion-at-point): New function.
66 (inferior-octave-complete): Use it and completion-in-region.
67 (inferior-octave-dynamic-complete-functions): Use it as well, and use
68 comint-filename-completion.
69 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
70 symbol elements which shouldn't be word elements.
71 (octave-font-lock-keywords, octave-beginning-of-defun)
72 (octave-function-header-regexp): Adjust regexps accordingly.
73 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
75 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
77 * net/gnutls.el (gnutls-errorp): Declare before first use.
79 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
81 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
82 verify-error, and verify-hostname-error parameters. Check whether
83 default trustfile exists before going to use it. Add missing
84 argument to gnutls-message-maybe call. Return return value.
85 Reported by Claudio Bley <claudio.bley@gmail.com>.
86 (open-gnutls-stream): Add usage example.
88 * net/network-stream.el (network-stream-open-starttls): Give host
89 parameter to `gnutls-negotiate'.
90 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
91 * subr.el (shell-quote-argument): Escape correctly under Windows.
93 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
95 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
96 Use correct match group (bug#8438).
98 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
100 * emacs-lisp/package.el (package-built-in-p): Fix typo.
101 (package-menu--generate): New arg specifying packages to show.
102 (package-menu-refresh, package-menu-execute, list-packages):
104 (package-show-package-list): New function, replacing deleted
105 package--list-packages (renamed because it is non-internal).
107 * finder.el (finder-list-matches): Use package-show-package-list
108 instead of deleted package--list-packages.
110 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
111 Based on a previous implementation by Juanma Barranquero (Bug#8366).
112 (vc-annotate-mode-map): Bind it to RET.
114 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
116 * progmodes/etags.el (next-file): Don't use set-buffer to change
119 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
121 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
123 * apropos.el (apropos-label-face): Avoid variable-pitch face.
124 (apropos-accumulator): Doc fix.
125 (apropos-function, apropos-macro, apropos-command)
126 (apropos-variable, apropos-face, apropos-group, apropos-widget)
127 (apropos-plist): Add face property.
128 (apropos-symbols-internal): Fix indentation.
129 (apropos-print): Simplify help, and recognize apropos-multi-type.
130 (apropos-print-doc): Use button-type-get to extract the button's
131 face property. Fill docstring (Bug#8352).
133 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
135 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
137 * play/mpuz.el (mpuz-silent): Doc fix.
138 (mpuz-mode-map): Use mapc.
139 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
140 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
141 Fix typos in docstrings.
143 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
144 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
146 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
148 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
150 * minibuffer.el (completion--do-completion): Avoid the "Next char
151 not unique" prompt if icomplete-mode is enabled (Bug#5849).
153 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
154 mouse-2 into unread-command-events, it is interpreted correctly.
156 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
157 (image-toggle-display): Doc fix.
159 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
161 * textmodes/page.el (what-page): Use line-number-at-pos to
162 calculate line number (Bug#6825).
164 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
166 * eshell/esh-mode.el (find-tag-interactive): Declare function.
167 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
168 Pass argument NO-DEFAULT to `find-tag-interactive'.
170 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
172 Lexical-binding cleanup.
174 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
175 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
176 * progmodes/ada-prj.el (ada-prj-initialize-values)
177 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
178 (ada-prj-show-value):
179 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
180 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
181 (antlr-invalidate-context-cache, antlr-options-menu-filter)
182 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
183 * progmodes/bug-reference.el (bug-reference-push-button):
184 * progmodes/fortran.el (fortran-line-length):
185 * progmodes/glasses.el (glasses-change):
186 * progmodes/octave-mod.el (octave-fill-paragraph):
187 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
188 (python-pdbtrack-grub-for-buffer, python-sentinel):
189 * progmodes/sql.el (sql-save-connection):
190 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
191 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
192 Mark unused parameters.
194 * progmodes/compile.el (compilation--flush-directory-cache)
195 (compilation--flush-parse, compile-internal): Mark unused parameters.
196 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
197 (compilation-next-error-function): Remove unused variable `timestamp'.
199 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
200 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
202 * progmodes/dcl-mode.el (dcl-end-of-command):
203 Remove unused variable `start'.
204 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
205 (dcl-option-value-basic, dcl-option-value-offset)
206 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
207 Mark unused parameters.
208 (dcl-save-local-variable): Remove unused variable `val'.
211 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
212 Mark unused parameters.
213 (delphi-ignore-changes): Move before first use.
214 (delphi-charset-token-at): Remove unused variable `start'.
215 (delphi-else-start): Remove unused variable `if-count'.
216 (delphi-comment-block-start, delphi-comment-block-end):
217 Remove unused variable `kind'.
218 (delphi-indent-line): Remove unused variable `new-point'.
220 * progmodes/ebrowse.el (ebrowse-files-list)
221 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
222 Mark unused parameters. Don't quote `lambda'.
223 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
224 Don't quote `lambda'.
225 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
226 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
227 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
228 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
230 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
231 (ebrowse-view/find-file-and-search-pattern)
232 (ebrowse-view/find-member-declaration/definition):
233 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
234 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
235 Rename parameter PREFIX-ARG to PREFIX.
236 (ebrowse-tags-read-name): Remove unused variables `start' and
238 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
241 * progmodes/etags.el (local-find-tag-hook): Declare.
242 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
243 Mark unused parameters.
245 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
246 (executable-interpret): Mark unused parameter.
248 * progmodes/flymake.el (flymake-process-sentinel)
249 (flymake-after-change-function)
250 (flymake-create-temp-with-folder-structure)
251 (flymake-get-include-dirs-dot): Mark unused parameters.
252 (flymake-safe-delete-directory): Remove unused variable `err'.
254 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
255 (speedbar-timer-fn, speedbar-line-text)
256 (speedbar-change-expand-button-char, speedbar-delete-subblock)
257 (speedbar-center-buffer-smartly): Declare functions.
258 (gdb-find-watch-expression): Remove unused variable `array'.
259 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
260 (gdb-starting): Mark unused parameters.
261 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
262 (gdb-table-string): Remove unused variable `res'.
263 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
264 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
265 (gdb-display-buffer): Remove unused variable `cur-size'.
267 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
268 allow lexical-binding compilation.
269 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
270 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
271 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
272 Mark unused parameters.
273 (gud-gdb-marker-filter): Remove unused variable `match'.
274 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
275 lambda expressions and funcall them, instead of using `fset'.
277 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
278 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
280 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
281 variable `header-beg'; use `let'.
283 * progmodes/icon.el (indent-icon-exp): Remove unused variables
284 `restart', `last-sexp' and `at-do'.
286 * progmodes/js.el (js--debug): Mark unused parameter.
287 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
288 (js--splice-into-items): Remove unused variable `item'.
289 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
291 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
292 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
293 (makefile-complete): Remove unused variable `try'.
294 (makefile-fill-paragraph, makefile-match-function-end):
295 Mark unused parameters.
297 * progmodes/octave-inf.el (inferior-octave-complete):
298 Remove unused variable `proc'.
299 (inferior-octave-output-digest): Mark unused parameter.
301 * progmodes/perl-mode.el (perl-calculate-indent):
302 Remove unused variable `err'.
304 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
305 (prolog-indent-line): Mark unused parameters.
306 (prolog-indent-line): Remove unused variable `beg'.
308 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
309 (reporter-dont-compact-list): Declare.
311 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
312 Remove unused variable `char'.
313 (sh-debug): Mark unused parameter.
314 (sh-get-indent-info): Remove unused variable `start'.
315 (sh-calculate-indent): Remove unused variable `var'.
317 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
318 (simula-electric-keyword): Remove unused variable `null'.
319 (simula-search-backward, simula-search-forward): Remove unused
320 variables `begin' and `end'.
322 * progmodes/vera-mode.el (vera-guess-basic-syntax):
323 Remove unused variable `pos'.
324 (vera-electric-tab, vera-comment-uncomment-region):
325 Mark unused parameters.
326 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
328 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
330 * emacs-lisp/package.el (package--builtins, package-alist)
331 (package-load-descriptor, package-built-in-p, package-activate)
332 (define-package, package-installed-p)
333 (package-compute-transaction, package-buffer-info)
334 (package--push): Doc fix. Distinguish more clearly between
335 version strings and version lists.
337 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
339 Lexical-binding cleanup.
341 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
342 (5x5-make-mutate-best):
343 * play/fortune.el (fortune-in-buffer):
344 * play/gomoku.el (gomoku-init-display):
345 * play/solitaire.el (solitaire, solitaire-do-check):
346 * play/tetris.el (tetris-default-update-speed-function):
347 Mark unused parameters.
349 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
350 (bubbles--shift): Remove unused variable `char-org'.
351 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
352 (bubbles--show-images): Remove unused variable `char'.
354 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
355 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
356 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
357 (decipher-analyze-buffer): Use ?\s.
358 (decipher-make-checkpoint): Remove unused variable `mapping'.
360 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
362 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
363 Remove unused variable `result'; use `let'.
365 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
366 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
367 (gametree-children-shown-p, gametree-compute-reduced-score):
370 * play/handwrite.el (ps-lpr-switches): Declare.
371 (handwrite): Remove unused variables `pmin' and `lastp'.
373 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
375 * play/landmark.el (landmark-init-display)
376 (landmark-update-naught-weights): Mark unused parameters.
377 (landmark-y): Remove unused variable `noise'. Simplify.
378 (landmark-human-plays): Remove unused variable `score'.
380 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
381 (mpuz-try-proposal): Remove unused variable `game'.
383 * play/zone.el (life-patterns): Declare.
385 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
387 * vc/vc.el (ediff-vc-internal): Declare function.
389 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
391 * shell.el: Use lexical-binding and std completion UI.
392 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
393 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
394 comint-preoutput-filter-functions rather than on
395 comint-output-filter-functions.
396 (shell-command-completion, shell--command-completion-data)
397 (shell-filename-completion, shell-environment-variable-completion)
398 (shell-c-a-p-replace-by-expanded-directory): New functions.
399 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
400 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
401 (shell-dynamic-complete-environment-variable): Use them.
402 (shell-dynamic-complete-as-environment-variable)
403 (shell-dynamic-complete-as-command): Remove.
404 (shell-match-partial-variable): Match past point.
405 * comint.el: Clean up use of completion-at-point-functions.
406 (comint-completion-at-point): New function.
407 (comint-mode): Use it completion-at-point-functions.
408 (comint-dynamic-complete): Make it obsolete.
409 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
410 (comint-c-a-p-replace-by-expanded-history): New function.
411 (comint-dynamic-complete-functions)
412 (comint-replace-by-expanded-history): Use it.
413 * minibuffer.el (completion-table-with-terminator): Allow dynamic
414 termination strings. Try harder to avoid second try-completion.
415 (completion-in-region-mode-map): Disable bindings that don't work yet.
417 * comint.el: Use lexical-binding. Require CL.
418 (comint-dynamic-complete-functions): Use comint-filename-completion.
419 (comint-completion-addsuffix): Tweak custom type.
420 (comint-filename-completion, comint--common-suffix)
421 (comint--common-quoted-suffix, comint--table-subvert)
422 (comint--complete-file-name-data): New functions.
423 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
424 (comint-dynamic-list-filename-completions): Use them.
425 (comint-dynamic-simple-complete): Make obsolete.
427 * minibuffer.el (completion-in-region-mode):
428 Keep completion-in-region-mode--predicate global.
429 (completion-in-region--postch):
430 Assume completion-in-region-mode--predicate is not null.
432 * progmodes/flymake.el (flymake-start-syntax-check-process):
433 Obey `dir'. Simplify.
435 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
436 we're in VC after all.
438 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
440 * vc/vc.el (vc-diff-build-argument-list-internal)
441 (vc-version-ediff, vc-ediff): New commands.
442 (vc-version-diff): Use vc-diff-build-argument-list-internal.
444 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
446 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
449 * obsolete/erc-hecomplete.el: Make obsolete.
450 * obsolete/: Standardize obsolescence info in the header.
452 2011-04-20 Glenn Morris <rgm@gnu.org>
454 * calendar/solar.el (solar-horizontal-coordinates):
455 Use the longitude argument rather than `calendar-longitude'.
456 (solar-date-next-longitude): Remove unused locals.
458 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
460 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
461 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
462 multi-line comments as well.
464 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
466 Lexical-binding cleanup.
468 * arc-mode.el (archive-mode-revert):
469 * cmuscheme.el (scheme-interactively-start-process):
470 * custom.el (custom-initialize-delay):
471 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
472 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
473 * emacs-lock.el (emacs-lock-clear-sentinel):
474 * ezimage.el (defezimage):
475 * follow.el (follow-avoid-tail-recenter):
476 * fringe.el (set-fringe-mode-1):
477 * generic-x.el (bat-generic-mode-compile):
478 * help-mode.el (help-info-variable, help-do-xref)
479 (help-mode-revert-buffer):
480 * help.el (view-emacs-todo):
481 * iswitchb.el (iswitchb-completion-help):
482 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
483 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
484 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
485 * locate.el (locate-update):
486 * longlines.el (longlines-encode-region)
487 (longlines-after-change-function):
488 * outline.el (outline-isearch-open-invisible):
489 * ps-def.el (declare-function, charset-dimension, char-width)
491 * ps-mule.el (ps-mule-plot-string):
492 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
493 (recentf-edit-list-select, recentf-edit-list-validate)
494 (recentf-open-files-action):
495 * rect.el (delete-whitespace-rectangle-line)
496 (rectangle-number-line-callback):
497 * register.el (window-configuration-to-register)
498 (frame-configuration-to-register):
499 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
500 * select.el (xselect-convert-to-string, xselect-convert-to-length)
501 (xselect-convert-to-targets, xselect-convert-to-delete)
502 (xselect-convert-to-filename, xselect-convert-to-charpos)
503 (xselect-convert-to-lineno, xselect-convert-to-colno)
504 (xselect-convert-to-os, xselect-convert-to-host)
505 (xselect-convert-to-user, xselect-convert-to-class)
506 (xselect-convert-to-name, xselect-convert-to-integer)
507 (xselect-convert-to-atom, xselect-convert-to-identity):
508 * subr.el (declare, ignore, process-kill-without-query)
509 (text-clone-maintain):
510 * terminal.el (te-get-char, te-tic-sentinel):
511 * tool-bar.el (tool-bar-make-keymap):
512 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
513 * type-break.el (type-break-mode, type-break-noninteractive-query):
514 * view.el (View-back-to-mark):
515 * wid-browse.el (widget-browse-action, widget-browse-widget)
516 (widget-browse-widgets, widget-browse-sexp):
517 * widget.el (define-widget-keywords):
518 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
519 Mark unused parameters.
521 * align.el (align-adjust-col-for-rule): Mark unused parameter.
522 (align-areas): Remove unused variable `look'.
523 (align-region): Remove unused variables `real-end' and `pos-list'.
525 * apropos.el (apropos-score-doc): Remove unused variable `i'.
527 * bindings.el (mode-line-modified, mode-line-remote):
528 Mark unused parameters.
529 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
531 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
532 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
534 * comint.el (comint-history-isearch-pop-state)
535 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
536 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
537 (comint-substitute-in-file-name): Doc fix.
539 * completion.el (cmpl-statistics-block): Mark unused parameter.
540 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
541 (save-completions-to-file, load-completions-from-file):
542 Remove unused local variable `e'.
544 * composite.el (compose-chars): Remove unused variable `len'.
545 (lgstring-insert-glyph): Remove unused variable `g'.
546 (compose-glyph-string): Remove unused variables `ascent',
547 `descent', `lbearing' and `rbearing'.
548 (compose-glyph-string-relative): Remove unused variables
549 `lbearing', `rbearing' and `wadjust'.
550 (compose-gstring-for-graphic): Remove unused variables `header',
551 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
552 (compose-gstring-for-terminal): Remove unused variables `header'
553 and `nchars'. Use `let', not `let*'.
555 * cus-edit.el (Custom-set, Custom-save, custom-reset)
556 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
557 (Custom-buffer-done, custom-buffer-create-internal)
558 (custom-browse-visibility-action, custom-browse-group-tag-action)
559 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
560 (widget-magic-mouse-down-action, custom-toggle-parent)
561 (custom-add-parent-links, custom-toggle-hide-variable)
562 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
563 (custom-toggle-hide-face, face, hook, custom-group-link-action)
564 (custom-face-menu-create, custom-variable-menu-create, get)
565 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
566 (custom-reset-standard-save-and-update): Remove unused variable `value'.
567 (customize-apropos): Remove unused variable `tests'.
568 (custom-group-value-create): Remove unused variable `hidden-p'.
569 (sort-fold-case): Declare.
571 * cus-theme.el (custom-reset-standard-faces-list)
572 (custom-reset-standard-variables-list): Declare.
573 (customize-create-theme, custom-theme-revert, custom-theme-write)
574 (custom-theme-choose-mode, customize-themes, custom-theme-save):
575 Mark unused parameters.
577 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
579 * delim-col.el (delimit-columns-max): Move defvar before first use.
581 * descr-text.el (describe-char-categories): Don't quote `lambda'.
582 (describe-char): Don't quote `lambda'. Mark unused parameter.
584 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
585 (auto-insert): Declare.
586 (desktop-restore-file-buffer): Rename desktop-* parameters;
588 (desktop-create-buffer): Rename desktop-* parameters and bind them.
589 (desktop-buffer): Rename desktop-* parameters.
591 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
592 (dframe-reposition-frame-xemacs, dframe-help-echo)
593 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
594 Mark unused parameters.
596 * dired-aux.el (backup-extract-version-start, overwrite-query)
597 (overwrite-backup-query, rename-regexp-query)
598 (rename-non-directory-query): Declare.
599 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
600 (dired-add-entry): Remove unused variable `orig-file-name'.
601 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
602 Use parameter PRESERVE-TIME instead of accessing dynamic variable
603 `dired-copy-preserve-time' directly.
604 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
605 (dired-insert-subdir-newpos): Rename unused variable `pos'.
607 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
608 (dired-virtual-revert, dired-make-relative-symlink):
609 Mark unused parameters.
610 (manual-program): Declare.
611 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
612 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
613 wrapped in `with-no-warnings' to avoid replacing one warning by another.
615 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
617 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
619 * echistory.el (electric-history-in-progress, Helper-return-blurb):
622 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
624 * electric.el (Electric-command-loop): Rename parameter
625 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
627 * expand.el (expand-in-literal): Remove unused variable `here'.
629 * facemenu.el (facemenu-add-new-color):
630 Remove unused variable `docstring'.
632 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
633 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
634 (face-attr-construct): Mark unused parameter. Doc fix.
635 (read-color): Remove unused variable `hex-string'.
637 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
638 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
639 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
640 (display-buffer-other-frame): Remove unused variable `old-window'.
641 (kill-buffer-hook): Declare.
642 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
643 Mark unused parameters.
644 (after-find-file): Pass 1 to `auto-save-mode', not t.
646 * files-x.el (auto-insert): Declare.
647 (modify-file-local-variable-prop-line): Remove unused variable `val'.
649 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
650 variable `buf'. Mark unused parameter.
651 (find-lisp-insert-directory): Mark unused parameter.
653 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
654 (format-encode-region): Remove unused variables `cur-buf' and `result'.
655 (format-common-tail): Remove, unused.
656 (format-deannotate-region): Remove unused variable `loc'.
657 (format-annotate-region): Remove unused variable `p'.
658 (format-annotate-single-property-change): Remove unused variables
659 `default' and `tail'.
661 * forms.el (read-file-filter): Declare.
662 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
664 * frame.el (frame-creation-function-alist): Mark unused parameter.
665 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
667 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
668 Remove unused parameters.
669 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
670 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
672 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
673 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
674 (hfy-prepare-tag-map): Mark unused parameters.
675 (htmlfontify-buffer): Use `called-interactively-p'.
677 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
678 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
679 (ibuffer-do-occur): Mark unused parameters.
680 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
681 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
683 * ibuffer.el: Don't quote `lambda'.
684 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
685 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
686 Mark unused parameters.
688 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
689 (ido-completing-read): Mark unused parameters.
690 (ido-copy-current-word): Mark unused parameters;
691 remove unused variable `name'.
692 (ido-sort-merged-list): Remove unused parameter `dirs'.
694 * ielm.el (ielm-input-sender): Mark unused parameter.
695 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
696 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
697 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
698 `ielm-string' as a dynamic variable accessible from the IELM prompt.
699 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
701 * image-dired.el (image-dired-display-thumbs): Remove unused
702 variables `curr-file' and `count'.
703 (image-dired-remove-tag): Remove unused variable `start'.
704 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
706 (image-dired-rotate-original): Remove unused variable `temp-file'.
707 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
708 Remove unused variable `file'.
709 (image-dired-gallery-generate): Remove unused variable `curr'.
710 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
712 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
714 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
716 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
718 * isearch.el (minibuffer-history-symbol): Declare.
719 (isearch-edit-string): Remove unused variable `err'.
720 (isearch-message-prefix, isearch-message-suffix):
721 Mark unused parameters.
723 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
725 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
727 * makesum.el (double-column): Remove unused variable `cnt'.
729 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
730 (ido-ignore-item-temp-list): Declare.
732 * mouse-drag.el (mouse-drag-throw): Remove unused variables
733 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
734 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
735 (mouse-drag-drag): Remove unused variables `mouse-delta' and
738 * mouse-sel.el (mouse-extend-internal):
739 Remove unused variable `orig-window-frame'.
741 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
742 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
743 Move declarations before first use.
744 (pcomplete-opt): Mark unused parameters; doc fix.
746 * proced.el (proced-revert): Mark unused parameter.
747 (proced-send-signal): Remove unused variable `err'.
749 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
750 Rename parameter PREFIX-ARG to ARG.
751 (ps-basic-plot-string, ps-basic-plot-whitespace):
752 Mark unused parameters.
754 * replace.el (replace-count): Define.
755 (occur-revert-function): Mark unused parameters.
756 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
757 (isearch-case-fold-search, isearch-string): Declare.
758 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
759 bind `case-fold-search'. Remove unused variables `beg' and `end',
761 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
762 COUNT and bind `replace-count'.
763 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
766 * savehist.el (print-readably, print-string-length): Declare.
768 * shadowfile.el (shadow-expand-cluster-in-file-name):
769 Remove unused variable `cluster'.
770 (shadow-copy-file): Remove unused variable `i'.
771 (shadow-noquery, shadow-clusters, shadow-site-cluster)
772 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
773 (shadow-define-literal-group, shadow-define-regexp-group)
774 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
776 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
777 (shell): Use `called-interactively-p'.
778 (shell-directory-tracker): Remove unused variable `chdir-failure'.
780 * simple.el (compilation-context-lines, comint-file-name-quote-list)
781 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
782 (delete-backward-char): Remove unused variable `ocol'.
783 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
784 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
785 (event-apply-hyper-modifier, event-apply-shift-modifier)
786 (event-apply-control-modifier, event-apply-meta-modifier):
787 Mark unused parameters.
788 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
789 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
791 * speedbar.el (speedbar-ignored-directory-expressions)
792 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
793 (speedbar-find-file, speedbar-dir-follow)
794 (speedbar-directory-buttons-follow, speedbar-tag-find)
795 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
796 (speedbar-buffers-line-directory, speedbar-buffer-click):
797 Mark unused parameters.
798 (speedbar-tag-file): Remove unused variable `mode'.
799 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
801 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
803 * talk.el (talk): Remove unused variable `display'.
805 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
806 (tar-write-region-annotate): Mark unused parameter.
808 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
809 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
810 Declare them, wrapped in `with-no-warnings' to avoid replacing one
813 * time-stamp.el (time-stamp-string-preprocess):
814 Remove unused variable `require-padding'.
816 * tree-widget.el (widget-glyph-enable): Declare.
817 (tree-widget-action): Mark unused parameter.
819 * w32-fns.el (x-get-selection): Mark unused parameter.
820 (autoload-make-program, generated-autoload-file): Declare.
822 * wdired.el (wdired-revert): Mark unused parameters.
823 (wdired-xcase-word): Remove unused variable `err'.
825 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
826 (whitespace-help-scroll): Remove unused variable `data-help'.
828 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
829 (widget-image-insert, widget-after-change, default)
830 (widget-default-format-handler, widget-default-notify)
831 (widget-default-prompt-value, widget-info-link-action)
832 (widget-url-link-action, widget-function-link-action)
833 (widget-variable-link-action, widget-file-link-action)
834 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
835 (widget-field-prompt-internal, widget-field-action, widget-field-match)
836 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
837 (widget-insert-button-action, widget-delete-button-action, visibility)
838 (widget-documentation-link-action, widget-documentation-string-action)
839 (widget-const-prompt-value, widget-regexp-match, symbol)
840 (widget-coding-system-prompt-value)
841 (widget-key-sequence-value-to-external, sexp)
842 (widget-sexp-value-to-internal, character, vector, cons)
843 (widget-choice-prompt-value, widget-boolean-prompt-value)
844 (widget-color--choose-action): Mark unused parameters.
845 (widget-item-match-inline, widget-choice-match-inline)
846 (widget-checklist-match, widget-checklist-match-inline)
847 (widget-group-match): Rename parameter VALUES to VALS.
848 (widget-field-value-set): Remove unused variable `size'.
849 (widget-color-action): Remove unused variables `value' and `start'.
851 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
852 variable `dir'. Doc fix.
853 (windmove-find-other-window): Don't pass it.
855 * window.el (count-windows): Mark unused parameter.
856 (bw-adjust-window): Remove unused variable `err'.
858 * woman.el (woman-file-name): Remove unused variable `default'.
859 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
860 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
861 (global-font-lock-mode): Declare.
862 (woman-decode-region): Mark unused parameter.
863 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
865 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
866 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
867 (x-dnd-handle-moz-url): Remove unused variable `title'.
868 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
870 * xml.el (xml-parse-tag, xml-parse-attlist):
871 Remove unused variable `pos'.
873 2011-04-19 Glenn Morris <rgm@gnu.org>
875 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
876 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
877 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
878 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
879 * calendar/cal-html.el (cal-html-insert-minical):
880 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
881 (calendar-mark-date-pattern):
882 Prefix "unused" locals.
884 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
885 optional argument `style'.
887 * calendar/appt.el (appt-make-list):
888 * calendar/cal-china.el (calendar-chinese-date-string):
889 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
890 (diary-hebrew-yahrzeit):
891 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
892 * calendar/calendar.el (calendar-generate-window):
893 * calendar/time-date.el (time-to-days):
894 Remove unused local variables.
896 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
898 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
899 glyphless-char-display table.
900 (tabulated-list-glyphless-char-display): New var.
902 2011-04-18 Sam Steingold <sds@gnu.org>
904 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
907 2011-04-17 Glenn Morris <rgm@gnu.org>
909 * calendar/diary-lib.el (diary-sexp-entry):
910 * calendar/holidays.el (holiday-sexp):
911 Set debug-on-error rather than the removed stack-trace-on-error.
913 2011-04-16 Glenn Morris <rgm@gnu.org>
915 * progmodes/f90.el: Use lexical-binding.
916 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
918 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
920 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
921 (mail-mode): Setup mailalias completion here instead.
922 * mail/mailalias.el: Use lexical-binding.
923 (pattern, mailalias-done): Declare dynamic.
924 (mail-completion-at-point-function): New function, from mail-complete.
925 (mail-complete): Use it.
926 (mail-completion-expand): New function.
927 (mail-get-names): Use it.
928 (mail-directory, mail-directory-process, mail-directory-stream):
929 Don't use `pattern' for lexically bound arg.
931 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
933 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
934 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
935 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
937 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
938 (byte-save-window-excursion, byte-temp-output-buffer-setup)
939 (byte-interactive-p): Define them again, for use when inlining
942 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
944 * loadup.el: Use `string-to-number', not `string-to-int'.
946 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
948 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
949 gud-gdb-complete-command.
950 (gud-gdb-completions): New function, from gud-gdb-complete-command.
951 (gud-gdb-completion-at-point): New function.
952 (gud-gdb-completions): Remove.
954 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
956 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
957 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
958 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
959 whether `executable-find' is bound.
961 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
963 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
965 * minibuffer.el (completion-in-region-mode-predicate)
966 (completion-in-region-mode--predicate): New vars.
967 (completion-in-region, completion-in-region--postch)
968 (completion-in-region-mode): Use them.
969 (completion--capf-wrapper): Also return the hook function.
970 (completion-at-point, completion-help-at-point):
971 Adjust and provide a predicate.
973 Preserve arg names for advice of subr and lexical functions (bug#8457).
974 * help-fns.el (help-function-arglist): Consolidate the subr and
975 new-byte-code cases. Add argument `preserve-names' to extract names
976 from the docstring when needed.
977 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
978 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
979 (ad-arglist): Use help-function-arglist's new arg.
980 (ad-definition-type): Use cond.
982 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
984 * autorevert.el (auto-revert-handler):
985 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
986 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
989 * image-mode.el (image-transform-set-scale):
990 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
992 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
994 * net/network-stream.el (network-stream-open-starttls): Only do
995 opportunistic STARTTLS upgrades if we have built-in gnutls support.
996 Upgrades via gnutls-cli are too slow to be done opportunistically.
998 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1000 * dframe.el (dframe-current-frame): Remove spurious quote.
1002 2011-04-12 Glenn Morris <rgm@gnu.org>
1004 * calendar/cal-tex.el (cal-tex-end-document):
1005 Try to automatically use latin1 input if needed.
1007 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1008 Don't try to cons a mark onto an empty element.
1010 2011-04-11 Leo Liu <sdl.web@gmail.com>
1012 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1014 (ido-kill-buffer-at-head): Support killing virtual buffers.
1016 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1018 * minibuffer.el (completion-show-inline-help): New var.
1019 (completion--do-completion, minibuffer-complete)
1020 (minibuffer-force-complete, minibuffer-complete-word):
1021 Inhibit minibuffer messages if completion-show-inline-help is nil.
1023 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1024 to avoid interference from inline help (Bug#5849).
1026 2011-04-10 Leo Liu <sdl.web@gmail.com>
1028 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1031 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1033 * image-mode.el (image-toggle-display-image): Signal an error if
1035 (image-transform-mode, image-transform-resize)
1036 (image-transform-set-rotation): Doc fix.
1037 (image-transform-set-resize): Delete.
1038 (image-transform-set-scale, image-transform-fit-to-height)
1039 (image-transform-fit-to-width): Handle image-toggle-display-image
1040 and image-transform-resize directly.
1042 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1044 * doc-view.el (doc-view-fit-width-to-window)
1045 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1046 New functions for fitting the shown image to the Emacs window size.
1047 (doc-view-mode-map): Add bindings for the new functions.
1049 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1051 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1052 Fix typo in docstring.
1054 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1056 * files.el (file-size-human-readable): Produce one digit after
1057 decimal, like "ls -lh" does.
1059 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1060 the file size representation.
1062 * simple.el (list-processes): If async subprocesses are not
1063 available, error out with a clear error message.
1065 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1067 * help.el (help-form-show): New function, to be called from C.
1068 Put help-form output in a buffer named differently than *Help*.
1070 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1072 * files.el (file-size-human-readable): New function.
1074 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1075 computing the representation inline. Don't require `cl'.
1077 2011-04-08 Glenn Morris <rgm@gnu.org>
1079 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1081 * net/browse-url.el (browse-url-firefox):
1082 Test system-type, not system-configuration.
1084 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1085 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1086 Use log-edit-empty-buffer-p. (Bug#7598)
1088 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1089 (rlogin-mode-map): Initialize in the defvar.
1090 (rlogin): Use ignore-errors.
1092 * replace.el (occur-mode-map): Some fixes for menu items.
1094 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1096 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1098 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1100 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1101 issuing unused warnings.
1103 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1106 * simple.el: Lisp reimplement of list-processes. Based on an
1107 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1108 (process-menu-mode): New major mode.
1109 (list-processes--refresh, list-processes):
1110 (process-menu-visit-buffer): New functions.
1112 * files.el (save-buffers-kill-emacs): Don't assume any return
1113 value of list-processes, which is undocumented anyway.
1115 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1117 * emacs-lisp/tabulated-list.el: New file.
1119 * emacs-lisp/package.el: Use Tabulated List mode.
1120 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1121 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1122 table format using Tabulated List mode variables.
1123 (package--push): New macro, replacing package-list-maybe-add.
1124 (package-menu--generate): Use package--push. Renamed from
1125 package--generate-package-list.
1126 (package-menu-refresh, list-packages): Use it.
1127 (package-menu--print-info): Rename from package-print-package.
1128 Return insertion data instead of inserting it directly.
1129 (package-menu-describe-package, package-menu-execute):
1130 Use tabulated-list-get-id.
1131 (package-menu-mark-delete, package-menu-mark-install)
1132 (package-menu-mark-unmark, package-menu-backup-unmark)
1133 (package-menu-mark-obsolete-for-deletion):
1134 Use tabulated-list-put-tag.
1135 (package--list-packages, package-menu-revert)
1136 (package-menu-get-package, package-menu-get-version)
1137 (package-menu-sort-by-column): Functions deleted.
1138 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1139 (package-menu--status-predicate, package-menu--version-predicate)
1140 (package-menu--name-predicate)
1141 (package-menu--description-predicate): Handle arguments in the
1142 Tabulated List format.
1143 (package-list-packages-no-fetch): Call list-packages.
1145 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1147 * files.el (after-find-file-from-revert-buffer): Remove variable.
1148 (after-find-file): Don't bind it.
1149 (revert-buffer-in-progress-p): New variable.
1150 (revert-buffer): Bind it.
1151 Pass nil for `after-find-file-from-revert-buffer'.
1153 * saveplace.el (save-place-find-file-hook): Use new variable
1154 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1156 2011-04-06 Glenn Morris <rgm@gnu.org>
1158 * Makefile.in (AUTOGEN_VCS): New variable.
1159 (autoloads): Use $AUTOGEN_VCS.
1161 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1162 * calendar/calendar.el (calendar-mode-map):
1163 Check for toolkit scroll bars. (Bug#8305)
1165 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1167 * minibuffer.el (completion-in-region--postch)
1168 (completion-in-region-mode): Remove unnecessary messages.
1170 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1172 * font-lock.el (font-lock-refresh-defaults):
1173 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1174 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1176 * info.el (Info-directory-list, Info-read-node-name-2)
1177 (Info-split-parameter-string): Doc fixes.
1178 (Info-virtual-nodes): Reflow docstring.
1179 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1180 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1181 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1182 Fix typos in docstrings.
1183 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1184 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1185 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1186 (Info-restore-desktop-buffer): Mark unused parameters.
1187 (Info-directory-find-file, Info-directory-find-node)
1188 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1189 (Info-virtual-index-find-node, Info-apropos-find-file)
1190 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1191 Mark unused parameters; fix typos in docstrings.
1192 (Info-virtual-index): Remove unused local variable `nodename'.
1194 2011-04-05 Deniz Dogan <deniz@dogan.se>
1196 * net/rcirc.el: Update my e-mail address.
1197 (rcirc-mode-map): Remove M-o binding.
1199 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1201 * startup.el (command-line): Save the cursor's theme-face
1202 directly, instead of using face-override-spec.
1204 * custom.el (load-theme): Minor optimization in assigning faces.
1206 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1208 * help-fns.el (describe-variable): Complete all variables having
1209 documentation, including keywords.
1210 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1212 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1214 Convert to lexical-binding.
1216 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1217 (bs--get-marked-string, bs--get-modified-string)
1218 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1219 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1220 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1222 * ehelp.el (electric-help-execute-extended)
1223 (electric-help-ctrl-x-prefix):
1224 * hexl.el (hexl-revert-buffer-function):
1225 * linum.el (linum-after-change, linum-after-scroll):
1226 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1228 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1230 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1237 * epg.el: Use lexical binding.
1239 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1241 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1243 * textmodes/flyspell.el (flyspell-word): Recognize default
1244 dictionary case for flyspell-mark-duplications-exceptions.
1245 Use regexp matching for languages.
1246 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1247 default dictionary (Bug#7926).
1249 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1251 * emacs-lisp/package.el (package--with-work-buffer):
1252 Recognize https URLs.
1254 * net/network-stream.el: Move from gnus/proto-stream.el.
1255 Change prefix to network-stream throughout.
1256 (open-protocol-stream): Merge into open-network-stream, leaving
1257 open-protocol-stream as an alias. Handle nil BUFFER args.
1259 * subr.el (open-network-stream): Move to net/network-stream.el.
1261 2011-04-02 Glenn Morris <rgm@gnu.org>
1263 * find-dired.el (find-exec-terminator): New option.
1264 (find-ls-option): Test for -ls support.
1265 (find-ls-subdir-switches): Test for -b in find-ls-option.
1266 (find-dired, find-grep-dired): Doc fixes.
1267 (find-dired): Use find-exec-terminator.
1269 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1270 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1271 (find-name-arg): Remove purecopy.
1273 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1274 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1275 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1276 accordingly. Don't add the null-device if not needed.
1278 * files.el (save-some-buffers): Doc fix.
1280 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1282 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1284 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1286 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1287 Use `dolist' rather than `mapcar'.
1289 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1291 Add lexical binding.
1293 * subr.el (apply-partially): Use new closures rather than CL.
1294 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1295 (dolist, dotimes): Use slightly different expansion for lexical code.
1296 (functionp): Move to C.
1297 (letrec): New macro.
1298 (with-wrapper-hook): Use it and apply-partially instead of CL.
1299 (eval-after-load): Preserve lexical-binding.
1300 (save-window-excursion, with-output-to-temp-buffer): Turn them
1303 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1305 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1307 (help-add-fundoc-usage): Don't add `Not documented'.
1308 (help-function-arglist): Handle closures, subroutines, and new
1309 byte-code-functions.
1310 (help-make-usage): Remove leading underscores.
1311 (describe-function-1): Handle closures.
1312 (describe-variable): Use special-variable-p for completion.
1314 * files.el (lexical-binding): Declare safe.
1316 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1317 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1318 (pcase): Add `let' pattern.
1319 Change memoization so it actually works.
1320 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1321 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1324 * emacs-lisp/macroexp.el: Use lexical binding.
1325 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1326 Don't convert ' to #' without checking that it's indeed quoting
1329 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1330 Use eval-sexp-add-defvars.
1331 (eval-sexp-add-defvars): New fun.
1333 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1335 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1337 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1338 than the internal `byte-compile-lambda'.
1339 (defmethod): Don't hide code under quotes.
1340 (eieio-defmethod): New `code' argument.
1342 * emacs-lisp/eieio-comp.el: Remove.
1344 * emacs-lisp/edebug.el (edebug-eval-defun)
1345 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1346 (edebug-toggle): Avoid `eval'.
1348 * emacs-lisp/disass.el (disassemble-internal): Handle new
1350 (disassemble-1): Handle new byte codes.
1352 * emacs-lisp/cl.el (pushnew): Silence warning.
1354 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1355 (cl-byte-compile-throw): Remove.
1356 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1358 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1361 * emacs-lisp/cconv.el: New file.
1363 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1364 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1365 (byte-compile-initial-macro-environment):
1366 Handle declare-function here.
1367 (byte-compile--lexical-environment): New var.
1368 (byte-stack-ref, byte-stack-set, byte-discardN)
1369 (byte-discardN-preserve-tos): New lap codes.
1370 (byte-interactive-p): Don't use any more.
1371 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1373 (byte-compile-lapcode): Use them and handle new lap codes.
1374 (byte-compile-obsolete): Remove.
1375 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1376 (byte-compile-arglist-warn): Check late def of inlinable funs.
1377 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1378 since they should have been expanded by now.
1379 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1380 (byte-compile-from-buffer): Remove unused second arg.
1381 (byte-compile-preprocess): New function.
1382 (byte-compile-toplevel-file-form): New function to distinguish
1383 file-form calls from outside from file-form calls from hunk-handlers.
1384 (byte-compile-file-form): Simplify.
1385 (byte-compile-file-form-defsubst): Remove.
1386 (byte-compile-file-form-defmumble): Simplify now that
1387 byte-compile-lambda always returns a byte-code-function.
1388 (byte-compile): Preprocess.
1389 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1390 Remove, not used any more.
1391 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1392 (byte-compile-make-args-desc): New funs.
1393 (byte-compile-lambda): Handle lexical functions. Always return
1394 a byte-code-function.
1395 (byte-compile-reserved-constants): New var, to make up room for
1396 closed-over variables.
1397 (byte-compile-constants-vector): Obey it.
1398 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1399 (byte-compile-macroexpand-declare-function): New function.
1400 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1401 byte-code-functions.
1402 (byte-compile-form): Check obsolescence here.
1403 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1404 (byte-compile-variable-ref): Remove.
1405 (byte-compile-dynamic-variable-op): New fun.
1406 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1407 (byte-compile-variable-set): New funs.
1408 (byte-compile-discard): Add 2 args.
1409 (byte-compile-stack-ref, byte-compile-stack-set)
1410 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1411 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1412 macroexpand-all instead.
1413 (byte-compile-quote-form): Remove.
1414 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1415 (byte-compile-bind, byte-compile-unbind): New funs.
1416 (byte-compile-let): Handle let* and lexical binding.
1417 (byte-compile-let*): Remove.
1418 (byte-compile-catch, byte-compile-unwind-protect)
1419 (byte-compile-track-mouse, byte-compile-condition-case):
1420 Handle a new :fun-body form, used for lexical scoping.
1421 (byte-compile-save-window-excursion)
1422 (byte-compile-with-output-to-temp-buffer): Remove.
1423 (byte-compile-defun): Simplify.
1424 (byte-compile-stack-adjustment): New fun.
1425 (byte-compile-out): Use it.
1426 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1428 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1431 * emacs-lisp/byte-opt.el: Use lexical binding.
1432 (byte-inline-lapcode): Remove (to bytecomp).
1433 (byte-compile-inline-expand): Pay attention to inlining to/from
1434 lexically bound code.
1435 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1437 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1438 any more and don't call compiler-macros.
1439 (byte-compile-splice-in-already-compiled-code): Remove.
1440 (byte-code): Don't inline any more.
1441 (disassemble-offset): Receive `bytes' as argument rather than via
1443 (byte-compile-tag-number): Declare before first use.
1444 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1445 `return' even if make-spliceable.
1446 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1447 obsolete interactive-p.
1448 (byte-optimize-lapcode): Optimize new lap-codes.
1449 Don't trip up on new form of `byte-constant' lap code.
1451 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1453 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1455 * custom.el (custom-initialize-default, custom-declare-variable):
1458 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1460 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1461 (COMPILE_FIRST): Add macroexp and cconv.
1462 * makefile.w32-in: Mirror changes in Makefile.in.
1468 * vc/smerge-mode.el:
1469 * textmodes/bibtex-style.el:
1478 * emacs-lisp/smie.el:
1481 * abbrev.el: Use lexical binding.
1483 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1485 * info.el (info-display-manual): New function.
1487 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1491 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1493 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1494 an entry for that server in rcirc-authinfo. (Bug#8385)
1496 2011-03-31 Glenn Morris <rgm@gnu.org>
1498 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1500 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1502 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1504 * progmodes/python.el (python-default-interpreter)
1505 (python-python-command-args, python-jython-command-args)
1506 (python-which-shell, python-which-args, python-which-bufname)
1507 (python-file-queue, python-comint-output-filter-function)
1508 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1509 variables and functions.
1511 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1513 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1514 (completion-in-region-mode): New minor mode.
1515 (completion-in-region): Use it.
1516 (completion-in-region--data, completion-in-region-mode-map): New vars.
1517 (completion-in-region--postch): New function.
1518 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1520 (completion--capf-wrapper): New function.
1521 (completion-at-point): Use it to track well-behavedness of
1523 (completion-help-at-point): New command.
1525 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1527 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1528 syntax class to search for whitespace on a single line
1529 (Message-ID: <4D938140.4030905@redhat.com>).
1531 2011-03-30 Leo Liu <sdl.web@gmail.com>
1533 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1535 (edit-abbrevs-map): Bind them here.
1536 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1538 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1540 * allout.el (allout-hide-by-annotation, allout-flag-region):
1541 Reduce possibility of overlay leakage by making them volatile.
1543 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1544 hash is not shared between buffers. Mode initialization is
1545 responsible for giving it a useful starting value.
1546 (allout-item-span): Reduce possibility of overlay leakage by
1547 making them volatile.
1548 (allout-widgets-count-buttons-in-region): Add diagnostic function
1549 for tracking down button overlay leaks.
1551 2011-03-29 Leo Liu <sdl.web@gmail.com>
1553 * ido.el (ido-read-internal): Use the default history var
1554 minibuffer-history if no HISTORY is specified.
1556 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1558 * net/imap.el (imap-shell-open, imap-process-connection-type):
1559 Use imap-process-connection-type for 'shell' streams as well as
1560 Kerberos, SSL, other subprocesses.
1562 2011-03-28 Leo Liu <sdl.web@gmail.com>
1564 * abbrev.el (abbrev-table-empty-p): New function.
1565 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1566 nonempty ones. (Bug#5937)
1568 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1570 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1572 2011-03-27 Leo Liu <sdl.web@gmail.com>
1574 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1575 for foreground and background colors.
1576 (ansi-color-make-color-map): Adapt.
1578 2011-03-25 Leo Liu <sdl.web@gmail.com>
1580 * midnight.el (midnight-time-float): Remove. Note it calculates
1581 the microsecond component incorrectly and seconds-to-time does the
1583 Remove redundant (require 'timer).
1585 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1586 (ido-completions): Remove unused arguments. (Bug#8329)
1588 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1590 * minibuffer.el (completion--flush-all-sorted-completions):
1591 Remove itself from hook.
1592 (completion-at-point): Let the functions perform the completion
1593 immediately and return nil or t.
1594 * comint.el (comint-dynamic-complete-functions): Now identical to
1595 completion-at-point-functions.
1596 (comint-dynamic-list-input-ring): Remove unused var `index'.
1597 (comint--match-partial-filename, comint--unquote&expand-filename):
1598 New funs, split from comint-match-partial-filename.
1599 (comint-dynamic-complete): Use completion-at-point.
1600 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1602 2011-03-24 Drew Adams <drew.adams@oracle.com>
1604 * thingatpt.el: Support `defun'.
1606 2011-03-23 Leo Liu <sdl.web@gmail.com>
1608 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1610 * help-mode.el (help-mode-finish): Tweak regexp.
1612 2011-03-23 Glenn Morris <rgm@gnu.org>
1614 * eshell/esh-opt.el (eshell-eval-using-options):
1615 Do not bind unused local variable `eshell-option-stub'.
1617 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1619 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1621 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1622 keymap variable in `with-no-warnings' to avoid a warning when the
1623 keymap has been already `defconst'ed.
1625 2011-03-22 Leo Liu <sdl.web@gmail.com>
1627 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1628 encode all chars in abbrevs; otherwise use emacs-mule or
1629 utf-8-emacs. (Bug#8308)
1631 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1633 * simple.el (backward-delete-char-untabify):
1634 Avoid warning about using `delete-backward-char'.
1636 * image.el (image-type-file-name-regexps): Make it variable.
1637 `imagemagick-register-types' modifies it, and the user may want
1638 to add new extensions for known image types.
1639 (imagemagick-register-types): Throw error if not using ImageMagick.
1641 2011-03-22 Leo Liu <sdl.web@gmail.com>
1643 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1644 located before rcirc-prompt-end-marker.
1645 (rcirc-complete): Error if point is not after rcirc prompt.
1646 Handle the case when table is nil.
1647 (rcirc-user-authenticated): Define to fix compiler warning.
1649 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1651 * custom.el (custom--inhibit-theme-enable): Make it affect only
1652 custom-theme-set-variables and custom-theme-set-faces.
1653 (provide-theme): Ignore custom--inhibit-theme-enable.
1654 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1655 (custom-enabling-themes): Delete variable.
1656 (enable-theme): Accept only loaded themes as arguments.
1657 Ignore the special custom-enabled-themes variable.
1658 (custom-enabled-themes): Forbid themes from setting this.
1659 Eliminate use of custom-enabling-themes.
1660 (custom-push-theme): Quote "changed" custom var entry.
1662 2011-03-21 Leo Liu <sdl.web@gmail.com>
1664 * ido.el (ido-read-internal): Add ido-selected to history instead
1667 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * subr.el (deferred-action-list, deferred-action-function):
1672 2011-03-21 Leo Liu <sdl.web@gmail.com>
1674 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1675 change on 2011-02-13 (bug#8309).
1677 * minibuffer.el (read-file-name-function): Change default value.
1678 (read-file-name--defaults): Rename from read-file-name-defaults.
1679 (read-file-name-default): Rename from read-file-name.
1680 (read-file-name): Call read-file-name-function.
1682 2011-03-21 Glenn Morris <rgm@gnu.org>
1684 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1687 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1689 * cus-theme.el: Add missing provide statement.
1690 (customize-create-theme): Extract theme value correctly.
1691 (custom-theme-visit-theme): Autoload.
1692 (customize-create-theme): Prompt before inserting default faces.
1694 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1696 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1697 units and musical notes.
1699 2011-03-20 Leo <sdl.web@gmail.com>
1701 * ido.el (ido-read-internal): Use completing-read-default.
1702 (ido-completing-read): Fix compatibility with completing-read.
1704 2011-03-20 Christian Ohler <ohler@gnu.org>
1706 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1707 (ert-delete-all-tests): Use `called-interactively-p' rather than
1709 (ert--make-xrefs-region): Respect END.
1711 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1713 * dired-aux.el (dired-create-directory): Signal an error if the
1714 directory already exists (Bug#8246).
1716 * facemenu.el (list-colors-display): Call list-faces-display
1717 inside with-help-window.
1718 (list-colors-print): Use display property to align the final
1719 column, instead of checking window-width.
1721 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1723 * emerge.el (emerge-metachars): Separate value for ms-dos and
1725 (emerge-protect-metachars): Quote correctly for ms-dos and
1728 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1730 * info.el (info-initialize): Replace all uses of `:' with
1731 path-separator for compatibility with non-Unix systems.
1732 Cache quoting of path-separator. (Bug#8258)
1734 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1736 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1737 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1738 (mouse-avoidance-mode): Fix typos in docstrings.
1740 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1742 * startup.el (package-subdirectory-regexp): Move from package.el.
1743 Omit \\` and \\', and let callers add them.
1745 * emacs-lisp/package.el (package-strip-version)
1746 (package-load-all-descriptors): Add \\` and \\' to
1747 package-subdirectory-regexp before using it.
1748 (package-untar-buffer): New arg DIR; ensure that file untars only
1749 into this expected directory. Remove superfluous delete-region.
1750 (package-unpack): Caller changed.
1751 (package-tar-file-info): Use package-subdirectory-regexp.
1753 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1756 diff-mode-shared-map (bug#8284).
1757 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1759 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1761 * calendar/time-date.el (format-seconds): Use assoc instead of
1762 assoc-string, since assoc-string doesn't exist in XEmacs.
1764 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1766 * custom.el (custom-known-themes): Reflow docstring.
1767 (custom-theme-load-path): Fix typo in docstring.
1768 (load-theme): Fix typo in error message.
1769 (custom-available-themes, custom-variable-theme-value):
1770 Use `let', not `let*'.
1772 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1774 * calc/README: Mention inclusion of musical notes.
1776 * calc/calc-units.el (calc-lu-quant): Rename from
1777 `calc-logunits-quantity'.
1778 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1779 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1780 (calc-db): Rename from `calc-dblevel'.
1781 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1782 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1783 (calc-np): Rename from `calc-nplevel'.
1784 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1785 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1786 (calc-lu-plus): Rename from `calc-logunits-add'.
1787 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1788 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1789 (calc-lu-minus): Rename from `calc-logunits-sub'.
1790 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1791 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1792 (calc-lu-times): Rename from `calc-logunits-mul'.
1793 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1794 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1795 (calc-lu-divide): Rename from `calc-logunits-div'.
1796 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1797 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1799 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1800 functions being autoloaded.
1802 * calc/calc.el (calc-lu-power-reference): Rename from
1803 `calc-logunits-power-reference'.
1804 (calc-lu-field-reference): Rename from
1805 `calc-logunits-field-reference'.
1807 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1809 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * minibuffer.el (completion-all-sorted-completions):
1812 Use :completion-cycle-penalty text property if present.
1814 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1816 * allout.el (allout-yank-processing): Adjust for new rebulleting
1817 regime so bullet being yanked is used without prompting the user
1820 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1822 * startup.el (command-line): Warn the user that _emacs is deprecated.
1824 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1826 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1827 (delphi-verbose, delphi-comment-face, delphi-string-face)
1828 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1829 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1830 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1831 (delphi-new-comment-line, delphi-font-lock-defaults)
1832 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1833 Fix typos in docstrings.
1835 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1837 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1838 Invert the roles of character and string values for INSTEAD, so a
1839 string is used for the more common case of a defaulting prompt.
1841 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1843 * progmodes/ruby-mode.el (ruby-backward-sexp):
1844 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1845 * play/gamegrid.el (gamegrid-make-face):
1846 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1847 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1848 * notifications.el (notifications-notify):
1849 * net/xesam.el (xesam-search-engines):
1850 * net/quickurl.el (quickurl-list-insert):
1851 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1853 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
1855 * startup.el (command-line): Update package subdirectory regexp.
1857 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1859 * allout.el (allout-abbreviate-flattened-numbering)
1860 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1862 * subr.el (read-char-choice): Only show the cursor after the prompt,
1863 not after the answer.
1865 2011-03-15 Kevin Ryde <user42@zip.com.au>
1867 * help-fns.el (variable-at-point): Skip leading quotes, if any
1870 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1872 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1875 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
1877 * shell.el (shell): When called interactively, offer to change the
1878 shell file name on remote hosts.
1880 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1882 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1883 integration for LDAP parameters. The host, base, user or binddn,
1884 and secret tokens can be specified in a netrc file, for instance.
1885 This is optional because an `auth-source' parameter must be
1886 specified in the search attributes.
1888 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
1890 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1892 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1894 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1895 into declaration. Remove redundant and harmful binding.
1897 2011-03-12 Eli Zaretskii <eliz@gnu.org>
1899 * files.el (file-ownership-preserved-p): Pass `integer' as an
1900 explicit 2nd argument to `file-attributes'. If the file's owner
1901 is the Administrators group on Windows, and the current user is
1902 Administrator, consider that a match.
1904 * server.el (server-ensure-safe-dir): Consider server directory
1905 safe on MS-Windows if its owner is the Administrators group while
1906 the current Emacs user is Administrator. Use `=' to compare
1907 numerical UIDs, since they could be integers or floats.
1909 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
1911 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1913 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
1915 Sync with Tramp 2.2.1.
1917 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1919 * net/trampver.el: Update release number.
1921 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * progmodes/compile.el (compilation--previous-directory): Fix up
1924 various nil/dead-marker mismatches (bug#8014).
1925 (compilation-directory-properties, compilation-error-properties):
1926 Don't call it at a position past the one we're about to change.
1928 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1929 Disable obsolescence warnings in the file that declares it.
1931 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1933 * allout-widgets.el (allout-widgets-tally):
1934 Initialize allout-widgets-tally as a hash table rather than nil to
1935 prevent mode-line redisplay warnings. Also, clarify the module
1936 description and fix a comment typo.
1938 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
1940 * help-fns.el (describe-variable): Don't complete keywords.
1941 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1943 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
1945 * emacs-lisp/package.el (package-version-join): Impose a standard
1946 string representation for pre/alpha/beta version lists.
1947 (package-unpack-single): Standardize the directory name by passing
1948 it through package-version-join.
1949 (package-strip-rcs-id): Accept any version string that does not
1950 signal an error in version-to-list.
1952 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
1954 * simple.el (delete-trailing-whitespace): Return nil for the
1955 benefit of `write-file-functions'.
1957 2011-03-10 Glenn Morris <rgm@gnu.org>
1959 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1961 * vc/vc-git.el (vc-git-program): New option.
1962 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1963 (vc-git--call): Use it.
1965 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1967 * cus-edit.el (Custom-newline): If no button at point, look
1968 for a subgroup button at start-of-line. (Bug#2298)
1970 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1972 2011-03-10 Julien Danjou <julien@danjou.info>
1974 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1975 `cursor-type' is nil.
1977 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1979 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1981 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1983 * allout.el Summary: Change so yank of distinctive-bullet items
1984 preserves the existing header prefix, rebulleting it if necessary,
1985 rather than replacing it. This is necessary for proper operation
1986 of cooperative addons like allout-widgets.
1987 (allout-make-topic-prefix, allout-rebullet-heading): Change
1988 SOLICIT arg to INSTEAD, and interpret additionally a string value
1989 as alternate bullet to be used, instead of prompting the user for
1992 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
1994 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1995 Do not use `tramp-file-name-port', because this returns also
1996 `tramp-default-port'.
1998 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2000 * net/rcirc.el (rcirc-handler-001): Remove useless
2001 with-rcirc-process-buffer.
2002 (rcirc-check-auth-status): Swap arguments to string-match.
2004 2011-03-09 Glenn Morris <rgm@gnu.org>
2006 * shell.el (shell-mode):
2007 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2009 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2010 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2012 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2014 * emacs-lisp/package.el (package-refresh-contents)
2015 (package-menu-execute): Use condition-case-no-debug.
2017 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2019 * simple.el (shell-command-to-string): Use `process-file'.
2021 * emacs-lisp/package.el (package-tar-file-info): Handle also
2024 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2025 Use `equal' for upload base check.
2027 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2029 * textmodes/texinfo.el (texinfo-environments):
2030 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2032 2011-03-08 Glenn Morris <rgm@gnu.org>
2034 * cus-start.el (cursor-in-non-selected-windows):
2035 Fix :set quoting oddness. (Bug#8192)
2037 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2038 in some setf expressions. (Bug#2159)
2040 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2042 * custom.el (custom-available-themes): Return themes in
2045 See ChangeLog.15 for earlier changes.
2051 Copyright (C) 2011 Free Software Foundation, Inc.
2053 This file is part of GNU Emacs.
2055 GNU Emacs is free software: you can redistribute it and/or modify
2056 it under the terms of the GNU General Public License as published by
2057 the Free Software Foundation, either version 3 of the License, or
2058 (at your option) any later version.
2060 GNU Emacs is distributed in the hope that it will be useful,
2061 but WITHOUT ANY WARRANTY; without even the implied warranty of
2062 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2063 GNU General Public License for more details.
2065 You should have received a copy of the GNU General Public License
2066 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.