2013-12-09 Michael Albinus * autorevert.el (auto-revert-notify-add-watch): Do not handle symlinked files. 2013-12-09 Dmitry Gutov * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t after the end of a percent literal. 2013-12-09 Cameron Desautels (tiny change) * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle caret-delimited strings (Bug#16079). 2013-12-09 Dmitry Gutov * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When `ruby-use-smie' is t, use `smie-forward-sexp' instead of `ruby-parse-partial' (Bug#16078). 2013-12-09 Leo Liu * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091) 2013-12-08 Dmitry Gutov * progmodes/js.el (js-auto-indent-flag): Remove, was unused. (js-switch-indent-offset): New option. (js--proper-indentation): Use it. And handle the case when "default" is actually a key in an object literal. (js--same-line): New function. (js--multi-line-declaration-indentation): Use it. (js--indent-in-array-comp, js--array-comp-indentation): New functions. (js--proper-indentation): Use them, to handle array comprehension continuations. 2013-12-08 Leo Liu * progmodes/flymake.el (flymake-highlight-line): Re-write. (flymake-make-overlay): Remove arg MOUSE-FACE. (flymake-save-string-to-file, flymake-read-file-to-string): Remove. 2013-12-08 Stefan Monnier * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay): New function. (redisplay-highlight-region-function): Use it. * emulation/cua-base.el (cua--explicit-region-start) (cua--last-region-shifted): Remove. (cua--deactivate): Use deactivate-mark. (cua--pre-command-handler-1): Don't handle shift-selection. (cua--post-command-handler-1): Don't change transient-mark-mode. (cua--select-keymaps): Use region-active-p rather than cua--explicit-region-start or cua--last-region-shifted. (cua-mode): Enable shift-select-mode. 2013-12-08 Leo Liu * progmodes/flymake.el (flymake-popup-current-error-menu): Rename from flymake-display-err-menu-for-current-line. Reimplement. (flymake-posn-at-point-as-event, flymake-popup-menu) (flymake-make-emacs-menu): Remove. (Bug#16077) 2013-12-08 Stefan Monnier * rect.el (rectangle-mark-mode): Activate mark even if transient-mark-mode is off (bug#16066). (rectangle--highlight-for-redisplay): Fix boundary condition when point is > mark and at bolp. * emulation/cua-rect.el (cua--rectangle-region-extract): New function. (region-extract-function): Use it. (cua-mouse-save-then-kill-rectangle): Use cua-copy-region. (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle): Delete functions. (cua--init-rectangles): Don't re-remap copy-region-as-kill, kill-ring-save, kill-region, delete-char, delete-forward-char. Ignore self-insert-iso. * emulation/cua-gmrk.el (cua--init-global-mark): Ignore `self-insert-iso'. * emulation/cua-base.el (cua--prefix-copy-handler) (cua--prefix-cut-handler): Rely on region-extract-function rather than checking cua--rectangle. (cua-delete-region): Use region-extract-function. (cua-replace-region): Delete function. (cua-copy-region, cua-cut-region): Obey region-extract-function. (cua--pre-command-handler-1): Don't do the delete-selection thing. (cua--self-insert-char-p): Ignore `self-insert-iso'. (cua--init-keymaps): Don't remap delete-selection commands. (cua-mode): Use delete-selection-mode instead of rolling our own (bug#16085). * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region): Obey region-extract-function. Make registers and delete-selection-mode work on rectangles. * register.el (describe-register-1): Don't modify the register's value. (copy-to-register): Obey region-extract-function. * delsel.el (delete-active-region): Obey region-extract-function. 2013-12-08 Leo Liu * progmodes/flymake.el (flymake, flymake-error-bitmap) (flymake-warning-bitmap, flymake-fringe-indicator-position) (flymake-compilation-prevents-syntax-check) (flymake-start-syntax-check-on-newline) (flymake-no-changes-timeout, flymake-gui-warnings-enabled) (flymake-start-syntax-check-on-find-file, flymake-log-level) (flymake-xml-program, flymake-master-file-dirs) (flymake-master-file-count-limit) (flymake-allowed-file-name-masks): Relocate. (flymake-makehash, flymake-float-time) (flymake-replace-regexp-in-string, flymake-split-string) (flymake-get-temp-dir): Remove. (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu) (flymake-current-row, flymake-selected-frame) (flymake-get-point-pixel-pos): Remove xemacs compatibity and related functions. (Bug#16077) 2013-12-07 Bozhidar Batsov * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'. 2013-12-07 Tassilo Horn * help-fns.el (describe-function-1): Use new advice-* functions rather than old ad-* functions. Fix function type description and source links for advised functions and subrs. 2013-12-07 Lars Magne Ingebrigtsen * net/shr.el (shr-tag-img): Don't bug out on data. 2013-12-06 Michael Albinus * progmodes/compile.el (compilation-start): * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de. * net/tramp-sh.el (tramp-sh-handle-start-file-process): Handle long command lines, lasting from "sh -c ...". (Bug#16045) 2013-12-06 Dmitry Gutov * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch up the last change. 2013-12-06 Leo Liu * progmodes/octave.el (inferior-octave-prompt): Use shy groups. (inferior-octave-startup): Always use "octave> " for prompt. (octave-goto-function-definition) (octave-sync-function-file-names) (octave-find-definition-default-filename): Remove redundant backquotes. 2013-12-06 Dmitry Gutov * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify syntax for `?'. (ruby-expr-beg): Expect that `!' will have syntax class "symbol" where appropriate already. (ruby-syntax-propertize-function): Propertize `?' and `!' at the end of method names (Bug#15874). 2013-12-06 Juri Linkov * isearch.el (isearch--saved-overriding-local-map): New internal variable. (isearch-mode): Set it to the initial value of `overriding-terminal-local-map'. (isearch-pre-command-hook): Compare `overriding-terminal-local-map' with `isearch--saved-overriding-local-map'. (Bug#16035) 2013-12-06 Dmitry Gutov * progmodes/octave.el (inferior-octave-completion-table): Turn back into function, use `completion-table-with-cache' (Bug#11906). Update all references. * minibuffer.el (completion-table-with-cache): New function. 2013-12-05 Cameron Desautels (tiny change) * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046). 2013-12-05 Teodor Zlatanov * net/eww.el (eww-current-source): New variable to store page source. (eww-display-html, eww-mode, eww-save-history) (eww-restore-history): Use it. (eww-view-source): New command to view page source. Opportunistically uses `html-mode' to highlight the buffer. (eww-mode-map): Install it. 2013-12-05 Michael Albinus * net/dbus.el (dbus-unregister-service) (dbus-escape-as-identifier, dbus-unescape-from-identifier): Fix docstring. (dbus-unregister-service): Skip :serial entries in `dbus-registered-objects-table'. (dbus-byte-array-to-string): New optional arg MULTIBYTE. 2013-12-04 Teodor Zlatanov * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace around keywords with extra `split-string' argument. 2013-12-04 Martin Rudalics * windmove.el (windmove-other-window-loc): Handle navigation between windows (excluding the minibuffer window - Bug#16017). 2013-12-04 Michael Albinus * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays in D-Bus type syntax. (dbus-unescape-from-identifier): Use `byte-to-string' in order to preserve unibyte strings. (Bug#16048) 2013-12-04 Stefan Monnier * emacs-lisp/eldoc.el (eldoc-minibuffer-message): Call force-mode-line-update is the proper buffer (bug#16042). 2013-12-04 Dmitry Gutov * vc/log-edit.el (log-edit-add-new-comment): Rename to `log-edit-remember-comment', make argument optional. Adjust all callers. (log-edit-mode): Add `log-edit-remember-comment' to `kill-buffer-hook' locally. (log-edit-kill-buffer): Don't remember comment explicitly since the buffer is killed anyway. 2013-12-04 Juri Linkov * 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 (tiny change) * notifications.el (notifications-close-notification): Call the D-Bus method with ID being a `:uint32'. (Bug#16030) 2013-12-03 Katsumi Yamaoka * net/eww.el (eww-render): Don't pass arg to eww-display-image. 2013-12-03 Juri Linkov * progmodes/compile.el (compilation-start): Rename window alist entry `no-display-ok' to `allow-no-window'. * simple.el (shell-command): Add window alist entry `allow-no-window' to `display-buffer'. (async-shell-command): Doc fix. * window.el (display-buffer-no-window): New action function. (display-buffer-alist, display-buffer): Doc fix. (Bug#13594) 2013-12-02 Dmitry Gutov * vc/log-edit.el (log-edit-set-header): Extract from `log-edit-toggle-header'. (log-edit-extract-headers): Separate the summary, when extracted from header, from the rest of the message with an empty line. * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary line, if present, to the Summary header. 2013-12-02 Stefan Monnier * epa-file.el (epa-file-insert-file-contents): Ensure we insert text in current-buffer (bug#16029). 2013-12-02 Helmut Eller * emacs-lisp/debug.el (debugger-toggle-locals): New command. (debugger-mode-map): Bind it. (debugger--backtrace-base): New function. (debugger-eval-expression): Use it. (debugger-frame-number): Skip local vars when present. (debugger--locals-visible-p, debugger--insert-locals) (debugger--show-locals, debugger--hide-locals): New functions. 2013-12-02 Michael Albinus * net/tramp-sh.el (tramp-remote-process-environment): Do not set "LC_ALL". (tramp-get-remote-locale): New defun. (tramp-open-connection-setup-interactive-shell): Use it. 2013-12-02 Leo Liu * subr.el (process-live-p): Return nil for non-process. (Bug#16023) * progmodes/sh-script.el (sh-shell-process): * progmodes/octave.el (inferior-octave-process-live-p): * progmodes/gdb-mi.el (gdb-delchar-or-quit) (gdb-inferior-io-sentinel): * emacs-lock.el (emacs-lock-live-process-p): All uses changed. 2013-12-02 Dmitry Gutov * vc/log-edit.el (log-edit-kill-buffer): Move the use of `save-selected-window' to `log-edit-hide-buf'. This makes `log-edit-show-files' idempotent. (log-edit-show-files): Mark the new window as dedicated. 2013-12-02 Dmitry Gutov * vc/log-edit.el (log-edit-mode-map): Add binding for `log-edit-kill-biffer'. (log-edit-hide-buf): Add a FIXME comment. (log-edit-add-new-comment): New function, extracted from `log-edit-done'. (log-edit-done, log-edit-add-to-changelog): Use it. (log-edit-kill-buffer): New command. 2013-12-01 Lars Magne Ingebrigtsen * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window' instead of killing the buffer. 2013-12-01 Stefan Monnier * simple.el (newline): Mention `electric-indent-mode' (bug#16015). 2013-12-01 Rüdiger Sonderfeld * net/eww.el (eww-form-checkbox-selected-symbol) (eww-form-checkbox-symbol): New customizable variable. (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. (shr--get-media-pref, shr--extract-best-source): New function. (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. (eww-render): Handle `eww-use-external-browser-for-content-type'. Use \\` to match beginning of string instead of ^. (eww-browse-with-external-browser): Provide optional URL parameter. (eww-render): Set `eww-current-title' back to "". * net/shr.el (shr-tag-video): Display content for video if no poster is available. (shr-tag-audio): Add support for