unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally
@ 2010-09-17 14:13 Drew Adams
  2010-09-17 15:38 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs Michael Albinus
  2010-09-26  0:17 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally Juanma Barranquero
  0 siblings, 2 replies; 7+ messages in thread
From: Drew Adams @ 2010-09-17 14:13 UTC (permalink / raw)
  To: 7055

Actually, this Tramp bug prevents me from being able to use Emacs at all - the
error pops up all of the time.

emacs -Q
 
In *scratch*, call file-remote-p with a remote file name (can be a fictitious
file):
 
(file-remote-p "/foo-2.foo.com:/usr/share/emacs/21.3/lisp/README")
 
You get this error:
 
 "Symbol's function definition is void: tramp-compat-call-process)"
 
Note: For some reason "SimonTatham" seems to be hard-coded here. Never heard of
him.
 
Debugger entered--Lisp error: (void-function tramp-compat-call-process)
  tramp-compat-call-process("reg" nil nil nil "query"
"HKEY_CURRENT_USER\\Software\\SimonTatham\\PuTTY\\Sessions")
  tramp-set-completion-function("plinkx" ((tramp-parse-putty
"HKEY_CURRENT_USER\\Software\\SimonTatham\\PuTTY\\Sessions")))
  (progn (tramp-set-completion-function "rcp"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "scp"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp2"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp1_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp2_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsync"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsyncc"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "remcp"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "rsh"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "ssh"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh2"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh1_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh2_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "remsh"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "telnet"
tramp-completion-function-alist-telnet) (tramp-set-completion-function "su"
tramp-completion-function-alist-su) (tramp-set-completion-function "sudo"
tramp-completion-function-alist-su) (tramp-set-completion-function "scpx"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "sshx"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "krlogin"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "plink"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "plink1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "plinkx"
tramp-completion-function-alist-putty) (tramp-set-completion-function "pscp"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "fcp"
tramp-completion-function-alist-ssh))
  eval((progn (tramp-set-completion-function "rcp"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "scp"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp2"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp1_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp2_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsync"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsyncc"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "remcp"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "rsh"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "ssh"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh2"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh1_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh2_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "remsh"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "telnet"
tramp-completion-function-alist-telnet) (tramp-set-completion-function "su"
tramp-completion-function-alist-su) (tramp-set-completion-function "sudo"
tramp-completion-function-alist-su) (tramp-set-completion-function "scpx"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "sshx"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "krlogin"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "plink"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "plink1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "plinkx"
tramp-completion-function-alist-putty) (tramp-set-completion-function "pscp"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "fcp"
tramp-completion-function-alist-ssh)))
  eval-after-load("tramp" (progn (tramp-set-completion-function "rcp"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "scp"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp2"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp1_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scp2_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsync"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsyncc"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "remcp"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "rsh"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "ssh"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh2"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh1_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "ssh2_old"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "remsh"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "telnet"
tramp-completion-function-alist-telnet) (tramp-set-completion-function "su"
tramp-completion-function-alist-su) (tramp-set-completion-function "sudo"
tramp-completion-function-alist-su) (tramp-set-completion-function "scpx"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "sshx"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "krlogin"
tramp-completion-function-alist-rsh) (tramp-set-completion-function "plink"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "plink1"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "plinkx"
tramp-completion-function-alist-putty) (tramp-set-completion-function "pscp"
tramp-completion-function-alist-ssh) (tramp-set-completion-function "fcp"
tramp-completion-function-alist-ssh)))
  tramp-file-name-handler(file-remote-p
"/foo-2.foo.com:/usr/share/emacs/21.3/lisp/README" nil nil)
  file-remote-p("/foo-2.foo.com:/usr/share/emacs/21.3/lisp/README")
  eval((file-remote-p "/foo-2.foo.com:/usr/share/emacs/21.3/lisp/README"))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)
 
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/Emacs-24-2010-09-13/etc/DEBUG.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-09-13 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'







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

* bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs
  2010-09-17 14:13 bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally Drew Adams
@ 2010-09-17 15:38 ` Michael Albinus
  2010-09-17 15:59   ` Drew Adams
  2010-09-17 16:28   ` Eli Zaretskii
  2010-09-26  0:17 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally Juanma Barranquero
  1 sibling, 2 replies; 7+ messages in thread
From: Michael Albinus @ 2010-09-17 15:38 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7055

Drew Adams <drew.adams@oracle.com> writes:

> Actually, this Tramp bug prevents me from being able to use Emacs at all 
> - the
> error pops up all of the time.
>
> emacs -Q
>
> In *scratch*, call file-remote-p with a remote file name (can be a 
> fictitious
> file):
>
> (file-remote-p "/foo-2.foo.com:/usr/share/emacs/21.3/lisp/README")
>
> You get this error:
>
>   "Symbol's function definition is void: tramp-compat-call-process)"

Under GNU/Linux, it is not reproducible. I will try to hijack a Windows
machine, in order to reproduce.

In the meantime, does it help to evaluate first (require 'tramp) in the
scratch buffer?

> Note: For some reason "SimonTatham" seems to be hard-coded here. Never 
> heard of
> him.

He's the author of PuTTY. He uses his (own) name for storing values in
the Windows registry.

Best regards, Michael.





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

* bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs
  2010-09-17 15:38 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs Michael Albinus
@ 2010-09-17 15:59   ` Drew Adams
  2010-09-17 16:28   ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Drew Adams @ 2010-09-17 15:59 UTC (permalink / raw)
  To: 'Michael Albinus'; +Cc: 7055

