From: Norman Gray <Norman.Gray@glasgow.ac.uk>
To: "36090@debbugs.gnu.org" <36090@debbugs.gnu.org>
Subject: bug#36090: Update: A case where this isn't a problem
Date: Tue, 4 Jun 2019 16:10:53 +0000 [thread overview]
Message-ID: <830B1818-49E9-4D2E-B074-9BBB543CA058@glasgow.ac.uk> (raw)
In-Reply-To: <6DD5CBFD-B32C-428F-A882-43ECBCC377C3@glasgow.ac.uk>
Update:
Oddly, this appears not to be a problem if I use Tramp to open a file
/scp:localhost#2222:path/to/file.txt -- this is a file on a VM (FreeBSD
as it happens) running on localhost, and with the ssh port NATted to
local port 2222. In this case, file.txt can be either
version-controlled or not.
Below, I've reverted to Tramp 2.4.1, which is the version of Tramp
built-in to this emacs.
Relevant contents of the *Messages* buffer, with tramp-verbose set to
10:
Tramp: Inserting
‘/scp:localhost#2222:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’...
Tramp: Encoding remote file
‘/scp:localhost#2222:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’
with ‘(env GZIP= gzip <%s | openssl enc -base64)’...done
Tramp: Decoding local file
‘/var/folders/f5/vh0d0ls94_j5s4bv49sz90s40000gn/T/tramp.PQpLR4.c’
with ‘(lambda (beg end) (base64-decode-region beg end) (let
((coding-system-for-write (quote binary)) (coding-system-for-read (quote
binary))) (apply (quote tramp-call-process-region) (quote
(tramp-file-name scp nil nil localhost 2222
/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c nil))
(point-min) (point-max) (car (split-string env GZIP= gzip -d)) t t nil
(cdr (split-string env GZIP= gzip -d)))))’...done
Tramp: Inserting
‘/scp:localhost#2222:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’...done
Tramp: Checking ‘vc-registered’ for
/scp:localhost#2222:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c...done
Tramp: Inserting
‘/scp:localhost#2222:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’...done
Just to confirm, for the other remote case, also with tramp-verbose set
to 10...
Tramp: Opening connection for helium using scp...
Tramp: Sending command ‘exec ssh -o ControlMaster=auto -o
ControlPath='tramp.%C' -o ControlPersist=no -e none helium’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘helium’
Tramp: Opening connection for helium using scp...done
Tramp: Inserting
‘/scp:helium:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’...
Tramp: Encoding remote file
‘/scp:helium:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’
with ‘(env GZIP= gzip <%s | openssl enc -base64)’...done
Tramp: Decoding local file
‘/var/folders/f5/vh0d0ls94_j5s4bv49sz90s40000gn/T/tramp.FZ1PVN.c’
with ‘(lambda (beg end) (base64-decode-region beg end) (let
((coding-system-for-write (quote binary)) (coding-system-for-read (quote
binary))) (apply (quote tramp-call-process-region) (quote
(tramp-file-name scp nil nil helium nil
/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c nil))
(point-min) (point-max) (car (split-string env GZIP= gzip -d)) t t nil
(cdr (split-string env GZIP= gzip -d)))))’...done
Tramp: Inserting
‘/scp:helium:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’...done
;;;; hang here, then C-g
Tramp: Checking ‘vc-registered’ for
/scp:helium:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c...done
Tramp: Inserting
‘/scp:helium:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’...done
Tramp: Checking ‘vc-registered’ for
/scp:helium:/usr/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c...done
Tramp: Inserting
‘/scp:helium:/home/norman/checkouts/itm/sso/misc/ldap-info-wrapper.c’...done
Quit
--
Norman Gray : https://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK
next prev parent reply other threads:[~2019-06-04 16:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 13:12 bug#36090: 26.1; Tramp hanging when writing version-controlled file Norman Gray
2019-06-04 16:10 ` Norman Gray [this message]
2019-06-05 9:50 ` bug#36090: Update: A case where this isn't a problem Michael Albinus
2019-06-05 9:47 ` bug#36090: 26.1; Tramp hanging when writing version-controlled file Michael Albinus
2019-06-10 11:19 ` Norman Gray
2019-06-10 13:09 ` Michael Albinus
2019-06-24 16:21 ` Norman Gray
2019-07-16 14:44 ` Michael Albinus
2019-08-15 12:43 ` Michael Albinus
2019-09-08 10:03 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=830B1818-49E9-4D2E-B074-9BBB543CA058@glasgow.ac.uk \
--to=norman.gray@glasgow.ac.uk \
--cc=36090@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).