emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/tramp c76bde3: Tramp ELPA version 2.4. released


From: Michael Albinus
Subject: [elpa] externals/tramp c76bde3: Tramp ELPA version 2.4. released
Date: Mon, 29 Jun 2020 08:09:19 -0400 (EDT)

branch: externals/tramp
commit c76bde365efae31f6647904fd559531a12c3ac41
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Tramp ELPA version 2.4. released
---
 texi/tramp.texi    |   6 +++
 texi/trampver.texi |   2 +-
 tramp-loaddefs.el  |   2 +-
 tramp-sh.el        |  33 +++++++--------
 tramp.el           |   2 +-
 tramp.info         | 122 ++++++++++++++++++++++++++++-------------------------
 trampver.el        |   4 +-
 7 files changed, 90 insertions(+), 81 deletions(-)

diff --git a/texi/tramp.texi b/texi/tramp.texi
index 0741fb8..d6560a4 100644
--- a/texi/tramp.texi
+++ b/texi/tramp.texi
@@ -2023,6 +2023,12 @@ reestablished.  A value of @code{nil} disables this 
feature.  Most of
 the methods do not set this property except the @option{sudo} and
 @option{doas} methods, which use predefined values.
 
+@item @t{"tmpdir"}
+
+The temporary directory on the remote host.  If not specified, the
+default value is @t{"/data/local/tmp"} for the @option{adb} method,
+@t{"/C$/Temp"} for the @option{smb} method, and @t{"/tmp"} otherwise.
+
 @item @t{"posix"}
 
 Connections using the @option{smb} method check, whether the remote
diff --git a/texi/trampver.texi b/texi/trampver.texi
index d4379e4..4220752 100644
--- a/texi/trampver.texi
+++ b/texi/trampver.texi
@@ -8,7 +8,7 @@
 @c In the Tramp GIT, the version numbers are auto-frobbed from
 @c tramp.el, and the bug report address is auto-frobbed from
 @c configure.ac.
-@set trampver 2.4.3.5
+@set trampver 2.4.4
 @set tramp-bug-report-address tramp-devel@@gnu.org
 @set emacsver 24.4
 
diff --git a/tramp-loaddefs.el b/tramp-loaddefs.el
index 6184286..7e0ef9c 100644
--- a/tramp-loaddefs.el
+++ b/tramp-loaddefs.el
@@ -663,7 +663,7 @@ UU-encode the region between BEG and END.
 ;;;### (autoloads nil "trampver" "trampver.el" (0 0 0 0))
 ;;; Generated autoloads from trampver.el
 
