2014-02-02 Glenn Morris * register.el (register-preview-default): New function, split from register-preview. (register-preview-function): Rename from register-preview-functions, make it not a hook. (register-preview): Use register-preview-function. (register-read-with-preview): Error on non-character event. (Bug#16595) 2014-02-01 Dmitry Gutov * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for `:' before binary operators (bug#16609). Don't check for `:' before `[' and `(', or their syntax status. A percent literal can't end with either. (ruby-font-lock-keywords): For built-ins that require arguments, check that they're followed by something that looks like argument (bug#16610). 2014-02-01 Lars Ingebrigtsen * subr.el (butlast): Document what an omitted N means (bug#13437). (nbutlast): Ditto. 2014-01-31 Lars Ingebrigtsen * net/shr.el (shr-generic): Make into a defsubst to make the stack depth shallower (bug#16587). (shr-tag-svg): Respect `shr-inhibit-images'. (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882). 2014-01-31 Dmitry Gutov * progmodes/ruby-mode.el (ruby-align-chained-calls): New option. (ruby-smie-grammar): Make "." right-associative. Make its priority lower than the ternary and all binary operators. (ruby-smie-rules): Indent "(" relative to the first non-"." parent, or the first "." parent at indentation. Use `ruby-align-chained-calls' for indentation of "." tokens. (Bug#16593) 2014-01-31 Juri Linkov * sort.el (delete-duplicate-lines): Remove `:weakness 'key' from `make-hash-table'. * textmodes/ispell.el (ispell-init-process): Change message format to be consistent with other messages. 2014-01-31 Glenn Morris * delsel.el (delete-selection-mode): Doc fix. * emacs-lisp/trace.el (trace--read-args, trace-function-foreground) (trace-function-background): Doc fixes. * ido.el (ido-use-virtual-buffers): Doc fix. Reset :version, since the default value has not changed. * register.el (register-preview-delay, register-read-with-preview): Doc fixes. * mail/reporter.el (reporter-dump-variable): In case of void-variable, do not mess with mail-buffer position (fixes 2009-11-03 change). * progmodes/cc-mode.el (c-submit-bug-report): Check auto-fill-mode is bound. (Bug#16592) 2014-01-31 Darren Hoo * startup.el (fancy-splash-image-file): New function, split from fancy-splash-head. (fancy-splash-head, use-fancy-splash-screens-p): Use it, so that we are both using the same image. (Bug#16574) 2014-01-30 Glenn Morris * simple.el (eval-expression): Doc fix. * hexl.el (hexl-mode-hook): * ielm.el (ielm-mode-hook): * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook) (lisp-interaction-mode-hook): * progmodes/cfengine.e (cfengine3-documentation-function): Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'. 2014-01-30 Stefan Monnier * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic' is a symbol (bug#16584). 2014-01-30 Glenn Morris * help.el (help-for-help-internal): Add "P" to text. 2014-01-29 Glenn Morris * simple.el (just-one-space, cycle-spacing): Doc fixes. 2014-01-28 Martin Rudalics * window.el (fit-frame-to-buffer): Fix calculations for margins and height constraints. 2014-01-28 Luke Lee * progmodes/hideif.el: Extend to full CPP expression syntax. (hif-token-alist): Add missing tokens. (hif-token-regexp): Add support for float/octal/hex immediates. (hif-string-literal-regexp): New const. (hif-tokenize): Recognize strings and float/octal/hex immediates. (hif-exprlist): New function. (hif-parse-if-exp): Use it. (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr) (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft) (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal) (hif-logxor, hif-comma): New functions. 2014-01-28 Glenn Morris * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak. * indent.el (tab-stop-list): Doc fix. Add :version. * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations. (cvs-append-to-ignore): Add compatibility alias. 2014-01-27 Glenn Morris * dired.el (dired-hide-details-mode): Don't autoload it, since it cannot be used outside Dired buffers anyway. * emulation/cua-base.el (cua-mode): Doc fix. * dired.el (dired-hide-details-hide-symlink-targets) (dired-hide-details-hide-information-lines) (dired-hide-details-mode): Doc fixes. * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix. * strokes.el (strokes-file): Doc fix. Bump :version. (strokes-help): Doc fix. * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix. * emulation/viper.el (viper): Doc fix for custom group. (top-level): Remove oh-so-no-longer-relevant text about vip. * obsolete/otodo-mode.el (todo-prefix): Doc fix. * ido.el (ido-save-directory-list-file): * saveplace.el (save-place-file): * calendar/timeclock.el (timeclock-file): * net/quickurl.el (quickurl-url-file): * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top): * progmodes/idlwave.el (idlwave-config-directory): * textmodes/remember.el (remember-data-file): Bump :version. 2014-01-26 Glenn Morris * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab): Doc fix. Make obsolete. (opascal-mode): No longer mention opascal-tab-always-indents in doc. * sort.el (delete-duplicate-lines): Doc fix. 2014-01-25 Rüdiger Sonderfeld * progmodes/ada-mode.el (ada): * woman.el (woman): Link to info manual and Commentary section. * progmodes/flymake.el (flymake): * nxml/nxml-mode.el (nxml): * net/eww.el (eww): * speedbar.el (speedbar, speedbar-faces, speedbar-vc): * htmlfontify.el (htmlfontify): * ses.el (ses): * epa.el (epa): * ido.el (ido): Link to info manual. 2014-01-25 Leo Liu * progmodes/flymake.el (flymake-make-overlay): No rear advance. 2014-01-25 Adam Sjøgren * net/shr.el (shr-tag-img): Prefer the title over the alt text (bug#16537). 2014-01-24 Juanma Barranquero * net/eww.el (eww-download-callback): Fix reference to eww-download-directory. * emacs-lisp/bytecomp.el (byte-compile-file): Remove unused local variable `file-name'. 2014-01-24 Glenn Morris * woman.el (woman-default-faces, woman-monochrome-faces): Fix obsolescence specification. * subr.el (with-demoted-errors): Doc fix. 2014-01-23 Stefan Monnier * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520). (cl--macroexp-fboundp): New function. (cl--make-type-test): Use it. 2014-01-23 Glenn Morris * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp): * simple.el (eval-expression): Doc fixes. 2014-01-22 Glenn Morris * emacs-lisp/authors.el (authors-fixed-entries): Addition. 2014-01-22 Stefan Monnier * emacs-lisp/package.el: Write files silently. (package-autoload-ensure-default-file, package--write-file-no-coding) (package-generate-description-file, package--download-one-archive) (package-install-from-archive): Tell `write-region' to stay quiet. (package-menu-mode, package-menu--print-info): Omit the Archive column if there's only one archive. (package-all-keywords, package--has-keyword-p): Remove dead code. 2014-01-22 Glenn Morris * version.el (emacs-bzr-version-bzr): Fix typo. * version.el (emacs-repository-get-version): Check either .bzr or .git, but not both. Make the git case actually use the DIR argument, and return nil rather than the empty string. Avoid error if .git exists but the git executable is not found. 2014-01-22 Martin Rudalics Fixes in window size functions around Bug#16430 and Bug#16470. * window.el (window-total-size, window-size): New argument ROUND. (window--min-delta-1, window-min-delta, window--max-delta-1): Be more conservative when calculating the numbers of lines or columns a window can shrink (Bug#16430). (fit-window-to-buffer): Simplify code. * term.el (term-window-width): Call window-body-width again. 2014-01-22 Glenn Morris * image.el (image-format-suffixes): Doc fix. * international/quail.el (quail-define-package): Doc fix. * emacs-lisp/authors.el (authors-valid-file-names): (authors-renamed-files-alist): Additions. * vc/vc-git.el (vc-git-print-log): Remove --follow; reverts 2014-01-09 change. (Bug#16422) * calc/calc-embed.el (thing-at-point-looking-at): * emacs-lisp/map-ynp.el (x-popup-dialog): * obsolete/lmenu.el (x-popup-dialog): * emacs-lisp/package.el (url-recreate-url): * mail/mailclient.el (clipboard-kill-ring-save): * subr.el (x-popup-dialog): Update declaration. * mail/rmail.el (rmail-mime-message-p): * window.el (tool-bar-lines-needed): Remove unnecessary declaration. 2014-01-21 Daniel Colascione * progmodes/sh-script.el (sh--inside-noncommand-expression): Correctly detect when we're inside an arithmetic expansion form containing nested parenthesis. (sh--maybe-here-document): Use `sh--inside-noncommand-expression` to detect cases where we shouldn't expand "<<" to a heredoc skeleton. 2014-01-21 Stefan Monnier * emacs-lisp/eldoc.el: Properly remove message in minibuffer case. (eldoc--message-command-p): New function. (eldoc-display-message-p): Use it. (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the message is not automatically erased for us. (eldoc-print-current-symbol-info): Erase previous message, if any. 2014-01-21 Tassilo Horn * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to specify it's an interactive function. * textmodes/reftex-cite.el (reftex-all-used-citation-keys): Fix regex used for scanning for citation keys which failed for citations with optional arguments. 2014-01-21 Leo Liu * simple.el (read--expression): Don't enable eldoc-mode. 2014-01-20 Stefan Monnier * simple.el (move-beginning-of-line): Make sure we don't move forward (bug#16497). 2014-01-20 Juri Linkov * saveplace.el (toggle-save-place, save-place-to-alist) (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p 'dired-mode) before checking for dired-directory. (Bug#16477) 2014-01-20 Juri Linkov * indent.el (indent-line-to): Use backward-to-indentation instead of back-to-indentation. (Bug#16461) 2014-01-20 Paul Eggert Revert some of the CANNOT_DUMP fix (Bug#16494). Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes, but fixing this can wait until after the next release. * Makefile.in (emacs): Keep EMACSLOADPATH empty. 2014-01-19 Michael Albinus * eshell/esh-mode.el (eshell-password-prompt-regexp): Use `password-word-equivalents'. (eshell-watch-for-password-prompt): Let-bind `case-fold-search' to t. (Bug#5664, Bug#13124) 2014-01-19 Alan Mackenzie Bind open-paren-in-column-0-is-defun-start to nil at some entry points. * progmodes/cc-engine.el (c-invalidate-state-cache-1) (c-parse-state-1, c-guess-basic-syntax): Bind it here. * progmodes/cc-mode.el (c-before-change, c-after-change) (c-font-lock-fontify-region): Bind it here. 2014-01-19 Martin Rudalics * term.el (term-window-width): Call window-text-width instead of window-width (Bug#16470). 2014-01-18 Paul Eggert * simple.el (password-word-equivalents): Remove duplicates. Sort, to make this easier next time. Downcase. Omit ": " after "jelszó". 2014-01-18 Jan Djärv * term/common-win.el (saved-region-selection): Defvar it. (x-select-text): Set saved-region-selection (Bug#16382). 2014-01-18 Glenn Morris * emacs-lisp/authors.el (authors-aliases) (authors-renamed-files-alist): Add some entries. 2014-01-17 Michael Albinus * net/tramp.el (tramp-password-prompt-regexp): Use `password-word-equivalents' if available. (tramp-action-password, tramp-process-one-action) (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124) 2014-01-17 Chong Yidong * simple.el (password-word-equivalents): New defcustom. * comint.el (comint-password-prompt-regexp): Use it. Bump version to 24.4. (comint-watch-for-password-prompt): Let-bind `case-fold-search' to t. (Bug#13124) 2014-01-17 Dmitry Gutov * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant. (ruby-align-to-stmt-keywords): Change the default value. Use `ruby-alignable-keywords' to generate the possible customization choices. (ruby-smie-rules): Instead of using a hardcoded list of alignable keywords, check against the value of `ruby-alignable-keywords' (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html). 2014-01-17 Glenn Morris * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries. Make M-x authors return zero *Authors Errors* from current logs. * emacs-lisp/authors.el (authors-obsolete-files-regexps): (authors-ignored-files): Add some entries, remove others. (authors-ambiguous-files, authors-valid-file-names): Add some entries. (authors-renamed-files-alist): Add, remove, and adjust entries. (authors-renamed-files-regexps): Add some entries. Remove some very broad ones. Make some entries `lax'. (authors-lax-changelogs): New constant. (authors-disambiguate-file-name): Treat top-level specially. (authors-lax-changelog-p): New function. (authors-canonical-file-name): Check file as written against authors-valid-file-names. Do not special-case etc/. Handle `lax' logs and authors-renamed-files-regexps elements. 2014-01-16 Dmitry Gutov * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with `assoc'. Use `nth' instead of `cdr'. Make private. Update all callers. 2014-01-16 Stefan Monnier * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426). Assume we're already in the proper buffer. Inspired by Anders Lindgren . (follow-post-command-hook): Call it from the right buffer. (follow-comint-scroll-to-bottom): Adjust call. (follow-all-followers): Use get-buffer-window-list. 2014-01-15 Daniel Colascione * emacs-lisp/bytecomp.el (byte-compile-file): Use whole `buffer-file-name' in interactive-form so that we don't leave pathless file names in `file-name-history'. 2014-01-15 Juri Linkov * indent.el (indent-rigidly): Set deactivate-mark to nil in transient indentation mode. (Bug#16438) 2014-01-15 Dmitry Gutov * emacs-lisp/package.el (package-desc-keywords): New function (Bug#16222). (describe-package-1, package-all-keywords) (package--has-keyword-p): Use it. 2014-01-14 Nicolas Richard * simple.el (define-alternatives): When creating the COMMAND-alternatives variable, assign COMMAND as its definition name so that `describe-variable' can relocate it. 2014-01-14 Matthew Leach (tiny change) * font-lock.el (font-lock-keywords): Fix typo in docstring (bug#16307). 2014-01-14 Agustín Martín Domingo * ispell.el (ispell-region): Reset `in-comment' for new line instead of wrongly reset `add-coment' (bug#13577). 2014-01-14 Daiki Ueno * epa-file.el (epa-file-write-region): Encode the region according to `buffer-file-format'. Problem reported at: . 2014-01-14 Stefan Monnier * emacs-lisp/edebug.el (edebug--display): Move protective let-binding so it applies in the right buffer (bug#16410). 2014-01-13 Daniel Colascione * textmodes/rst.el (rst-define-key): Provide deprecated keybindings through named functions instead of anonymous ones so that "??" doesn't appear in describe-mode output. 2014-01-13 Bastien Guerry * simple.el (define-alternatives): Call the selected command interactively. When setting `COMMAND--implementation' for the first time, tell the user how to chose another implementation. Enhance the docstring. 2014-01-13 Stefan Monnier * vc/log-edit.el: Fix highlighting of summary when it's the first line. (log-edit--match-first-line): New function. (log-edit-font-lock-keywords): Use it. (log-edit-mode): Make jit-lock-defer-multiline work. 2014-01-13 Bastien Guerry * rect.el (rectangle-mark-mode): When the region is not active, display a message saying that the mark as been set and that rectangle mode is in use. (rectangle--highlight-for-redisplay): Only put an overlay with a visible vertical bar when (display-graphic-p) is non-nil. This partially fixes Bug#16403. 2014-01-13 Juri Linkov * info.el (Info-find-file): Go to DIR before displaying the error about a nonexistent file if no previous Info file is visited. Use `user-error' instead of `error' for "Info file %s does not exist". (Info-find-node-2): In case of a nonexistent node in unwind forms go to the Top node if there is no previous node to revert to. (Bug#16405) 2014-01-13 Martin Rudalics fit-frame/window-to-buffer code fixes including one for Bug#14096. * window.el (fit-frame-to-buffer): Fix doc-string. Respect window-min-height/-width. Fit pixelwise when frame-resize-pixelwise is non-nil. Adjust right/bottom edge when avoiding that frame goes partially off-screen. (fit-window-to-buffer): Respect window-min-height/-width (Bug#14096). 2014-01-13 Stefan Monnier * indent.el (indent-according-to-mode): Flush to column 0 in text-mode after an empty line. 2014-01-12 Stefan Monnier * net/shr.el (shr-render-region): Autoload. 2014-01-12 Xue Fuqiao * net/eww.el (eww-download-directory): Rename from `eww-download-path' (Bug#16419). 2014-01-12 Leo Liu * dired-x.el (dired-mode-map): Fix last change. * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally. 2014-01-12 Paul Eggert Spelling fixes. * emacs-lisp/generic.el (generic--normalize-comments): Rename from generic--normalise-comments. All uses changed. * play/bubbles.el (bubbles--neighborhood-score): (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood) (bubbles--neighborhood-available) (bubbles--update-neighborhood-score): Rename from names with 'neighbourhood'. All uses changed. 2014-01-12 Leo Liu Re-implement the feature of showing eldoc info after editing. * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove. (eldoc-edit-message-commands): New function. (eldoc-print-after-edit): New variable. (eldoc-pre-command-refresh-echo-area): Emit message only by eldoc-message-commands. (eldoc-mode): Restrict eldoc-message-commands to editing commands if eldoc-print-after-edit is set. (Bug#16346) * simple.el (read--expression): Enable eldoc-mode. * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc. 2014-01-11 Dani Moncayo Eric S. Raymond * version.el (emacs-repository-get-version): Enhance so the function works correctly in either a Bazaar or Git repo. 2014-01-11 Eric S. Raymond * play/meese.el: It's 2014 and Ed Meese is justly forgotten. Goes with removal of the joke manpages from /etc. 2014-01-10 K. Handa * mail/rmail.el (rmail-get-coding-system): Check rmail-get-coding-function before "funcall"ing it. 2014-01-10 Glenn Morris * emacs-lisp/authors.el (authors-fixed-entries): Update for files that no longer exist. 2014-01-10 Eric S. Raymond * version.el (emacs-bzr-get-version): Restore compatibilty with 24.3 (Tested). 2014-01-10 Bozhidar Batsov * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec and Podfile. 2014-01-10 Eli Zaretskii * emacs-lisp/authors.el (authors-fixed-entries): Update my entry. 2014-01-10 Chong Yidong * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded. 2014-01-10 Anders Lindgren * follow.el (follow-cache-command-list): Include right-char and left-char. 2014-01-10 Paul Eggert Spelling fixes. * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro. * woman.el (woman-mark-horizontal-position): Rename from woman-mark-horizonal-position. Use changed. 2014-01-10 Glenn Morris * info.el (info-initialize): If running uninstalled, ensure our own info files are always found first, even if INFOPATH is set. * help.el (view-order-manuals): Open emacs.info rather than ORDERS. 2014-01-09 David Engster * emacs-lisp/eieio-custom.el: * emacs-lisp/eieio-opt.el: Set generated autoload file to 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org. * emacs-lisp/eieio.el: Regenerate autoloads. 2014-01-09 Eric S. Raymond * vc/vc-git.el (vc-git-print-log): Add --follow option to command, following renames. (Bug#8756) 2014-01-09 Stefan Monnier * simple.el (deactivate-mark, activate-mark): Force-mode-line-update (bug#16382). (activate-mark): Add `no-tmm' argument. (set-mark, push-mark-command): Use it instead of running activate-mark-hook by hand. 2014-01-08 Eric S. Raymond In preparation for the move to git, sanitize out some Bazaar-specific names. * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO. * version.el (emacs-bzr-version): Name changed to emacs-repository-version. Obsolete-variable alias made. * loadup.el: Follow through on this name change. * mail/emacsbug.el (report-emacs-bug): Factor out any assumption about the version control system in use. 2014-01-08 David Engster * help-fns.el (help-fns-describe-function-functions): New variable to call functions for augmenting help buffers. (describe-function-1): Remove explicit calls to `help-fns--compiler-macro', `help-fns--parent-mode' and `help-fns--obsolete'. Put them in above new variable instead, and call them through `run-hook-with-args'. * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from `eieio-describe-class'. Not meant for interactive use anymore, but to augment existing help buffers. Remove optional second argument. Create proper button for file location. Rewrite function to use `insert' instead of `princ' and `prin1' where possible. (eieio-help-class-slots): Rename from `eieio-describe-class-slots'. (eieio-method-def, eieio-class-def): Move further up. (describe-method, describe-generic, eieio-describe-method): Remove aliases. (eieio-help-constructor, eieio-help-generic): Rename from `eieio-describe-constructor' and `eieio-describe-generic', resp. Rewrite to use `insert' in the current buffer and use proper help buttons. (eieio-help-find-method-definition) (eieio-help-find-class-definition): Also accept symbols as arguments. (eieio-help-mode-augmentation-maybee): Remove. (eieio-describe-class-sb): Use `describe-function'. * emacs-lisp/eieio.el (help-fns-describe-function-functions): Add `eieio-help-generic' and `eieio-help-constructor'. 2014-01-08 Paul Eggert Spelling fixes. * language/china-util.el (hz-ascii-designation): Rename from hz-ascii-designnation. (hz-ascii-designation): Rename from hz-ascii-designnation. All uses changed. 2014-01-08 Stefan Monnier * emacs-lisp/package.el (package-delete): Only remove pkg-desc from package-alist. 2014-01-08 Bastien Guerry * emacs-lisp/package.el (package-delete): Correctly delete the package from package-alist. 2014-01-08 Daiki Ueno * emacs-lisp/package.el (url-recreate-url): Declare. (url-http-target-url): Declare. (package-handle-response): Include requested URL in the error message. (package--check-signature): Don't re-signal errors from package--with-work-buffer. Suggested by Stefan Monnier. 2014-01-07 Bastien Guerry * minibuffer.el (completion--try-word-completion): When both a hyphen and a space are possible candidates for the character following a word, display both candidates. (Bug#15980) 2014-01-07 Martin Rudalics * window.el (balance-windows-2): While rounding don't give a window more than the remainder. Bug#16351, Bug#16383. 2014-01-07 Glenn Morris * menu-bar.el (menu-bar-help-extra-packages): Remove. (menu-bar-help-menu): Use view-external-packages instead. 2014-01-07 Bastien Guerry * emacs-lisp/package.el (package-delete): Also delete the package name from `package-alist', not its description only. 2014-01-07 Glenn Morris * help.el (view-external-packages): * menu-bar.el (menu-bar-help-extra-packages): Visit efaq.info rather than etc/MORE.STUFF. 2014-01-07 Juri Linkov * isearch.el (isearch-mode-map): Bind [return] and [backspace] to isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035) * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding that shadows RET. (Bug#16342) 2014-01-07 Chong Yidong * isearch.el (isearch-yank-char, isearch-yank-word) (isearch-yank-line): Doc fix. 2014-01-06 Stefan Monnier * abbrev.el (define-abbrev): Beware new meaning of fboundp. * emacs-lisp/elint.el (elint-find-builtins): * emacs-lisp/eldoc.el (eldoc-symbol-function): * emacs-lisp/bytecomp.el (byte-compile-callargs-warn) (byte-compile-file-form-defmumble, byte-compile, byte-compile-form): * emacs-lisp/byte-opt.el (byte-compile-inline-expand): * apropos.el (apropos-safe-documentation): * subr.el (symbol-file): Remove redundant fboundp. * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias. 2014-01-06 Bastien Guerry * hl-line.el (global-hl-line-overlay): Make a local variable. (global-hl-line-overlays): New variable to store all overlays. (global-hl-line-mode): Don't delete overlays from the current buffer when `global-hl-line-sticky-flag' is non-nil. (global-hl-line-highlight): Add new overlays to `global-hl-line-overlays'. (global-hl-line-unhighlight-all): New function to delete all overlays when turning off `global-hl-line-mode'. This fixes Bug#16183. 2014-01-06 Stefan Monnier * subr.el (set-transient-map): Fix nested case and docstring. 2014-01-06 Tassilo Horn * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a `Texinfo' entry. 2014-01-06 Daniel Colascione Fix defun navigation in vc log view. * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave like `beginning-of-defun'. (log-view-end-of-defun,log-view-end-of-defun-1): Rename old log-view-end-of-defun to log-view-end-of-defun-1. Replace log-view-end-of-defun with wrapper that behaves like `end-of-defun'. (log-view-extract-comment): Call `log-view-current-entry' directly instead of relying on broken `log-view-beginning-of-defun' behavior. 2014-01-06 Paul Eggert Spelling fixes. * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel): * emacs-lisp/debug.el (cancel-debug-on-entry): * epg.el (epg-error-to-string): * files.el (recover-file): * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region): * mail/emacsbug.el (report-emacs-bug-hook): * mail/sendmail.el (mail-recover): * ses.el (ses-yank-resize): * term/ns-win.el (ns-print-buffer): Spelling fixes in diagnostics, mostly for "canceled" with one L. * epg.el (epg-key-capability-alist): Rename from misspelled version. All uses changed. * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name. 2014-01-06 Leo Liu * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o to avoid shadowing global key. (Bug#16354) 2014-01-06 Daniel Colascione * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for rst-mode. 2014-01-05 Martin Rudalics * window.el (balance-windows): Add mising t to fix Bug#16351. 2014-01-05 Lars Magne Ingebrigtsen * net/shr.el (shr-descend): Don't bug out if the anchor is empty (bug#16285). (shr-insert): If we have a word that's longer than `shr-width', break after it anyway. Otherwise we'll do no breaking once we get such a long word. 2014-01-05 Kenjiro NAKAYAMA * net/eww.el (eww): Support single/double quote for search. * net/eww.el (eww-list-histories,eww-history-browse): Fixup. (eww-history-quit): Delete and use quit-window. (eww-history-kill): Delete, because it doesn't work well and not necessary. (eww-history-mode-map): Delete some keys and add easy-menu. 2014-01-05 Paul Eggert Fix misspelling of 'chinese' in rx (Bug#16237). * emacs-lisp/rx.el (rx-categories): Correct spelling of chinese-two-byte. Change subword regexps back to vars (Bug#16296). * progmodes/subword.el (subword-forward-regexp) (subword-backward-regexp): Change these back to variables. 2014-01-03 Stefan Monnier * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with syntax-begin-function (bug#16247). 2014-01-03 Chong Yidong * emacs-lisp/nadvice.el (advice--make-docstring): Change args. (advice--docstring): Delete variable. (advice--make-1): Leave the docstring empty. (advice-add): Use function-documentation for advised docstring. * emacs-lisp/advice.el (ad--make-advised-docstring): Change args. Ignore function-documentation property when getting documentation. (ad-activate-advised-definition): Use function-documentation generate the docstring. (ad-make-advised-definition): Don't call ad-make-advised-definition-docstring. (ad-make-advised-definition-docstring, ad-advised-definition-p): Delete functions. * progmodes/sql.el (sql-help): Use function-documentation instead of dynamic-docstring-function property. No need to autoload now. (sql--help-docstring): New variable. (sql--make-help-docstring): Use it. 2014-01-03 Stefan Monnier * ielm.el (ielm-tab): Retarget. (ielm-map): Use ielm-tab for tab. (ielm-complete-filename): Use comint-filename-completion. (ielm-complete-symbol): Remove. (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and remove ielm-tab from completion-at-point-functions (bug#16224). * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member): Beware signals raised by predicates (bug#16201). 2014-01-02 Richard Stallman * dired-aux.el (dired-do-print): Handle printer-name. * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el. * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el. (rmail-epa-decrypt): Turn off mime processing. * mail/rmail.el (rmail-make-in-reply-to-field): Add parens in message-id. * mail/rmail.el (rmail-get-coding-function): Variable. (rmail-get-coding-system): Use it. 2013-12-31 Eli Zaretskii * international/mule-conf.el: Unify the charset indian-is13194. (indian-is13194): Specify unify-map. 2013-12-31 Leo Liu * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305) 2013-12-30 Daniel Colascione * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead of printing a useless when we resume from sleep. * progmodes/sh-script.el (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop in indentation code. (Bug#16233) 2013-12-28 João Távora * elec-pair.el (electric-pair-post-self-insert-function): Don't open extra newlines at beginning of buffer. (Bug#16272) 2013-12-28 Eli Zaretskii * frame.el (window-system-for-display): Don't allow to create a GUI frame from a -nw session on MS-Windows. (Bug#14739) 2013-12-28 Glenn Morris * mail/hashcash.el (hashcash-program): Rename from hashcash-path. Update callers. * apropos.el (apropos-match-face): * calculator.el (calculator-displayer): * dabbrev.el (dabbrev-search-these-buffers-only): * face-remap.el (buffer-face-mode-face): * simple.el (yank-handled-properties): * emacs-lisp/testcover.el (testcover-potentially-1value-functions): * mail/footnote.el (footnote-mode-line-string, footnote-prefix): * mail/hashcash.el (hashcash-accept-resources, hashcash-program) (hashcash-double-spend-database): * progmodes/ruby-mode.el (ruby-deep-indent-paren) (ruby-deep-indent-paren-style): * textmodes/flyspell.el (flyspell-auto-correct-binding): * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style) (rst-toc-insert-number-separator, rst-toc-insert-max-level): * vc/pcvs-defs.el (cvs-minor-mode-prefix): Specify custom types. * emacs-lisp/smie.el (smie-config): Add type, version, initialize. * bookmark.el (bookmark-bmenu-use-header-line): * doc-view.el (doc-view-scale-internally): * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program): * register.el (register-preview-delay): * net/shr.el (shr-bullet): * progmodes/cfengine.el (cfengine-cf-promises) (cfengine-parameters-indent): * progmodes/octave.el (inferior-octave-error-regexp-alist): * textmodes/reftex-vars.el (reftex-label-regexps): * vc/log-edit.el (log-edit-setup-add-author): Add version. * net/tls.el (tls-certtool-program): Fix default value. * desktop.el (desktop-restore-in-current-display): * newcomment.el (comment-empty-lines): * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info) (idlwave-pad-keyword): * progmodes/tcl.el (tcl-tab-always-indent): * textmodes/reftex-vars.el (reftex-index-default-tag): * elec-pair.el (electric-pair-skip-whitespace): * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types. * emacs-lisp/authors.el (authors-ignored-files) (authors-valid-file-names, authors-renamed-files-alist): Additions. 2013-12-27 Jarek Czekalski * shell.el (shell-dynamic-complete-command): Doc fix. (shell--command-completion-data): Shell completion now matches executable filenames from the current buffer's directory, on systems in which this behavior is the default (windows-nt, ms-dos). 2013-12-27 Lars Ingebrigtsen * net/shr.el (shr-insert): Don't infloop if the width is zero. 2013-12-27 Stefan Monnier * icomplete.el (icomplete-show-matches-on-no-input): Default to nil (bug#16251). * electric.el: Move all electric-pair-* to elec-pair.el. * elec-pair.el: New file, split from electric.el. 2013-12-27 Lars Ingebrigtsen * net/shr.el (shr-find-fill-point): Don't try to fill if the indentation level is larger than the width, because that will infloop. (shr-insert): Fill repeatedly long texts, so that Japanese is formatted correctly (bug#16263). (shr-find-fill-point): Off by one error in comparison with the indentation. 2013-12-26 João Távora * electric.el (electric-pair-mode): More flexible engine for skip- and inhibit predicates, new options for pairing-related functionality. (electric-pair-preserve-balance): Pair/skip parentheses and quotes if that keeps or improves their balance in buffers. (electric-pair-delete-adjacent-pairs): Delete the pair when backspacing over adjacent matched delimiters. (electric-pair-open-extra-newline): Open extra newline when inserting newlines between adjacent matched delimiters. (electric--sort-post-self-insertion-hook): Sort post-self-insert-hook according to priority values when minor-modes are activated. * simple.el (newline-and-indent): Call newline with interactive set to t. (blink-paren-post-self-insert-function): Set priority to 100. * emacs-lisp/lisp-mode.el (lisp-mode-variables): Use electric-pair-text-pairs to pair backtick-and-quote in strings and comments. Locally set electric-pair-skip-whitespace to 'chomp and electric-pair-open-newline-between-pairs to nil. 2013-12-26 Fabián Ezequiel Gallina * progmodes/python.el: Use lexical-binding. (python-nav-beginning-of-defun): Stop searching ASAP. 2013-12-25 Xue Fuqiao * vc/vc.el (vc-ignore): Use `vc-responsible-backend'. Fix interactive spec. Doc fix. (Bug#15754) 2013-12-25 Katsumi Yamaoka * emacs-lisp/byte-run.el (eval-when-compile): * progmodes/cc-defs.el (cc-eval-when-compile): Fix edebug spec (bug#16184). 2013-12-25 Lars Ingebrigtsen * net/shr.el (shr-visit-file): Remove debugging function. (shr-insert): Don't infloop if we can't find a good place to break the line (bug#16256). 2013-12-25 Fabián Ezequiel Gallina * progmodes/python.el: (python-nav--lisp-forward-sexp): New function. (python-nav--lisp-forward-sexp-safe): Use it. Rename from python-nav-lisp-forward-sexp-safe. (python-nav--forward-sexp): New argument SAFE allows switching forward sexp movement behavior for parens. (python-nav-forward-sexp): Throw errors on unterminated parens (Bug#16191). (python-nav-backward-sexp, python-nav-forward-sexp-safe) (python-nav-backward-sexp-safe): New functions. (python-shell-buffer-substring): Use `python-nav-forward-sexp-safe'. 2013-12-25 Lars Ingebrigtsen * net/shr.el (shr-find-fill-point): Don't break lines before a quotation mark. (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char. (shr-find-fill-point): Remove the special checks for the quotation mark, since `shr-char-kinsoku-bol-p' should now return the right thing. 2013-12-25 Kenjiro NAKAYAMA * net/eww.el (eww-form-textarea): Use a different face for textareas than text input since they have different keymaps (bug#16142). 2013-12-24 Fabián Ezequiel Gallina * progmodes/python.el (python-nav-beginning-of-statement): Speed up (Bug#15295). 2013-12-24 Lars Ingebrigtsen * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore the window configuration. 2013-12-24 Eli Zaretskii * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when we run on MS-Windows or MS-DOS. 2013-12-24 Martin Rudalics * window.el (balance-windows-area): Call window-size instead of window-height and window-width. Bug#16241. 2013-12-24 Lars Ingebrigtsen * net/eww.el (eww-bookmark-quit): Remove. (eww-bookmark-browse): Restore the window configuration when you choose a bookmark (bug#16144). 2013-12-24 Daniel Colascione * icomplete.el: Remove redundant :group arguments to `defcustom' throughout. (icomplete-show-matches-on-no-input): New customizable variable. (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if we have something to show. (icomplete-exhibit): Compute completions even if we have no user input. 2013-12-23 Daniel Colascione * icomplete.el: Move `provide' to end of file. 2013-12-23 Teodor Zlatanov * net/gnutls.el (gnutls-verify-error): Add version tag. 2013-12-23 Chong Yidong * subr.el (set-transient-map): Rename from set-temporary-overlay-map. Doc fix. * face-remap.el (text-scale-adjust): * indent.el (indent-rigidly): * kmacro.el (kmacro-call-macro): * minibuffer.el (minibuffer-force-complete): * repeat.el (repeat): * simple.el (universal-argument--mode): * calendar/todo-mode.el (todo-insert-item--next-param): * progmodes/f90.el (f90-abbrev-start): Callers changed. * indent.el (indent-rigidly): Use substitute-command-keys. 2013-12-22 Kenjiro NAKAYAMA * 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 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the comments. Handle electric indent after typing `?' and `!'. 2013-12-22 Chong Yidong * 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 * 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 * 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 * 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 * simple.el (newline): Doc fix. 2013-12-21 Kenjiro NAKAYAMA * 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 * 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 * 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 * cus-start.el (all): Add ns-use-srgb-colorspace. 2013-12-21 Chong Yidong * 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 * 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 * faces.el (read-face-name): Require crm.el when using crm-separator. 2013-12-20 Daniel Colascione * 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 * 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 * 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 (tiny change) * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'. (Bug#14179) 2013-12-20 Stephen Berman * 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 * 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 * 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 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 * comint.el (comint-output-filter): Fix rear-nonsticky property placement (Bug#16010). 2013-12-20 Chong Yidong * faces.el (read-color): Minor fix for completion function. 2013-12-20 Dmitry Gutov * 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 * calc/calc.el (calc-enter, calc-pop): Use the variable `calc-context-sensitive-enter'. 2013-12-20 Lars Magne Ingebrigtsen * net/shr.el (shr-insert): Protect against infloops in degenerate tables. 2013-12-20 Rüdiger Sonderfeld * progmodes/octave.el (octave): Add link to manual and octave homepage. (octave-mode-menu): Link to octave-mode manual. 2013-12-20 Leo Liu * skeleton.el (skeleton-pair-insert-maybe): Disable newline insertion using skeleton-end-newline. (Bug#16138) 2013-12-20 Juri Linkov * 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 * 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 * 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 * 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 * 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 * 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 * 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 * emacs-lisp/ert.el (ert-select-tests): Fix string/symbol mixup. (Bug#16121) 2013-12-19 Dmitry Gutov * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block keywords to their parent. 2013-12-19 Dmitry Gutov * 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 * 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 * 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 * 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 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186) 2013-12-18 Eli Zaretskii * 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 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference tables with ~\ref{...} instead of only \ref{...}. 2013-12-18 Chong Yidong * 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 (tiny change) * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop (Bug#13914). 2013-12-18 Shigeru Fukaya * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946). 2013-12-18 Glenn Morris * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t. * cus-start.el (load-prefer-newer): New option. 2013-12-18 Le Wang * comint.el (comint-previous-matching-input-from-input): Retain point (Bug#13404). 2013-12-18 Chong Yidong * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016). 2013-12-18 Glenn Morris * mail/emacsbug.el (report-emacs-bug): Only mention enable-multibyte-characters if non-standard. 2013-12-17 Juri Linkov * arc-mode.el (archive-extract-by-file): Check if directory exists before deletion to not show irrelevant errors if it doesn't exist. 2013-12-17 Juri Linkov * menu-bar.el (menu-bar-tools-menu): Add `browse-web'. (Bug#14751) * net/eww.el (browse-web): Add alias to `eww'. (eww-mode-map): Bind "r" to `eww-forward-url' like in Info. Bind "S-SPC" to `scroll-down-command'. (Bug#16178) * net/browse-url.el (browse-url-browser-function): Move `eww' closer to similar functions. * startup.el (fancy-startup-screen, fancy-about-screen): Set browse-url-browser-function to eww-browse-url locally. (Bug#14751) 2013-12-17 Stefan Monnier * window.el (window--pixel-to-total): Remove unused `mini' var. (maximize-window, minimize-window): Remove unused `pixelwise' arg. (split-window): Remove unused `new' var. (window--display-buffer): Remove unused `frame' and `delta' vars. (fit-window-to-buffer): Remove unused vars `frame', `display-height', and display-width'. 2013-12-17 Martin Rudalics * dired.el (dired-mark-pop-up): * register.el (register-preview): Don't bind split-height-threshold here since it's now done in display-buffer-below-selected. 2013-12-17 oblique (tiny change) * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with xterm-rgb-convert-to-16bit. (rxvt-register-default-colors): Standardize with xterm-register-default-colors (Bug#14078). 2013-12-17 Dima Kogan (tiny change) * simple.el (kill-region): Pass mark first, then point, so that kill-append works right (Bug#12819). (copy-region-as-kill, kill-ring-save): Likewise. 2013-12-17 Leo Liu * net/rcirc.el (rcirc-add-face): * eshell/em-prompt.el (eshell-emit-prompt): * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face. (Bug#16167) 2013-12-17 Chong Yidong * files.el (break-hardlink-on-save): Doc fix (Bug#13801). Suggested by Xue Fuqiao. 2013-12-17 Dmitry Gutov * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if. 2013-12-17 Stefan Monnier * net/shr.el (shr-insert-document): Remove unused var `shr-preliminary-table-render'. (shr-rescale-image): Remove unused arg `force'. (shr-put-image): Update calls accordingly. (shr-tag-a): Use `cont' rather than dyn-bound `dom'. 2013-12-17 Dmitry Gutov * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'. (smie-indent-close): Call `smie-indent--rule-1' with METHOD :close-all, to see which indentation method to use (Bug#16116). (smie-rules-function): Document the method :close-all. 2013-12-16 Lars Magne Ingebrigtsen * net/shr.el (shr-tag-a): Support zero-length elements. * net/eww.el (eww-display-html): If we can't find the anchor we're looking for, then go to point-min. 2013-12-16 Paul Eggert Fix problems with CANNOT_DUMP and EMACSLOADPATH. * Makefile.in (emacs): Add lisp src to EMACSLOADPATH. * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump. Expand dir too, in case it's relative. 2013-12-16 Juri Linkov * desktop.el (desktop-auto-save-timeout): Change default to `auto-save-timeout'. Doc fix. (desktop-save): Skip the timestamp in desktop-saved-frameset when checking for auto-save changes. (desktop-auto-save): Don't call desktop-auto-save-set-timer since `desktop-auto-save' is called repeatedly by the idle timer. (desktop-auto-save-set-timer): Replace `run-with-timer' with `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix. (Bug#15331) 2013-12-16 Juri Linkov * isearch.el (isearch-mode-map): Remove [escape] key bindinds. (Bug#16035) (isearch-pre-command-hook): Check `this-command' for symbolp. 2013-12-16 Stefan Monnier * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153). 2013-12-16 Teodor Zlatanov * progmodes/cfengine.el (cfengine3--current-word): Remove. (cfengine3--current-function): Bring in the current-function functionality from `cfengine3--current-word'. (cfengine3-completion-function): Bring in the bounds-of-current-word functionality from `cfengine3--current-word'. 2013-12-16 Martin Rudalics * window.el (display-buffer-below-selected): Bind split-height-threshold to 0 as suggested by Juri Linkov. 2013-12-16 Leo Liu * progmodes/compile.el (compile-goto-error): Do not push-mark. Remove NOMSG arg and all uses changed. 2013-12-16 Stefan Monnier * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode. (cua--deactivate-rectangle): Don't deactivate the mark. (cua-set-rectangle-mark): Don't set mark-active since cua--activate-rectangle already does it for us. (cua--rectangle-highlight-for-redisplay): Unhighlight a previous non-rectangular region. * emulation/cua-base.el (cua-repeat-replace-region): Use with-current-buffer. * net/gnutls.el: Use cl-lib. (gnutls-negotiate): `mapcan' -> cl-mapcan. 2013-12-14 Teodor Zlatanov * emacs-lisp/package.el (package-built-in-p): Support both built-in and the package.el converted package descriptions. (package-show-package-list): Allow keywords. (package-keyword-button-action): Use it instead of `finder-list-matches'. (package-menu-filter-interactive): Interactive filtering (by keyword) function. (package-menu--generate): Support keywords and change keymappings and headers when they are given. (package--has-keyword-p): Helper function. (package-menu--refresh): Use it. (package--mapc): Helper function. (package-all-keywords): Use it. (package-menu-mode-map): Set up menu items and keybindings to provide a filtering UI. 2013-12-14 Teodor Zlatanov * net/gnutls.el (gnutls-verify-error): New defcustom to control the behavior when a certificate fails validation. Defaults to old behavior: never abort, just warn. (gnutls-negotiate): Use it. 2013-12-14 Martin Rudalics * window.el (display-buffer-below-selected): Never split window horizontally. Suggested by Juri Linkov . 2013-12-14 Tom Willemse (tiny change) * emacs-lisp/package.el (package--prepare-dependencies): New function. (package-buffer-info): Use it (bug#15108). 2013-12-14 Stefan Monnier * icomplete.el (icomplete-completions): Make sure the prefix is already displayed elsewhere before hiding it (bug#16219). 2013-12-14 Dmitry Gutov * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before open-paren tokens when preceded by a open-paren, too. (ruby-smie-rules): Handle virtual indentation after open-paren tokens specially. If there is code between it and eol, return the column where is starts (Bug#16118). 2013-12-13 Teodor Zlatanov * progmodes/cfengine.el: Fix `add-hook' doc. (cfengine-mode-syntax-functions-regex): Initialize sensibly. (cfengine3--current-word): Fix parameters. (cfengine3-make-syntax-cache): Simplify further. (cfengine3-completion-function, cfengine3--current-function): Use `assq' for symbols. (cfengine3--current-function): Fix `cfengine3--current-word' call. 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 * 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