Dave Abrahams | 2 Jul 2012 18:59
Picon
Picon
Favicon
Gravatar

tramp (2.2.5-pre); Unknown file I/O primitive


Enter your bug report in this message, including as much detail
as you possibly can about the problem, what you did to cause it
and what the local and remote machines are.

If you can give a simple set of instructions to make this bug
happen reliably, please include those.  Thank you for helping
kill bugs in Tramp.

Before reproducing the bug, you might apply

  M-x tramp-cleanup-all-connections

This allows to investigate from a clean environment.  Another
useful thing to do is to put

  (setq tramp-verbose 9)

in the ~/.emacs file and to repeat the bug.  Then, include the
contents of the *tramp/foo* buffer and the *debug tramp/foo*
buffer in your bug report.

--bug report follows this line--


--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "unknown file I/O primitive: file-in-directory-p")
  signal(error ("unknown file I/O primitive: file-in-directory-p"))
  error("unknown file I/O primitive: %s" file-in-directory-p)
  tramp-file-name-for-operation(file-in-directory-p "/sudo:root <at> localhost:/opt/local/etc/postfix/" "/sudo:root <at> localhost:/etc/postfix/certs")
(Continue reading)

Michael Albinus | 2 Jul 2012 20:31
Picon
Picon
Gravatar

Re: tramp (2.2.5-pre); Unknown file I/O primitive

Dave Abrahams <dave <at> boostpro.com> writes:

> Debugger entered--Lisp error: (error "unknown file I/O primitive: file-in-directory-p")
>
> Emacs  : GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, Carbon Version 1.6.0 AppKit 1138.47)
>  of 2012-06-27 on pluto.luannocracy.com
> Package: tramp (2.2.5-pre)

This is solved in Tramp 2.2.5, by

2012-04-01  Chong Yidong  <cyd <at> gnu.org>

	* tramp.el (tramp-file-name-for-operation): Rename
	file-subdir-of-p to file-in-directory-p.

Best regards, Michael.

PS: I will work on your other report tomorrow.

Gmane