GNU bug report logs - #7169
cannot specify coding via dir-locals

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 6 Oct 2010 19:37:02 UTC

Severity: normal

Merged with 13029

Found in version 24.3.50

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: 7169 <at> debbugs.gnu.org
Subject: bug#7169: cannot specify coding via dir-locals
Date: Wed, 06 Oct 2010 15:39:29 -0400
Package: emacs

I added:

  (coding . utf-8)

to the change-log-mode section in the Emacs .dir-locals.el file, then did

 ./src/emacs -Q lisp/ChangeLog.1

The file was opened in undecided-unix. I was hoping to be able to
remove the "coding: utf-8" that many of the Emacs ChangeLog files
(but not that particular example) have.

It seems `find-auto-coding' handles the coding: cookie independently
of the local-variables mechanism. It would be nice if it would check
for a directory-local coding if no file-local setting is found.




This bug report was last modified 12 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.