2013-07-03 Glenn Morris * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770) Make info-xref checks case-sensitive by default * info.el (Info-find-node, Info-find-in-tag-table) (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node): Add option for exact case matching of nodes. * info-xref.el (info-xref): New custom group. (info-xref-case-fold): New option. (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node. 2013-07-03 Leo Liu * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash. 2013-07-03 Dmitry Gutov * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a middle of block statement initially, lower the depth. Remove FIXME comment, not longer valid. Remove middle of block statement detection, no need to do that anymore since we've been using `ruby-parse-region' here. 2013-07-02 Jan Djärv * term/ns-win.el (display-format-alist): Use .* (Bug#14765). 2013-07-01 Katsumi Yamaoka * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738). 2013-07-01 Juanma Barranquero * desktop.el (desktop-restore-frames): Rename from desktop-save-windows. (desktop-restore-in-current-display): New customization option. (desktop--excluded-frame-parameters): Add `font'. (desktop--save-frames): Rename from desktop--save-windows. (desktop--restore-in-this-display-p): New function. (desktop--make-full-frame): Remove unwanted width/height from full(width|height) frames. (desktop--restore-frames): Rename from desktop--restore-windows. Obey desktop-restore-current-display. Do not delete old frames or select a new frame unless we were able to restore at least one frame. 2013-06-30 Michal Nazarewicz * files.el (find-file-noselect): Simplify conditional expression. * remember.el (remember-append-to-file): Don't mix `find-buffer-visiting' and `get-file-buffer'. Add `remember-notes' function to store random notes across Emacs restarts. * remember.el (remember-data-file): Add :set callback to affect notes buffer (if any). (remember-notes): New command. (remember-notes-buffer-name, bury-remember-notes-on-kill): New defcustoms for the `remember-notes' function. (remember-notes-save-and-bury-buffer): New command. (remember-notes-mode-map): New variable. (remember-mode): New minor mode. (remember-notes--kill-buffer-query): New function. * startup.el (initial-buffer-choice): Add notes to custom type. 2013-06-30 Eli Zaretskii * bindings.el (right-char, left-char): Don't call sit-for, this is no longer needed. Use arithmetic comparison only for numerical arguments. * international/mule-cmds.el (select-safe-coding-system): Handle the case of FROM being a string correctly. (Bug#14755) 2013-06-30 Lars Magne Ingebrigtsen * net/shr.el (shr-make-table-1): Add a sanity check that allows progression on degenerate tables. (shr-rescale-image): ImageMagick animated images currently don't work. 2013-06-30 Juanma Barranquero Some fixes and improvements for desktop frame restoration. It is still experimental and disabled by default. * desktop.el (desktop--save-windows): Put the selected frame at the head of the list. (desktop--make-full-frame): New function. (desktop--restore-windows): Try to re-select the frame that was selected upon saving. Do not abort if some frames fail to restore, just show an error message and continue. Set up maximized frames so they have default non-maximized dimensions. 2013-06-30 Dmitry Gutov * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Don't start heredoc inside a string or comment. 2013-06-29 Eli Zaretskii * bindings.el (visual-order-cursor-movement): New defcustom. (right-char, left-char): Provide visual-order cursor motion by calling move-point-visually. Update the doc strings. 2013-06-28 Kenichi Handa * international/mule.el (define-coding-system): New coding system properties :inhibit-null-byte-detection, :inhibit-iso-escape-detection, and :prefer-utf-8. (set-buffer-file-coding-system): If :charset-list property of CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is appropriate for setting. * international/mule-cmds.el (select-safe-coding-system): If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains multibyte characters, return utf-8 (or one of its siblings). * international/mule-conf.el (prefer-utf-8): New coding system. (file-coding-system-alist): Use prefer-utf-8 as default for Elisp files. 2013-06-28 Ivan Kanis * net/shr.el (shr-render-region): New function. * net/eww.el: Autoload `eww-browse-url'. 2013-06-27 Dmitry Gutov * emacs-lisp/package-x.el (package-upload-buffer-internal): Adapt to `package-desc-version' being a list. Use `package--ac-desc-version' to retrieve version from a package archive element. 2013-06-27 Juanma Barranquero New experimental feature to save&restore window and frame setup. * desktop.el (desktop-save-windows): New defcustom. (desktop--saved-states): New var. (desktop--excluded-frame-parameters): New defconst. (desktop--filter-frame-parms, desktop--find-frame-in-display) (desktop--restore-windows, desktop--save-windows): New functions. (desktop-save): Call `desktop--save-windows'. (desktop-read): Call `desktop--restore-windows'. 2013-06-27 Lars Magne Ingebrigtsen * net/shr.el (add-face-text-property): Remove compat definition. 2013-06-27 Stephen Berman * info.el (Info-try-follow-nearest-node): Move search for footnote above search for node name to prevent missing a footnote (bug#14717). 2013-06-27 Stephen Berman * obsolete/otodo-mode.el: Add obsolescence info to file header. 2013-06-27 Leo Liu * net/eww.el (eww-read-bookmarks): Check file size. 2013-06-26 Stefan Monnier * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to advice--pending if newdef is nil or an autoload (bug#13820). (advice-mapc): New function. 2013-06-26 Lars Magne Ingebrigtsen * net/eww.el (eww-mode): Undo isn't necessary in eww buffers, probably. (eww-mode-map): Add a menu bar. (eww-add-bookmark): New command. (eww-bookmark-mode): New mode and commands. (eww-add-bookmark): Remove newlines from the title. (eww-bookmark-browse): Don't bug out if it's the only window. 2013-06-26 Glenn Morris * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg. (hfy-size): Handle ttys. (Bug#14668) * info-xref.el: Update for Texinfo 5 change in *note format. (info-xref-node-re, info-xref-note-re): New constants. (info-xref-check-buffer): Use info-xref-note-re. 2013-06-26 Stefan Monnier * simple.el (set-variable): Use read-from-minibuffer (bug#14710). * emacs-lisp/package.el (package--add-to-archive-contents): Add missing nil terminate the loop (bug#14718). 2013-06-25 Lars Magne Ingebrigtsen * net/eww.el: Rework history traversal. When going forward/back, put these actions into the history, too, so that they can be replayed. (eww-render): Move the history reset to the correct buffer. 2013-06-25 Juri Linkov * files-x.el (modify-dir-local-variable): Change the header comment in the file with directory local variables. (Bug#14692) * files-x.el (read-file-local-variable-value): Add `default'. (Bug#14710) 2013-06-25 Lars Magne Ingebrigtsen * net/eww.el (eww-make-unique-file-name): Create a unique file name before saving to entering `y' accidentally asynchronously. 2013-06-25 Ivan Kanis * net/eww.el (eww-download): New command and keystroke. 2013-06-25 Lars Magne Ingebrigtsen * net/eww.el (eww-copy-page-url): Change name of command. * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to be more consistent with Info and dired. * net/eww.el (eww-mode-map): Ditto. 2013-06-25 Stefan Monnier * emacs-lisp/package.el: Use lexical-binding. Include obsolete packages from archives. (package-archive-contents): Change format; include obsolete packages. (package-desc): Use `dir' to mark builtin packages. (package--from-builtin): Set the `dir' field to `builtin'. (generated-autoload-file, version-control): Declare. (package-compute-transaction): Change first arg and return value to be lists of package-descs. Adjust to new package-archive-contents format. (package--add-to-archive-contents): Adjust to new package-archive-contents format. (package-download-transaction): Arg is now a list of package-descs. (package-install): If `pkg' is a package name, pass it as a requirement, so it is subject to the usual (e.g. disabled) checks. (describe-package): Accept package-desc as well. (describe-package-1): Describe a specific package-desc. Add links to other package-descs for the same package name. (package-menu-describe-package): Pass the actual package-desc. (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer works correctly. (package-desc-status): New function. (package-menu--refresh): New function, extracted from package-menu--generate. (package-menu--generate): Use it. (package-delete): Update package-alist. (package-menu-execute): Don't call package-initialize. * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el, progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el, progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el, progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el, progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el: Neuter the "Version:" header. 2013-06-25 Martin Rudalics * window.el (window--state-get-1): Workaround for bug#14527. http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html 2013-06-25 Lars Magne Ingebrigtsen * net/eww.el (eww-back-url): Implement the history by stashing all the data into a list. (eww-forward-url): Allow going forward in the history, too. 2013-06-25 Stefan Monnier * files-x.el (read-file-local-variable-value): Use read-from-minibuffer for values and use read--expression for expressions (bug#14710). (read-file-local-variable): Avoid setq. (read-file-local-variable-mode): Use minor-mode-list. 2013-06-25 Rüdiger Sonderfeld * lisp/textmodes/bibtex.el (bibtex-generate-url-list): Add support for DOI URLs. 2013-06-25 Rüdiger Sonderfeld * lisp/textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect): Update imenu-support when dialect changes. 2013-06-25 Leo Liu * ido.el (ido-read-internal): Allow forward slash on windows. 2013-06-24 Lars Magne Ingebrigtsen * net/eww.el (eww): Start of strings is \\`, not ^. 2013-06-24 Ivan Kanis * net/shr.el (shr-browse-url): Fix interactive spec. * net/eww.el (eww): Add a trailing slash to domain names. 2013-06-24 Juanma Barranquero * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705). 2013-06-24 Lars Magne Ingebrigtsen * net/shr.el (shr-browse-url): Use an external browser if given a prefix. * net/eww.el (eww-external-browser): Move to shr. 2013-06-24 Ivan Kanis * net/eww.el (eww): Work more correctly for file: URLs. (eww-detect-charset): Allow quoted charsets. (eww-yank-page-url): New command and keystroke. 2013-06-24 Daiki Ueno * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the file name of gpg executable. (epg-context-program): New function. (epg-context-home-directory): New function. (epg-context-set-program): New function. (epg-context-set-home-directory): New function. (epg--start): Use `epg-context-program' instead of 'epg-gpg-program'. (epg--list-keys-1): Likewise. 2013-06-24 Leo Liu * ido.el (ido-read-internal): Fix bug#14620. 2013-06-23 Juanma Barranquero * faces.el (face-documentation): Simplify. (read-face-attribute, tty-find-type, x-resolve-font-name): Use `string-match-p'. (list-faces-display): Use `string-match-p'. Simplify. (face-spec-recalc): Check face to avoid face alias loops. (read-color): Use `string-match-p' and non-capturing parenthesis. 2013-06-23 Lars Magne Ingebrigtsen * net/shr.el (shr-rescale-image): Use the new :max-width/:max-height functionality. 2013-06-23 Ivan Kanis * net/eww.el (eww-search-prefix): New variable. (eww): Use it. (eww-external-browser): New variable. (eww-mode-map): New keystroke. (eww-browse-with-external-browser): New command. * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps. 2013-06-23 Juanma Barranquero * emacs-lisp/tabulated-list.el (tabulated-list-init-header): Don't skip aligning the next header field when padding is 0; otherwise, field width is not respected unless the title is as wide as the field. 2013-06-22 Stefan Monnier * emacs-lisp/package.el (package-el-version): Remove. (package-process-define-package): Fix inf-loop. (package-install): Allow symbols as arguments again. 2013-06-22 Dmitry Gutov * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch', add some more keyword-like methods. http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html 2013-06-22 Juanma Barranquero * bs.el (bs-buffer-show-mark): Make defvar-local. (bs-mode): Use setq-local. * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode) (emacs-lock--try-unlocking): Make defvar-local. 2013-06-22 Glenn Morris * play/cookie1.el (cookie-apropos): Minor simplification. * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar. 2013-06-22 Dmitry Gutov * progmodes/ruby-mode.el (auto-mode-alist): Do not use `regexp-opt', it breaks the build during dumping. 2013-06-21 Dmitry Gutov * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight keyword-like methods on Kernel and Module with font-lock-builtin-face. (auto-mode-alist): Consolidate different entries into one regexp and add more *file-s. 2013-06-21 Stephen Berman * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el. * calendar/diary-lib.el (diary-goto-entry-function): New variable. (diary-entry): Use it in the action of this button type instead of diary-goto-entry. * calendar/todo-mode.el: New version. (todo-add-category): Append new category to end of file and give it the highest number, instead of putting it at the beginning and giving it 0. Incorporate noninteractive functionality. (todo-forward-category): Adapt to 1-based category numbering. Allow skipping over archived categories. (todo-backward-category): Derive from todo-forward-category. (todo-backward-item, todo-forward-item): Make noninteractive and delegate interactive part to new commands. Make sensitive to done items. (todo-categories): Make value an alist of category names and vectors of item counts. (todo-category-beg): Make a defconst. (todo-category-number): Use 1 instead of 0 as initial value. (todo-category-select): Make sensitive to overlays, optional item highlighting and done items. (todo-delete-item): Make sensitive to overlays and marked and done items. (todo-edit-item): Make sensitive to overlays and editing of date/time header optional. Add format checks. (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a no-op if point is not on an item. Advertise using todo-edit-quit. (todo-edit-mode): Make sensitive to new format, font-locking, and multiple todo files. (todo-insert-item, todo-insert-item-here): Derive from todo-basic-insert-item and extend functionality. (todo-item-end, todo-item-start): Make sensitive to done items. (todo-item-string): Don't return text properties. Restore point. (todo-jump-to-category): Make sensitive to multiple todo files and todo archives. Use extended category completion. (todo-lower-item, todo-raise-item): Rename to *-priority and derive from todo-set-item-priority. (todo-mode): Derive from special-mode. Make sensitive to new format, font-locking and multiple todo files. Make read-only. (todo-mode-map): Don't suppress digit keys, so they can supply prefix arguments. Add many new key bindings. (todo-prefix): Insert as an overlay instead of file text. Change semantics from diary date expression to purely visual mark. (todo-print): Rename to todo-print-buffer. Make buffer display features printable. Remove option to restrict number of items printed. Add option to print to file. (todo-print-function): Rename to todo-print-buffer-function. (todo-quit): Extend to handle exiting new todo modes. (todo-remove-item): Make sensitive to overlays. (todo-save): Extend to buffers of filtered items. (todo-show): Make sensitive to done items, multiple todo files and new todo modes. Offer to convert legacy todo file before creating first new todo file. (todo-show-priorities): Rename to todo-top-priorities. Change semantics of value 0. (todo-top-priorities): Rename to todo-filter-top-priorities, derive from todo-filter-items and extend functionality. (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer and extend functionality to other types of filtered items. (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct) (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back) (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst) (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev) (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp) (todo-edit-mode-hook, todo-entry-prefix-function) (todo-entry-timestamp-initials, todo-file-do, todo-file-done) (todo-file-item, todo-file-top, todo-header, todo-initial-setup) (todo-initials, todo-insert-threshold, todo-item-string-start) (todo-line-string, todo-menu, todo-mode-hook) (todo-more-important-p, todo-previous-answer, todo-previous-line) (todo-print-priorities, todo-remove-separator) (todo-save-top-priorities-too, todo-string-count-lines) (todo-string-multiline-p, todo-time-string-format) (todo-tmp-buffer-name): Remove. (todo-add-file, todo-archive-done-item, todo-choose-archive) (todo-convert-legacy-files, todo-copy-item, todo-delete-category) (todo-edit-category-diary-inclusion) (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment) (todo-edit-file, todo-edit-item-date-day) (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar) (todo-edit-item-date-month, todo-edit-item-date-to-today) (todo-edit-item-date-year, todo-edit-item-diary-inclusion) (todo-edit-item-diary-nonmarking, todo-edit-item-header) (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items) (todo-filter-diary-items-multifile, todo-filter-regexp-items) (todo-filter-regexp-items-multifile, todo-filter-top-priorities) (todo-filter-top-priorities-multifile, todo-find-archive) (todo-find-filtered-items-file, todo-go-to-source-item) (todo-insert-item-from-calendar, todo-item-done, todo-item-undone) (todo-jump-to-archive-category, todo-lower-category) (todo-mark-category, todo-marked-item-p, todo-merge-category) (todo-move-category, todo-move-item, todo-next-button) (todo-next-item, todo-padded-string, todo-powerset) (todo-previous-button, todo-previous-item) (todo-print-buffer-to-file, todo-raise-category) (todo-rename-category, todo-repair-categories-sexp, todo-search) (todo-set-category-number, todo-set-item-priority) (todo-set-top-priorities-in-category) (todo-set-top-priorities-in-file, todo-show-categories-table) (todo-sort-categories-alphabetically-or-numerically) (todo-sort-categories-by-archived, todo-sort-categories-by-diary) (todo-sort-categories-by-done, todo-sort-categories-by-todo) (todo-toggle-item-header, todo-toggle-item-highlighting) (todo-toggle-mark-item, todo-toggle-prefix-numbers) (todo-toggle-view-done-items, todo-toggle-view-done-only) (todo-unarchive-items, todo-unmark-category): New commands. (todo-absolute-file-name, todo-add-to-buffer-list) (todo-adjusted-category-label-length, todo-basic-edit-item-header) (todo-basic-insert-item, todo-category-completions) (todo-category-number, todo-category-string-matcher-1) (todo-category-string-matcher-2, todo-check-filtered-items-file) (todo-check-format, todo-clear-matches) (todo-comment-string-matcher, todo-convert-legacy-date-time) (todo-current-category, todo-date-string-matcher) (todo-define-insertion-command, todo-diary-expired-matcher) (todo-diary-goto-entry, todo-diary-item-p) (todo-diary-nonmarking-matcher, todo-display-as-todo-file) (todo-display-categories, todo-display-sorted, todo-done-item-p) (todo-done-item-section-p, todo-done-separator) (todo-done-string-matcher, todo-files, todo-filter-items) (todo-filter-items-1, todo-filter-items-filename, todo-find-item) (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent) (todo-insert-category-line, todo-insert-item-from-calendar) (todo-insert-sort-button, todo-insert-with-overlays) (todo-insertion-command-name, todo-insertion-key-bindings) (todo-label-to-key, todo-longest-category-name-length) (todo-make-categories-list, todo-mode-external-set) (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2) (todo-modes-set-3, todo-multiple-filter-files) (todo-nondiary-marker-matcher, todo-prefix-overlays) (todo-read-category, todo-read-date, todo-read-dayname) (todo-read-file-name, todo-read-time) (todo-reevaluate-category-completions-files-defcustom) (todo-reevaluate-default-file-defcustom) (todo-reevaluate-filelist-defcustoms) (todo-reevaluate-filter-files-defcustom) (todo-reset-and-enable-done-separator, todo-reset-comment-string) (todo-reset-done-separator, todo-reset-done-separator-string) (todo-reset-done-string, todo-reset-global-current-todo-file) (todo-reset-highlight-item, todo-reset-nondiary-marker) (todo-reset-prefix, todo-set-categories) (todo-set-date-from-calendar, todo-set-show-current-file) (todo-set-top-priorities, todo-short-file-name) (todo-show-current-file, todo-sort, todo-time-string-matcher) (todo-total-item-counts, todo-update-buffer-list) (todo-update-categories-display, todo-update-categories-sexp) (todo-update-count, todo-validate-name, todo-y-or-n-p): New functions. (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode): New major modes. (todo-categories, todo-display, todo-edit, todo-faces) (todo-filtered): New defgroups. (todo-archived-only, todo-button, todo-category-string, todo-date) (todo-diary-expired, todo-done, todo-done-sep, todo-comment) (todo-mark, todo-nondiary, todo-prefix-string, todo-search) (todo-sorted-column, todo-time, todo-top-priority): New deffaces. (todo-add-item-if-new-category, todo-always-add-time-string) (todo-categories-align, todo-categories-archived-label) (todo-categories-category-label, todo-categories-diary-label) (todo-categories-done-label, todo-categories-number-separator) (todo-categories-todo-label, todo-categories-totals-label) (todo-category-completions-files, todo-completion-ignore-case) (todo-default-todo-file, todo-diary-nonmarking, todo-directory) (todo-done-separator-string, todo-done-string) (todo-files-function, todo-filter-done-items, todo-filter-files) (todo-highlight-item, todo-include-in-diary, todo-indent-to-here) (todo-initial-category, todo-initial-file, todo-item-mark) (todo-legacy-date-time-regexp, todo-mode-line-function) (todo-nondiary-marker, todo-number-prefix) (todo-print-buffer-function, todo-show-current-file) (todo-show-done-only, todo-show-first, todo-show-with-done) (todo-skip-archived-categories, todo-top-priorities-overrides) (todo-undo-item-omit-comment, todo-use-only-highlighted-region) (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space): New defcustoms. (todo-category-done, todo-date-pattern, todo-date-string-start) (todo-diary-items-buffer, todo-done-string-start) (todo-filtered-items-buffer, todo-item-start) (todo-month-abbrev-array, todo-month-name-array) (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer) (todo-top-priorities-buffer): New defconsts. (todo-archive-mode-map, todo-archives, todo-categories-mode-map) (todo-categories-with-marks, todo-category-string-face) (todo-comment-face, todo-comment-string, todo-current-todo-file) (todo-date-face, todo-date-from-calendar, todo-descending-counts) (todo-diary-expired-face, todo-done-face, todo-done-sep-face) (todo-done-separator, todo-edit-buffer, todo-edit-mode-map) (todo-file-buffers, todo-files, todo-filtered-items-mode-map) (todo-font-lock-keywords, todo-global-current-todo-file) (todo-insertion-commands, todo-insertion-commands-arg-key-list) (todo-insertion-commands-args) (todo-insertion-commands-args-genlist) (todo-insertion-commands-names, todo-insertion-map) (todo-key-bindings-t, todo-key-bindings-t+a) (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map) (todo-multiple-filter-files, todo-multiple-filter-files-widget) (todo-nondiary-face, todo-print-buffer, todo-time-face) (todo-visited): New variables. 2013-06-21 Glenn Morris * play/cookie1.el (cookie-apropos): Add optional display argument. * obsolete/yow.el (apropos-zippy): Use cookie-apropos. (psychoanalyze-pinhead): Use cookie-doctor. 2013-06-21 Juanma Barranquero * emacs-lisp/package.el (tar-get-file-descriptor) (tar--extract): Declare. 2013-06-21 Eduard Wiebe Extend flymake's warning predicate to be a function (bug#14217). * progmodes/flymake.el (flymake-warning-predicate): New. (flymake-parse-line): Use it. (flymake-warning-re): Make obsolete alias to `flymake-warning-predicate'. 2013-06-21 Stefan Monnier * emacs-lisp/package.el (package-alist): Include obsolete packages. (package-obsolete-list): Remove. (package-activate): Remove min-version argument. Add `force' argument. Adjust to new package-alist format. (package-mark-obsolete): Remove. (package-unpack): Force reload of the package's autoloads. (package-installed-p): Check builtins if the installed package is not recent enough. (package-initialize): Don't reset package-obsolete-list. Don't specify which package version to activate. (package-process-define-package, describe-package-1) (package-menu--generate): Adjust to new package-alist format. 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