I'm using Aquamacs, a distro of GNU Emacs 188.8.131.52.
I'm looking at some source files written with some comments in Greek, and they are encoded in CP1253.
And, I can either revert with the proper encoding or I can add a file local variable:
/* -*- mode: c-mode; tab-width: 4; coding: cp1253-unix; -*- */
So I can get them to open properly, and I could certainly tack on file variables to each file.
But I'd like to set the coding for the whole directory. Rather than editing .dir-locals.el by hand, I thought I'd simply:
From the file that opened correctly. And that generates:
;;; Directory Local Variables ;;; See Info node `(emacs) Directory Variables' for more information. ((c-mode (tab-width . 4) (coding . cp1253-unix)))
No dice. Yet it clearly recognizes the new tab-width, so it's reading the file.
Any ideas why? And is there any log as emacs is processing the a-list?