eww: jump to next select field easier and better ftp error
[bpt/emacs.git] / lisp / ChangeLog
index 43185a2..fe564a9 100644 (file)
@@ -1,3 +1,444 @@
+2013-12-22  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
+
+       * net/eww.el (eww-tag-select): Add text-property to jump to next
+       select field.
+        (eww) : Add non-supported ftp error.
+
+2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
+       comments.  Handle electric indent after typing `?' and `!'.
+
+2013-12-22  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (face-spec-recalc): If the theme specs are not
+       applicable to a frame, fall back on the defface spec.  This
+       prevents themes from obliterating faces on low-color terminals.
+
+2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
+       after `{'.  We need it after block openers, and it doesn't seem
+       to hurt after hash openers.
+
+2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
+       extracted from `ruby-smie-rules'.
+       (ruby--electric-indent-chars): New variable.
+       (ruby--electric-indent-p): New function.
+       (ruby-mode): Use `electric-indent-functions' instead of
+       `electric-indent-chars'.
+
+2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
+       docstring.
+       (ruby-smie-rules): Indent plus one level after `=>'.
+
+2013-12-21  Richard Stallman  <rms@gnu.org>
+
+       * simple.el (newline): Doc fix.
+
+2013-12-21  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
+
+        * net/eww.el (eww-list-histories, eww-list-histories)
+       (eww-history-browse, eww-history-quit, eww-history-kill)
+       (eww-history-mode-map, eww-history-mode): New command and
+       functions to list browser histories.
+        (eww-form-text): Support text form with disabled
+        and readonly attributes.
+        (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
+
+2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
+
+       * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
+       (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
+       (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
+       (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
+       Use `user-error'.
+       (eww-bookmark-mode-map): Add menu.
+       (eww-render, eww-mode): Use `setq-local'.
+       (eww-tool-bar-map): New variable.
+       (eww-mode): Set `tool-bar-map'.
+       (eww-view-source): Check for `html-mode' with `fboundp'.
+
+2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr--extract-best-source): Don't bug out on audio
+       elements with text inside.  Also remove debugging.
+
+2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * cus-start.el (all): Add ns-use-srgb-colorspace.
+
+2013-12-21  Chong Yidong  <cyd@gnu.org>
+
+       * custom.el (custom-theme-recalc-face): Do nothing if the face is
+       undefined.  Thus, theme settings for undefined faces do not take
+       effect until the faces are defined with defface, the same as with
+       theme variables.
+
+       * faces.el (face-spec-set): Use face-spec-recalc in all cases.
+       (face-spec-reset-face): Don't assign extra properties in temacs.
+       (face-spec-recalc): Apply X resources too.
+
+2013-12-21  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (face-spec-set):
+       * cus-face.el (custom-theme-set-faces, custom-set-faces):
+       * custom.el (defface): Doc fixes (Bug#16203).
+
+       * indent.el (indent-rigidly-map): Add docstring, and move commands
+       into named functions.
+       (indent-rigidly-left, indent-rigidly-right)
+       (indent-rigidly-left-to-tab-stop)
+       (indent-rigidly-right-to-tab-stop): New functions.  Decide on
+       indentation direction based on bidi direction, and accumulate
+       sequential commands in a single undo boundary.
+       (indent-rigidly--pop-undo): New utility function.
+
+2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
+
+       * faces.el (read-face-name): Require crm.el when using crm-separator.
+
+2013-12-20  Daniel Colascione  <dancol@dancol.org>
+
+       * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
+       so that we don't reflow comments into the shebang line.
+
+2013-12-20  Juri Linkov  <juri@jurta.org>
+
+       * saveplace.el (save-place-to-alist): Add `dired-filename' as
+       a position when `dired-directory' is non-nil.  Check integer
+       positions with `integerp'.
+       (toggle-save-place, save-places-to-alist): Add check for
+       `dired-directory'.
+       (save-place-find-file-hook): Check integer positions with
+       `integerp'.
+       (save-place-dired-hook): Use `dired-goto-file' when
+       `dired-filename' is found in the assoc list.  Check integer
+       positions with `integerp'.
+       (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
+
+       * dired.el (dired-initial-position-hook): Rename back from
+       `dired-initial-point-hook'.
+       (dired-initial-position): Rename `dired-initial-point-hook' to
+       `dired-initial-position-hook'.
+       (dired-file-name-at-point): Doc fix.  (Bug#15329)
+
+2013-12-20  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
+       (read-regexp-suggestions): New function.
+       (read-regexp): Use `read-regexp-defaults-function' to get default values.
+       Use `read-regexp-suggestions'.  Add non-empty default to history
+       for empty input.
+       (occur-read-regexp-defaults-function): Remove function.
+       (occur-read-primary-args): Use `regexp-history-last' instead of
+       `occur-read-regexp-defaults-function'.
+
+       * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
+       (hi-lock-line-face-buffer, hi-lock-face-buffer)
+       (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
+       `hi-lock-read-regexp-defaults-function'.  Doc fix.
+       (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
+       with `find-tag-default-as-symbol-regexp'.  Doc fix.
+       (hi-lock-read-regexp-defaults): Remove function.
+       (hi-lock-regexp-okay): Add check for null.
+
+       * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
+       the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
+
+       * subr.el (find-tag-default-as-symbol-regexp): New function.
+       (find-tag-default-as-regexp): Move symbol regexp formatting to
+       `find-tag-default-as-symbol-regexp'.
+
+2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
+
+       * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
+       (Bug#14179)
+
+2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el: New implementation of item insertion
+       commands and key bindings.
+       (todo-key-prompt): New face.
+       (todo-insert-item): New command.
+       (todo-insert-item--parameters): New defconst, replacing defvar
+       todo-insertion-commands-args-genlist.
+       (todo-insert-item--param-key-alist): New defconst, replacing
+       defvar todo-insertion-commands-arg-key-list.
+       (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
+       (todo-insert-item--argsleft, todo-insert-item--apply-args)
+       (todo-insert-item--next-param): New functions.
+       (todo-insert-item--args, todo-insert-item--argleft)
+       (todo-insert-item--argsleft, todo-insert-item--newargsleft):
+       New variables.
+       (todo-key-bindings-t): Change binding of "i" from
+       todo-insertion-map to todo-insert-item.
+       (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
+       (todo-insertion-command-name, todo-insertion-commands-names)
+       (todo-define-insertion-command, todo-insertion-commands)
+       (todo-insertion-key-bindings, todo-insertion-map): Remove.
+
+2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
+       (todo-toggle-item-highlighting): Use eval-and-compile instead of
+       eval-when-compile.
+       (todo-move-category): Allow choosing a non-existing todo file to
+       move the category to, and create that file.
+       (todo-default-priority): New user option.
+       (todo-set-item-priority): Use it.
+       (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
+       (desktop-restore-file-buffer): Declare.
+       (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
+       (todo-modes-set-2): Locally set desktop-save-buffer to
+       todo-desktop-save-buffer.
+       (todo-mode, todo-archive-mode, todo-filtered-items-mode)
+       (auto-mode-alist): Add autoload cookie.
+
+2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
+
+       * emacs-lisp/subr-x.el: Renamed from helpers.el.
+       helpers.el was a poor choice of name.
+       (string-remove-prefix): New function.
+       (string-remove-suffix): New function.
+
+2013-12-20  Martin Rudalics  <rudalics@gmx.at>
+
+       Fix assignment for new window total sizes.
+       * window.el (window--pixel-to-size): Remove function.
+       (window--pixel-to-total-1, window--pixel-to-total):
+       Fix calculation of new total sizes.
+
+2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
+
+       * comint.el (comint-output-filter): Fix rear-nonsticky property
+       placement (Bug#16010).
+
+2013-12-20  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (read-color): Minor fix for completion function.
+
+2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
+       New option.  (Bug#16182)
+       (ruby-smie--indent-to-stmt-p): Use it.
+       (ruby-smie-rules): Revert the logic in the handling of `when'.
+       Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
+       (ruby-deep-arglist, ruby-deep-indent-paren)
+       (ruby-deep-indent-paren-style): Update docstrings to note that the
+       vars don't have any effect with SMIE.
+
+2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (calc-enter, calc-pop): Use the variable
+       `calc-context-sensitive-enter'.
+
+2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-insert): Protect against infloops in degenerate
+       tables.
+
+2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
+
+       * progmodes/octave.el (octave): Add link to manual and octave
+       homepage.
+       (octave-mode-menu): Link to octave-mode manual.
+
+2013-12-20  Leo Liu  <sdl.web@gmail.com>
+
+       * skeleton.el (skeleton-pair-insert-maybe): Disable newline
+       insertion using skeleton-end-newline.  (Bug#16138)
+
+2013-12-20  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (occur-engine): Use `add-face-text-property'
+       to add the face property to matches and titles.  (Bug#14645)
+
+       * hi-lock.el (hi-green): Use lighter color "light green" closer to
+       the palette of other hi-lock colors.
+       (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
+
+2013-12-19  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
+       Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
+       (minibuffer-history-symbol): Move variable declaration closer to
+       its usage.
+
+       * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
+       (Bug#14785)
+
+2013-12-19  Juri Linkov  <juri@jurta.org>
+
+       * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
+       New function.
+       (log-edit-hook): Add it to :options.  (Bug#16170)
+
+2013-12-19  Juri Linkov  <juri@jurta.org>
+
+       * simple.el (eval-expression-print-format): Don't check for
+       command names and the last command.  Always display additional
+       formats of the integer result in the echo area, and insert them
+       to the current buffer only with a zero prefix arg.
+       Display character when char-displayable-p is non-nil.
+       (eval-expression): With a zero prefix arg, set `print-length' and
+       `print-level' to nil, and insert the integer values from
+       `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
+
+       * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
+       `eval-last-sexp-arg-internal'.  Doc fix.
+       (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
+       `eval-last-sexp-print-value'.  Doc fix.
+       (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
+       Set `print-length' and `print-level' to nil when arg is zero.
+       (eval-last-sexp): Doc fix.
+       (eval-defun-2): Print the integer values from
+       `eval-expression-print-format' at the end.
+
+       * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
+       values from `eval-expression-print-format' at the end.
+
+       * ielm.el (ielm-eval-input): Print the integer
+       values from `eval-expression-print-format' at the end.
+
+2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
+       2013-12-11T19:01:44Z!tzz@lifelogs.com.
+
+2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
+       (hl-line-highlight, global-hl-line-highlight): Use it.
+       (hl-line-overlay): Use defvar-local.
+
+2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * term/ns-win.el: Require dnd.
+       (global-map): Remove drag items.
+       (ns-insert-text, ns-set-foreground-at-mouse)
+       (ns-set-background-at-mouse):
+       Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
+       (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
+       New functions.
+
+2013-12-19  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/ert.el (ert-select-tests):
+       Fix string/symbol mixup.  (Bug#16121)
+
+2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
+       keywords to their parent.
+
+2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
+       first arg to be a string (fixed dead code), or an operator symbol.
+       (ruby-smie--forward-token): Tokenize ` @ ' before strings and
+       operator symbols.
+       (ruby-smie-rules): Remove parent token check in the `.' clause, it
+       did nothing.  Don't respond to `(:after ".")', it will be called
+       with :before anyway.  Remove the ` @ ' rule, it didn't seem to
+       change anything.  Only return indentation for binary operators
+       when they are hanging.  De-dent opening paren when its parent is
+       `.', otherwise it looks bad when the dot is not at bol or eol
+       (bug#16182).
+
+2013-12-19  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (query-replace-read-args): Split a non-negative arg
+       and a negative arg into separate elements.
+       (query-replace, query-replace-regexp, replace-string)
+       (replace-regexp): Add arg `backward'.  Doc fix.
+       (replace-match-maybe-edit): When new arg `backward' is non-nil,
+       move point to the beginning of the match.
+       (replace-search, replace-highlight): Use new arg `backward'
+       to set the value of `isearch-forward'.
+       (perform-replace): Add arg `backward' and use it to perform
+       replacement backward.  (Bug#14979)
+
+       * isearch.el (isearch-query-replace): Use a negative prefix arg
+       to call `perform-replace' with a non-nil arg `backward'.
+
+2013-12-18  Juri Linkov  <juri@jurta.org>
+
+       * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
+       to the default list.  Move `log-edit-show-files' to the end.
+       Add more available functions to options.
+       (log-edit): Move default specific settings to
+       `log-edit-insert-message-template'.  Don't move point.
+       (log-edit-insert-message-template): New function.
+       (log-edit-insert-changelog): Add `save-excursion' and don't move point.
+       (Bug#16170)
+
+2013-12-18  Juri Linkov  <juri@jurta.org>
+
+       * help-mode.el (help-mode-map): Bind "l" to help-go-back,
+       and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
+
+2013-12-18  Leo Liu  <sdl.web@gmail.com>
+
+       * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
+
+2013-12-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
+       formats for displaying file sizes when the -s switch is given.
+       Instead, compute a separate format for displaying the size in
+       blocks, which is displayed in addition to the "regular" size.
+       When -h is given in addition to -s, produce size in blocks in
+       human-readable form as well.  (Bug#16179)
+
+2013-12-18  Tassilo Horn  <tsdh@gnu.org>
+
+       * textmodes/reftex-vars.el (reftex-label-alist-builtin):
+       Reference tables with ~\ref{...} instead of only \ref{...}.
+
+2013-12-18  Chong Yidong  <cyd@gnu.org>
+
+       * cus-edit.el (custom-magic-alist): Fix "themed" description
+       (Bug#14348).
+
+       * custom.el (custom-push-theme): If custom--inhibit-theme-enable
+       is non-nil, do not create a new entry in the symbol's theme-value
+       or theme-face property; update theme-settings only (Bug#14664).
+       (custom-available-themes): Doc fix.
+
+       * cus-theme.el (custom-new-theme-mode-map): Add bindings
+       (Bug#15674).
+
+       * replace.el (occur-engine): Avoid infloop (Bug#7593).
+
+2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
+
+       * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
+       (Bug#13914).
+
+2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
+
+       * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
+
+2013-12-18  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
+       * cus-start.el (load-prefer-newer): New option.
+
+2013-12-18  Le Wang  <l26wang@gmail.com>
+
+       * comint.el (comint-previous-matching-input-from-input):
+       Retain point (Bug#13404).
+
+2013-12-18  Chong Yidong  <cyd@gnu.org>
+
+       * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
+
 2013-12-18  Glenn Morris  <rgm@gnu.org>
 
        * mail/emacsbug.el (report-emacs-bug):
        * bindings.el: Map kp keys to non-kp keys systematically
        with basic modifiers control, meta and shift.  (Bug#14397)
 
-2013-12-11  Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>  (tiny change)
+2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>  (tiny change)
 
        * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
        "Close browser" menu items.  Fix wrong function of "List
        (describe-package-1): Add keyword buttons.
        (package-make-button): New convenience function.
        (package-keyword-button-action): Keyword button action using
-       `finder-list-matches'
+       `finder-list-matches'.
 
 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
 
        * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
        add-hook and remove-hook for multi-buffer search.  (Bug#16035)
 
-2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
+2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
 
        * notifications.el (notifications-close-notification): Call the
        D-Bus method with ID being a `:uint32'.  (Bug#16030)
        (eww-form-checkbox, eww-toggle-checkbox):
        Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
 
-       * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
+       * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
        (shr--get-media-pref, shr--extract-best-source): New function.
-       (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
+       (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
        no :src tag was specified.
 
        * net/eww.el (eww-use-external-browser-for-content-type): New variable.
        poster is available.
        (shr-tag-audio): Add support for <audio> tag.
 
-       * net/eww.el (eww-text-input-types): New const.
+       * net/eww.el (eww-text-input-types): New const.
        (eww-process-text-input): Treat input types in
        `eww-text-input-types' as text.
 
 
 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
 
-        * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
-        (eww-add-bookmark): ask confirmation when add to bookmarks
-        (eww-quit): ask confirmation before quitting eww
+       * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
+       (eww-add-bookmark): Ask confirmation when add to bookmarks
+       (eww-quit): Ask confirmation before quitting eww.
 
 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
 
 
 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
 
-       * textmodes/remember.el (remember): set buffer-offer-save in
+       * textmodes/remember.el (remember): Set buffer-offer-save in
        remember buffers (bug#13566).
 
 2013-10-18  Daniel Colascione  <dancol@dancol.org>
 
        * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
 
-       * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
+       * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
 
 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 
 2013-09-08  Kenichi Handa  <handa@gnu.org>
 
-       * international/characters.el: Set category "^" (Combining) for
+       * international/characters.el: Set category "^" (Combining) for
        more characters.
 
 2013-09-07  Alan Mackenzie  <acm@muc.de>