[Top][All Lists]

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

Re: Can tramp load .dir-locals.el in a project?

From: Michael Albinus
Subject: Re: Can tramp load .dir-locals.el in a project?
Date: Thu, 20 May 2010 21:32:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Leo <address@hidden> writes:

> I ended it up redefining hack-dir-local-variables which seems to be the
> only way around it. I haven't noticed much performance difference. I
> suppose if they limit the directory search level to something like 5, it
> shouldn't be a problem. But disabling is overreacting.

We have had a similar problem with vc-registered, which was not well
suited for the remote case. Tramp has now a special handling for this
which is much more performant. But this was only possible, because
vc-registered is a magic file operations, which allows invocation of a

If there would be a similar primitive for handling .dir-locals, we could
apply another special handling as well. But as long as Tramp is not
involved by calling a handler, we cannot do anything.

> Leo

Best regards, Michael.

reply via email to

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