2013-12-13 Glenn Morris * loadup.el (load-path): Warn if site-load or site-init changes it. No more need to reset it when bootstrapping. 2013-12-13 Teodor Zlatanov * progmodes/cfengine.el (cfengine-cf-promises): Add more default locations for cf-promises. (cfengine-mode-syntax-functions-regex): New caching variable. (cfengine3-fallback-syntax): Fallback syntax for cases where cf-promises doesn't run. (cfengine3--current-word): Reimplement using `cfengine-mode-syntax-functions-regex'. (cfengine3-completion-function, cfengine3--current-function): Use `cfengine3-make-syntax-cache' directly. (cfengine3-clear-syntax-cache): New function. (cfengine3-make-syntax-cache): Simplify and create `cfengine-mode-syntax-functions-regex' on demand. (cfengine3-format-function-docstring): Don't call `cfengine3-make-syntax-cache' explicitly. 2013-12-13 Martin Rudalics Fix windmove-find-other-window broken after pixelwise resizing (Bug#16017). * windmove.el (windmove-other-window-loc): Revert change from 2013-12-04. (windmove-find-other-window): Call window-in-direction. * window.el (window-in-direction): New arguments SIGN, WRAP and MINI to emulate original windmove-find-other-window behavior. 2013-12-13 Dmitry Gutov * simple.el (blink-matching--overlay): New variable. (blink-matching-open): Instead of moving point, highlight the matching paren with an overlay (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html). * faces.el (paren-showing-faces, show-paren-match) (show-paren-mismatch): Move from paren.el. 2013-12-13 Leo Liu * indent.el (indent-region): Disable progress reporter in minibuffer. (Bug#16108) * bindings.el (visual-order-cursor-movement): Fix version. 2013-12-13 Fabián Ezequiel Gallina * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp): Also match after beginning of line. (python-pdbtrack-set-tracked-buffer): Fix logic for remote files. Thanks to Russell Sim. (Bug#15378) 2013-12-13 Juri Linkov * simple.el : Remove key bindings duplicated with bindings.el. (Bug#14397) 2013-12-13 Juri Linkov * comint.el (comint-mode-map): Replace `delete-char' with `delete-forward-char'. (Bug#16109) 2013-12-12 Fabián Ezequiel Gallina * progmodes/python.el (python-indent-calculate-indentation): Fix de-denters cornercase. (Bug#15731) 2013-12-12 Stefan Monnier * emacs-lisp/nadvice.el: Add `depth' property to manage ordering. (advice--make): Pay attention to `depth'. (advice--make-1): Don't autoload commands eagerly. * emacs-lisp/elp.el (elp-instrument-function): * emacs-lisp/trace.el (trace-function-internal): * emacs-lisp/debug.el (debug-on-entry): Keep them "first". * iswitchb.el (iswitchb-mode): Don't belittle ido. 2013-12-12 Eli Zaretskii * term/w32-win.el (w32-handle-dropped-file): * startup.el (normal-top-level): * net/browse-url.el (browse-url-file-url): * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and decode file names using 'utf-8' rather than file-name-coding-system. 2013-12-12 Fabián Ezequiel Gallina * progmodes/python.el (python-indent-context) (python-indent-calculate-indentation): Fix auto-identation behavior for comment blocks. (Bug#15916) 2013-12-12 Nathan Trapuzzano (tiny change) * progmodes/python.el (python-indent-calculate-indentation): When determining indentation, don't treat "return", "pass", etc., as operators when they are just string constituents. (Bug#15812) 2013-12-12 Juri Linkov * uniquify.el (uniquify-buffer-name-style): Change default to `post-forward-angle-brackets'. * menu-bar.el (menu-bar-options-menu): Don't require preloaded `uniquify'. Change default to `post-forward-angle-brackets'. 2013-12-11 Glenn Morris * emacs-lisp/package.el (finder-list-matches): Autoload rather than falsely declaring. 2013-12-11 Teodor Zlatanov * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers. (eww-mode-map): Use them. 2013-12-11 Martin Rudalics * window.el (display-buffer-in-side-window): Fix doc-string (Bug#16115). 2013-12-11 Juanma Barranquero * vc/vc-git.el: Silence byte-compiler warnings. (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored. (log-edit-set-header): Declare. 2013-12-11 Eli Zaretskii * Makefile.in (custom-deps, finder-data): Run output file names through unmsys--file-name. (Bug#16099) 2013-12-11 Stefan Monnier * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching comment-start-skip, which fails when that uses submatch 1 (bug#16041). * emulation/cua-base.el (cua-paste): Add `delete-selection' property instead of deleting the selection "by hand" (bug#16098). Rely on insert-for-yank to yank rectangles. (cua-highlight-region-shift-only): Mark obsolete. (cua-mode): Don't enable/disable transient-mark-mode, shift-select-mode (cua-mode works both with and without them), and pc-selection-mode (obsolete). * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark. (cua--deactivate-rectangle): Deactivate it. * delsel.el (delete-selection-mode): Don't enable transient-mark-mode. (delete-selection-helper): Make sure yank starts at the top of the deleted region. (minibuffer-keyboard-quit): Use region-active-p. * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark. * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically to `delete' (bug#16109). 2013-12-11 Rüdiger Sonderfeld * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to info manual and show keybindings and set `:group' keyword. 2013-12-11 Juri Linkov * delsel.el (delete-active-region): Let-bind `this-command' to prevent `kill-region' from changing its original value. (delete-selection-helper): Handle `overwrite-mode' for the type `kill' exactly the same way as for the type `t'. (insert-char, quoted-insert, reindent-then-newline-and-indent): Support more commands. (Bug#13312) 2013-12-11 Juri Linkov * bindings.el: Map kp keys to non-kp keys systematically with basic modifiers control, meta and shift. (Bug#14397) 2013-12-11 Kenjiro NAKAYAMA (tiny change) * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and "Close browser" menu items. Fix wrong function of "List bookmarks". 2013-12-11 Juri Linkov * misearch.el (multi-isearch-buffers): Set the value of `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT arg of isearch-forward to t. (multi-isearch-buffers-regexp): Set the value of `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT arg of isearch-forward-regexp to t. (multi-isearch-files): Set the value of `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT arg of isearch-forward to t. (multi-isearch-files-regexp): Set the value of `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT arg of isearch-forward-regexp to t. (Bug#16035) * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT arg of isearch-forward to t. (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT arg of isearch-forward-regexp to t. (dired-isearch-filter-filenames): Remove unnecessary check for `dired-isearch-filenames'. * comint.el (comint-history-isearch-backward): Set NO-RECURSIVE-EDIT arg of isearch-backward to t. (comint-history-isearch-backward-regexp): Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t. 2013-12-10 Eli Zaretskii * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through unmsys--file-name. (Bug#16099) 2013-12-10 Teodor Zlatanov * emacs-lisp/package.el (package-keyword-button-action): Remove finder.el require dependency. 2013-12-09 Teodor Zlatanov * emacs-lisp/package.el: Require finder.el. (describe-package-1): Add keyword buttons. (package-make-button): New convenience function. (package-keyword-button-action): Keyword button action using `finder-list-matches' 2013-12-09 Eli Zaretskii * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in last commit. 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