[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: Leo
Subject: Re: Can tramp load .dir-locals.el in a project?
Date: Thu, 20 May 2010 18:16:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2010-05-20 17:04 +0100, Michael Albinus wrote:
> Leo <address@hidden> writes:
>> Hello,
> Hi,
>> I have a .dir-locals.el file that defines some settings. Unfortunately
>> it doesn't seem to be recognised by tramp. Is this possible? Thanks
> It is disabled by intention. See (info "(emacs)Directory Variables")
> | If you put a file with a special name `.dir-locals.el'(1) in a
> | directory, Emacs will read it when it visits any file in that directory
> | or any of its subdirectories, and apply the settings it specifies to
> | the file's buffer.  Emacs searches for `.dir-locals.el' starting in the
> | directory of the visited file, and moving up the directory tree.  (To
> | avoid slowdown, this search is skipped for remote files.)
> I wouldn't like to overrule this on my own. If you believe it is
> important, you might ask on the emacs-devel mailing list for this. Maybe
> one could enable this by a custom variable.

hack-dir-local-variables disables it. OK I suppose I can change it a bit
if I really need to. The manual seems suggest a way around this. I will
see what can be done. Thanks.

>> Leo
> Best regards, Michael.


reply via email to

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