[Top][All Lists]

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

Re: Reverting *Locate* buffers.

From: Michael Albinus
Subject: Re: Reverting *Locate* buffers.
Date: Thu, 29 Jun 2006 23:58:08 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"T. V. Raman" <address@hidden> writes:

> While on the error message regarding tramp, I've found that tramp
> being around causes *a lot* of recursive expand file calls ---
> try running edebug on anything that calls expand-file-name to see
> what I mean.
> Basically, tramp should only fire on the  "head" of the path
> being expanded -- at present it appears to fire for *each* path
> component. 

That happens in `file-truename'. Every path component must be checked
for being a symlink. During this check, other primitive file name
operations are called, which call then `expand-file-name'.

In Tramp 2.1, several file name operations cache their result;
therefore much less calls are necessary.

Best regards, Michael.

reply via email to

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