[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.1.7); 2.1.7 - revert-buffer gives "tramp-flush-file-propert

From: Michael Albinus
Subject: Re: tramp (2.1.7); 2.1.7 - revert-buffer gives "tramp-flush-file-property: Wrong type argument: stringp, nil"
Date: Sun, 22 Oct 2006 11:55:58 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Jonathan Hankins <address@hidden> writes:

> Michael,

Hi Jonathan,

> I played with it for a while in the debugger and think I found the problem.  I
> thought maybe something was getting optimized away by the byte compiler, so I
> set the "Byte Optimize" custom option to "none" and re-compiled
> tramp-cache.el.  Still fails.  Then I looked at "apropos optimize" and saw
> that, once tramp is loaded, the variables "cl-optimize-safety" and
> "cl-optimize-speed" are both defined and set to 1.  I set "cl-optimize-speed"
> to 0, re-compiled tramp-cache.el, and restarted.  Now, revert-buffer works
> correctly.  When stepping through the non-compiled tramp-cache.el, I noticed
> some cl-* functions or macros being called in "tramp-flush-file-property", so
> maybe cl-optimize-speed is optimizing something out?  When I step through the
> byte-compiled version, and cl-optimize-speed was set to 1, mush of the call
> stack that I see in the non-compiled version is missing, and I just go
> straight to tramp-flush-file-property(nil nil).
> FWIW, the cl.el from my Ubuntu emacs21-el package is 2.02.
> Hope this helps,

Oh, preloading 'cl is missing in tramp-cache.el. All the other
tramp-*.el packages have it ...

Could you, please, apply the patch below?

> -Jonathan

Best regards, Michael.

Attachment: txtcZoLSupyuo.txt
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]