Fix tramp bug with empty explicit path
[bpt/emacs.git] / lisp / ChangeLog
index 156c244..a74e982 100644 (file)
@@ -1,3 +1,393 @@
+2014-02-27  Daniel Colascione  <dancol@dancol.org>
+
+       * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
+       explicit tramp path is empty.
+
+2014-02-26  Glenn Morris  <rgm@gnu.org>
+
+       * startup.el (command-line): Don't init the tty in daemon mode.
+
+       Avoid calling tty-setup-hook twice, eg if a term file
+       explicitly calls tty-run-terminal-initialization.  (Bug#16859)
+       * faces.el (tty-run-terminal-initialization): Add run-hook argument.
+       (tty-create-frame-with-faces): Use it.
+       * startup.el (command-line): Pass run-hook argument
+       to tty-run-terminal-initialization.
+
+       * dired.el (dired-restore-desktop-buffer): Demote errors;
+       eg in case a glob match fails.  (Bug#16884)
+
+2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
+       error from `read-from-string'.  (Bug#16850)
+
+       * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
+       result of `completing-read' in the interactive form.  (Bug#16854)
+
+2014-02-25  Glenn Morris  <rgm@gnu.org>
+
+       * image.el (image-animate, image-animate-timeout):
+       Stop animating images in dead buffers.  (Bug#16878)
+
+       * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
+
+       * faces.el (tty-setup-hook, tty-run-terminal-initialization):
+       Doc fixes.
+       * startup.el (term-setup-hook): Doc fix.  Make obsolete.
+       * term/sun.el (sun-raw-prefix-hooks):
+       Use tty-setup-hook instead of term-setup-hook.
+       (terminal-init-sun): Construct message from bytecomp plist.
+       * term/wyse50.el (enable-arrow-keys): Doc fix.
+
+2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
+
+       * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
+       Fix docstring typos.
+
+2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
+
+2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
+
+       * minibuffer.el (completion--try-word-completion):
+       Fix error when completing M-x commands (bug#16808).
+
+2014-02-24  Leo Liu  <sdl.web@gmail.com>
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
+
+2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
+
+       * apropos.el (apropos-print): Avoid formatting error when
+       apropos-do-all and apropos-compact-layout are both t.
+
+2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * apropos.el (apropos-property, apropos-all-words-regexp)
+       (apropos-true-hit, apropos-variable, apropos-print):
+       Fix docstring typos, and remove obsolete comment.
+
+2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-file-truename):
+       Preserve trailing "/".  (Bug#16851)
+
+2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
+       after `=>' (bug#16811).
+       (ruby-smie-rules): Handle the inconsistent second element of the
+       list returned by `smie-indent--parent'.
+       (ruby-font-lock-keywords): Disqualify any identifier before `=' as
+       method call.
+
+2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * elec-pair.el (electric-pair-text-syntax-table)
+       (electric-pair-syntax-info, electric-pair--syntax-ppss)
+       (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
+       (electric-pair--looking-at-unterminated-string-p): Doc fix.
+       (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
+
+2014-02-22  Glenn Morris  <rgm@gnu.org>
+
+       * imenu.el (imenu--generic-function): Doc fix.
+
+       * register.el (frame-configuration-to-register): Make obsolete.
+
+2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el (desktop-save-buffer-p): Do not fail when
+       desktop-files-not-to-save is nil.  Return t for true result
+       as the doc says.
+
+2014-02-22  Daniel Colascione  <dancol@dancol.org>
+
+       * net/secrets.el (secrets-create-item,secrets-search-items): Check
+       that attribute values are strings, avoiding the construction of
+       invalid dbus messages.
+
+2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
+       defun-declarations-alist.
+
+2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
+       (bug#16829).
+
+2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
+       (whitespace-newline, whitespace-trailing, whitespace-line)
+       (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
+       (whitespace-space-after-tab): Fix typo in docstrings.
+
+2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
+
+       * electric.el (electric-indent-functions-without-reindent):
+       Add `yaml-indent-line'.
+
+2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
+       It has done nothing for years; should be removed after the release.
+
+       * simple.el (choose-completion): Fix docstring typo.
+       (read-quoted-char-radix): Remove unneeded * in docstring.
+       (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
+       Don't escape parentheses unnecessarily in docstrings.
+
+2014-02-21  Martin Rudalics  <rudalics@gmx.at>
+
+       Fix handling of window-min-height/-width (Bug#16738).
+       * window.el (window--dump-window, window--dump-frame):
+       New functions.
+       (window--min-size-1): Account for window dividers.
+       When window-resize-pixelwise is nil, delay rounding till after the
+       sum of the window components has been calculated.
+       (window--min-delta-1, window--max-delta-1): When PIXELWISE is
+       nil make sure at least one text line and two text columns remain
+       fully visible.
+       (window-resize): Signal an error when window-resize-apply fails.
+       (window--resize-child-windows): Fix calculation of by how many
+       pixels a window can still be shrunk via window-new-normal.
+       (adjust-window-trailing-edge): Call window--resizable with
+       correct TRAIL argument.
+
+       (with-temp-buffer-window): Don't evaluate BODY within
+       with-current-buffer (Bug#16816).
+
+2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-check-cached-permissions):
+       Call `file-attributes' with `suffix' being a symbol but a string.
+
+2014-02-21  Daniel Colascione  <dancol@dancol.org>
+
+       * net/dbus.el (dbus-init-bus-1): Declare new subr.
+       (dbus-init-bus): New function: call into dbus-init-bus-1
+       and installs a handler for the disconnect signal.
+       (dbus-call-method): Rewrite to look for result in cons.
+       (dbus-call-method-handler): Store result in cons.
+       (dbus-check-event): Recognize events with nil sender as valid.
+       (dbus-handle-bus-disconnect): New function.  React to bus
+       disconnection signal by synthesizing dbus error for each
+       pending synchronous or asynchronous call.
+       (dbus-notice-synchronous-call-errors): New function.
+       (dbus-handle-event): Raise errors directly only when `dbus-debug'
+       is true, not all the time.
+
+2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
+       Remove obsolescence declarations, these variables do not exist anymore.
+
+       * savehist.el (savehist-save-minibuffer-history)
+       (savehist-additional-variables, savehist-file, savehist-mode-hook)
+       (savehist-save-hook, savehist-coding-system, savehist-loaded)
+       (savehist-load, savehist-install, savehist-autosave): Fix typos;
+       mostly, refer to "Savehist mode" when talking about the mode,
+       and not the function.
+
+       * saveplace.el (save-place): Remove redundant info in docstring.
+       (save-place-forget-unreadable-files, toggle-save-place)
+       (save-place-forget-unreadable-files, save-place-dired-hook):
+       Fix typos and remove unneeded backslashes.
+
+2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
+       (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
+
+       * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
+       <insert-directory>: Use `tramp-handle-insert-directory'.
+       (tramp-gvfs-handle-insert-directory): Remove function.
+
+       * net/tramp-sh.el (tramp-sh-handle-insert-directory):
+       Call `tramp-handle-insert-directory'.
+
+2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
+
+       * elec-pair.el (electric-pair-syntax-info): Do not check syntax
+       before the start of buffer/region (bug#16799).
+
+2014-02-20  Glenn Morris  <rgm@gnu.org>
+
+       * isearch.el (search-invisible): Doc fix.
+
+2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
+
+       * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
+       (bug#16657).
+
+2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frameset.el (frameset-restore): Delay removing an old frame's
+       duplicate id until the new frame has been correctly created.
+
+2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
+       (tramp-check-cached-permissions): Call `file-attributes' if the
+       cache is empty.
+
+       * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
+       <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
+
+       * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
+       <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
+       (tramp-gvfs-maybe-open-connection): Set always connection
+       properties, even if target is mounted already.
+
+       * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
+       Set tramp-autoload cookie.
+       (tramp-get-remote-touch): New defun.
+       (tramp-sh-handle-set-file-times): Use it.
+       (tramp-sh-handle-directory-files-and-attributes):
+       Use `tramp-handle-directory-files-and-attributes' if neither stat
+       nor perl are available on the remote host.
+
+       * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
+       "/".  Write long listing only when "l" belongs to the switches.
+
+       * net/trampver.el: Update release number.
+
+2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
+
+2014-02-19  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window-state-put): Allow WINDOW to refer to an
+       internal window (Bug#16793).
+
+2014-02-19  Glenn Morris  <rgm@gnu.org>
+
+       * textmodes/remember.el: Move provide statement to end.
+       (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
+       (remember-notes): Doc fixes.
+
+2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * delsel.el (delete-char): Restore incorrectly erased property
+       (bug#16795).
+
+2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frameset.el (frameset--restore-frame): When a frame is being reused
+       and its root window is not alive, delete all the frame's windows before
+       restoring the window state.  This works around the issue in bug#16793.
+
+2014-02-18  Glenn Morris  <rgm@gnu.org>
+
+       * textmodes/remember.el (remember-data-directory)
+       (remember-directory-file-name-format, remember-store-in-files)
+       (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
+       (remember-notes-save-and-bury-buffer)
+       (remember-notes--kill-buffer-query): Doc fixes.
+
+       * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
+
+2014-02-17  Alan Mackenzie  <acm@muc.de>
+
+       Connect electric-indent-mode up with CC Mode.  Bug #15478.
+       * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
+       to electric-indent-{,local-}-mode.
+       (c-basic-common-init): Set electric-indent-inhibit.
+       Initialise c-electric-flag from electric-indent-mode.
+       (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
+       New hook functions which propagate electric-indent-mode to CC mode.
+
+       * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
+       hit, toggle electric-indent-local-mode.
+
+       * electric.el (electric-indent-mode-has-been-called):
+       New variable.
+
+2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frameset.el (frameset-cfg-id): New function.
+       (frameset--reuse-frame, frameset-restore): Use it.
+       (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
+
+2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * ido.el (ido-file-internal): Remove unused var `d'.
+       Use \` for to match BoS.  Fit within 80n columns.
+
+2014-02-17  Daniel Colascione  <dancol@dancol.org>
+
+       * net/dbus.el (dbus-call-method): Work around bug#16775 by having
+       dbus-call-method check for completion using a busy-wait loop with
+       gradual backoff.
+
+2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
+
+       Sync with Tramp 2.2.9.
+
+       * net/trampver.el: Update release number.
+
+2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * ido.el (ido-file-internal): Don't add the name of an existing
+       directory twice.  (Bug#16747)
+
+2014-02-16  Glenn Morris  <rgm@gnu.org>
+
+       * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
+       Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
+
+2014-02-15  Michael R. Mauger  <michael@mauger.com>
+
+       * progmodes/sql.el: Version 3.4
+       (sql-oracle-options): New default value ("-L").
+       (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
+       (sql-placeholders-filter): Correct placeholder pattern.
+       (sql-read-table-name): Bug fix. Detect absence of SQLi process.
+       (sql-login-delay): New variable.
+       (sql-product-interactive): Use it.
+
+2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frameset.el (frameset--jump-to-register): Check that buffer is live
+       (bug#16749).
+
+2014-02-15  Glenn Morris  <rgm@gnu.org>
+
+       * info.el (info-initialize): Revert 2014-01-10 change.
+
+2014-02-14  Glenn Morris  <rgm@gnu.org>
+
+       * replace.el (map-query-replace-regexp)
+       (read-regexp-defaults-function, read-regexp): Doc fixes.
+
+       * dired.el (dired-read-regexp):
+       * faces.el (list-faces-display):
+       * misearch.el (multi-isearch-read-matching-buffers)
+       (multi-isearch-read-matching-files):
+       * play/cookie1.el (cookie-apropos):
+       * progmodes/grep.el (grep-read-regexp): Doc fixes.
+
+       * textmodes/remember.el (remember): Use frameset-to-register
+       rather than frame-configuration-to-register.
+
+2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
+       incorrect keybinding.
+
+2014-02-13  Daniel Colascione  <dancol@dancol.org>
+
+       * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
+       when adding overlays so that line numbers from compiler match line
+       numbers we use.
+
 2014-02-13  Glenn Morris  <rgm@gnu.org>
 
        * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
        * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
        (tramp-smb-errors): Add error messages.
        (tramp-smb-actions-with-acl): New defconst.
-       (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
+       (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
        (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
        (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
        (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
 
        * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
        Order alphabetically.
-       [access-file, add-name-to-file, dired-call-process]:
-       [dired-compress-file, file-acl, file-notify-rm-watch]:
-       [file-ownership-preserved-p, file-selinux-context]:
-       [make-directory-internal, make-symbolic-link, set-file-acl]:
-       [set-file-selinux-context, set-visited-file-modtime]:
-       [verify-visited-file-modtime]: Add handler.
+       <access-file, add-name-to-file, dired-call-process>:
+       <dired-compress-file, file-acl, file-notify-rm-watch>:
+       <file-ownership-preserved-p, file-selinux-context>:
+       <make-directory-internal, make-symbolic-link, set-file-acl>:
+       <set-file-selinux-context, set-visited-file-modtime>:
+       <verify-visited-file-modtime>: Add handler.
        (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
 
        * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
-       [file-notify-add-watch, file-notify-rm-watch]:
-       [set-file-times, set-visited-file-modtime]:
-       [verify-visited-file-modtime]: Add handler.
+       <file-notify-add-watch, file-notify-rm-watch>:
+       <set-file-times, set-visited-file-modtime>:
+       <verify-visited-file-modtime>: Add handler.
        (with-tramp-gvfs-error-message)
        (tramp-gvfs-handle-set-visited-file-modtime)
        (tramp-gvfs-fuse-file-name): Remove.
 
        * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
        Order alphabetically.
-       [file-notify-rm-watch ]: Use default Tramp handler.
-       [executable-find]: Remove private handler.
+       <file-notify-rm-watch>: Use default Tramp handler.
+       <executable-find>: Remove private handler.
        (tramp-do-copy-or-rename-file-out-of-band): Do not bind
        `default-directory'.
        (tramp-sh-handle-executable-find)
        Do not use `format' in `tramp-message'.
 
        * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
-       [file-notify-rm-watch, set-visited-file-modtime]:
-       [verify-visited-file-modtime]: Add handler.
+       <file-notify-rm-watch, set-visited-file-modtime>:
+       <verify-visited-file-modtime>: Add handler.
        (tramp-smb-call-winexe): Do not bind `default-directory'.
 
 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
        * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
        * net/tramp-sh.el (tramp-maybe-open-connection):
        Use `tramp-connection-timeout'.
-       (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
+       (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
        (Bug#14808)
 
 2013-07-11  Leo Liu  <sdl.web@gmail.com>