> Under GNU/Linux, it is not reproducible. I will try to hijack 
> a Windows machine, in order to reproduce.
> 
> In the meantime, does it help to evaluate first (require 
> 'tramp) in the scratch buffer?

emacs -Q

M-x load-library tramp

gives the same error.  Likewise evalling (require 'tramp).






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

* bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs
  2010-09-17 15:38 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs Michael Albinus
  2010-09-17 15:59   ` Drew Adams
@ 2010-09-17 16:28   ` Eli Zaretskii
  2010-09-17 16:52     ` Drew Adams
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2010-09-17 16:28 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 7055

> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Fri, 17 Sep 2010 17:38:57 +0200
> Cc: 7055@debbugs.gnu.org
> 
> Drew Adams <drew.adams@oracle.com> writes:
> 
> > Actually, this Tramp bug prevents me from being able to use Emacs at all 
> > - the
> > error pops up all of the time.
> >
> > emacs -Q
> >
> > In *scratch*, call file-remote-p with a remote file name (can be a 
> > fictitious
> > file):
> >
> > (file-remote-p "/foo-2.foo.com:/usr/share/emacs/21.3/lisp/README")
> >
> > You get this error:
> >
> >   "Symbol's function definition is void: tramp-compat-call-process)"
> 
> Under GNU/Linux, it is not reproducible. I will try to hijack a Windows
> machine, in order to reproduce.

And I cannot reproduce this on today's build on Windows.  It works
okay for me.

Since Drew uses precompiled binaries from a few days ago, I'm guessing
that this is due to the problems with Tramp loaddefs, which was fixed
by Juanma.  Or maybe some other similar problem.

Drew, do you see in lisp/ChangeLog this entry:

  2010-09-13  Juanma Barranquero  <lekktu@gmail.com>

	  Port tramp-related Makefile changes of revnos 101381, 101422 to Windows.
	  * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
	  (TRAMP_SRC): New macro.
	  ($(lisp)/net/tramp-loaddefs.el): New target.





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

* bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs
  2010-09-17 16:28   ` Eli Zaretskii
@ 2010-09-17 16:52     ` Drew Adams
  2010-09-17 16:58       ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2010-09-17 16:52 UTC (permalink / raw)
  To: 'Eli Zaretskii', 'Michael Albinus'; +Cc: 7055

> Drew, do you see in lisp/ChangeLog this entry:
> 
>   2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
> 
> 	  Port tramp-related Makefile changes of revnos 101381, 
> 101422 to Windows.
> 	  * makefile.w32-in (LOADDEFS): Add 
> $(lisp)/net/tramp-loaddefs.el.
> 	  (TRAMP_SRC): New macro.
> 	  ($(lisp)/net/tramp-loaddefs.el): New target.

Nope. This is all I see for that date:

2010-09-13  Daiki Ueno  <ueno@unixuser.org>

	* epa-file.el (epa-file-insert-file-contents): If visiting, bind
	buffer-file-name to avoid file-locking.  (Bug#7026)

2010-09-13  Julien Danjou  <julien@danjou.info>

	* notifications.el (notifications-notify): Add support for
	image-path and sound-name.
	(notifications-specification-version): Add this variable.

So you're probably right.  Feel free to close the bug, if that's the case.






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

* bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs
  2010-09-17 16:52     ` Drew Adams
@ 2010-09-17 16:58       ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2010-09-17 16:58 UTC (permalink / raw)
  To: Drew Adams; +Cc: michael.albinus, 7055

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <7055@debbugs.gnu.org>
> Date: Fri, 17 Sep 2010 09:52:11 -0700
> 
> > Drew, do you see in lisp/ChangeLog this entry:
> > 
> >   2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
> > 
> > 	  Port tramp-related Makefile changes of revnos 101381, 
> > 101422 to Windows.
> > 	  * makefile.w32-in (LOADDEFS): Add 
> > $(lisp)/net/tramp-loaddefs.el.
> > 	  (TRAMP_SRC): New macro.
> > 	  ($(lisp)/net/tramp-loaddefs.el): New target.
> 
> Nope. This is all I see for that date:
> 
> 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
> 
> 	* epa-file.el (epa-file-insert-file-contents): If visiting, bind
> 	buffer-file-name to avoid file-locking.  (Bug#7026)
> 
> 2010-09-13  Julien Danjou  <julien@danjou.info>
> 
> 	* notifications.el (notifications-notify): Add support for
> 	image-path and sound-name.
> 	(notifications-specification-version): Add this variable.
> 
> So you're probably right.  Feel free to close the bug, if that's the case.

I prefer to wait until you have a later binary and can verify that the
bug is gone.  With the plethora of methods used by Tramp, you can
never know: maybe the bug is in some method that isn't run on my
machine (although I did try using the `plink' method directly as well).





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

* bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally
  2010-09-17 14:13 bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally Drew Adams
  2010-09-17 15:38 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs Michael Albinus
@ 2010-09-26  0:17 ` Juanma Barranquero
  1 sibling, 0 replies; 7+ messages in thread
From: Juanma Barranquero @ 2010-09-26  0:17 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7055

On Fri, Sep 17, 2010 at 16:13, Drew Adams <drew.adams@oracle.com> wrote:

> Note: For some reason "SimonTatham" seems to be hard-coded here. Never heard of
> him.

The author of PuTTY.

    Juanma





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

end of thread, other threads:[~2010-09-26  0:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-17 14:13 bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally Drew Adams
2010-09-17 15:38 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs Michael Albinus
2010-09-17 15:59   ` Drew Adams
2010-09-17 16:28   ` Eli Zaretskii
2010-09-17 16:52     ` Drew Adams
2010-09-17 16:58       ` Eli Zaretskii
2010-09-26  0:17 ` bug#7055: Tramp bug: file-remote-p is now broken, breaks Emacs generally Juanma Barranquero

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).