tracing Emacs Tramp

https://www.emacswiki.org/emacs/TrampMode#toc25 – Helpful variables you can set for debugging (possibly outdated) https://www.gnu.org/software/tramp/ https://www.gnu.org/software/tramp/#Traces-and-Profiles

Published
Categorised as emacs Tagged

tramp says: “Cannot find local copy program: pscp” – but that does not mean there is something wrong with your emacs/tramp/PuTTY set-up

Every now and then I come across this error message: Cannot find local copy program: pscp This only occurs for “bigger” files (e.g. a 40k file), not for small files, because small files are being dealt with by plink. tramp-do-copy-or-rename-file-out-of-band (in lisp/net/tramp-sh.el) tries to find the copy-program on exec-path instead of PATH, so we have… Continue reading tramp says: “Cannot find local copy program: pscp” – but that does not mean there is something wrong with your emacs/tramp/PuTTY set-up

if saving a file through emacs’s “tramp” is not successful …

On Windows …: PLINK.EXE is part of the PuTTY family, and it’s the utility tramp is communicating through. (You do know that, as tramp does not set itself up to make use of PuTTY.) On all platforms: Burying the tramp buffer in question is actually my 1st approach on all platforms (Linux/Mac/Windows), whenever tramp communication seems… Continue reading if saving a file through emacs’s “tramp” is not successful …

Emacs and VC AKA Version Control and an excessive list of handled backends — the 2016-01 update

http://www.gnu.org/software/emacs/manual/html_node/emacs/Customizing-VC.html I am accessing files remotely from within Emacs through Tramp over mobile Internet. I just remembered, how many file checks Emacs’ VC library does, if you don’t cut down its list vc-handled-backends. For every single backend listed there “we” are doing a “repository check”. Maybe that’s fast in a LAN, it may even be rather fast… Continue reading Emacs and VC AKA Version Control and an excessive list of handled backends — the 2016-01 update

emacs/tramp/win/putty: what versions to choose in January 2016

“Windows 7 Professional” is set – because that’s the current company standard http://www.gnu.org/software/emacs/windows/ – the latest released version was fine for me: 25.0.50.1 – I am always happy to get and try the very latest released version http://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Downloading.html http://ftp.gnu.org/gnu/emacs/windows/ !!!!! https://sourceforge.net/projects/emacs-bin/files/snapshots/ !!! tramp – as packaged with the emacs at the location just referred to PuTTY to be… Continue reading emacs/tramp/win/putty: what versions to choose in January 2016

emacs/tramp/win/putty: what versions to choose in March/April 2014

After completing my recent “incident article” on emacs/tramp/win/putty [link], I thought I should prepare an article with a clear subject resp. statement. This is it. I sort of think resp. hope, that all currently released versions work together well. But PuTTY-0.63 breaks this expectation. “Windows 7 Professional” is set – because that’s the current company… Continue reading emacs/tramp/win/putty: what versions to choose in March/April 2014

emacs/tramp/win/putty: one of the pieces involved kept removing Unix file permissions — solved!

http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html : 0.63 (released 2013-08-06) : Unix: PSCP and PSFTP now preserve the Unix file permissions, on copies in both directions. For quite a while whenever I edited a remote executable file (using emacs/tramp/putty on Windows), the file lost its executable privilige bit. Looks like that issue got solved with 0.63. What a relief! The very arrogant… Continue reading emacs/tramp/win/putty: one of the pieces involved kept removing Unix file permissions — solved!

emacs/tramp/win/putty: “Fatal: Received unexpected end-of-file from server”

Short story – what (released) versions to choose: The combination emacs/tramp/putty on Windows does not work with the released PuTTY-0.63. Use either PuTTY-0.62 or a PuTTY development snapshot, r10016 works for me. http://www.gnu.org/software/emacs/windows/ – the latest released version was fine for me: 24.3.1 – I am always happy to get the very latest released version tramp –… Continue reading emacs/tramp/win/putty: “Fatal: Received unexpected end-of-file from server”

emacs/tramp/win/putty: “byte-code: couldn’t find a proper ‘ls’ command”

The PC at “my” desk at my customer’s site just got migrated from WinXP to win7, and I have to re-install and re-configure a couple of packages, and now I have trouble re-adopting tramp. Having to deal with tramp always brings Michael Albinus to my mind. I only met him during one week in 1988… Continue reading emacs/tramp/win/putty: “byte-code: couldn’t find a proper ‘ls’ command”