http://codereview.appspot.com/6460109/diff/3001/.dir-locals.el
File .dir-locals.el (right):

http://codereview.appspot.com/6460109/diff/3001/.dir-locals.el#newcode6
.dir-locals.el:6: (indent-tabs-mode))
On 2012/08/19 16:02:31, Graham Percival wrote:
Does this mean what I think it means?

No, it doesn't.  This is an association list written out by Emacs'
add-dir-local-variable command.  If it would have been written by hand,
this line would better have looked like
  (indent-tabs-mode . nil)
In Lisp, nil serves all the purposes that '() _and_ #f serve
in Scheme.  So this line turns _off_ indent-tabs-mode.  Turning it _on_
in this context would have looked like
  (indent-tabs-mode . t)
instead.  That (indent-tabs-mode) is a rather confusing print form for
(indent-tabs-mode . nil) might be one reason that Scheme decided to have
a "false" boolean separate from '().

We should have *no* tabs in C++ files
(decided in last year's GOP).

[Further complaint elided for brevity]

Substituting the equivalent longer form for the sake of human
readability is not likely a good idea since every additional call of
add-dir-local-variable will again rewrite it in the short form.
Similarly for adding a manual comment.

You'll just have to live with it.  This file is not really intended for
human consumption, anyway.

http://codereview.appspot.com/6460109/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to