-(defconst tramp-version "2.4.3.5" "\
+(defconst tramp-version "2.4.4" "\
 This version of Tramp.")
 
 (defconst tramp-bug-report-address "tramp-devel@gnu.org" "\
diff --git a/tramp-sh.el b/tramp-sh.el
index 0a9f49d..f32256d 100644
--- a/tramp-sh.el
+++ b/tramp-sh.el
@@ -1379,18 +1379,11 @@ component is used as the target of the symlink."
    (format
     (eval-when-compile
       (concat
-       ;; On Opsware, pdksh (which is the true name of ksh there)
-       ;; doesn't parse correctly the sequence "((".  Therefore, we
-       ;; add a space.  Apostrophes in the stat output are masked as
+       ;; Apostrophes in the stat output are masked as
        ;; `tramp-stat-marker', in order to make a proper shell escape
        ;; of them in file names.
-       "( (%s %s || %s -h %s) && (%s -c "
-       "'((%s%%N%s) %%h %s %s %%X %%Y %%Z %%s %s%%A%s t %%i -1)' "
-       "%s | sed -e 's/\"/\\\\\"/g' -e 's/%s/\"/g') || echo nil)"))
-    (tramp-get-file-exists-command vec)
-    (tramp-shell-quote-argument localname)
-    (tramp-get-test-command vec)
-    (tramp-shell-quote-argument localname)
+       "(%s -c '((%s%%N%s) %%h %s %s %%X %%Y %%Z %%s %s%%A%s t %%i -1)' %s |"
+       " sed -e 's/\"/\\\\\"/g' -e 's/%s/\"/g')"))
     (tramp-get-remote-stat vec)
     tramp-stat-marker tramp-stat-marker
     (if (eq id-format 'integer)
@@ -1401,7 +1394,8 @@ component is used as the target of the symlink."
       (eval-when-compile (concat tramp-stat-marker "%G" tramp-stat-marker)))
     tramp-stat-marker tramp-stat-marker
     (tramp-shell-quote-argument localname)
-    tramp-stat-quoted-marker)))
+    tramp-stat-quoted-marker)
+   'noerror))
 
 (defun tramp-sh-handle-set-visited-file-modtime (&optional time-list)
   "Like `set-visited-file-modtime' for Tramp files."
@@ -3007,16 +3001,16 @@ STDERR can also be a file name."
                      ;; the process is deleted.
                      (when (bufferp stderr)
                        (with-current-buffer stderr
-                         (insert-file-contents-literally
-                          remote-tmpstderr 'visit))
+                         (insert-file-contents-literally remote-tmpstderr))
                        ;; Delete tmpstderr file.
                        (add-function
                         :after (process-sentinel p)
                         (lambda (_proc _msg)
-                          (with-current-buffer stderr
-                            (insert-file-contents-literally
-                             remote-tmpstderr 'visit nil nil 'replace))
-                          (delete-file remote-tmpstderr))))
+                          (when (file-exists-p remote-tmpstderr)
+                            (with-current-buffer stderr
+                              (insert-file-contents-literally
+                               remote-tmpstderr nil nil nil 'replace))
+                            (delete-file remote-tmpstderr)))))
                      ;; Return process.
                      p)))
 
@@ -5275,7 +5269,10 @@ raises an error."
                    command marker (buffer-string))))))
       ;; Read the expression.
       (condition-case nil
-         (prog1 (read (current-buffer))
+         (prog1
+             (let ((signal-hook-function
+                    (unless noerror signal-hook-function)))
+               (read (current-buffer)))
            ;; Error handling.
            (when (re-search-forward "\\S-" (point-at-eol) t)
              (error nil)))
diff --git a/tramp.el b/tramp.el
index 66b4624..b61e443 100644
--- a/tramp.el
+++ b/tramp.el
@@ -7,7 +7,7 @@
 ;; Maintainer: Michael Albinus <michael.albinus@gmx.de>
 ;; Keywords: comm, processes
 ;; Package: tramp
-;; Version: 2.4.3.5
+;; Version: 2.4.4
 ;; Package-Requires: ((emacs "24.4"))
 ;; Package-Type: multi
 ;; URL: https://savannah.gnu.org/projects/tramp
diff --git a/tramp.info b/tramp.info
index 70a25f5..1824b1f 100644
--- a/tramp.info
+++ b/tramp.info
@@ -21,10 +21,10 @@ END-INFO-DIR-ENTRY
 
 File: tramp.info,  Node: Top,  Next: Overview,  Prev: (dir),  Up: (dir)
 
-TRAMP 2.4.3.5 User Manual
-*************************
+TRAMP 2.4.4 User Manual
+***********************
 
-This file documents TRAMP 2.4.3.5, a remote file editing package for
+This file documents TRAMP 2.4.4, a remote file editing package for
 Emacs.
 
    TRAMP stands for “Transparent Remote (file) Access, Multiple
@@ -1551,6 +1551,12 @@ properties are listed here:
      the methods do not set this property except the ‘sudo’ and ‘doas’
      methods, which use predefined values.
 
+   • "tmpdir"
+
+     The temporary directory on the remote host.  If not specified, the
+     default value is "/data/local/tmp" for the ‘adb’ method, "/C$/Temp"
+     for the ‘smb’ method, and "/tmp" otherwise.
+
    • "posix"
 
      Connections using the ‘smb’ method check, whether the remote host
@@ -4614,61 +4620,61 @@ Concept Index
 
 Tag Table:
 Node: Top933
-Node: Overview5421
-Node: Obtaining TRAMP10755
-Node: Quick Start Guide13202
-Ref: Quick Start Guide: File name syntax13979
-Ref: Quick Start Guide: ssh and plink methods15081
-Ref: Quick Start Guide: su, sudo and sg methods15625
-Ref: Quick Start Guide: ssh, plink, su, sudo and sg methods16189
-Ref: Quick Start Guide: sudoedit method16719
-Ref: Quick Start Guide: smb method17130
-Ref: Quick Start Guide: GVFS-based methods17461
-Ref: Quick Start Guide: GNOME Online Accounts based methods17857
-Ref: Quick Start Guide: Android18399
-Ref: Quick Start Guide: rclone method18631
-Node: Configuration18958
-Node: Connection types21430
-Node: Inline methods22844
-Node: External methods27806
-Node: GVFS-based methods38444
-Node: Default Method41713
-Node: Default User44730
-Node: Default Host46259
-Node: Multi-hops47391
-Node: Firewalls51583
-Node: Customizing Methods53040
-Node: Customizing Completion55380
-Node: Password handling58870
-Ref: Using an authentication file59340
-Ref: Caching passwords60842
-Node: Connection caching61360
-Node: Predefined connection information62290
-Node: Remote programs66164
-Node: Remote shell setup69085
-Node: Android shell setup78701
-Node: Auto-save and Backup81088
-Node: Windows setup hints84163
-Node: Usage85783
-Node: File name syntax87136
-Node: Change file name syntax89143
-Node: File name completion90574
-Node: Ad-hoc multi-hops93729
-Node: Remote processes95795
-Ref: Running a debugger on a remote host105442
-Node: Cleanup remote connections107412
-Node: Renaming remote files109113
-Node: Archive file names113332
-Node: Bug Reports117846
-Node: Frequently Asked Questions120587
-Node: Files directories and localnames144952
-Node: Localname deconstruction145388
-Node: External packages146041
-Node: Traces and Profiles148086
-Node: GNU Free Documentation License150055
-Node: Function Index175428
-Node: Variable Index178306
-Node: Concept Index186276
+Node: Overview5415
+Node: Obtaining TRAMP10749
+Node: Quick Start Guide13196
+Ref: Quick Start Guide: File name syntax13973
+Ref: Quick Start Guide: ssh and plink methods15075
+Ref: Quick Start Guide: su, sudo and sg methods15619
+Ref: Quick Start Guide: ssh, plink, su, sudo and sg methods16183
+Ref: Quick Start Guide: sudoedit method16713
+Ref: Quick Start Guide: smb method17124
+Ref: Quick Start Guide: GVFS-based methods17455
+Ref: Quick Start Guide: GNOME Online Accounts based methods17851
+Ref: Quick Start Guide: Android18393
+Ref: Quick Start Guide: rclone method18625
+Node: Configuration18952
+Node: Connection types21424
+Node: Inline methods22838
+Node: External methods27800
+Node: GVFS-based methods38438
+Node: Default Method41707
+Node: Default User44724
+Node: Default Host46253
+Node: Multi-hops47385
+Node: Firewalls51577
+Node: Customizing Methods53034
+Node: Customizing Completion55374
+Node: Password handling58864
+Ref: Using an authentication file59334
+Ref: Caching passwords60836
+Node: Connection caching61354
+Node: Predefined connection information62284
+Node: Remote programs66378
+Node: Remote shell setup69299
+Node: Android shell setup78915
+Node: Auto-save and Backup81302
+Node: Windows setup hints84377
+Node: Usage85997
+Node: File name syntax87350
+Node: Change file name syntax89357
+Node: File name completion90788
+Node: Ad-hoc multi-hops93943
+Node: Remote processes96009
+Ref: Running a debugger on a remote host105656
+Node: Cleanup remote connections107626
+Node: Renaming remote files109327
+Node: Archive file names113546
+Node: Bug Reports118060
+Node: Frequently Asked Questions120801
+Node: Files directories and localnames145166
+Node: Localname deconstruction145602
+Node: External packages146255
+Node: Traces and Profiles148300
+Node: GNU Free Documentation License150269
+Node: Function Index175642
+Node: Variable Index178520
+Node: Concept Index186490
 
 End Tag Table
 
diff --git a/trampver.el b/trampver.el
index 46a9d64..8fdae2e 100644
--- a/trampver.el
+++ b/trampver.el
@@ -39,7 +39,7 @@
 (defvar inhibit-message)
 
 ;;;###tramp-autoload
-(defconst tramp-version "2.4.3.5"
+(defconst tramp-version "2.4.4"
   "This version of Tramp.")
 
 ;;;###tramp-autoload
@@ -75,7 +75,7 @@
 ;; Check for Emacs version.
 (let ((x   (if (not (string-lessp emacs-version "24.4"))
       "ok"
-    (format "Tramp 2.4.3.5 is not fit for %s"
+    (format "Tramp 2.4.4 is not fit for %s"
             (replace-regexp-in-string "\n" "" (emacs-version))))))
   (unless (string-equal "ok" x) (error "%s" x)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]