2013-06-21 Juanma Barranquero * allout-widgets.el (allout-widgets-mode-off) (allout-widgets-mode-on, allout-widgets-pre-command-business) (allout-widgets-post-command-business) (allout-widgets-after-copy-or-kill-function) (allout-widgets-after-undo-function, allout-test-range-overlaps) (allout-decorate-item-and-context) (allout-graphics-modification-handler): Fix typos in docstrings. (allout-get-or-create-parent-widget): Use `looking-at-p'. * cmuscheme.el (scheme-start-file): Doc fix. (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings. (scheme-input-filter): Use `string-match-p'. * composite.el (compose-gstring-for-terminal): Fix typo in docstring. * dired-x.el: Use Dired consistently in docstrings. * dired.el: Use Dired consistently in docstrings. (dired-readin, dired-mode): Use `setq-local'. (dired-switches-alist): Make defvar-local. (dired-buffers-for-dir): Use `zerop'. (dired-safe-switches-p, dired-switches-escape-p) (dired-insert-old-subdirs, dired-move-to-end-of-filename) (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1) (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check): (dired-goto-next-nontrivial-file): Use `string-match-p'. (dired-align-file, dired-insert-directory, dired-mark-files-in-region) (dired-toggle-marks, dired-mark-files-containing-regexp) (dired-mark-symlinks, dired-mark-directories, dired-mark-executables) (dired-flag-auto-save-files, dired-flag-backup-files): Use `looking-at-p'. (dired-mark-files-regexp, dired-build-subdir-alist): Use `string-match-p', `looking-at-p'. * dos-w32.el (untranslated-canonical-name, untranslated-file-p) (direct-print-region-helper): Use `string-match-p'. 2013-06-21 Leo Liu * comint.el (comint-redirect-results-list-from-process): Fix infinite loop. 2013-06-21 Lars Magne Ingebrigtsen * net/eww.el (eww-update-header-line-format): Quote % characters. 2013-06-21 Glenn Morris * play/cookie1.el (cookie): New custom group. (cookie-file): New option. (cookie-check-file): New function. (cookie): Make it interactive. Make start and end messages optional. Interactively, display the result. Default to cookie-file. (cookie-insert): Default to cookie-file. (cookie-snarf): Make start and end messages optional. Default to cookie-file. Use with-temp-buffer. (cookie-read): Rename from read-cookie. Make start and end messages optional. Default to cookie-file. (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes. Do not autoload it. (cookie-apropos, cookie-doctor): New functions, copied from yow.el * obsolete/yow.el (read-zippyism): Use new name for read-cookie. 2013-06-21 Leo Liu * progmodes/octave.el (octave-mode): Backward compatibility fix. 2013-06-21 Glenn Morris * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load. 2013-06-21 Stefan Monnier Daniel Hackney * emacs-lisp/package.el: Use tar-mode rather than tar executable. Consolidate the single-file vs tarball code. (package-desc-suffix): New function. (package-desc-full-name): Don't bother inlining it. (package-load-descriptor): Return the new package-desc. (package-mark-obsolete): Remove unused arg `package'. (package-unpack): Make it work for single files as well. Make it update package-alist. (package--make-autoloads-and-stuff): Rename from package--make-autoloads-and-compile. Don't compile any more. (package--compile): New function. (package-generate-description-file): New function, extracted from package-unpack-single. (package-unpack-single): Remove. (package--with-work-buffer): Add indentation and debugging info. (package-download-single): Remove. (package-install-from-archive): Rename from package-download-tar, make it take a pkg-desc, and make it work for single files as well. (package-download-transaction): Simplify. (package-tar-file-info): Remove `file' arg. Rewrite not to use an external tar program. (package-install-from-buffer): Remove `pkg-desc' argument. Use package-tar-file-info for tar-mode buffers. (package-install-file): Simplify accordingly. (package-archive-base): Change to take a pkg-desc. * tar-mode.el (tar--check-descriptor): New function, extracted from tar-get-descriptor. (tar-get-descriptor): Use it. (tar-get-file-descriptor): New function. (tar--extract): New function, extracted from tar-extract. (tar--extract): Use it. * emacs-lisp/package-x.el (package-upload-file): Decode the file, in case the summary uses non-ascii. Adjust to new calling convention of package-tar-file-info. 2013-06-21 Leo Liu * comint.el (comint-redirect-results-list-from-process): Fix random delay. (Bug#14681) 2013-06-21 Juanma Barranquero * profiler.el (profiler-format-number): Use log, not log10. 2013-06-20 Juanma Barranquero * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'. 2013-06-20 Stefan Monnier * emacs-lisp/cl-loaddefs.el: Don't version-control any more. * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not yet available. * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el... (AUTOGENEL): ... here. * emacs-lisp/cl-macs.el (cl--sublis): New function. (cl--defsubst-expand): Use it. 2013-06-20 Paul Eggert * subr.el (log10): Move here from C code, and declare as obsolete. All uses of (log10 X) replaced with (log X 10). 2013-06-20 Juanma Barranquero * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo. Declare with `defvar-local'. (tabulated-list-use-header-line, tabulated-list-entries) (tabulated-list-padding, tabulated-list-printer) (tabulated-list-sort-key): Declare with `defvar-local'. (tabulated-list-init-header, tabulated-list-print-fake-header): Use `setq-local'. 2013-06-20 Michael Albinus * arc-mode.el (archive-mode): Add `archive-write-file' to `write-contents-functions' also for remote files. (Bug#14652) 2013-06-20 Juanma Barranquero * cus-edit.el (custom-commands): Fix typos. (custom-display): Fix tooltip text. (custom-magic-alist, custom-filter-face-spec, custom-group-members): Fix typos in docstrings. (custom--initialize-widget-variables, Custom-mode): Use `setq-local'. (custom-unlispify-menu-entry, custom-magic-value-create) (custom-add-see-also, custom-group-value-create): Use ?\s. (custom-guess-type, customize-apropos, editable-field) (custom-face-value-create): Use `string-match-p'. (custom-save-variables, custom-save-faces): Use `looking-at-p'. * custom.el (custom-load-symbol): Use `string-match-p'. * ansi-color.el: Convert to lexical binding. (ansi-colors): Fix URL. (ansi-color-context, ansi-color-context-region): Use defvar-local. (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings. (ansi-color-make-color-map): Rename local var ansi-color-map to map. 2013-06-19 Lars Magne Ingebrigtsen * net/eww.el (eww-process-text-input): Display passwords as asterisks. * net/shr.el (shr-make-table-1): Protect against invalid column-spans. 2013-06-19 Tom Tromey * net/eww.el (eww-top-url): Remove. (eww-home-url, eww-start-url, eww-contents-url): New defvars. (eww-render): Set new variables. Don't set eww-top-url. (eww-handle-link): Handle "prev", "home", and "contents". Downcase the rel text. (eww-top-url): Choose best top URL. 2013-06-19 Lars Magne Ingebrigtsen * net/eww.el: Rewrite to implement form elements "by hand" instead of relying in widget.el. Using widget.el leads to too many user interface inconsistencies. (eww-self-insert): Implement entering commands in text fields. (eww-process-text-input): New function to make text input field editing work. (eww-submit): Rewrite to use the new-style form methods. (eww-select-display): Display the correct selected item. (eww-change-select): Implement changing the select value. (eww-toggle-checkbox): Implement radio/checkboxes. (eww-update-field): Fix compilation error. (eww-tag-textarea): Implement