X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/2c25d5e6216d556a85f9c01bba5671f41637e11f..8076b124381292d7686ee9e4b2d86e683ed93bd2:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 51c7332a9a..aab65df93b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,61 +1,601 @@ -2014-06-20 Leo Liu +2014-06-28 Stefan Monnier + + * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly. + +2014-06-26 Glenn Morris + + * Makefile.in (update-authors): Update for moved authors.el. + +2014-06-26 Leo Liu + + * skeleton.el (skeleton-end-hook): Default to nil and move the + work to skeleton-insert. (Bug#17850) + +2014-06-26 Dmitry Antipov + + * calc/calc-alg.el (math-beforep): + * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style): + Simplify because string-lessp can accept symbols as args. + +2014-06-26 Daiki Ueno + + * emacs-lisp/package.el (package--check-signature): + If package-check-signature is allow-unsigned, don't signal error when + we can't verify signature because of missing public key + (bug#17625). + +2014-06-26 Glenn Morris + + * emacs-lisp/cl-macs.el (help-add-fundoc-usage): + Remove outdated declaration. + + * emacs-lisp/authors.el (authors-valid-file-names) + (authors-renamed-files-alist): Additions. + +2014-06-26 Leo Liu + + * textmodes/picture.el (picture-set-tab-stops): + * ruler-mode.el (ruler-mode-mouse-add-tab-stop) + (ruler-mode-ruler): Fix to work with nil tab-stop-list. + + * progmodes/asm-mode.el (asm-calculate-indentation): + Use indent-next-tab-stop. + + * indent.el (indent-accumulate-tab-stops): New function. + +2014-06-26 Stefan Monnier + + * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625). + (package-desc-status): Obey it. + +2014-06-26 Stephen Berman + + * calendar/todo-mode.el: Fix two bugs. + (todo-insert-item--basic): If user cancels item insertion to + another category before setting priority, show original category + whether it is in the same or a different file. + (todo-set-item-priority): After selecting category, instead of + moving point to top, which extends an active region, restore it. + +2014-06-26 Stefan Monnier + + * help-fns.el (describe-function-1): Check file-name is a string before + calling help-fns--autoloaded-p (bug#17564). + +2014-06-26 Juri Linkov + + * desktop.el (desktop-auto-save-enable) + (desktop-auto-save-disable): New functions. + (desktop-save-mode, desktop-auto-save-timeout): Use them. + (desktop-read): Disable the autosave before loading the desktop, + and enable afterwards. (Bug#17351) + +2014-06-26 Stefan Monnier + + Fix some indentation problem with \; and pipes (bug#17842). + * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&. + (sh-smie--default-forward-token, sh-smie--default-backward-token): + New functions. + (sh-smie-sh-forward-token, sh-smie-sh-backward-token) + (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them. + (sh-smie-sh-rules): Fix indentation of a pipe at BOL. + +2014-06-26 Glenn Morris + + * emacs-lisp/find-func.el (find-function-C-source-directory): + Use file-accessible-directory-p. + + * ps-samp.el: Make it slightly less awful. + (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook): + (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key. + Only set local values. + (ps-article-subject, ps-article-author): Use standard functions + like mail-fetch-field. + (ps-info-file, ps-info-node): Use match-string. + (ps-jts-ps-setup, ps-jack-setup): Remove, merging into... + (ps-samp-ps-setup): ... new function. + + * progmodes/idlw-shell.el (idlwave-shell-make-temp-file): + Optimize away code unneeded on any modern Emacs. + + * emacs-lisp/authors.el: Move to ../admin. + + * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New. + +2014-06-26 Luke Lee + + * progmodes/hideif.el (hif-string-to-number): Fix return value bug. + (hif-simple-token-only, hif-tokenize): Comment in detail mainly for + performance enhancements. + (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro + expansion. + (hif-factor, hif-string-concatenation, intern-safe): Support string + concatenation and argumented macro expansion. + (hif-if-valid-identifier-p, hif-define-operator, hif-flatten) + (hif-expand-token-list, hif-get-argument-list, hif-define-macro) + (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize) + (hif-canonicalize-tokens, hif-place-macro-invocation) + (hif-parse-macro-arglist): Mostly new functions for supporting + argumented macro expansion. + (hif-string-concatenation, hif-stringify, hif-token-concat) + (hif-token-stringification, hif-token-concatenation): + Stringification and concatenation. + (hif-find-next-relevant): Fix comments. + (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for + some cases involving #elif. + (hif-find-define, hif-add-new-defines): New functions for automatically + scanning of defined symbols. + (hide-ifdef-guts): Fix for defined symbol auto scanning. + (hide-ifdef-undef): Fix behavior to match CPP. + +2014-06-25 Glenn Morris + + * Makefile.in ($(lisp)/progmodes/cc-defs.elc) + ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc) + ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc + files. They are not relevant to the original issue (bug#1004), + and cause unnecessary recompilation (bug#2151). + +2014-06-25 Stefan Monnier + + * play/landmark.el: Use lexical-binding and avoid `intangible'. + (landmark--last-pos): New var. + (landmark--intangible-chars): New const. + (landmark--intangible): New function. + (landmark-mode, landmark-move): Use it. + (landmark-mode): Remove properties. + (landmark-plot-square, landmark-point-square, landmark-goto-xy) + (landmark-cross-qtuple): + Don't worry about `intangible' any more. + (landmark-click, landmark-point-y): Same; and don't assume point-min==1. + (landmark-init-display): Don't set `intangible' and `point-entered'. + (square): Remove. Inline it instead. + (landmark--distance): Rename from `distance'. + (landmark-calc-distance-of-robot-from): Rename from + calc-distance-of-robot-from. + (landmark-calc-smell-internal): Rename from calc-smell-internal. + +2014-06-25 Dmitry Antipov + + * files.el (dir-locals-find-file, file-relative-name): + * info.el (Info-complete-menu-item): + * minibuffer.el (completion-table-subvert): Prefer string-prefix-p + to compare-strings to avoid out-of-range errors. + * subr.el (string-prefix-p): Adjust to match strict range + checking in compare-strings. + +2014-06-24 Leonard Randall (tiny change) + + * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search + for comment lines non-greedy and stopping at newlines to fix stack + overflows with large files. + +2014-06-24 Eli Barzilay + + * calculator.el (calculator-last-input): Drop 'ascii-character property + lookup. + +2014-06-24 Leo Liu + + * align.el (align-adjust-col-for-rule): Unbreak due to defaulting + tab-stop-list to nil. (Bug#16381) + + * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop. + (indent-rigidly-left-to-tab-stop) + (indent-rigidly-right-to-tab-stop, tab-to-tab-stop) + (move-to-tab-stop): Change callers. + +2014-06-24 Eli Zaretskii + + * skeleton.el (skeleton-insert): Yet another fix of the doc string + wrt behavior of \n as the first/last element of a skeleton. + +2014-06-24 Michael Albinus + + * net/tramp-adb.el (tramp-adb-handle-process-file): + * net/tramp-sh.el (tramp-sh-handle-process-file): + * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise + the output buffer when DISPLAY is non-nil. (Bug#17815) + +2014-06-24 Glenn Morris + + * play/landmark.el (landmark-move-down, landmark-move-up): + Fix 2007-10-20 change - preserve horizontal position. + +2014-06-23 Sam Steingold + + * simple.el (kill-append): Remove undo boundary depending on ... + (kill-append-merge-undo): New user option. + +2014-06-23 Stefan Monnier + + * simple.el (handle-shift-selection, exchange-point-and-mark) + (activate-mark): Set transient-mark-mode buffer-locally (bug#6316). + (transient-mark-mode): Use&set the global value. + * mouse.el (mouse-set-region-1, mouse-drag-track): Idem. + * emulation/edt.el (edt-emulation-off): Save&restore the global + transient-mark-mode setting. + * obsolete/pc-select.el (pc-selection-mode): Use the + transient-mark-mode function. + +2014-06-23 Eli Zaretskii + + * international/fontset.el (script-representative-chars): + Add representative characters for scripts added in Unicode 7.0. + (otf-script-alist): Synchronize with the latest registry of OTF + script tags. + + * international/characters.el (char-script-table): Update for + scripts added and codepoint ranges changed in Unicode 7.0. + +2014-06-23 Eli Barzilay + + * calculator.el (calculator-standard-displayer): Fix bug in use of + `calculator-groupize-number'. + (calculator-funcall): Fix broken `cl-flet' use by moving it into the + `eval' code, so it works in v24.3.1 too. + (calculator-last-input): Comment to clarify purpose. + +2014-06-22 Mario Lang + + * textmodes/rst.el (rst-comment-region): From from -> from. + + * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and. + +2013-06-22 Dmitry Antipov + + * electric.el (electric-layout-post-self-insert-function): + * emacs-lisp/ert.el (ert--insert-infos): + * obsolete/vi.el (vi-set-mark): + * term.el (term-handle-scroll): + * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry): + * wid-edit.el (widget-editable-list-value-create): + Prefer point-marker to copy-marker of point. + +2014-06-21 Fabián Ezequiel Gallina + + Fix completion retrieval parsing (bug#17209). + * progmodes/python.el (python-mode): + (python-util-strip-string): New function. + (python-shell-completion-get-completions): Use it. + +2014-06-21 Eli Zaretskii + + * skeleton.el (skeleton-insert): Fix last change. + +2014-06-21 Fabián Ezequiel Gallina + + Enhancements for outline integration (bug#17796). + * progmodes/python.el (python-mode): Properly set + outline-heading-end-regexp so that comments after colons for + defuns are supported. + +2014-06-21 Eli Zaretskii + + * skeleton.el (skeleton-insert): Doc fix. + +2014-06-21 Stefan Monnier + + * emacs-lisp/smie.el (smie-config--guess): Fix typo. + (smie-config-guess): Use smie-config-local so the rules are obeyed + (bug#17818). + + * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events, + since it's already done inside the loop (bug#17819). + +2014-06-21 Martin Rudalics + + * mouse.el (mouse-drag-line): Re-remove code initially removed + on 2013-03-09 and inadvertently reintroduced on 2013-11-30 + (Bug#17819). + +2014-06-21 Stefan Monnier + + * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't + align with the surrounding parent (bug#17721). + +2014-06-21 Eli Zaretskii + + * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline + locally to nil. + (texinfo-insert-block, texinfo-insert-@end) + (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to + local setting of skeleton-end-newline by adding an explicit \n to + the skeletons where appropriate. (Bug#17801) + +2014-06-21 Stefan Monnier + + * emacs-lisp/smie.el (smie--hanging-eolp-function): New var. + (smie-indent--hanging-p): Use it. + * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621). + +2014-06-21 Leo Liu * simple.el (read-quoted-char): Don't let help chars pop up help buffer. (Bug#16617) -2014-06-19 Stefan Monnier +2014-06-21 Stefan Monnier * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as for | (bug#17621). -2014-06-18 Stefan Monnier - - * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776). - (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of - burping. + * xt-mouse.el (xterm-mouse--read-event-sequence-1000): + Drop unknown events instead of burping. -2014-06-18 Eli Zaretskii +2014-06-21 Eli Zaretskii * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0 and later. (Bug#17790) -2014-06-18 Juri Linkov +2014-06-21 Juri Linkov * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'. (Bug#17554) -2014-06-17 Stefan Monnier +2014-06-21 Stefan Monnier * delsel.el (electric-newline-and-maybe-indent): Mark it as well (bug#17737). -2014-06-16 Dmitry +2014-06-21 Dmitry Gutov * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732) -2014-06-15 Michael Albinus +2014-06-21 Michael Albinus * net/dbus.el (dbus-call-method): Push only non D-Bus events into `unread-command-events'. -2014-06-14 Glenn Morris +2014-06-19 William Xu + + * progmodes/hideif.el (hif-string-to-number): Don't return float for + hex integer constants (bug#17807). + +2014-06-19 Stefan Monnier + + * international/mule-util.el (truncate-string-ellipsis): New var. + (truncate-string-to-width): Use it. + +2014-06-19 Robert Brown (tiny change) + + * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun. + (lisp-string-in-doc-position-p): New function, extracted from + lisp-font-lock-syntactic-face-function. + (lisp-font-lock-syntactic-face-function): Use them (bug#9130). + +2014-06-19 Grégoire Jadi + + * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769) + +2014-06-18 Stefan Monnier + + * play/bubbles.el (bubbles--initialize, bubbles--show-scores) + (bubbles--game-over): Don't add `intangible' properties since they + didn't work anyway. + +2014-06-18 Juri Linkov + + * vc/ediff-init.el (ediff-current-diff-Ancestor) + (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B) + (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A) + (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor): + Add `min-colors 88' version with removed black/white foregrounds. + (Bug#10181) + +2014-06-18 Juri Linkov + + * vc/diff-mode.el (diff-changed): Empty face definition to use + `diff-removed' and `diff-added' on tty as well. (Bug#10181) + (diff-context): Use darker color on light background and + lighter color on dark background. + +2014-06-18 Juri Linkov + + * vc/diff-mode.el (diff-refine-changed): Rename from + `diff-refine-change' for consistency with `diff-changed'. + (diff-refine-change): Add obsolete face alias. (Bug#10181) + + * vc/smerge-mode.el (smerge-refined-changed): Rename from + `smerge-refined-change'. + (smerge-refined-change): Add obsolete face alias. + +2014-06-17 Stefan Monnier + + * rect.el (rectangle-preview): New custom. + (rectangle): New group. + (rectangle--pos-cols): Add `window' argument. + (rectangle--string-preview-state, rectangle--string-preview-window): + New vars. + (rectangle--string-flush-preview, rectangle--string-erase-preview) + (rectangle--space-to, rectangle--string-preview): New functions. + (string-rectangle): Use them. + (rectangle--inhibit-region-highlight): New var. + (rectangle--highlight-for-redisplay): Obey it. Make sure + `apply-on-region' uses the point-crutches of the right window. + Use :align-to rather than multiple spaces. + +2014-06-16 Andrea Rossetti (tiny change) + + * ruler-mode.el (ruler-mode-window-col) + (ruler-mode-mouse-set-left-margin) + (ruler-mode-mouse-set-right-margin): Fix calculation of column + from mouse position (Bug#17768). + +2014-06-16 Ron Schnell + + * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment + without varname or rhs causes crash. + (dun-ftp): Fix bug where blank ftp password is allowed, making it + impossible to win endgame. + (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what + rlogin is anymore. + (dun-help): Bump version number; update contact info. + +2014-06-15 Eli Barzilay + + * calculator.el (calculator-prompt, calculator-remove-zeros) + (calculator-mode-hook, calculator-operators, calculator-stack) + (calculator-mode): Tweak docstring. + (calculator-user-operators): Tweak docstring, fix a bug in the last + example. + (calculator-displayer): `std' case has an optional boolean. + (calculator-displayers): Use the new boolean to group in decimal mode. + (calculator-mode-map, calculator, calculator-message) + (calculator-op-arity, calculator-add-operators) + (calculator-string-to-number, calculator-displayer-prev) + (calculator-displayer-next, calculator-remove-zeros) + (calculator-eng-display, calculator-number-to-string) + (calculator-update-display, calculator-last-input) + (calculator-clear-fragile, calculator-digit, calculator-decimal) + (calculator-exp, calculator-saved-move, calculator-clear) + (calculator-copy, calculator-put-value, calculator-help) + (calculator-expt, calculator-truncate): Minor code improvements. + (calculator-need-3-lines): New function pulling out code from + `calculator'. + (calculator-get-display): Rename from `calculator-get-prompt', and + improved. + (calculator-push-curnum): Rename from `calculator-curnum-value', and + extended for all uses of it. All callers changed. + (calculator-groupize-number): New utility for splitting a number into + groups. + (calculator-standard-displayer): Improve code, new optional argument to + use comma-split groups, make second argument optional too to use with + 'left/'right inputs. All callers changed. + (calculator-reduce-stack-once): New utility, doing the meat of what + `calculator-reduce-stack' used to do, much improved (mostly using + `pcase' for conciseness and clarity). + (calculator-reduce-stack): Now doing just the reduction loop using + `calculator-reduce-stack-once'. + (calculator-funcall): Improve code, make it work in v24.3.1 too. + (calculator-last-input): Improve code, remove some old cruft. + (calculator-quit): Kill `calculator-buffer' in electric mode too. + (calculator-integer-p): Remove. + (calculator-fact): Improve code, make it work on non-integer values + too (using truncated numbers). + +2014-06-15 Michael Albinus + + Sync with Tramp 2.2.10. + + * net/tramp.el (tramp-methods): Tweak docstring. + (tramp-handle-file-accessible-directory-p): Check for + `file-readable-p' instead of `file-executable-p'. + (tramp-check-cached-permissions): + Use `tramp-compat-file-attributes'. + (tramp-call-process): Add new argument VEC. Adapt callees in all + tramp*.el files. + + * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages. + (tramp-adb-maybe-open-connection): Don't set + `tramp-current-*' variables. + + * net/tramp-cache.el (tramp-flush-file-function): Do not flush + file properties of temporary buffers. + + * net/tramp-ftp.el (top): Remove special handling for URL syntax. + + * net/tramp-gvfs.el (tramp-gvfs-methods) : Add. + (tramp-gvfs-handle-delete-file): Flush file + properties, not directory properties. + (tramp-gvfs-handle-file-attributes): Use `string-to-number' when + reading "unix::mode". + (tramp-gvfs-handle-file-name-all-completions): + Use "-h" option for "gvfs-ls". + (tramp-gvfs-url-file-name): `user' and `localname' could be nil. + (tramp-gvfs-send-command): Simplify traces. + + * net/tramp-sh.el (vc-handled-backends, vc-bzr-program) + (vc-git-program, vc-hg-program): Declare. + (tramp-methods) : Remove. It has never worked satisfactorily. + (tramp-methods) : Add new method. + (tramp-methods) : Redirect stderr to "/dev/null". + (tramp-methods) : Improve + `tramp-login-args'. + (tramp-default-user-alist): Add "nc". + (top): Remove completion function for "sftp". Add completion + functions for "nc" and "psftp". + (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring. + Implement support for "nc" method. + (tramp-sh-handle-expand-file-name, tramp-local-coding-commands) + (tramp-remote-coding-commands, tramp-call-local-coding-command): + Tweak docstring. + (tramp-sh-handle-write-region): Tweak error message. + (tramp-sh-handle-vc-registered): Remove backends when the remote + binary does not exist. + (tramp-find-inline-encoding): Do not raise an error. + (tramp-make-copy-program-file-name): Tweak docstring. Handle also + the "nc" case. Quote result also locally. + + * net/tramp-smb.el (tramp-smb-handle-copy-directory) + (tramp-smb-handle-set-file-acl): Use `start-process'. + (tramp-smb-handle-insert-directory): Use progress reporter. + (tramp-smb-handle-rename-file): Flush also file properties of + FILENAME. + + * net/trampver.el: Update release number. + +2014-06-15 Stefan Monnier + + * ses.el: Miscellaneous cleanups; use lexical-binding; avoid + add-to-list. + (ses-localvars): Remove ses--local-printer-list, unused. + (ses--metaprogramming): New macro. Use it to defvar variables. + (ses-set-localvars): Simplify. + (ses--locprn, ses-cell): Use defstruct. Change ses-cell's + property-list into an alist. + (ses-locprn-get-compiled, ses-locprn-compiled-aset) + (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number): + Remove; use defstruct accessors/setters instead. + (ses-cell-formula-aset, ses-cell-printer-aset) + (ses-cell-references-aset): Remove, use setf instead. + (ses--alist-get): New function. + (ses-cell-property): Rename from ses-cell-property-get and rewrite. + Use an alist instead of a plist and don't do move-to-front since the + list is always short. + (ses-cell-property-get-fun, ses-cell-property-delq-fun) + (ses-cell-property-set-fun, ses-cell-property-set) + (ses-cell-property-pop-fun, ses-cell-property-get-handle) + (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove. + (ses--letref): New macro. + (ses-cell-property-pop): Rewrite. + (ses--cell): Rename from ses-cell and make it into a function. + Make `formula' fallback on `value' if nil. + (ses--local-printer): Rename from ses-local-printer and make it into + a function. + (ses-set-cell): Turn it into a macro so finding the accessor from the + field name is done at compile time. + (ses-repair-cell-reference-all): Test presence of `sym' rather than + `ref' before adding `sym' to :ses-repair-reference. + (ses-calculate-cell): Use ses--letref rather than + ses-cell-property-get-handle. + (ses-write-cells): Use a single prin1-to-string. + (ses-setter-with-undo): New function. + (ses-aset-with-undo, ses-set-with-undo): Rewrite using it. + (ses-unset-with-undo): Remove. + (ses-load): Prefer apply' over `eval'. + (ses-read-printer, ses-set-column-width): Use standard "(default + foo)" format. + +2014-06-15 Glenn Morris + + * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'. * progmodes/cc-langs.el: Require cl-lib. (Bug#17463) Replace delete-duplicates and mapcan by cl- versions throughout. And cl-macroexpand-all by macroexpand-all. (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare. -2014-06-14 Eli Zaretskii +2014-06-15 Eli Zaretskii * subr.el (posn-col-row): Doc fix. (Bug#17768) -2014-06-14 Juri Linkov +2014-06-15 Juri Linkov * bindings.el: Put `ascii-character' property on keypad keys mapped to characters. (Bug#17759) -2014-06-13 Stefan Monnier +2014-06-15 Stefan Monnier * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when bumping forward into a closing paren (bug#17761). @@ -63,6 +603,130 @@ * term/xterm.el (xterm--version-handler): Work around for OSX Terminal.app (bug#17607). +2014-06-14 Ron Schnell + + * play/dunnet.el (dun-describe-room, dun-mode): + If a lamp is in the room, you won't be eaten by a grue. + +2014-06-13 Glenn Morris + + * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el) + (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile) + (compile-always): GNU make automatically passes + command-line arguments to sub-makes. + + * calendar/calendar.el (calendar-generate-window): + Remove pointless call to font-lock-fontify-buffer. + +2014-06-13 Matthias Meulien + + * simple.el (completion-list-mode-map): Navigate with tab and backtab + (bug#17767). + +2014-06-13 Stefan Monnier + + * simple.el (set-mark-command): Simplify a bit. + +2014-06-12 Nicolas Richard + + * help.el (help--key-binding-keymap): New function. + (help--binding-locus): New function. + (describe-key): Mention the keymap in which the binding was + found. (bug#13948) + +2014-06-12 Stefan Monnier + + * hippie-exp.el (he--all-buffers): New function. + (try-expand-line-all-buffers, try-expand-list-all-buffers) + (try-expand-dabbrev-all-buffers): Use it. + +2014-06-12 Emilio C. Lopes + + * hippie-exp.el (try-expand-line-all-buffers) + (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers): + Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the + original buffer, in case they're buffer-local. + +2014-06-12 Vincent Belaïche + + * ses.el (ses-initial-global-parameters-re): New defconst, a + specific regexp is needed now that ses.el can handle both + file-format 2 --- ie. no local printers --- and 3 --- i.e. may have + local printers. + (ses-localvars): Add local variables needed for local printer handling. + (ses-set-localvars): Handle hashmap initialisation. + (ses-paramlines-plist): Add param-line for number of local printers. + (ses-paramfmt-plist): New defconst, needed for code factorization + between functions `ses-set-parameter' and + `ses-file-format-extend-paramter-list' + (ses-make-local-printer-info): New defsubst. + (ses-locprn-get-compiled, ses-locprn-compiled-aset) + (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number) + (ses-cell-printer-aset): New defmacro. + (ses-local-printer-compile): New defun. + (ses-local-printer): New defmacro. + (ses-printer-validate, ses-call-printer): Add support for local + printer functions. + (ses-file-format-extend-paramter-list): New defun. + (ses-set-parameter): Use const `ses-paramfmt-plist' for code + factorization. + (ses-load): Add support for local printer functions. + (ses-read-printer): Update docstring and add support for local printer + functions. + (ses-refresh-local-printer, ses-define-local-printer): New defun. + (ses-safe-printer): Add support for local printer functions. + +2014-06-12 Ivan Andrus + + * ffap.el (ffap-lax-url): New var (bug#17723). + (ffap-url-at-point): Use it. + (ffap-file-at-point): Avoid returning just "/". + +2014-06-12 Matthias Meulien + + * progmodes/python.el (import skeleton): New skeleton (bug#17672). + (python-mode-map): Bind it. + + * progmodes/python.el (class skeleton): Don't erase last char of class + name (bug#17683). + +2014-06-12 Cameron Desautels (tiny change) + + * help.el (where-is): Use `default' arg of completing-read (bug#17705). + +2014-06-12 Kevin Ryde + + * files.el (auto-mode-alist): Map .ad files to xdefaults-mode + (bug#17745). + +2014-06-12 Stefan Monnier + + * international/mule-cmds.el: Use lexical-binding. + (ucs-names): Simplify. + +2014-05-18 Eric Hanchrow + + * progmodes/python.el (run-python): Use read-shell-command. + +2014-06-11 Stefan Monnier + + * rect.el: Make it possible to move bounds past EOL or into TABs. + (operate-on-rectangle): Use apply-on-rectangle. + (rectangle--mark-crutches): New var. + (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col) + (rectangle--crutches, rectangle--reset-crutches): New functions. + (apply-on-rectangle): Obey crutches. Avoid setq. + Fix missing final iteration if end is at EOB&BOL. + (rectangle-mark-mode-map): Add remap bindings for + exchange-point-and-mark and char/line movements. + (rectangle--*-char): New function. + (rectangle-exchange-point-and-mark, rectangle-right-char) + (rectangle-left-char, rectangle-forward-char) + (rectangle-backward-char, rectangle-next-line) + (rectangle-previous-line): New commands. + (rectangle--place-cursor): New function. + (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle. + 2014-06-08 Glenn Morris * startup.el (initial-buffer-choice): Doc fix. @@ -71,63 +735,231 @@ * bookmark.el (bookmark-load): * uniquify.el (uniquify-buffer-name-style): Doc fixes. -2014-06-06 Juri Linkov +2014-06-08 Juri Linkov * desktop.el: Activate auto-saving on window configuration changes. (desktop-save-mode, desktop-auto-save-timeout): Add/remove - `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'. + `desktop-auto-save-set-timer' to/from + `window-configuration-change-hook'. (desktop-auto-save-set-timer): Change REPEAT arg of `run-with-idle-timer' from t to nil. http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html -2014-06-06 Santiago Payà i Miralta +2014-06-08 Santiago Payà i Miralta * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and vc-hg-command (bug#17570). -2014-06-06 Stefan Monnier +2014-06-08 Stefan Monnier * international/mule-cmds.el (ucs-names): Add special entry for BEL (bug#17702). -2014-06-06 Glenn Morris +2014-06-08 Glenn Morris * startup.el (window-setup-hook): Doc fix. -2014-06-05 Glenn Morris - * emacs-lisp/package.el (package-check-signature) (package-unsigned-archives): Doc fixes. -2014-06-03 Martin Rudalics +2014-06-08 Martin Rudalics * window.el (display-buffer-use-some-window): Don't make window used smaller than it was before (Bug#17671). -2014-06-03 Eli Zaretskii +2014-06-08 Eli Zaretskii * menu-bar.el (menu-bar-open): Fix last change: use the PC 'redisplay' instead of '(sit-for 0)'. -2014-06-03 Michael Albinus +2014-06-08 Michael Albinus - * net/tramp.el (tramp-ssh-controlmaster-options): Improve search - regexp. (Bug#17653) + * net/tramp.el (tramp-ssh-controlmaster-options): + Improve search regexp. (Bug#17653) -2014-06-03 Glenn Morris +2014-06-08 Glenn Morris * emacs-lisp/package.el (package-pinned-packages): Doc fix. -2014-06-02 Eli Zaretskii +2014-06-08 Eli Zaretskii * menu-bar.el (menu-bar-open): Fix invocation via M-x. -2014-06-01 Eli Zaretskii +2014-06-06 Santiago Payà i Miralta + + * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions + (bug#17586). + + * vc/vc-hg.el (vc-hg-log-graph): New var. + (vc-hg-print-log): Use it. + (vc-hg-root-log-format): Include branch name and bookmarks; ignore + graph output (bug#17515). + +2014-06-06 Stefan Monnier + + * mouse.el (mouse-posn-property): Ignore buffer position info when the + even happened elsewhere. + +2014-06-06 Mario Lang + + * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call + `recenter' if `current-buffer' is equal to `window-buffer'. + +2014-06-05 Leo Liu + + * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's. + +2014-06-05 Michal Nazarewicz + + * textmodes/tildify.el (tildify-foreach-region-outside-env): + New function which calls a callback on portions of the buffer that are + outside of ignored environments. + (tildify-build-regexp): Remove function since it is now + incorporated in `tildify-foreach-region-outside-env' where it is + optimised and simplified by the use of `mapconcat'. + (tildify-tildify): Return number of substitutions made so that… + (tildify-count): …can be removed. + (tildify-find-env): Accept a new PAIRS argument which was + previously looked up in `tildify-ignored-environments-alist' each + time the function was called. With this change, the lookup is + performed only once in `tildify-foreach-region-outside-env'. + (tildify-region): Greatly simplify the function since now most of + the work is done by `tildify-foreach-region-outside-env'. + (tildify-mode-alist): Simplify slightly by avoiding if and setq + and instead using or. + + * textmodes/tildify.el (tildify-ignored-environments-alist): + Optimise environments regexes + + Each time beginning of an environment to ignore is found, + `tildify-find-env' needs to identify regexp for the ending + of the environment. This is done by trying all the opening + regexes on matched text in a loop, so to speed that up, this + loop should have fewer things to match, which can be done by + using alternatives in the opening regexes. + + Coincidentally, this should make matching of the opening + regexp faster as well thanks to the use of `regexp-opt' and + having common prefix pulled from many regexes. + + * textmodes/tildify.el (tildify-string-alist) + (tildify-ignored-environments-alist): Add `nxml-mode' to the list + of supported modes since `xml-mode' is no longer a thing but just + an alias to the former. Also include comments and insides of tags + in `tildify-ignored-environments-alist' for XML modes. Finally, + since XML does not define “ â€[1], use a numeric reference for + a no-break space (namely “ â€) + + [1] XML specification defines only a handful of predefined entities. + The list is at + and includes only <, >, &, ' and " (meaning <, + >, &, ' and " respectively). This is in contrast to HTML and even + XHTML which defined a whole bunch of entities including “ â€. + + * textmodes/tildify.el (tildify-pattern-alist) + (tildify-string-alist, tildify-ignored-environments-alist): + Improve defcustom's types by adding more tags explaining what each + value means and replace “sexp” used in + `tildify-ignored-environments-alist' with a full type declaration. + + * textmodes/tildify.el (tildify-find-env): Fix matched group + indexes in end-regex building + + When looking for a start of an ignore-environment, the regex is built + by concatenating regexes of all the environments configured in + `tildify-ignored-environments-alist'. So for example, the following + list could be used to match TeX's \verb and \verb* commands: + + (("\\\\verb\\(.\\)" . (1)) + ("\\\\verb\\*\\(.\\)" . (1))) + + This would result in the following regex being used to find the start + of any of the variants of the \verb command: + + \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\) + + But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group + won't match anything, and thus (match-string 1) will be nil, which + will cause building of the end-matching regex to fail. + + Fix this by using capture groups from the time when the opening + regexes are matched individually. + + * textmodes/tildify.el (tildify-find-env): Fix end-regex building + in `tildify-find-env' + + The `tildify-ignored-environments-alist' allows the end-regex to + be provided not as a static string but mix of strings and indexes + of groups matched the begin-regex. For example, the “\verb!…!” + TeX-command (where “!” is an arbitrary character) is handled + using: + + ("\\\\verb\\*?\\(.\\)" . (1)) + + In the same way, the following should be supported as well: + + ("open-\\(.\\)" . ("end-" 1)) + + However the tildify-find-env function fails at + + (concat result + (if (stringp (setq aux (car expression))) + expression ; BUG: expression is a list + (regexp-quote (match-string aux)))) + + where the string part is handled incorrectly. + + The most trivial fix would be to replace `expression' in the + true-part of the if-statement with `aux', but instead, this commit + optimises `tildify-find-env' by changing it to use `mapconcat' + rather than open-coded while-loop. + +2014-06-05 Mario Lang + + * woman.el (woman-mapcan): Remove. + (woman-parse-colon-path): Use cl-mapcan instead. + +2014-06-03 Rüdiger Sonderfeld + + * register.el: Add link to Emacs manual in Commentary. + +2014-06-02 Sam Steingold + + * menu-bar.el (lookup-key-ignore-too-long): Extract from... + (popup-menu): ...here. + (menu-bar-open): Use it to avoid an error when `lookup-key' + returns a number. + +2014-06-02 Michael Albinus + + * net/tramp.el (tramp-call-process): Add traces. + (tramp-handle-unhandled-file-name-directory): Return "/". + +2014-06-02 Wilson Snyder + + Sync with upstream verilog-mode revision 3cd8144. + * progmodes/verilog-mode.el (verilog-mode-version): Bump. + (verilog-auto-arg-format): New option, to support newlines in AUTOARG. + (verilog-type-font-keywords): Add nor. + (verilog-batch-execute-func): Force reading of Local Variables. + Fix printing "no changes to be saved" with verilog-batch. + (verilog-auto-arg-ports): Doc fix. + Add verilog-auto-arg-format to support newlines in AUTOARG. + (verilog-auto-arg): Doc fix. + +2014-06-02 Glenn Morris + + * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el: + * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el: + * emulation/ws-mode.el: Move to obsolete/. + * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el. + +2014-06-02 Eli Zaretskii * simple.el (keyboard-quit): Force update of mode lines, to remove the "Def" indicator, if we were defining a macro. (Bug#17615) -2014-06-01 Stefan Monnier +2014-06-02 Stefan Monnier * minibuffer.el (minibuffer-force-complete-and-exit): Obey minibuffer-default (bug#17545). @@ -135,19 +967,17 @@ * progmodes/js.el (js-indent-line): Don't mix columns and chars (bug#17619). -2014-05-31 Stefan Monnier - * subr.el (set-transient-map): Don't wait for some "nested" transient-map to finish if we're only supposed to be active for the next command (bug#17642). -2014-05-31 Leo Liu +2014-06-02 Leo Liu * emacs-lisp/gv.el (window-buffer, window-display-table) (window-dedicated-p, window-hscroll, window-point, window-start): Fix gv-expander. (Bug#17630) -2014-05-31 Stefan Monnier +2014-06-02 Stefan Monnier * mouse.el (mouse-posn-property): Ignore posn-point for mode-line clicks (bug#17633). @@ -156,20 +986,20 @@ for the single comma, since ", " is *very* common in normal French text (bug#17643). -2014-05-30 Glenn Morris +2014-06-02 Glenn Morris * emacs-lisp/package.el (package-check-signature) (package-unsigned-archives): Fix :version. -2014-05-29 Stefan Monnier +2014-06-02 Stefan Monnier * subr.el (sit-for): Don't run input-methods (bug#15614). -2014-05-28 Glenn Morris +2014-06-02 Glenn Morris * cus-start.el: Fix some :version numbers. -2014-05-27 Stefan Monnier +2014-06-02 Stefan Monnier * simple.el (deactivate-mark): Set mark-active to nil even if deactivation is done via setting transient-mark-mode to nil, @@ -178,7 +1008,7 @@ * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume there can't be more than 2 arguments (bug#17584). -2014-05-27 Glenn Morris +2014-06-02 Glenn Morris * simple.el (filter-buffer-substring-functions) (filter-buffer-substring-function, buffer-substring-filters) @@ -190,27 +1020,140 @@ * abbrev.el (abbrev-expand-functions, abbrev-expand-function) (expand-abbrev, abbrev--default-expand): Doc fixes. -2014-05-26 Paul Eggert +2014-06-02 Paul Eggert Include sources used to create macuvs.h. * international/README: Refer to the Unicode Terms of Use rather than copying it bodily here, as that simplifies maintenance. -2014-05-25 Andreas Schwab +2014-06-01 Glenn Morris + + * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629) + +2014-05-31 Glenn Morris + + * files.el (locate-dominating-file): Expand file argument. (Bug#17641) + +2014-05-30 Glenn Morris + + * loadup.el: Treat `command-line-args' more flexibly. + +2014-05-30 Alan Mackenzie + + Guard (looking-at "\\s!") from XEmacs. + * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form. + +2014-05-30 Ken Olum (tiny change) + + * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): + The argument COUNT is now optional, to be more backward-compatible. + Doc fix. (Bug#17560) + +2014-05-29 Reuben Thomas + + * whitespace.el (whitespace-report-region): + Simplify documentation. + (whitespace-report-region): Allow report-if-bogus to take the + value `never', for non-interactive use. + (whitespace-report): Refer to whitespace-report-region's + documentation. + +2014-05-29 Stefan Monnier + + * whitespace.el: Use font-lock-flush. Minimize refontifications. + Side benefit: it works without jit-lock. + (whitespace-point--used): New buffer-local var. + (whitespace-color-on): Initialize it and flush it. Use font-lock-flush. + (whitespace-color-off): Use font-lock-flush. + (whitespace-point--used, whitespace-point--flush-used): New functions. + (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp) + (whitespace-empty-at-eob-regexp): Use them. + (whitespace-post-command-hook): Rewrite. + + * font-lock.el (font-lock-flush, font-lock-ensure): New functions. + (font-lock-fontify-buffer): Mark interactive-only. + (font-lock-multiline, font-lock-fontified, font-lock-set-defaults): + Make buffer-local. + (font-lock-specified-p): Remove redundant boundp check. + (font-lock-flush-function, font-lock-ensure-function): New vars. + (font-lock-turn-on-thing-lock): Set them. + (font-lock-default-fontify-buffer): Obey font-lock-dont-widen. + (font-lock-after-change-function): Make `old-len' optional. + (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults. + Call font-lock-flush, just in case. + * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in + recent Emacsen. + * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete. + (vera-mode-map, vera-mode-menu): Remove bindings to it. + * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure + and with-syntax-table. + * textmodes/conf-mode.el (conf-quote-normal): + * progmodes/sh-script.el (sh-set-shell): + * progmodes/prog-mode.el (prettify-symbols-mode): + * progmodes/f90.el (f90-font-lock-n): + * progmodes/cwarn.el (cwarn-mode): + * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display): + * progmodes/compile.el (compilation-setup, compilation--unsetup): + * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer) + (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush. + * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of + font-lock-fontify-buffer-function and + font-lock-unfontify-buffer-function. + (rmail-unfontify-buffer-function, rmail-fontify-message): + Use with-silent-modifications. + * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now + and font-lock-ensure. + * bs.el (bs-show-in-buffer): Use font-lock-ensure. + +2014-05-28 Thien-Thi Nguyen + + * emacs-lisp/package.el (package-generate-autoloads): + Inhibit backup files. + +2014-05-28 Stefan Monnier + + * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize + (bug#17608). + +2014-05-21 Michal Nazarewicz + + * textmodes/tildify.el (tildify-buffer, tildify-region): + Add dont-ask option. + +2014-05-28 Stefan Monnier + + * subr.el (zerop): Move from C. Add compiler-macro (bug#17475). + * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove. + + * subr.el (internal--funcall-interactively): New. + (internal--call-interactively): Remove. + (called-interactively-p): Detect funcall-interactively instead of + call-interactively. + * simple.el (repeat-complex-command): Use funcall-interactively. + (repeat-complex-command--called-interactively-skip): Remove. + +2014-05-27 Stefan Monnier + + * register.el (register-read-with-preview): Don't burp on + frame switches (e.g. due to the frame we just popped). + + * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562). + (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved. + +2014-05-26 Andreas Schwab * cus-face.el (custom-face-attributes): Add :distant-foreground. -2014-05-25 Martin Rudalics +2014-05-26 Martin Rudalics - * window.el (window--dump-frame): Remove interactive - specification. + * window.el (window--dump-frame): Remove interactive specification. -2014-05-23 Glenn Morris +2014-05-26 Glenn Morris * hippie-exp.el (he-line-search-regexp): Handle comint-prompt-regexp containing subgroups. (Bug#17529) -2014-05-23 Stephen Berman +2014-05-26 Stephen Berman * calendar/todo-mode.el: Remove dependence on auto-mode-alist, to avoid errors when trying to create or visit a file foo.todo @@ -232,14 +1175,14 @@ (auto-mode-alist): Remove add-to-list calls making Todo file extensions unrestrictedly tied to Todo modes. -2014-05-23 Stefan Monnier +2014-05-26 Stefan Monnier * emacs-lisp/nadvice.el (advice--member-p): Change second arg. (advice-function-member-p): Tell it to check both names and functions (bug#17531). (advice--add-function): Adjust call accordingly. -2014-05-23 Stephen Berman +2014-05-26 Stephen Berman * calendar/todo-mode.el: Miscellaneous bug fixes. (todo-delete-file): When deleting an archive but not its todo @@ -271,21 +1214,21 @@ (todo-reset-highlight-item): Also reset in filtered items files. Fix incorrect variable reference in document string. -2014-05-22 Glenn Morris +2014-05-26 Glenn Morris * window.el (window--dump-frame): Avoid error in --without-x builds. -2014-05-21 Glenn Morris +2014-05-26 Glenn Morris * nxml/nxml-mode.el (xml-mode): Only define this alias once. -2014-05-21 Eli Zaretskii +2014-05-26 Eli Zaretskii * frame.el (set-frame-font): Doc fix. * menu-bar.el (menu-set-font): Doc fix. (Bug#17532) -2014-05-21 Dmitry Gutov +2014-05-26 Dmitry Gutov * emacs-lisp/package.el (package--download-one-archive): Use `write-region' instead of `save-buffer' to avoid running various @@ -293,7 +1236,7 @@ (describe-package-1): Same. Insert newline at the end of the buffer if appropriate. -2014-05-20 Juri Linkov +2014-05-26 Juri Linkov * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame. (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'. @@ -303,7 +1246,7 @@ * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options to allow changing its value with `set-variable'. -2014-05-20 Stefan Monnier +2014-05-26 Stefan Monnier * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for #; comments. @@ -315,32 +1258,136 @@ * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274). -2014-05-18 Stefan Monnier - * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled (bug#17392). -2014-05-17 Michael Albinus +2014-05-26 Michael Albinus * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t" for a temporary file name. -2014-05-17 Eli Zaretskii +2014-05-26 Eli Zaretskii * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511) -2014-05-16 Michael Albinus +2014-05-26 Michael Albinus * net/dbus.el (dbus-init-bus, dbus-call-method) (dbus-call-method-asynchronously, dbus-send-signal) (dbus-method-return-internal, dbus-method-error-internal): Check, whether Emacs has been compiled with D-Bus support. (Bug#17508) -2014-05-14 Nicolas Richard +2014-05-26 Nicolas Richard * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with methods which do not have a doc string. (Bug#17490) +2014-05-25 Tassilo Horn + + * textmodes/reftex-ref.el (reftex-format-special): Make it work + also for AMS Math's \eqref macro. + +2014-05-25 Thien-Thi Nguyen + + Arrange to never byte-compile the generated -pkg.el file. + + * emacs-lisp/package.el (package-generate-description-file): + Output first-line comment to set buffer-local var `no-byte-compile'. + Suggested by Dmitry Gutov: + . + +2014-05-25 Thien-Thi Nguyen + + Fix bug: Properly quote args to generated -pkg.el `define-package'. + + * emacs-lisp/package.el (package-generate-description-file): + Inline `package--alist-to-plist'; rewrite to selectively + quote alist values that are not self-quoting. + (package--alist-to-plist): Delete func. + +2014-05-25 Andreas Schwab + + * term/xterm.el (xterm-function-map): Add mapping for shifted + keypad keys. + +2014-05-24 Daniel Colascione + + * progmodes/subword.el (subword-find-word-boundary): Move point to + correct spot before search. (Bug#17580) + + * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid + breaking the build. + +2014-05-24 Leo Liu + + * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556) + +2014-05-23 Stefan Monnier + + * minibuffer.el (completion--sreverse): Remove. + (completion--common-suffix): Use `reverse' instead. + * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings. + +2014-05-22 Glenn Morris + + * shell.el (shell-mode) : Bypass bash aliases. + +2014-05-21 Daniel Colascione + + * files.el (interpreter-mode-alist): Add mksh. + + * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh + derivative. + (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to + mksh. Improve custom spec; allow regular expressions. + (sh-shell): Delegate name splitting to `sh-canonicalize-shell'. + (sh-after-hack-local-variables): New function. + (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333) + (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding + the normalization. + (sh-canonicalize-shell): Rewrite to support regexes. + +2014-05-21 Leo Liu + + * emacs-lisp/cl-lib.el (cl-endp): Fix last change. + +2014-05-19 Leo Liu + + * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics. + +2014-05-18 Glenn Morris + + * loadup.el: + * play/gametree.el: `track-mouse' is always defined since 2012-11-24. + +2014-05-14 Sam Steingold + + * progmodes/python.el (python-shell-get-or-create-process): + Do not bind `current-prefix-arg' so that C-c C-z does not talk + back unless requested. + +2014-05-14 Glenn Morris + + * subr.el (with-file-modes): New macro. + * printing.el (pr-save-file-modes): Make obsolete. + * eshell/esh-util.el (eshell-with-file-modes): Make obsolete. + * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): + Add with-file-modes. + * doc-view.el (doc-view-make-safe-dir): + * epg.el (epg--start): + * files.el (locate-user-emacs-file, make-temp-file) + (backup-buffer-copy, move-file-to-trash): + * printing.el (pr-despool-print, pr-call-process, pr-text2ps): + * eshell/esh-util.el (eshell-with-private-file-modes) + (eshell-make-private-directory): + * net/browse-url.el (browse-url-mosaic): + * obsolete/mailpost.el (post-mail-send-it): + * obsolete/pgg-pgp.el (pgg-pgp-verify-region): + * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region): + Use with-file-modes. + + * vc/emerge.el (emerge-make-temp-file): Simplify. + 2014-05-14 Stephen Berman Stefan Monnier @@ -353,34 +1400,49 @@ Make pointless option obsolete. (emerge-temp-file-mode): Make non-functional option obsolete. -2014-05-13 Michael Albinus +2014-05-14 Michael Albinus * net/browse-url.el (browse-url): Use `unhandled-file-name-directory' when setting `default-directory', in order to circumvent stalled remote connections. (Bug#17425) +2014-05-14 Glenn Morris + + * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol): + Optimize on Emacs, which has the relevant functions for ages. + +2014-05-13 Stefan Monnier + + * simple.el (undo-make-selective-list): Obey undo-no-redo. + +2014-05-12 Sam Steingold + + * calendar/time-date.el (seconds-to-string): New function to + pretty print time delay in seconds. + 2014-05-12 Stefan Monnier + * mpc.el (mpc-format): Trim Date to the year. + (mpc-songs-hashcons): Shorten the Date field. + * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled into autoloading just because of a silly indirection. -2014-05-11 Santiago Payà i Miralta (tiny change) +2014-05-12 Santiago Payà i Miralta * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454) -2014-05-11 Glenn Morris +2014-05-12 Glenn Morris * emacs-lisp/find-gc.el: Move to ../admin. -2014-05-10 Glenn Morris - * printing.el (pr-version): * ps-print.el (ps-print-version): Also mention bug-gnu-emacs. * net/browse-url.el (browse-url-mosaic): Create /tmp/Mosaic.PID as a private file. -2014-05-10 Stefan Monnier +2014-05-12 Stefan Monnier * emacs-lisp/nadvice.el: Support adding a given function multiple times. (advice--member-p): If name is given, only compare the name. @@ -390,21 +1452,17 @@ (advice--add-function): Pass the name, if any, to advice--remove-function. -2014-05-09 Philipp Rumpf (tiny change) +2014-05-12 Philipp Rumpf (tiny change) * electric.el (electric-indent-post-self-insert-function): Don't use `pos' after modifying the buffer (bug#17449). -2014-05-09 Stefan Monnier - - * subr.el (function-put): Add function. - -2014-05-09 Stephen Berman +2014-05-12 Stephen Berman * calendar/todo-mode.el (todo-insert-item-from-calendar): Correct argument list to conform to todo-insert-item--basic. -2014-05-09 Glenn Morris +2014-05-12 Glenn Morris * files.el (cd-absolute): Test if directory is accessible rather than executable. (Bug#17330) @@ -412,21 +1470,60 @@ * progmodes/compile.el (recompile): Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444) -2014-05-08 Juri Linkov - - * dired.el (dired-check-switches, dired-switches-recursive-p): - New functions. (Bug#17218) - (dired-switches-escape-p, dired-move-to-end-of-filename): - Use `dired-check-switches'. - (dired-insert-old-subdirs, dired-build-subdir-alist) - (dired-sort-R-check): Use `dired-switches-recursive-p'. - -2014-05-08 Glenn Morris - * net/browse-url.el (browse-url-mosaic): Be careful when writing /tmp/Mosaic.PID. (Bug#17428) This is CVE-2014-3423. +2014-05-11 Stefan Monnier + + * mouse.el: Use the normal toplevel loop while dragging. + (mouse-set-point): Handle multi-clicks. + (mouse-set-region): Handle multi-clicks for drags. + (mouse-drag-region): Update call accordingly. + (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack. + Use the normal event loop instead of a local while/read-event loop. + (global-map): Remove redundant bindings for double/triple-mouse-1. + * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time. + Generate synthetic down events when the protocol only sends up events. + (xterm-mouse-last): Remove. + (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down + terminal parameter instead. + (xterm-mouse--set-click-count): New function. + (xterm-mouse-event): Detect/generate double/triple clicks. + * reveal.el (reveal-close-old-overlays): Don't close while dragging. + + * info.el (Info-quoted): New face. + (Info-mode-font-lock-keywords): New var. + (Info-mode): Use it. + + * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which + are a hindrance for C-x C-e. + +2014-05-11 Leo Liu + + * net/rcirc.el (rcirc-sentinel): Fix last change. + +2014-05-08 Sam Steingold + + * net/rcirc.el (rcirc-reconnect-delay): New user option. + (rcirc-sentinel): Auto-reconnect to the server if + `rcirc-reconnect-delay' is non-0 (but not more often than its + value in case the host is off-line). + +2014-05-09 Eli Zaretskii + + * progmodes/grep.el (lgrep): Fix a typo in last commit. + +2014-05-09 Glenn Morris + + * files.el (file-expand-wildcards): + * man.el (Man-support-local-filenames): + * printing.el (pr-i-directory, pr-interface-directory): + * progmodes/grep.el (lgrep, rgrep): + * textmodes/ispell.el (ispell-call-process) + (ispell-call-process-region, ispell-start-process) + (ispell-init-process): Use file-accessible-directory-p. + 2014-05-08 Stefan Monnier * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378). @@ -435,30 +1532,30 @@ (xterm-mouse-event): Propagate it. (xterm-mouse-translate-1): Handle it. -2014-05-07 Stephen Berman +2014-05-08 Stephen Berman * calendar/todo-mode.el (todo-insert-item--apply-args): When all four slots of the parameter list are filled, make sure to pass it to the argument list of todo-insert-item--basic. -2014-05-06 Stefan Monnier +2014-05-08 Stefan Monnier * emacs-lisp/package.el (package-compute-transaction): Topological sort. Add optional `seen' argument to detect and break infinite loops. -2014-05-06 Eli Zaretskii +2014-05-08 Eli Zaretskii * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs) (trace-unsafe, trace-use-tree): Make parentheses style be according to Emacs style. -2014-05-06 Michael Albinus +2014-05-08 Michael Albinus * net/tramp-sh.el (tramp-remote-process-environment): Remove HISTFILE and HISTSIZE; it's too late to set them here. Add :version entry. (tramp-open-shell): Do not let-bind `tramp-end-of-output'. - Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send + Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send extra "PSx=..." commands. (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null. (Bug#17295) @@ -470,7 +1567,7 @@ name. (Bug#17415) This is CVE-2014-3424. -2014-05-06 Glenn Morris +2014-05-08 Glenn Morris * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value. (find-gc-source-files): Update some names. @@ -478,7 +1575,7 @@ Avoid predictable temp-file names. (http://bugs.debian.org/747100) This is CVE-2014-3422. -2014-05-05 Stefan Monnier +2014-05-08 Stefan Monnier * minibuffer.el (completion--try-word-completion): Revert fix for Bug#15980 (bug#17375). @@ -488,30 +1585,47 @@ Don't burp is xterm-mouse-last is not set as expected. Never return negative indices. -2014-05-05 Dmitry Gutov +2014-05-08 Dmitry Gutov * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Backtrack one char if the global/char-literal var matcher hits inside a string. The next char could be the beginning of an expression expansion. -2014-05-05 Glenn Morris +2014-05-08 Glenn Morris * help-fns.el (describe-function-1): Test for an autoload before a macro, since `macrop' works on autoloads. (Bug#17410) -2014-05-05 Stefan Monnier +2014-05-08 Stefan Monnier * electric.el (electric-indent-functions-without-reindent): Add yaml. * minibuffer.el (completion-table-with-quoting) : Make sure the new point we return is within the new string (bug#17239). -2014-05-03 Eli Zaretskii +2014-05-05 Daniel Colascione + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Port `gnu' pattern to rx. + +2014-05-05 Jarek Czekalski + + Remove unneeded prompt when closing a buffer with active + emacsclient ("Buffer ... still has clients"), #16548. + * server.el (server-start): Remove the only call to: + (server-kill-buffer-query-function): Remove. + +2014-05-04 Leo Liu + + * calendar/diary-lib.el (calendar-chinese-month-name-array): + Defvar to pacify compiler. + +2014-05-04 Eli Zaretskii * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment. -2014-05-03 Stefan Monnier +2014-05-04 Stefan Monnier * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): Use nil rather than `default' for the "default" appearance (bug#17388). @@ -521,12 +1635,12 @@ * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the overlay is not visible. -2014-05-02 Stephen Berman +2014-05-04 Stephen Berman * calendar/todo-mode.el (todo-edit-file): Use display-warning. (todo-menu): Uncomment and update. -2014-05-02 Stephen Berman +2014-05-04 Stephen Berman * calendar/todo-mode.el: Reimplement item editing to have the same basic user interface as item insertion, and make small UI and @@ -579,11 +1693,11 @@ (todo-key-bindings-t): Bind "e" to todo-edit-item. Remove bindings of deleted commands. -2014-05-02 Leo Liu +2014-05-04 Leo Liu * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation. -2014-05-01 Glenn Morris +2014-05-04 Glenn Morris * allout-widgets.el (allout-widgets-tally) (allout-decorate-item-guides): @@ -597,20 +1711,74 @@ * textmodes/reftex-parse.el (reftex-using-biblatex-p): Doc fixes (replace `iff'). +2014-05-04 Stefan Monnier + + * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries. + +2014-05-04 Leo Liu + + Support Chinese diary entries in calendar and diary. (Bug#17393) + * calendar/cal-china.el (calendar-chinese-month-name-array): New var. + (calendar-chinese-from-absolute-for-diary) + (calendar-chinese-to-absolute-for-diary) + (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries) + (diary-chinese-list-entries): New functions to list and mark + Chinese diary entries in the calendar window. + (diary-chinese-anniversary) + (diary-chinese-insert-anniversary-entry) + (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry) + (diary-chinese-insert-yearly-entry): New commands to insert + Chinese diary entries. + + * calendar/diary-lib.el (diary-font-lock-keywords): + Support font-locking Chinese dates. + + * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for + inserting Chinese diary entries. + + * calendar/calendar.el (diary-chinese-entry-symbol): + New customizable variable. + (calendar-mode-map): Add bindings for inserting Chinese diary + entries. + +2014-05-03 Juri Linkov + + * dired.el (dired-check-switches, dired-switches-recursive-p): + New functions. (Bug#17218) + (dired-switches-escape-p, dired-move-to-end-of-filename): + Use `dired-check-switches'. + (dired-insert-old-subdirs, dired-build-subdir-alist) + (dired-sort-R-check): Use `dired-switches-recursive-p'. + +2014-05-01 Barry O'Reilly + + * simple.el (undo-make-selective-list): New algorithm fixes + incorrectness of position adjustments when undoing in region. + (Bug#17235) + (undo-elt-crosses-region): Make obsolete. + (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): + New functions to adjust positions using undo-deltas. + 2014-05-01 Stefan Monnier - * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries. + * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past + the last consecutive closing paren (bug#17345). + +2014-04-30 Reuben Thomas + + * dired.el (dired-mode): make terminology for eXpunge command + consistent. (Bug#17276) 2014-04-30 Eli Zaretskii * dired.el (dired-initial-position-hook, dired-initial-position): Doc string fixes. -2014-04-29 Glenn Morris +2014-04-30 Glenn Morris * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283) -2014-04-27 Matthias Dahl +2014-04-30 Matthias Dahl * faces.el (face-spec-recalc): Apply X resources only after the defface spec has been applied. Thus, X resources are no longer @@ -618,37 +1786,71 @@ the toolbar coloring was wrong because it is set through X resources and was (wrongfully) overriden. (Bug#16694) -2014-04-28 Stefan Monnier +2014-04-30 Stefan Monnier * textmodes/rst.el (electric-pair-pairs): Declare. (rst-mode): Set it (bug#17131). -2014-04-27 Juri Linkov +2014-04-30 Juri Linkov * desktop.el (desktop-value-to-string): Let-bind `print-length' and `print-level' to nil. (Bug#17351) -2014-04-25 Nicolas Richard +2014-04-30 Nicolas Richard * battery.el (battery-update): Handle the case where battery status is "N/A" (bug#17319). -2014-04-24 Eli Zaretskii +2014-04-28 Stefan Monnier + + * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition + to syntax-propertize. + (ps-mode-auto-indent): Mark as obsolete. + (ps-mode-font-lock-keywords-1): Remove string-or-comment handling. + (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of + word regexp operators. + (ps-mode-map): Move initialization into declaration. Remove binding + for TAB, RET, >, ], and }. + (ps-mode-syntax-table): Move initialization into declaration. + Don't give word syntax to non-word chars. + (ps-run-mode-map): Move initialization into declaration. + (ps-mode-menu-main): Remove auto-indent entry. + (ps-mode-smie-rules): New function. + (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode. + (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove. + (ps-mode--string-syntax-table): New const. + (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize): + New functions. + (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle) + (ps-mode-r-gt, ps-mode-r-balance): Remove functions. + +2014-04-27 Daniel Colascione + + * term/xterm.el (xterm-paste): Use large finite timeout when + reading event to avoid putting keys in this-command-keys. + +2014-04-25 Stefan Monnier + + * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var. + (perl-syntax-propertize-function): Use it. Extend handling of + here-docs to the unquoted case. + +2014-04-25 Eli Zaretskii * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help): Use equal-including-properties to compare help-echo strings (bug#17331). -2014-04-24 Leo Liu +2014-04-25 Leo Liu * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): Fix syntax for @. (Bug#17325) -2014-04-24 Daniel Colascione +2014-04-25 Daniel Colascione * emacs-lisp/cl.el (gv): Require gv early to break eager macro-expansion cycles. -2014-04-23 Stefan Monnier +2014-04-25 Stefan Monnier * simple.el (region-active-p): Check there's a mark (bug#17324). @@ -664,11 +1866,42 @@ * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after &, |, +, - and * can't be a division (bug#17317). -2014-04-22 Stefan Monnier - * term/xterm.el (xterm--version-handler): Don't use modern xterm features on gnome-terminal (bug#16988). +2014-04-25 Thien-Thi Nguyen + + Improve Scheme font-locking for (define ((foo ...) ...) ...). + + * progmodes/scheme.el (scheme-font-lock-keywords-1): To find + the declared object, ignore zero or more parens, not zero or one. + +2014-04-24 Leo Liu + + * progmodes/xscheme.el (xscheme-expressions-ring) + (xscheme-expressions-ring-yank-pointer, xscheme-running-p) + (xscheme-control-g-disabled-p, xscheme-process-filter-state) + (xscheme-allow-output-p, xscheme-prompt) + (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local. + + * progmodes/scheme.el (would-be-symbol, next-sexp-as-string): + Comment out unused functions. + +2014-04-24 Stefan Monnier + + * info.el: Use lexical-binding and cl-lib. + Use defvar-local and setq-local instead of make-local-variable. + (Info-apropos-matches): Avoid add-to-list. + (Info-edit-mode-map): Fix obsolescence call to Info-edit-map. + +2014-04-24 Daniel Colascione + + * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins. + +2014-04-23 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge. + 2014-04-22 Michael Heerdegen * dired.el (dired-insert-set-properties): Do not consider @@ -682,30 +1915,119 @@ (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source' and `target' twice. -2014-04-21 Stefan Monnier +2014-04-22 Stefan Monnier * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311). * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead. * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name. -2014-04-21 Michael Albinus +2014-04-22 Michael Albinus * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Set "IFS=" when using read builtin, in order to preserve spaces in the file name. Add test messages for hunting a bug on hydra. (tramp-get-ls-command): Undo using "-b" argument. It doesn't help. -2014-04-21 Stefan Monnier +2014-04-22 Stefan Monnier * progmodes/prog-mode.el (prettify-symbols--compose-symbol): Don't prettify a word within a symbol. -2014-04-20 Michael Albinus +2014-04-22 Michael Albinus * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if possible. +2014-04-22 Daniel Colascione + + * emacs-lisp/byte-run.el (function-put): Unbreak build: don't + use defun to define `function-put'. + +2014-04-22 Stefan Monnier + + * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function. + (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it. + (lisp-mode-variables): Set font-lock-extra-managed-props. + + * emacs-lisp/byte-run.el (function-put): New function. + (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'. + * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type) + (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value): + Use them. + +2014-04-22 Daniel Colascione + + * emacs-lisp/macroexp.el (internal-macroexpand-for-load): + Add `full-p' parameter; when nil, call `macroexpand' instead of + `macroexpand-all'. + + * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile): + Improve docstrings. + + * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): + Use lambda function values, not quoted lambdas. + (byte-compile-recurse-toplevel): Remove extraneous &optional. + + * emacs-lisp/cl-macs.el + (cl-struct-sequence-type, cl-struct-slot-info): Declare pure. + (cl-struct-slot-value): Conditionally use aref or nth so that the + compiler produces optimal code. + +2014-04-22 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure. + (inline): Don't inline cl--set-elt. + (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro. + Define as inlinable instead. + (cl-struct-set-slot-value): Remove. + + * emacs-lisp/cl-lib.el (cl--set-elt): Remove. + * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute): + Use setf instead. + +2014-04-21 Daniel Colascione + + * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the + last two parameters after all. + (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member) + (cl--compiler-macro-assoc,cl-struct-slot-value) + (cl-struct-set-slot-value): Stop using them. + +(2014-04-21 Stefan Monnier + + * image-mode.el (image-mode-window-put): Don't assume there's a `t' + entry in image-mode-winprops-alist. + +2014-04-21 Daniel Colascione + + * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function. + (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment) + (byte-compile-toplevel-file-form): Use it. + + * emacs-lisp/cl-macs.el: + (cl--loop-let): Properly destructure `while' clauses. + +2014-04-20 Daniel Colascione + + * vc/vc.el (vc-root-dir): New public autoloaded function for + generically finding the current VC root. + * vc/vc-hooks.el (vc-not-supported): New error. + (vc-call-backend): Signal `vc-not-supported' instead of generic error. + +2014-04-20 Daniel Colascione + + * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type + argument. + (cl--const-expr-val): cl--const-expr-val should macroexpand its + argument in case we're inside a symbol-macrolet. + (cl--do-arglist, cl--compiler-macro-typep) + (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro + environment to `cl--const-expr-val'. + (cl-struct-sequence-type,cl-struct-slot-info) + (cl-struct-slot-offset, cl-struct-slot-value) + (cl-struct-set-slot-value): New functions. + 2014-04-19 Stefan Monnier * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable @@ -728,12 +2050,46 @@ * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'. -2014-04-16 Stefan Monnier +2014-04-17 Daniel Colascione + + Add support for bracketed paste mode; add infrastructure for + managing terminal mode enabling and disabling automatically. + + * xt-mouse.el: + (xterm-mouse-mode): Simplify. + (xterm-mouse-tracking-enable-sequence) + (xterm-mouse-tracking-disable-sequence): New constants. + (turn-on-xterm-mouse-tracking-on-terminal) + (turn-off-xterm-mouse-tracking-on-terminal): + Use tty-mode-set-strings and tty-mode-reset-strings terminal + parameters instead of random hooks. + (turn-on-xterm-mouse-tracking) + (turn-off-xterm-mouse-tracking): Delete. + + * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment. + (xterm-paste-ending-sequence): New constant. + (xterm-paste): New command used for bracketed paste support. + + (xterm-modify-other-keys-terminal-list): Delete obsolete variable. + (terminal-init-xterm-bracketed-paste-mode): New function. + (terminal-init-xterm): Call it. + (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings + and tty-mode-reset-strings instead of random hooks. + (xterm-turn-on-modify-other-keys) + (xterm-turn-off-modify-other-keys) + (xterm-remove-modify-other-keys): Delete obsolete functions. + + * term/screen.el: Rewrite to just use the xterm code. + Add copyright notice. Mention tmux. + +2014-04-17 Ian D (tiny change) + + * image-mode.el (image-mode-window-put): Also update the property of + the "default window". + * doc-view.el (doc-view-new-window-function): If no window + exists, move to the last known page. - * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization - was done (bug#17264). - * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed - comment to EOB. +2014-04-16 Stefan Monnier * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in here-documents (bug#17262). @@ -743,7 +2099,7 @@ * term/pc-win.el (x-list-fonts, x-get-selection-value): Provide doc strings, as required by snarf-documentation. -2014-04-15 Stefan Monnier +2014-04-16 Stefan Monnier * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted' arg of overlays-at. Use `invisible-p'. @@ -753,46 +2109,69 @@ overlays-at. (hfy-fontify-buffer): Remove unused var `orig-ovls'. -2014-04-14 João Távora +2014-04-16 João Távora * net/shr.el (shr-expand-url): Use `expand-file-name' for relative links. (Bug#17217). -2014-04-14 YAMAMOTO Mitsuharu +2014-04-16 YAMAMOTO Mitsuharu * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): Use mapc to loop over a vector. (Bug#17257). -2014-04-13 Michael Albinus +2014-04-16 Michael Albinus * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous patch, there are new problems with file names containing spaces. Get rid of backticks. (Bug#17238) -2014-04-13 João Távora +2014-04-16 João Távora * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix possible bug. -2014-04-13 Eli Zaretskii +2014-04-16 Eli Zaretskii * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes. (blink-cursor-mode): Mention customization variables and the effect of 'blink-cursor-blinks'. -2014-04-12 Barry O'Reilly +2014-04-16 Barry O'Reilly * simple.el (undo): Prevent insertion of identity mapping into undo-equiv-table so as undo-only does not inf loop in the presence of consecutive nils in undo list. -2014-04-12 Matthias Dahl +2014-04-16 Matthias Dahl * faces.el (make-face): Deprecate optional argument as it is no longer needed/used since the conditional X resources handling has been pushed down to make-face-x-resource-internal itself. (make-empty-face): Don't pass optional argument to make-face. +2014-04-16 Karl Fogel + + * savehist.el (savehist-save): Remove workaround for a read-passwd + bug that was fixed before 24.3. Thanks to Juanma Barranquero for + noticing that the shim was still present. + +2014-04-14 Stefan Monnier + + * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps. + +2014-04-14 Juanma Barranquero + + * faces.el (face-set-after-frame-default): Remove unused local variable. + +2014-04-12 Stefan Monnier + + * progmodes/grep.el: Use lexical-binding. + (grep-expand-template): Pass explicit lexical env to `eval'. + (zrgrep): Let-bind grep-find-template explicitly. + + * emacs-lisp/cl-lib.el (current-case-table): Remove setter. + * leim/quail/sisheng.el (sisheng-list): Use with-case-table. + 2014-04-12 Eli Zaretskii * international/characters.el : Add entries @@ -801,24 +2180,34 @@ 2014-04-12 Leo Liu - * progmodes/octave.el (completion-table-with-cache): Define if not - available. - (octave-goto-function-definition) - (octave-sync-function-file-names) - (octave-find-definition-default-filename): Backquote upattern for - compatibility. + * progmodes/octave.el (completion-table-with-cache): + Define if not available. + (octave-goto-function-definition, octave-sync-function-file-names) + (octave-find-definition-default-filename): + Backquote upattern for compatibility. -2014-04-11 Michael Albinus +2014-04-12 Michael Albinus * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file name twice due to backticks. (Bug#17238) -2014-04-11 Glenn Morris +2014-04-12 Glenn Morris * term/w32-win.el (x-win-suspend-error): * term/x-win.el (x-win-suspend-error): Sync docs. -2014-04-10 Stefan Monnier +2014-04-12 Matthias Dahl + + * faces.el (make-face): Remove deprecated optional argument. + The conditional application of X resources is handled directly by + make-face-x-resource-internal since Emacs 24.4. + (make-empty-face): Don't pass optional argument to make-face. + +2014-04-11 Glenn Morris + + * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429) + +2014-04-11 Stefan Monnier Ediff's overlay priorities cause more trouble than they solve. * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable. @@ -828,12 +2217,12 @@ (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with overlay priorities. -2014-04-10 Feng Li (tiny change) +2014-04-11 Feng Li (tiny change) * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format entry; use symbol boundaries to avoid mis-matches. -2014-04-10 Michael Albinus +2014-04-11 Michael Albinus * net/tramp.el (tramp-file-name-handler) (tramp-completion-file-name-handler): Avoid recursive loading. @@ -841,21 +2230,86 @@ * net/tramp-sh.el (tramp-make-copy-program-file-name): Quote result also locally. +2014-04-11 Stefan Monnier + + * emulation/cua-base.el (, cua--pre-command-handler-1): + Remove left-over code. + + * newcomment.el (comment-indent-new-line): Sink code where it's used. + Reuse the previous comment's indentation unconditionally if it's on its + own line. + +2014-04-09 Daniel Colascione + + * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings', + `no-syntax-crossing' arguments. Forward to `up-list'. + (up-list): Add `escape-strings', `no-syntax-crossing' arguments. + Implement logic for escaping from strings. Use narrowing to deal + with corner cases. + +2014-04-09 Leo Liu + + * net/rcirc.el (rcirc-connection-info): New variable. + (rcirc-connect): Use it to store connection info. + (rcirc-buffer-process): Avoid get-buffer-process which returns nil + for killed process. + (rcirc-cmd-reconnect): New command. (Bug#17045) + (rcirc-mode, set-rcirc-encode-coding-system) + (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local. + +2014-04-09 Daniel Colascione + + * emacs-lisp/cl-indent.el: Add comment claiming + facility is also good for elisp. + (lisp-indent-find-method): New function. + (common-lisp-indent-function): Recognize cl-loop. + (common-lisp-indent-function-1): Recognize cl constructs; use + `lisp-indent-find-method' instead of `get' directly. + (if): Use else-body style for elisp. + 2014-04-09 Dmitry Gutov * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more Module methods. (Bug#17216) -2014-04-08 Stefan Monnier +2014-04-09 Stefan Monnier * help.el (describe-bindings): Fix buffer handling (bug#17210). (describe-bindings-internal): Mark obsolete. +2014-04-09 Stefan Monnier + + * subr.el (with-silent-modifications): Don't bind deactivate-mark, + buffer-file-name, and buffer-file-truename any more. + +2014-04-08 Leo Liu + + Use lexical-binding and require cl-lib. + * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE) + (rcirc-handler-generic, rcirc-fill-paragraph) + (rcirc-format-response-string, rcirc-target-buffer) + (rcirc-last-line, rcirc-record-activity, rcirc-split-activity) + (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp) + (rcirc-ctcp-sender-PING, rcirc-browse-url) + (rcirc-markup-timestamp, rcirc-markup-attributes) + (rcirc-markup-my-nick, rcirc-markup-urls) + (rcirc-markup-bright-nicks, rcirc-markup-fill) + (rcirc-check-auth-status, rcirc-handler-WALLOPS) + (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK) + (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT) + (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG) + (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317) + (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477) + (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366) + (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR) + (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME) + (rcirc-handler-CTCP-response): Fix unused arguments warnings and + use cl-lib. + 2014-04-07 João Távora - * elec-pair.el: - (electric-pair--syntax-ppss): When inside comments parse from - comment beginning. + * elec-pair.el (electric-pair--syntax-ppss): + When inside comments parse from comment beginning. (electric-pair--balance-info): Fix typo in comment. (electric-pair--in-unterminated-string-p): Delete. (electric-pair--unbalanced-strings-p): New function. @@ -863,8 +2317,6 @@ (electric-pair-inhibit-if-helps-balance): Decide quote pairing according to `electric-pair--in-unterminated-string-p' -2014-04-07 João Távora - * elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit quote pairing if point-max is inside an unterminated string. (electric-pair--looking-at-unterminated-string-p): Delete. @@ -875,7 +2327,7 @@ * shell.el (shell-directory-tracker): Go back to just ignoring failures. (Bug#17159) -2014-04-06 João Távora +2014-04-07 João Távora Fix `electric-pair-delete-adjacent-pairs' in modes binding backspace. (bug#16981) @@ -885,33 +2337,29 @@ a new `electric-pair-delete-pair' command. (electric-pair-delete-pair): New command. -2014-04-06 João Távora - * progmodes/python.el (python-electric-pair-string-delimiter): Fix triple-quoting electricity. (Bug#17192) -2014-04-06 João Távora - * elec-pair.el (electric-pair-post-self-insert-function): Don't skip whitespace when `electric-pair-text-pairs' and `electric-pair-pairs' were used. syntax to electric-pair--skip-whitespace. (Bug#17183) -2014-04-06 Eli Zaretskii +2014-04-07 Eli Zaretskii * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for "". (Bug#17199) -2014-04-06 Stefan Monnier +2014-04-07 Stefan Monnier * mpc.el (mpc--status-timer-run): Disable timer if not displayed. (mpc--status-idle-timer-run): Use mpc--status-timer-run. -2014-04-05 Glenn Morris +2014-04-07 Glenn Morris * help.el (view-lossage): Doc tweak. -2014-04-05 Matthias Dahl +2014-04-07 Matthias Dahl * faces.el (face-spec-recalc): Call make-face-x-resource-internal only when inhibit-x-resources is nil, and do that earlier in the @@ -926,30 +2374,30 @@ (face-set-after-frame-default): Don't call make-face-x-resource-internal here. (Bug#16434) -2014-04-04 Tassilo Horn +2014-04-07 Tassilo Horn * doc-view.el (doc-view-bookmark-jump): Use `bookmark-after-jump-hook' to jump to the right page after the buffer is shown in a window. (bug#16090) -2014-04-04 Eli Zaretskii +2014-04-07 Eli Zaretskii * international/characters.el (mirroring): Fix last change: instead of loading uni-mirrored.el explicitly, do that implicitly by creating the 'mirroring' uniprop table. This avoids announcing the loading of uni-mirrored.el. -2014-04-04 Glenn Morris +2014-04-07 Glenn Morris * files.el (buffer-stale--default-function) (buffer-stale-function, revert-buffer--default): * autorevert.el (auto-revert-buffers): Doc tweaks. -2014-04-03 Eli Zaretskii +2014-04-07 Eli Zaretskii * international/characters.el: Preload uni-mirrored.el. (Bug#17169) -2014-04-03 Glenn Morris +2014-04-07 Glenn Morris * files.el (make-backup-file-name-function) (make-backup-file-name, make-backup-file-name--default-function) @@ -963,18 +2411,57 @@ (make-backup-file-name-function): Bump :version. Restore nil as a valid but deprecated custom type. -2014-04-03 Stefan Monnier +2014-04-07 Stefan Monnier - * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $' - used as a variable (bug#17174). - -2014-04-02 Stefan Monnier + * progmodes/perl-mode.el (perl-syntax-propertize-function): + Handle $' used as a variable (bug#17174). * progmodes/perl-mode.el (perl-indent-new-calculate): Handle forward-sexp failure (bug#16985). (perl-syntax-propertize-function): Add "foreach" and "for" statement modifiers introducing expressions (bug#17116). +2014-04-06 Stefan Monnier + + * dired-aux.el (dired-file-set-difference): Use lexical-scoping. + +2014-04-05 Leo Liu + + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): + Add define-compilation-mode. + +2014-04-04 João Távora + + * elec-pair.el (electric-pair--syntax-ppss): When inside comments + parse from comment beginning. + (electric-pair--balance-info): Fix typo in comment. + (electric-pair--in-unterminated-string-p): Delete. + (electric-pair--unbalanced-strings-p): New function. + (electric-pair-string-bound-function): New var. + (electric-pair-inhibit-if-helps-balance): Decide quote pairing + according to `electric-pair--in-unterminated-string-p'. + +2014-04-04 Stefan Monnier + + * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'. + Move declaration before first use. + (reftex-move-to-next-arg): Silence compiler warning. + +2014-04-04 Joost Kremers (tiny change) + + * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge): + Use `window-total-width' instead of `window-width'. + +2014-04-03 Daniel Colascione + + * subr.el (set-transient-map): Remove rms's workaround entirely; + use new `suspicious-object' subr to mark our lambda for closer + scrutiny during gc. + +2014-04-02 Richard Stallman + + * subr.el (set-transient-map): Comment out previous change. + 2014-04-02 Glenn Morris * menu-bar.el (menu-bar-file-menu): @@ -983,21 +2470,132 @@ * simple.el (command-execute): Respect nil disabled-command-function. -2014-04-01 Nicolas Richard +2014-04-02 Nicolas Richard * simple.el (command-execute): Do not execute the command when it is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151) -2014-03-29 Juri Linkov +2014-04-02 Juri Linkov * dired-aux.el (dired-compress-file): Don't use string-match-p because its match data is used afterwards. -2014-03-28 Stefan Monnier +2014-04-02 Stefan Monnier * emacs-lisp/package.el (package-built-in-p): Treat a min-version of 0 like nil. +2014-04-02 João Távora + + * elec-pair.el (electric-pair-inhibit-if-helps-balance): + Inhibit quote pairing if point-max is inside an unterminated string. + (electric-pair--looking-at-unterminated-string-p): + Delete. + (electric-pair--in-unterminated-string-p): New function. + +2014-04-01 Daniel Colascione + + * minibuffer.el (minibuffer-complete): Prevent assertion failure + when trying to complete the prompt. + +2014-03-31 Leo Liu + + * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): + Refactor out eldoc-documentation-function-default. + (eldoc-documentation-function-default): New function. + (eldoc-documentation-function): Change value. + +2014-03-31 Glenn Morris + + * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks. + + * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra) + (vhdl-compose-components-package, vhdl-compose-configuration): + Abbreviate default-directory (missing from some previous upstream sync). + +2014-03-31 Reto Zimmermann + + Sync with upstream vhdl mode v3.35.2. + * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update. + (top-level): No longer require assoc. + (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget): + New functions. Use throughout to replace aget etc. + (vhdl-aput-delete-if-nil): Rename from vhdl-aput. + (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename. + (vhdl-template-replace-header-keywords): Fix bug for "". + (vhdl-compile-init): Do not initialize regexps for Emacs 22+. + (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers + except `vhdl-compiler'. + (vhdl-error-regexp-add-emacs): Remove all other compilers, + when appropriate. + +2014-03-31 Glenn Morris <rgm@gnu.org> + + * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren): + Revert 2014-03-26 merge goof; go back to using defalias. + +2014-03-30 Daniel Colascione <dancol@dancol.org> + + * comint.el (comint-send-input): + Deactivate completion-in-region-mode before we send comint input. + (Bug#17139). + + * simple.el (keyboard-quit): Deactivate completion-in-region-mode + on keyboard-quit. + +2014-03-29 Glenn Morris <rgm@gnu.org> + + * textmodes/reftex.el: Manage most autoloads automatically. + * textmodes/reftex-auc.el, textmodes/reftex-cite.el: + * textmodes/reftex-dcr.el, textmodes/reftex-global.el: + * textmodes/reftex-index.el, textmodes/reftex-parse.el: + * textmodes/reftex-ref.el, textmodes/reftex-sel.el: + * textmodes/reftex-toc.el: Set generated-autoload-file, + and add autoload cookies for reftex.el. + * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el. + +2014-03-28 Glenn Morris <rgm@gnu.org> + + * cus-start.el (report-emacs-bug-address): Set custom properties. + * mail/emacsbug.el (report-emacs-bug-address): + Variable is now defined in emacs.c. + + * mail/emacsbug.el (report-emacs-bug): + Include system-configuration-features. + +2014-03-28 Michal Nazarewicz <mina86@mina86.com> + + * simple.el (cycle-spacing): Never delete spaces on first run by + default, but do so in a new 'fast mode and if there are already + N spaces (the previous behavior). + Compare N with its value in previous invocation so that changing + prefix argument restarts `cycle-spacing' sequence. + The idea is that with this change, binding M-SPC to + `cycle-spacing' should not introduce any changes in behavior of + the binding so long as users do not type M-SPC twice in a raw with + the same prefix argument or lack thereof. + +2014-03-28 Glenn Morris <rgm@gnu.org> + + * faces.el (term-file-aliases): New variable. + (tty-run-terminal-initialization): Respect term-file-aliases. + * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el: + * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el: + * term/vt400.el, term/vt420.el: Remove files, replaced by aliases. + +2014-03-27 Glenn Morris <rgm@gnu.org> + + * startup.el (inhibit-startup-hooks): Doc tweak. + (normal-top-level): Simplify running of hooks. + For window-setup-hook, respect inhibit-startup-hooks. + (command-line-1): Don't set window-setup-hook to nil. + + Allow selective autoloading from obsolete/ directory. + * Makefile.in (obsolete-autoloads): New rule. + (autoloads): Run obsolete-autoloads. + * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload. + * simple.el (iswitchb-mode): Remove hand-written autoloads. + 2014-03-27 Dmitry Gutov <dgutov@yandex.ru> * progmodes/ruby-mode.el (ruby-font-lock-keywords): @@ -1015,6 +2613,11 @@ * emacs-lisp/package-x.el (package--archive-contents-from-url): Use url-insert-file-contents; package-handle-response no longer exists. +2014-03-26 Daniel Colascione <dancol@dancol.org> + + * simple.el (process-menu-mode-map): New variable. + (process-menu-delete-process): New command. + 2014-03-26 Juanma Barranquero <lekktu@gmail.com> * emacs-lisp/package.el: Fix bug#16733 (again). @@ -1026,11 +2629,7 @@ dynamic binding of `buffer'. (describe-package-1): Do not decode readme-string. -2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com> - - * simple.el (primitive-undo): Correction to 2014-03-24 change. - -2014-03-25 Michael Albinus <michael.albinus@gmx.de> +2014-03-26 Michael Albinus <michael.albinus@gmx.de> * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring. @@ -1042,7 +2641,7 @@ (tramp-do-copy-or-rename-file-directly): In the `rename' case, check whether source directory has set the sticky bit. -2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com> +2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com> * simple.el (primitive-undo): Only process marker adjustments validated against their corresponding (TEXT . POS). Issue warning @@ -1054,28 +2653,11 @@ (undo-elt-in-region): Return nil when passed a marker adjustment and explain in function doc. -2014-03-24 Dmitry Gutov <dgutov@yandex.ru> - - * emacs-lisp/package.el (package--add-to-archive-contents): - Include already installed and built-in packages in - `package-archive-contents'. - (package-install): Don't include already installed packages in the - options during interactive invocation. (Bug#16762) - -2014-03-24 Daniel Colascione <dancol@dancol.org> - - * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member' - instead of cl-loop search function. - -2014-03-24 Juanma Barranquero <lekktu@gmail.com> - - * frameset.el (frameset--initial-params): Fix typo in parameter name. - -2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr> +2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr> * align.el (align-region): Do not fail when end-mark is nil (bug#17088). -2014-03-24 Dmitry Gutov <dgutov@yandex.ru> +2014-03-26 Dmitry Gutov <dgutov@yandex.ru> * progmodes/ruby-mode.el (ruby-expression-expansion-re): Match special global variables without curlies, too. @@ -1083,32 +2665,120 @@ variables. Don't require a non-word character after the variable. (Bug#17057) -2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca> +2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca> * simple.el (redisplay-highlight-region-function): Increase priority of overlay to make sure boundaries are visible (bug#15899). -2014-03-23 Juanma Barranquero <lekktu@gmail.com> +2014-03-26 Juanma Barranquero <lekktu@gmail.com> - * frameset.el (frameset-restore): Compare display strings with equal. + * frameset.el (frameset--initial-params): Fix typo in parameter name. + (frameset-restore): Compare display strings with equal. * frame.el (make-frame): Don't quote display name in error message, it is already a string. -2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com> +2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com> * net/tramp.el (tramp-read-passwd): Suspend the timers while reading the password. -2014-03-23 Dmitry Gutov <dgutov@yandex.ru> +2014-03-26 Dmitry Gutov <dgutov@yandex.ru> - * emacs-lisp/package.el (package-show-package-list): If the buffer - is already displayed in another window, switch to that window. + * emacs-lisp/package.el (package--add-to-archive-contents): + Include already installed and built-in packages in + `package-archive-contents'. + (package-install): Don't include already installed packages in the + options during interactive invocation. (Bug#16762) + (package-show-package-list): If the buffer is already displayed in + another window, switch to that window. + +2014-03-26 Reto Zimmermann <reto@gnu.org> + + Sync with upstream vhdl mode v3.35.1. + * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update. + (vhdl-compiler-alist): Doc fix. + (vhdl-goto-line): Remove. + (vhdl-mode-abbrev-table-init): Add XEmacs compat. + (vhdl-mode) <paragraph-start>: Fix value. + (vhdl-fix-statement-region): Not `for' in wait-statement. + (vhdl-beautify-region): Also (un)tabify. + (vhdl-get-visible-signals): + Scan declarative part of generate statements. + (vhdl-template-record): Fix indentation for record type declaration. + (vhdl-expand-abbrev, vhdl-expand-paren): + Revert to using fset again rather than defalias. + (vhdl-scan-directory-contents): Tweak. + (vhdl-speedbar-find-file, vhdl-speedbar-port-copy) + (vhdl-compose-components-package): + Replace vhdl-goto-line with forward-line. + (top-level): Tweak speedbar frame selection. + (vhdl-generate-makefile-1): Support for compilers with no + unit-to-file name mapping (create directory with dummy files). + +2014-03-26 Wilson Snyder <wsnyder@wsnyder.org> + + Sync with upstream verilog-mode revision 702457d. + * progmodes/verilog-mode.el (verilog-mode-version): Update. + (create-lockfiles): Declare. + (verilog-read-decls): Fix module header imports, bug709. + Reported by Victor Lau. + Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen. + (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting + interface-only modules, bug721. Reported by Dean Hoyt. -2014-03-21 Daniel Colascione <dancol@dancol.org> +2014-03-26 Glenn Morris <rgm@gnu.org> - * mail/emacsbug.el (report-emacs-bug): Include memory usage - information in bug reports. + * obsolete/gulp.el: Move here from emacs-lisp/. + + * files.el (lock-buffer, unlock-buffer, file-locked-p): + Remove fallback aliases, since they are always defined now. + +2014-03-24 Daniel Colascione <dancol@dancol.org> + + * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member' + instead of cl-loop search function. + +2014-03-23 Lars Ingebrigtsen <larsi@gnus.org> + + * calendar/parse-time.el (parse-time-iso8601-regexp) + (parse-iso8601-time-string): Copied from `url-dav' so that we can use + it more generally. + +2014-03-23 Lars Ingebrigtsen <larsi@gnus.org> + + * net/dns.el (network-interface-list): Define for XEmacs. + +2014-03-23 Magnus Henoch <magnus.henoch@gmail.com> + + * net/dns.el (dns-servers-up-to-date-p): New function to see whether + the network interfaces changed. + (dns-query): Use it to flush the data. + +2014-03-23 Juanma Barranquero <lekktu@gmail.com> + + * vc/vc.el (vc-rollback): Use set-buffer-modified-p. + +2014-03-23 Daniel Colascione <dancol@dancol.org> + + Change subword-mode to use `find-word-boundary-function-table' and + replace `capitalized-words-mode'. Also, convert to lexical + binding. + + * progmodes/cap-words.el: Delete now-obsolete file. + * progmodes/subword.el: Reimplement using + `find-word-boundary-function-table'. + (subword-mode-map): Hollow out. + (capitalized-words-mode): Define as obsolete alias for + `subword-mode'. + (subword-mode, superword-mode): Tweak documentation to reflect new + implementation; call `subword-setup-buffer'. + (subword-forward, subword-capitalize): Add underscore to indicate + unused variable. + (subword-find-word-boundary-function-table): New constant. + (subword-empty-char-table): New constant. + (subword-setup-buffer): New function. + (subword-find-word-boundary): New function. 2014-03-23 Daniel Colascione <dancol@dancol.org> @@ -1117,10 +2787,41 @@ (Bug#3647) --- unfortunately, only for freshly-compiled code. Please make bootstrap. -2014-03-23 Richard Stallman <rms@gnu.org> - - * battery.el (battery-linux-sysfs): Search for each field - from the beginning of the buffer. +2014-03-22 Glenn Morris <rgm@gnu.org> + + * dired.el (dired-read-regexp): Make obsolete. + (dired-mark-files-regexp, dired-mark-files-containing-regexp) + (dired-flag-files-regexp): + * dired-aux.el (dired-mark-read-regexp): + * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly. + + * startup.el (fancy-startup-text): + * help.el (describe-gnu-project): Visit online info about GNU project. + + * help-fns.el (help-fns--interactive-only): New function. + (help-fns-describe-function-functions): Add the above function. + * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer) + (next-line, previous-line): Remove hand-written interactive-only + information from doc strings, it is auto-generated now. + * bookmark.el (bookmark-write): + * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign) + (epa-mail-import-keys): Mark interactive-only, + and remove hand-written interactive-only information from doc strings. + * epa.el (epa-decrypt-armor-in-region, epa-verify-region) + (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region): + * files.el (not-modified): + * simple.el (mark-whole-buffer): Mark interactive-only. + + * emacs-lisp/byte-run.el (defun-declarations-alist): + Add interactive-only. Doc tweak. + (macro-declarations-alist): Doc tweak. + * subr.el (declare): Doc tweak (add xref to manual). + * comint.el (comint-run): + * files.el (insert-file-literally, insert-file): + * replace.el (replace-string, replace-regexp): + * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char) + (delete-forward-char, goto-line, insert-buffer, next-line) + (previous-line): Set interactive-only via declare. 2014-03-22 Dmitry Gutov <dgutov@yandex.ru> @@ -1132,6 +2833,36 @@ * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the benefit of doc.c; change parameter profile to match the X function. +2014-03-22 Leo Liu <sdl.web@gmail.com> + + * help.el (temp-buffer-setup-hook): Remove help-mode-setup. + (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038) + +2014-03-21 Richard Stallman <rms@gnu.org> + + * battery.el (battery-linux-sysfs): Search for each field + from the beginning of the buffer. + + * subr.el (set-transient-map): Clear out function and value + of the temporary symbol when we're done with it. + + * mail/rmailsum.el (rmail-summary-delete-forward): + Optimize case of reaching end and handling count. + (rmail-summary-mark-deleted): Optimize when N is current msg. + Don't create new summary line. + (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message. + (rmail-summary-undelete-many): Rewrite for speed. + (rmail-summary-msg-number): New function. + + * mail/rmail.el (rmail-delete-message): Update summary. + (rmail-undelete-previous-message): Handle repeat count arg. + (rmail-delete-backward, rmail-delete-forward): Likewise. + +2014-03-21 Daniel Colascione <dancol@dancol.org> + + * mail/emacsbug.el (report-emacs-bug): Include memory usage + information in bug reports. + 2014-03-21 Michael Albinus <michael.albinus@gmx.de> * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env' @@ -1180,6 +2911,34 @@ (tty-color-approximate, tty-color-by-index, tty-color-values) (tty-color-desc): Remove superfluous backslashes. +2014-03-21 Glenn Morris <rgm@gnu.org> + + * cus-start.el (history-length): Bump :version. + + * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el) + ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el) + ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): + Don't set `make-backup-files'. + + * info.el (info--prettify-description): New function, + to give info-finder descriptions consistent case, punctuation. + (Info-finder-find-node): Use it. Sort packages. + Refer to "description" rather than "commentary". + +2014-03-21 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--print-register): New function. + (frameset-to-register): Use it. + +2014-03-20 Juanma Barranquero <lekktu@gmail.com> + + * progmodes/hideif.el (hif-string-to-number): New function. + (hif-tokenize): Use it to understand non-decimal floats. + + * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code. + + * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix. + 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca> * electric.el (electric-newline-and-maybe-indent): New command. @@ -5963,7 +7722,7 @@ * rect.el (rectangle-mark-mode): Rename from rectangle-mark. Make it into a proper minor mode. - (rectangle--region): (implicitly) rename to rectangle-mark-mode. + (rectangle--region): (Implicitly) rename to rectangle-mark-mode. (rectangle-mark-mode-map): New keymap. (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796). @@ -6206,8 +7965,7 @@ 2013-10-28 Daiki Ueno <ueno@gnu.org> - * epa-file.el - (epa-file-cache-passphrase-for-symmetric-encryption): + * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption): Document that this option has no effect with GnuPG 2.0 (bug#15552). 2013-10-27 Xue Fuqiao <xfq.free@gmail.com> @@ -10544,7 +12302,7 @@ 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu> - * ediff.el (ediff-version): Version update. + * vc/ediff.el (ediff-version): Version update. (ediff-files-command, ediff3-files-command, ediff-merge-command) (ediff-merge-with-ancestor-command, ediff-directories-command) (ediff-directories3-command, ediff-merge-directories-command) @@ -10552,19 +12310,21 @@ All are command-line interfaces to ediff: to facilitate calling Emacs with the appropriate ediff functions invoked. - * viper-cmd.el (viper-del-forward-char-in-insert): New function. + * emulation/viper-cmd.el (viper-del-forward-char-in-insert): + New function. (viper-save-kill-buffer): Check if buffer is modified. - * viper.el (viper-version): Version update. + * emulation/viper.el (viper-version): Version update. (viper-emacs-state-mode-list): Add egg-status-buffer-mode. 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca> * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook. - * viper-cmd.el (viper-envelop-ESC-key): Remove function. + * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function. (viper-intercept-ESC-key): Simplify. - * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd. - * viper.el (viper--tty-ESC-filter, viper--lookup-key) + * emulation/viper-keym.el (viper-ESC-key): Make it a constant, + don't use kbd. + * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key) (viper-catch-tty-ESC, viper-uncatch-tty-ESC) (viper-setup-ESC-to-escape): New functions. (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape. @@ -13019,9 +14779,8 @@ * textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref macros. - * textmodes/reftex-parse.el - (reftex-locate-bibliography-files): Accept options for - bibliography commands. + * textmodes/reftex-parse.el (reftex-locate-bibliography-files): + Accept options for bibliography commands. * textmodes/reftex-vars.el (reftex-bibliography-commands): Add addbibresource. Basic Biblatex support. @@ -14491,8 +16250,7 @@ 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org> New faster Imenu implementation (bug#14058). - * progmodes/python.el: - (python-imenu-prev-index-position): + * progmodes/python.el (python-imenu-prev-index-position) (python-imenu-format-item-label-function) (python-imenu-format-parent-item-label-function) (python-imenu-format-parent-item-jump-label-function):