* lisp/emacs-lisp/helpers.el (string-reverse): New function.
[bpt/emacs.git] / lisp / ChangeLog
index 3bfc413..9554f8f 100644 (file)
@@ -1,3 +1,213 @@
+2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
+
+       * emacs-lisp/helpers.el (string-reverse): New function.
+
+2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
+       names on MS Windows, like "/[::1]:".
+
+       * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
+       SWITCHES.
+
+2013-11-26  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/python.el (python-indent-guess-indent-offset):
+       Avoid corner-case error.  (Bug#15975)
+
+       Preload leim-list.el.  (Bug#4789)
+       * loadup.el: Load leim-list.el when found.
+       * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
+
+2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
+
+       * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
+
+       * emacs-lisp/helpers.el (string-join): New function.
+
+2013-11-25  Sebastian Wiesner <lunaryorn@gmail.com>
+
+       * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
+       Mark as obsolete and replace it with a symbol property.
+       (byte-compile-form): Use new 'interactive-only property.
+       * comint.el, files.el, replace.el, simple.el:
+       Apply new 'interactive-only properly.
+
+2013-11-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer-at-bottom): Make sure that
+       split-window-sensibly creates the new window on bottom
+       (Bug#15961).
+
+2013-11-23  David Kastrup  <dak@gnu.org>
+
+       * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
+       on the conflict markers when available.
+       (smerge--get-marker): New function.
+       (smerge-end-re, smerge-base-re): Add subgroup.
+
+2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.el (handle-focus-in, handle-focus-out): Add missing
+       interactive spec.
+
+2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
+       `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
+
+2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
+       (gomoku--last-pos): New var.
+       (gomoku--intangible-chars): New const.
+       (gomoku--intangible): New function.
+       (gomoku-mode): Use it.  Derive from special-mode.
+       (gomoku-move-up): Adjust line count.
+       (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
+       (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
+       Simplify accordingly.
+
+       * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
+       Remove blink-cursor code.
+       (blink-cursor-timer-function, blink-cursor-suspend):
+       Don't special-case GUIs.
+       (blink-cursor-mode): Use focus-in/out-hook.
+
+2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
+       work when annotation is invisible (Bug#13886).
+
+2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
+
+       * json.el (json-alist-p): Only return non-nil if the alist has
+       simple keys (Bug#13518).
+
+2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
+
+       * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
+       when control-statement is the first statement in a buffer (Bug#15956).
+
+2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * imenu.el (imenu-generic-skip-comments-and-strings):
+       New option (Bug#15560).
+       (imenu--generic-function): Use it.
+
+2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
+
+       * minibuffer.el (completion--in-region-1): Scroll the correct
+       window. (Bug#13898)
+
+2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
+
+       * emacs-lisp/helpers.el: Add some string helpers.
+       (string-trim-left): Removes leading whitespace.
+       (string-trim-right): Removes trailing whitespace.
+       (string-trim): Removes leading and trailing whitespace.
+
+       * subr.el (string-suffix-p): New function.
+
+2013-11-23  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/python.el (python-shell-send-file):
+       Add option to delete file when done.  (Bug#15647)
+       (python-shell-send-string, python-shell-send-region): Use it.
+
+2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
+
+       * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
+       to set buffer-read-only to t, never to nil.  (Bug#15938)
+
+       * textmodes/tex-mode.el (latex-noindent-environments):
+       Add safe-local-variable property.  (Bug#15936)
+
+2013-11-23  Glenn Morris  <rgm@gnu.org>
+
+       * textmodes/enriched.el (enriched-mode): Doc fix.
+       * emacs-lisp/authors.el (authors-renamed-files-alist):
+       Add enriched.doc -> enriched.txt.
+
+       * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
+
+2013-11-22  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (inferior-octave-startup): Spit out error
+       message.
+
+2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
+
+       * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
+       Improve docstring.
+       Add :version.
+       (ruby-encoding-magic-comment-style): Add :version.
+
+2013-11-22  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-operator-regexp): Exclude newline.
+       (Bug#15076)
+       (octave-help-mode): Adapt to change to help-mode-finish to use
+       derived-mode-p on 2013-09-17.
+       (inferior-octave-prompt): Also match octave-gui.
+       (octave-kill-process): Don't ask twice.  (Bug#10564)
+
+2013-11-22  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (inferior-octave-process-live-p): New helper.
+       (inferior-octave-startup, inferior-octave-check-process)
+       (inferior-octave-track-window-width-change)
+       (octave-completion-at-point, octave-eldoc-function): Use it.
+       (octave-kill-process): Provide confirmation.  (Bug#10564)
+
+2013-11-21  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-mode, inferior-octave-mode):
+       Fix obsolete variable comment-use-global-state.
+
+2013-11-21  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
+
+       * progmodes/octave.el (octave-mode-map, octave-mode-menu):
+       Add `octave-source-file'.
+       (octave-source-file): New function.  (Bug#15935)
+
+2013-11-21  Kenjiro Nakayama <nakayamakenjiro@gmail.com>  (tiny change)
+
+       * net/eww.el (eww-local-regex): New variable.
+       (eww): Use it to detect localhost and similar.
+
+2013-11-21  Leo Liu  <sdl.web@gmail.com>
+
+       Add completion for command `ag'.
+       * pcmpl-x.el (pcmpl-x-ag-options): New variable.
+       (pcomplete/ag): New function.
+       (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
+
+2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
+       (bug#14646).
+       (make-obsolete): Remove interactive spec.
+
+2013-11-21  Glenn Morris  <rgm@gnu.org>
+
+       * startup.el (command-line-1): Use path-separator with -L.
+
+2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * emacs-lisp/package.el (describe-package-1): Add package archive
+       to shown fields.
+
+2013-11-20  Bozhidar Batsov <bozhidar@batsov.com>
+
+       * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
+       Change default to "# encoding: %s" to differentiate it from the
+       default Ruby encoding comment template.
+
+2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
+
+       * ses.el (ses-mode): Doc fix.  (Bug#14748)
+
 2013-11-20  Leo Liu  <sdl.web@gmail.com>
 
        * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
        * obsolete/rcompile.el: Mark obsolete.
 
        * progmodes/compile.el (compilation-start)
-       (compilation-goto-locus, compilation-find-file): Pass
-       no-display-ok and handle nil value from display-buffer.
+       (compilation-goto-locus, compilation-find-file):
+       Pass no-display-ok and handle nil value from display-buffer.
        (Bug#13594)
 
        * window.el (display-buffer-alist, display-buffer): Document the
        * subr.el (version-regexp-alist):
        Recognize hg, svn and darcs versions as snapshot versions.
 
-       * progmodes/ruby-mode.el (ruby-mode-set-encoding):
-       Add the ability to always insert an utf-8 encoding comment.
-       Fix and simplify coding comment update logic.
+       * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
+       'always-utf8 value of `ruby-insert-encoding-magic-comment'.
+       (ruby--encoding-comment-required-p): Extract from
+       `ruby-mode-set-encoding'.
+       (ruby-mode-set-encoding): Add the ability to always insert an
+       utf-8 encoding comment.  Fix and simplify coding comment update
+       logic.
 
 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
 
 
 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
 
-       * progmodes/ruby-mode.el (ruby-mode-set-encoding):
-       Use `ruby-encoding-magic-comment-style' to control the
-       style of the auto-inserted encoding comment.
+       * progmodes/ruby-mode.el: Improve encoding comment handling.
+       (ruby-encoding-magic-comment-style): New option.
+       (ruby-custom-encoding-magic-comment-template): New option.
+       (ruby--insert-coding-comment, ruby--detect-encoding): New
+       functions extracted from `ruby-mode-set-encoding'.
+       (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
+       to control the style of the auto-inserted encoding comment.
 
 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>