unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7169: cannot specify coding via dir-locals
@ 2010-10-06 19:39 Glenn Morris
  2010-10-06 20:49 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2010-10-06 19:39 UTC (permalink / raw)
  To: 7169

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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-10-07 13:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 19:39 bug#7169: cannot specify coding via dir-locals Glenn Morris
2010-10-06 20:49 ` Eli Zaretskii
2010-10-06 21:00   ` Glenn Morris
2010-10-07  3:53     ` Eli Zaretskii
2010-10-07  4:18       ` Glenn Morris
2010-10-07  4:20         ` Glenn Morris
2010-10-07 13:44         ` Eli Zaretskii
2010-10-07  8:04   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).