Questions tagged [directory-local-variables]

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
393 views

How to mark risky variable as safe?

I have some customization in my .dir-locals.el. Some of variables set there are unsafe and when I set them and visit some file in dir for the first time Emacs nicely asks me to save their name-value ...
2
votes
0answers
89 views

Setting org-babel-load-languages in .dir-locals.el

As per the title, I'd like to set the org-babel-load-languages (to contain ditaa and calc languages) for a specific project only. The only solution I found so far is this one ( (org-mode . ...
2
votes
0answers
199 views

How to set indentation style substatement-open offset parameter from .dir-locals.el?

Within CC mode, for C and C++ files inside a directory, I'd like to have the open braces following a case/do/for/if/while not indented, whatever the style is and without having to change anything in ....
2
votes
0answers
76 views

Evaluation of .dir-locals.el in shell?

I observed that directory local variables, defined in .dir-locals.el, are set for files, dired-buffers, new buffers, but not for shell or eshell buffers (well, that is also the case for buffers ...
2
votes
0answers
90 views

org-journal-mode new entry ignores .dir-locals.el

I am using org-journal-mode. I have created .dir-locals.el in my ~/Documents/journal directory and it gets correctly applied if I open a file the usual way. However, if I hit the C-xC-j to add a new ...
1
vote
0answers
313 views

Why are my .dir-locals not being applied even though they are loaded

Still on a never ending quest to get per project settings working for python using tramp and .dir-locals. Hitting a strange problem when I open a buffer I am asked if i would like to run my .dir-...
0
votes
0answers
17 views

Is eval/mode removed from dir local special keys?

I put into .dir-locals.el: ((nil . ((eval . (message "OK"))))) I don't see message when I revert-buffer for file in directory. I can't find docs about eval + mode in Emacs v25 info. Are those ...