]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
Merge from origin/emacs-24
[gnu-emacs] / lisp / ChangeLog
index b29694be0d0e429214bd1a6f7dcc73d3449729ff..248f24d64909e437fded0c6dfd6e0655b6b6b662 100644 (file)
@@ -1,3 +1,261 @@
+2015-03-23  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/authors.el (authors-aliases)
+       (authors-obsolete-files-regexps): Additions.
+
+2015-03-23  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * simple.el (deactivate-mark): Only modify PRIMARY if we own
+       PRIMARY (Bug#18939).
+
+2015-03-23  Martin Rudalics  <rudalics@gmx.at>
+
+       * emacs-lisp/debug.el (debug): Don't try using "previous" window
+       when its not live or on an invisible frame (Bug#17170).
+
+2015-03-23  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * json.el (json-decode-char0): Delete this alias as well.
+       (json-read-escaped-char): Don't call it (bug#20154).
+
+2015-03-23  Daniel Colascione  <dancol@dancol.org>
+
+       * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
+       (lisp--el-match-keyword): Use it.
+
+2015-03-23  Daiki Ueno  <ueno@gnu.org>
+
+       * subr.el (start-process): New function, ported from the C
+       implementation.
+
+2015-03-23  Daniel Colascione  <dancol@dancol.org>
+
+       Automatically adjust process window sizes.
+
+       * window.el (window-adjust-process-window-size-function): New
+       customizable variable.
+       (window-adjust-process-window-size)
+       (window-adjust-process-window-size-smallest)
+       (window-adjust-process-window-size-largest)
+       (window--process-window-list, window--adjust-process-windows):
+       New functions.
+       (window-configuration-change-hook): Add
+       `window--adjust-process-windows'.
+       * term.el (term-mode): Observe result of
+       `window-adjust-process-window-size-function'.
+       (term-check-size): Delete.
+
+2015-03-22  Jackson Ray Hamilton  <jackson@jacksonrayhamilton.com>
+
+       * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
+       (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
+       indentation (bug#20161).
+
+2015-03-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * json.el (json-encode-char0): Delete this alias.
+       (json-encode-string): Rewrite to improve performance (bug#20154).
+       (json-encode-char): Fold into `json-encode-string'.
+
+2015-03-22  Artur Malabarba  <bruce.connor.am@gmail.com>
+
+       * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
+       for `buffers-menu-max-size', not total buffers.
+
+2015-03-21  Titus von der Malsburg  <malsburg@posteo.de>
+
+       * window.el (window-font-width, window-font-height)
+       (window-max-chars-per-line): New functions.
+
+       * simple.el (default-font-height): Doc fix.
+       (default-font-width): New function.
+
+2015-03-21  Tassilo Horn  <tsdh@gnu.org>
+
+       * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Also
+       recognize (cl-)defmethod with (setf method) name.
+
+2015-03-20  Tassilo Horn  <tsdh@gnu.org>
+
+       * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
+       false positive in function name font-locking.
+       (lisp-cl-font-lock-keywords-1): Ditto.
+
+2015-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
+       occurrences of args via &cl-defs (bug#20149).
+
+2015-03-20  Alan Mackenzie  <acm@muc.de>
+
+       Fix debbugs#20146
+
+       * font-lock.el (font-lock-extend-jit-lock-region-after-change):
+       Return the calculated values, as per spec.
+
+2015-03-20  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
+       and `callcc' to the "methods with required arguments" section,
+       they need a block argument.  Remove a `throw' duplicate.
+
+2015-03-19  Vibhav Pant  <vibhavp@gmail.com>
+
+       * progmodes/cperl-mode.el (cperl-electric-backspace):
+       Call delete-backward-space interactively instead of delete-char.
+
+2015-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
+
+       * emacs-lisp/eieio.el (object-slots): Return slot names as before
+       (bug#20141).
+
+2015-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       EIEIO: Change class's representation to unify instance and class slots
+       * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
+       to match those of cl--class; use cl--slot for both instance slots and
+       class slots.
+       (eieio--object-num-slots): Use cl-struct-slot-info.
+       (eieio--object-class): Rename from eieio--object-class-object.
+       (eieio--object-class-name): Remove.
+       (eieio-defclass-internal): Adjust to new slot representation.
+       Store doc in class rather than in `variable-documentation'.
+       (eieio--perform-slot-validation-for-default): Change API to take
+       a slot object.
+       (eieio--slot-override): New function.
+       (eieio--add-new-slot): Rewrite.
+       (eieio-copy-parents-into-subclass): Rewrite.
+       (eieio--validate-slot-value, eieio--validate-class-slot-value)
+       (eieio-oref-default, eieio-oset-default)
+       (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
+       slot representation.
+       (eieio--c3-merge-lists): Simplify.
+       (eieio--class/struct-parents): New function.
+       (eieio--class-precedence-bfs): Use it.
+
+       * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
+       (object-class-fast): Change recommend replacement.
+       (eieio-object-class): Rewrite.
+       (slot-exists-p): Adjust to new slot representation.
+       (initialize-instance): Adjust to new slot representation.
+       (object-write): Adjust to new slot representation.
+
+       * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
+       extracted from eieio-help-class-slots.
+       (eieio-help-class-slots): Use it.  Adjust to new slot representation.
+
+       * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
+       Declare to silence warnings.
+       (data-debug-insert-object-button): Avoid `object-slots'.
+       (data-debug/eieio-insert-slots): Adjust to new slot representation.
+
+       * emacs-lisp/eieio-custom.el (eieio-object-value-create)
+       (eieio-object-value-get): Adjust to new slot representation.
+
+       * emacs-lisp/eieio-compat.el
+       (eieio--generic-static-symbol-specializers):
+       Extract from eieio--generic-static-symbol-generalizer.
+       (eieio--generic-static-symbol-generalizer): Use it.
+
+       * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
+       Manually map initargs to slot names.
+       (eieio-persistent-validate/fix-slot-value): Adjust to new
+       slot representation.
+
+       * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
+
+2015-03-19  Vibhav Pant  <vibhavp@gmail.com>
+
+       * leim/quail/hangul.el (hangul-delete-backward-char)
+       (hangul-to-hanja-conversion):
+       * progmodes/cperl-mode.el (cperl-electric-keyword)
+       (cperl-electric-backspace): Use delete-char instead of
+       delete-backward-char, fixes compilation warnings.
+
+2015-03-18  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
+       Mark apostrophs with ?/ instead of \037.  (Bug#20117)
+
+2015-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Add classes as run-time descriptors of cl-structs.
+       * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
+       (cl--make-slot-desc): New constructor.
+       (cl--plist-remove, cl--struct-register-child): New functions.
+       (cl-struct-define): Rewrite.
+       (cl-structure-class, cl-structure-object, cl-slot-descriptor)
+       (cl--class): New structs.
+       (cl--struct-default-parent): Initialize it here.
+       * emacs-lisp/cl-macs.el (cl--find-class): New macro.
+       (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
+       (cl--struct-default-parent): New var.
+       (cl-defstruct): Adjust to new representation of classes; add
+       default parent.  In accessors, signal `wrong-type-argument' rather than
+       a generic error.
+       (cl-struct-sequence-type, cl-struct-slot-info)
+       (cl-struct-slot-offset): Rewrite.
+       * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
+       (cl-generic-generalizers): Rewrite.
+
+       * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
+       (internal-macroexpand-for-load): Use it.
+
+       * emacs-lisp/debug.el (debug--implement-debug-on-entry):
+       Bind inhibit-debug-on-entry here...
+       (debug): Instead of here.
+
+2015-03-18  Dima Kogan  <dima@secretsauce.net>
+
+       Have gud-display-line not display source buffer in gud window.
+       * progmodes/gud.el (gud-display-line): Make display-buffer
+       not reuse selected window.  (Bug#17675, Bug#19901, Bug#20034)
+
+2015-03-17  Tassilo Horn  <tsdh@gnu.org>
+
+       * emacs-lisp/byte-run.el (macro-declarations-alist):
+       New declaration no-font-lock-keyword.
+       (defmacro): Flush font-lock in existing elisp buffers.
+
+       * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
+       (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
+       Delete functions and defconst.
+       (lisp--el-match-keyword): Rename from lisp--el-match-macro.
+       (lisp--el-font-lock-flush-elisp-buffers): New function.
+       (lisp-mode-variables): Remove code for updating
+       lisp--el-macro-regexp, and add
+       lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
+
+2015-03-17  Simen Heggestøyl  <simenheg@gmail.com>
+
+       * textmodes/css-mode.el (css--font-lock-keywords):
+       Discriminate between pseudo-classes and pseudo-elements.
+       (css-pseudo-ids): Remove.
+       (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
+       (css--complete-property): New function for completing CSS properties.
+       (css--complete-pseudo-element-or-class): New function
+       completing CSS pseudo-elements and pseudo-classes.
+       (css--complete-at-rule): New function for completing CSS at-rules.
+       (css-completion-at-point): New function.
+       (css-mode): Add support for completion.
+       (css-extract-keyword-list, css-extract-parse-val-grammar)
+       (css-extract-props-and-vals): Remove function in favor of manual
+       extraction.
+       (css-at-ids): Update list of CSS at-rule ids.
+       (css-property-ids): Update list of CSS properties.
+
+2015-03-17  Bozhidar Batsov  <bozhidar@batsov.com>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
+       more Kernel methods.
+
+2015-03-17  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
+       shell scripts.  (Bug#20118)
+
 2015-03-17  Eli Zaretskii  <eliz@gnu.org>
 
        * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
        the next time the menu is requested.
        (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
 
+2015-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
+       (bug#20125).
+
 2015-03-17  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
 
        * progmodes/sql.el: Version 3.5
        (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
-       (sql-interactive-remove-continuation-prompt): Fixed regression. (Bug#6686)
+       (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
 
 2015-03-14  Daniel Colascione  <dancol@dancol.org>
 
        info-look fixes for Texinfo 5
        * info-look.el (c-mode, bison-mode, makefile-mode)
        (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
-       (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode): Match
-       `foo' and 'foo' and ‘foo’ for @item and similar.
+       (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
+       Match `foo' and 'foo' and ‘foo’ for @item and similar.
        (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
        suffix regexp.
 
 
 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
 
-       * lisp/custom.el (defface): Set `indent' to 1.
+       * custom.el (defface): Set `indent' to 1.
 
 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
 
 
 2015-01-30  Michal Nazarewicz  <mina86@mina86.com>
 
-       * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
+       * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
        is set, but user has just been asked whether they really want to
        kill Emacs (for example with a ‘Modified buffers exist; exit
        anyway?’ prompt), do not ask them for another confirmation.
 
 2015-01-29  Jay Belanger  <jay.p.belanger@gmail.com>
 
-       * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
+       * calc/calc-units.el (calc-convert-exact-units): New function.
        (calc-convert-units): Check for missing units.
        (math-consistent-units-p): Strengthen the test for consistent units.
 
-       * lisp/calc/calc-ext.el (calc-init-extensions):  Autoload
+       * calc/calc-ext.el (calc-init-extensions):  Autoload
        `calc-convert-exact-units' and assign it a keybinding.
 
-       * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
+       * calc/calc-help (calc-u-prefix-help): Add help for the
        "un" keybinding.
 
 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>