* lisp/progmodes/ruby-mode.el (ruby-syntax-methods-before-regexp): New const.
[bpt/emacs.git] / lisp / ChangeLog
index c715059..875ab5d 100644 (file)
+2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
+       (ruby-percent-literal-beg-re): New constant.
+       (ruby-syntax-general-delimiters-goto-beg): Rename to
+       `ruby-syntax-enclosing-percent-literal', improve literal type check.
+       (ruby-syntax-propertize-general-delimiters): Rename to
+       `ruby-syntax-propertize-percent-literal', it's a shorter and more
+       popular term.  Adjust comments everywhere.
+       (ruby-syntax-propertize-percent-literal): Only propertize when not
+       inside a simple string or comment.  When the literal is unclosed,
+       leave the text after it unpropertized.
+       (ruby-syntax-methods-before-regexp): New constant.
+       (ruby-syntax-propertize-function): Use it to recognize regexps.
+       Don't look at the text after regexp, just use the whitelist.
+
+2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
+       non-nil always load the compiled file if it exists.  (Bug#12197)
+
+2012-08-14  Chong Yidong  <cyd@gnu.org>
+
+       * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
+       (hi-lock-set-pattern): When deciding whether to use font lock or
+       overlays, look at font-lock-mode instead of font-lock-fontified
+       (Bug#12168).
+       (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
+       (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
+
+2012-08-14  Daiki Ueno  <ueno@unixuser.org>
+
+       * subr.el (internal--after-with-selected-window): Fix typo
+       (Bug#12193).
+
+2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       Use `completion-table-dynamic' for completion functions.
+       * progmodes/python.el
+       (python-shell-completion--do-completion-at-point)
+       (python-shell-completion--get-completions):
+       Remove functions.
+       (python-shell-completion-complete-at-point): New function.
+       (python-completion-complete-at-point): Use it.
+
+2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
+
+       * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
+       (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
+
+2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (function-get): Refine `autoload' arg so it can also
+       autoload functions for gv.el (bug#12191).
+       * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
+       autoloads macros.
+
+       * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
+       Prefer pcase-let over destructuring-bind.
+       * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
+       Also, remove whitespace as we go, rather than after accumulating the
+       various places.
+
+       * subr.el (internal--before-with-selected-window)
+       (internal--after-with-selected-window): Fix typo seleted->selected.
+       (with-selected-window): Adjust callers.
+       Reported by Dmitry Gutov <dgutov@yandex.ru>.
+
+2012-08-13  Bastien Guerry  <bzg@gnu.org>
+
+       * window.el (special-display-popup-frame): Small docstring
+       enhancement.  (Bug#12172)
+
+2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * tar-mode.el (tar-header-data-end): Only ignore size for files of
+       type 1-6.
+       (tar-header-block-summarize, tar-get-descriptor): Handle pax
+       extended headers.
+
+       * files.el (hack-local-variables-filter): Remove useless eval.
+
+2012-08-13  Martin Rudalics  <rudalics@gmx.at>
+
+       * subr.el (with-selected-window): Fix last change.
+
+2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (internal--before-with-seleted-window)
+       (internal--after-with-seleted-window): New functions.
+       (with-selected-window): Use them, to replace dependency on
+       tty-top-frame.
+
+2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
+
+       * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
+       binding for `newline'.
+       (ruby-move-to-block): When moving backward, stop at block opening,
+       not indentation.
+       * progmodes/ruby-mode.el (ruby-brace-to-do-end)
+       (ruby-do-end-to-brace, ruby-toggle-block): New functions.
+       * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
+       `ruby-toggle-block'.
+
+2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * ibuffer.el (ibuffer-do-toggle-read-only):
+       * dired.el (dired-toggle-read-only):
+       * buff-menu.el (Buffer-menu-toggle-read-only):
+       * bindings.el (mode-line-toggle-read-only):
+       * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
+
+2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * descr-text.el (describe-char): Put the overlays over the
+       "displayed as" character.
+
+2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-units.el (math-default-units-table): Give an
+       initial value.
+       (math-put-default-units): Add options to put composite units and
+       unit systems in the default units table.
+       (calc-convert-units): Send composite units to
+       `math-put-default-units' when appropriate.
+
+2012-08-11  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
+
+       * tutorial.el (help-with-tutorial):
+       * emacs-lisp/copyright.el (copyright-update-directory):
+       * emacs-lisp/autoload.el (autoload-find-generated-file)
+       (autoload-find-file): Disable local eval: (for insurance).
+
+       * files.el (hack-local-variables-filter): If an eval: form is not
+       known to be safe, and enable-local-variables is :safe, then ignore
+       the form totally, as is done for non-eval forms.  (Bug#12155)
+
+2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
+       (rx-form): Simplify.
+
 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
 
-       Merge stuff from upsteam ruby-mode, part 1 (bug#12169).
+       * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
+       ?, _, and : are symbol constituents, ! is not (but kinda should be).
+       (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
+       (ruby-syntax-propertize-function): Adjust for changes in
+       `ruby-syntax-propertize-heredoc'.
+
+2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
+
        * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
        binding (use `M-;' instead).
-       (ruby-expr-beg, ruby-parse-partial): ?, _, and : are symbol
-       constituents, ! is not (but kinda should be).
        (ruby-singleton-class-p): New function.
-       (ruby-expr-beg, ruby-in-here-doc-p)
-       (ruby-syntax-propertize-heredoc): Use it.
-       (ruby-syntax-propertize-function): Adjust for changes in
-       `ruby-syntax-propertize-heredoc'.
+       (ruby-expr-beg, ruby-in-here-doc-p) Use it.
 
 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>