* net/tramp-sh.el (tramp-sh-handle-copy-directory):
[bpt/emacs.git] / lisp / ChangeLog
index 6a8946a..34ac8ff 100644 (file)
@@ -1,3 +1,351 @@
+2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-copy-directory):
+       * net/tramp-smb.el (tramp-smb-handle-copy-directory):
+       Handle COPY-CONTENTS.  (Bug#15737)
+
+2013-10-28  Daiki Ueno  <ueno@gnu.org>
+
+       * 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>
+
+       * image.el (defimage):
+       (image-load-path): Doc fixes.
+
+2013-10-27  Alan Mackenzie  <acm@muc.de>
+
+       Indent statements in macros following "##" correctly.
+       * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Modify
+       the "#" arm of a cond form to handle "#" and "##" operators.
+
+2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
+
+       * linum.el (linum-update-window): Fix boundary test (bug#13446).
+
+2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
+       after `=' is probably a new expression.
+
+2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
+
+       * man.el (man-imenu-title): New option.
+       (Man-mode-map): Add menu.  (Bug#15722)
+       (Man-mode): Add imenu to menu.
+
+2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
+       specific in what the first arg can be: a non-keyword word,
+       string/regexp/percent literal opener, opening paren, or unary
+       operator followed directly by word.
+
+2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
+       (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
+       (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
+       (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
+       Remove vars, they do not apply any more.
+       (prolog-mode-abbrev-table): Remove redundant declaration.
+       (prolog-upper-case-string, prolog-lower-case-string): Remove.
+       (prolog-use-smie): Remove.
+       (prolog-smie-rules): Add indentation rule for the if-then-else layout
+       supported by prolog-electric-if-then-else-flag.
+       (prolog-mode-variables, prolog-menu): Use setq-local.
+       (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
+       Remove binding to `Backspace' since this key doesn't exist anyway.
+       Remove bindings for electric self-inserting keys.
+       (prog-mode): Assume it's defined.
+       (prolog-post-self-insert): New function.
+       (prolog-mode): Use it.
+       (prolog-indent-line, prolog-indent-level)
+       (prolog-find-indent-of-matching-paren)
+       (prolog-indentation-level-of-line, prolog-goto-comment-column)
+       (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
+       (prolog-goto-next-paren, prolog-in-string-or-comment)
+       (prolog-tokenize, prolog-inside-mline-comment)
+       (prolog-find-start-of-mline-comment): Remove functions.
+       (prolog-find-unmatched-paren, prolog-clause-end)
+       (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
+       (prolog-electric--if-then-else): Rename from
+       prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
+       (prolog-tokenize-searchkey): Remove const.
+       (prolog-clause-info): Use forward-sexp.
+       (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
+       (prolog-electric-if-then-else): Remove commands.
+       (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
+       for use in post-self-insert-hook.
+       (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
+       for use in post-self-insert-hook.
+       (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
+       for use in post-self-insert-hook.
+       (prolog-electric--underscore): Rename from prolog-electric--underscore;
+       adapt it for use in post-self-insert-hook.
+
+2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
+
+       * emacs-lisp/ert.el (ert-run-tests-interactively):
+       Use `completing-read'.  (Bug#9756)
+
+2013-10-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move): Call line-move-1 instead of
+       line-move-visual when the current window hscroll is zero, but
+       temporary-goal-column indicates we will need to hscroll as result
+       of the movement.  (Bug#15712)
+
+2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
+       capitalization.  Use :visible instead of :active.
+       Fix `ruby-indent-exp' reference.  Add menu items for the generic
+       commands that are used with SMIE.
+       (ruby-do-end-to-brace): Insert space after `{'.
+
+2013-10-25  John Anthony  <john@jo.hnanthony.com>
+
+       * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
+
+       * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
+
+2013-10-25  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc.el (vc-print-log): Don't use a working revision unless
+       one was explicitly specified.  (Bug#15322)
+
+2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (add-to-list): Preserve return value in compiler-macro
+       (bug#15692).
+
+2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
+
+       * progmodes/octave.el (octave-lookfor): Handle empty lookfor
+       result.  Ask user to retry using '-all' flag.  (Bug#15701)
+
+2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/smie.el: New smie-config system.
+       (smie-config): New defcustom.
+       (smie-edebug, smie-config-show-indent, smie-config-set-indent)
+       (smie-config-guess, smie-config-save): New commands.
+       (smie-config--mode-local, smie-config--buffer-local)
+       (smie-config--trace, smie-config--modefuns): New vars.
+       (smie-config--advice, smie-config--mode-hook)
+       (smie-config--setter, smie-config-local, smie-config--get-trace)
+       (smie-config--guess-value, smie-config--guess): New functions.
+       (smie-indent-forward-token, smie-indent-backward-token): Don't copy
+       text properties.  Treat "string fence" syntax like string syntax.
+
+       * progmodes/sh-script.el (sh-use-smie): Change default.
+       (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
+       (sh-var-value): Simplify by CSE.
+       (sh-show-indent, sh-set-indent, sh-learn-line-indent)
+       (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
+       is used.
+       (sh-guess-basic-offset): Use cl-incf.
+       (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
+
+2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
+
+       * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
+       (bug#15699).
+
+2013-10-24  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (abs_top_srcdir): Remove.
+       (update-subdirs): Use relative path to update-subdirs.
+
+2013-10-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * 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):
+       Call unmsys--file-name before expand-file-name, not after it.
+
+2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
+
+       * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
+       (ert-test-skipped): New error.
+       (ert-skip, ert-stats-skipped): New defuns.
+       (ert--skip-unless): New macro.
+       (ert-test-skipped): New struct.
+       (ert--run-test-debugger, ert-test-result-type-p)
+       (ert-test-result-expected-p, ert--stats, ert-stats-completed)
+       (ert--stats-set-test-and-result, ert-char-for-test-result)
+       (ert-string-for-test-result, ert-run-tests-batch)
+       (ert--results-update-ewoc-hf, ert-run-tests-interactively):
+       Handle skipped tests.  (Bug#9803)
+
+2013-10-24  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (check-declare): Remove unnecessary path in -l argument.
+
+       * Makefile.in (abs_top_srcdir): New, set by configure.
+       (update-subdirs): Correct build-aux location.
+
+2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * vc/vc.el (vc-print-root-log): Always set `default-directory'
+       value, whether we could auto-deduce `backend', or not.
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
+       with parameters" example.  Simplify the "is it block or is it
+       hash" check, but also make it more thorough.
+
+2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
+
+       * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
+
+2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
+       { if it is hanging.
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
+       :before ";".
+
+2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
+
+       * progmodes/compile.el (compilation-directory-matcher)
+       (compilation-page-delimiter):
+       Support GNU Make-4.0 directory quoting.  (Bug#15678)
+
+2013-10-23  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-tidy): Handle read-only text.
+
+2013-10-23  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
+       (emacs, compile, compile-always):
+       Quote entities that might contain whitespace.
+       (custom-deps, finder-data, autoloads): Use abs_lisp.
+       ($(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): Manually expand target file name.
+
+2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
+       Use `following-char'.
+
+2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
+       * progmodes/ruby-mode.el (ruby-smie-rules):
+       Remove corresponding workaround.  Fix indentation rule of ";" so it
+       also applies when ";" is the parent.
+
+2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * frame.el (display-screens, display-pixel-height)
+       (display-pixel-width, display-mm-width, display-backing-store)
+       (display-save-under, display-planes, display-color-cells)
+       (display-visual-class, display-monitor-attributes-list):
+       Mention the optional ‘display’ argument in doc strings.
+
+2013-10-22  Michael Gauland  <mikelygee@amuri.net>
+
+       * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
+       viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
+
+2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
+       TODO.  Add "." after " @ ".
+       (ruby-smie--at-dot-call): New function.  Checks if point at method
+       call with explicit target.
+       (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
+       to the method name tokens when it precedes them.
+       (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
+       (ruby-smie-rules): Add rule for indentation before and after "."
+       token.
+
+2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/remember.el (remember-diary-extract-entries):
+       Avoid add-to-list.
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
+       an instruction.
+
+2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
+       (ruby-smie--implicit-semi-p): Add new operator chars.
+
+       * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
+       `smie-down-list'.
+       (ruby-smie--args-separator-p): Check that there's no newline
+       between method call and its arguments.
+
+2013-10-20  Alan Mackenzie  <acm@muc.de>
+
+       Allow comma separated lists after Java "implements".
+
+       * progmodes/cc-engine.el (c-backward-over-enum-header):
+       Parse commas.
+       * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
+       from a "disallowed" list in enum fontification.
+
+2013-10-20  Johan Bockgård  <bojohan@gnu.org>
+
+       * startup.el (default-frame-background-mode): Remove unused defvar.
+
+       * progmodes/verilog-mode.el (verilog-mode): Don't set
+       comment-indent-function globally.
+
+2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
+       Move Info menu item creation to ns-win.el.
+
+       * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
+       in menu bar.
+
+       * menu-bar.el: Move GNUStep specific menus...
+
+       * term/ns-win.el (ns-initialize-window-system): ... to here.
+
+2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (newline): Only run post-self-insert-hook when
+       called interactively.
+
+2013-10-19  Johan Bockgård  <bojohan@gnu.org>
+
+       * icomplete.el (icomplete-with-completion-tables): Add :version.
+
+2013-10-19  Alan Mackenzie  <acm@muc.de>
+
+       Fix fontification bugs with constructors and const.
+
+       * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
+       CASE 2) Remove the check for the absence of a suffix construct
+       after a function declaration with only types (no identifiers) in
+       the parentheses.  Also, accept a function declaration with just a
+       type inside the parentheses, if this type can be positively
+       recognised as such, or if a prefix keyword like "explicit" nails
+       down the construct as a declaration.
+
+2013-10-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
+       TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
+       the problem whereby selecting a menu item that leads to a
+       minibuffer prompt moves the cursor out of the minibuffer window,
+       making it hard to type at the prompt.  Suggested by Stefan Monnier
+       <monnier@iro.umontreal.ca>.
+
+2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * menu-bar.el: Don't make Services menu.
+
 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
 
        * ffap.el: Handle "/usr/include/c++/<version>" directories.
        * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
        (ielm-return-for-effect): New command.
        (ielm-send-input): Accept optional `for-effect' parameter.
-       (ielm-eval-input): Accept optional `for-effect' parameter.  Bind
-       `standard-output' to stream we create using
+       (ielm-eval-input): Accept optional `for-effect' parameter.
+       Bind `standard-output' to stream we create using
        `ielm-standard-output-impl'.  Suppress printing result when
        `for-effect'.
        (ielm-standard-output-impl): New function.
        * textmodes/text-mode.el (text-mode-map):
        Use auto-fill help text from menu-bar.el.
 
-2013-10-10  John Anthony  <john@jo.hnanthony.com>  (tiny change)
+2013-10-10  John Anthony  <john@jo.hnanthony.com>
 
        * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)