all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs tramp from Windows via plink - stopped working at version 24.3
@ 2013-04-17 16:22 Buchs, Kevin
  2013-04-17 20:56 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Buchs, Kevin @ 2013-04-17 16:22 UTC (permalink / raw)
  To: help-gnu-emacs

I just had started making use of tramp for editing of remote files from
my MS Windows machine and then I upgraded emacs to 24.3 and it stopped
working. The ultimate message delivered when trying to open a file is:
"Couldn't find a proper `ls' command". This stackoverflow question
(http://stackoverflow.com/questions/15540223/emacs-24-3-for-windows-tram
p-byte-code-couldnt-find-a-proper-ls-command) addresses it, but it seems
the best answer given is to upgrade tramp. I was under the impression
that tramp was integrated with emacs. It seems there is a problem with
the insertion of a Windows drive letter into the remote file path.

I (setq tramp-verbose 10) and tried to open /home/user/iter.sh. Here is
the last section of the debug output (the full output is available upon
request):

11:02:22.316000 tramp-get-connection-property (7) # process-buffer nil
11:02:22.317000 tramp-set-file-property (8) # c:/home/user/iter.sh
file-directory-p nil
11:02:22.317000 tramp-get-file-property (8) # c:/home/user/iter.sh
file-truename undef
11:02:22.318000 tramp-sh-handle-file-truename (4) # Finding true name
for `/plink:user@machine:c:/home/user/iter.sh'
11:02:22.318000 tramp-get-connection-property (7) # readlink nil
11:02:22.318000 tramp-get-connection-property (7) # perl nil
11:02:22.318000 tramp-sh-handle-file-truename (5) # Check /c:
11:02:22.318000 tramp-get-file-property (8) # c:/c:
file-attributes-integer undef
11:02:22.319000 tramp-get-connection-property (7) # stat nil
11:02:22.319000 tramp-get-connection-property (7) # perl nil
11:02:22.319000 tramp-do-file-attributes-with-ls (5) # file attributes
with ls: c:/c:
11:02:22.319000 tramp-get-connection-property (7) # file-exists test -e
11:02:22.319000 tramp-get-connection-property (7) # test test
11:02:22.319000 tramp-get-connection-property (7) # ls undef
11:02:22.319000 tramp-get-ls-command (5) # Finding a suitable `ls'
command
11:02:22.320000 tramp-get-connection-property (7) # remote-path nil
11:02:22.320000 tramp-get-connection-property (7) # remote-path nil
11:02:22.320000 tramp-get-connection-property (7) # remote-path nil
11:02:22.320000 tramp-get-ls-command (1) # File error: Couldn't find a
proper `ls' command

The last comment at stackoverflow asks about filing a bug report.
Perhaps this has already been done.

Kevin Buchs | Senior Engineer | SPPDG | 507-538-5459 |
buchs.kevin@mayo.edu
Mayo Clinic | 200 First Street SW | Rochester, MN 55905 |
http://www.mayo.edu



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs tramp from Windows via plink - stopped working at version 24.3
  2013-04-17 16:22 emacs tramp from Windows via plink - stopped working at version 24.3 Buchs, Kevin
@ 2013-04-17 20:56 ` Michael Albinus
  2013-04-17 21:15   ` Buchs, Kevin
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2013-04-17 20:56 UTC (permalink / raw)
  To: Buchs, Kevin; +Cc: help-gnu-emacs

"Buchs, Kevin" <buchs.kevin@mayo.edu> writes:

Hi,

> I just had started making use of tramp for editing of remote files from
> my MS Windows machine and then I upgraded emacs to 24.3 and it stopped
> working. The ultimate message delivered when trying to open a file is:
> "Couldn't find a proper `ls' command". This stackoverflow question
> (http://stackoverflow.com/questions/15540223/emacs-24-3-for-windows-tram
> p-byte-code-couldnt-find-a-proper-ls-command) addresses it,

That's right. The corresponding Emacs bug report is <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14030>

> The last comment at stackoverflow asks about filing a bug report.
> Perhaps this has already been done.

Yes. And that bug report tells also about a workaround: "As a
work-around, byte-compile tramp-sh.el on Windows, and the problem will
disappear."

> Kevin Buchs

Best regards, Michael.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: emacs tramp from Windows via plink - stopped working at version 24.3
  2013-04-17 20:56 ` Michael Albinus
@ 2013-04-17 21:15   ` Buchs, Kevin
  0 siblings, 0 replies; 3+ messages in thread
From: Buchs, Kevin @ 2013-04-17 21:15 UTC (permalink / raw)
  To: Michael Albinus; +Cc: help-gnu-emacs

Michael,

Thanks. Works for me!

Kevin Buchs | Senior Engineer | SPPDG | 507-538-5459 |
buchs.kevin@mayo.edu
Mayo Clinic | 200 First Street SW | Rochester, MN 55905 |
http://www.mayo.edu



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-17 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 16:22 emacs tramp from Windows via plink - stopped working at version 24.3 Buchs, Kevin
2013-04-17 20:56 ` Michael Albinus
2013-04-17 21:15   ` Buchs, Kevin

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.