tramp-devel
[Top][All Lists]
Advanced

[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 18:04:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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.

> Leo

Best regards, Michael.



reply via email to

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