Symbol prettify in prog-mode; added to perl-mode, cfengine3-mode, and emacs-lisp...
[bpt/emacs.git] / lisp / ChangeLog
index 41f6ac4..b82b07f 100644 (file)
@@ -1,3 +1,91 @@
+2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       Generalize symbol prettify support to prog-mode and implement it
+       for perl-mode, cfengine3-mode, and emacs-lisp-mode.
+       * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
+       (prog--prettify-font-lock-compose-symbol)
+       (prog-prettify-font-lock-symbols-keywords): New variables and
+       functions to support symbol prettification.
+       * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
+       (lisp--augmented-font-lock-keywords-1)
+       (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
+       (lisp--prettify-symbols-alist): Implement prettify of lambda.
+       * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
+       (cfengine3--prettify-symbols-alist, cfengine3-mode): Implement
+       prettify of -> => :: strings.
+       * progmodes/perl-mode.el (perl-prettify-symbols)
+       (perl--font-lock-compose-symbol)
+       (perl--font-lock-symbols-keywords): Move to prog-mode.
+       (perl--prettify-symbols-alist): Prettify -> => :: strings.
+       (perl-font-lock-keywords-1)
+       (perl-font-lock-keywords-2): Remove explicit prettify support.
+       (perl--augmented-font-lock-keywords)
+       (perl--augmented-font-lock-keywords-1)
+       (perl--augmented-font-lock-keywords-2, perl-mode): Implement
+       prettify support.
+
+2013-06-05  Leo Liu  <sdl.web@gmail.com>
+
+       Re-implement smie matching block highlight using
+       show-paren-data-function.  (Bug#14395)
+       * emacs-lisp/smie.el (smie-matching-block-highlight)
+       (smie--highlight-matching-block-overlay)
+       (smie--highlight-matching-block-lastpos)
+       (smie-highlight-matching-block)
+       (smie-highlight-matching-block-mode): Remove.
+       (smie--matching-block-data-cache): New variable.
+       (smie--matching-block-data): New function.
+       (smie-setup): Use smie--matching-block-data for
+       show-paren-data-function.
+
+       * progmodes/octave.el (octave-mode-menu): Fix.
+       (octave-find-definition): Skip garbage lines.
+
+2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Fix compilation error with simultaneous dynamic+lexical scoping.
+       Add warning when a defvar appears after the first let-binding.
+       * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
+       (byte-compile-close-variables): Initialize it.
+       (byte-compile--declare-var): New function.
+       (byte-compile-file-form-defvar)
+       (byte-compile-file-form-define-abbrev-table)
+       (byte-compile-file-form-custom-declare-variable): Use it.
+       (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
+       (byte-compile-lambda): Share call to byte-compile-arglist-vars.
+       (byte-compile-bind): Handle dynamic bindings that shadow
+       lexical bindings.
+       (byte-compile-unbind): Make arg non-optional.
+       (byte-compile-let): Simplify.
+       * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
+       (cconv--analyse-function, cconv-analyse-form): Populate it.
+       Protect byte-compile-bound-variables to limit the scope of defvars.
+       (cconv-analyse-form): Add missing rule for (defvar <foo>).
+       Remove unneeded rule for `declare'.
+
+       * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
+       so as to avoid depending on cl-adjoin at run-time.
+       * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
+
+       * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
+       (macroexp--warn-and-return): Use it.
+
+2013-06-05  Leo Liu  <sdl.web@gmail.com>
+
+       * eshell/esh-mode.el (eshell-mode): Fix key bindings.
+
+2013-06-04  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
+       (compilation-auto-jump): Suppress the "Mark set" message to give
+       way to exit message.
+
+2013-06-04  Alan Mackenzie  <acm@muc.de>
+
+       Remove faulty optimisation from indentation calculation.
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
+       search limit based on 2000 characters back from indent-point.
+
 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
 
        * eshell/em-term.el (cl-lib): Require `cl-lib'.
@@ -7,7 +95,7 @@
        * emacs-lisp/lisp.el: Use lexical-binding.
        (lisp--local-variables-1, lisp--local-variables): New functions.
        (lisp--local-variables-completion-table): New var.
-       (lisp-completion-at-point): Use it to provide completion of let-bound vars.
+       (lisp-completion-at-point): Use it complete let-bound vars.
 
        * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
        eagerly (bug#14422).
        * eshell/em-term.el (eshell-term-initialize): Use
        `cl-intersection' rather than `intersection'.
 
+2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * vc/log-view.el: Doc fix.
+       (log-view-mode-map): Copy keymap from `special-mode-map'.
+
 2013-06-02  Eric Ludlam <zappo@gnu.org>
 
        * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)