On 2010-05-20 17:04 +0100, Michael Albinus wrote: > Leo <[email protected]> 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. Leo _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
