From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#7169: cannot specify coding via dir-locals Date: Wed, 06 Oct 2010 15:39:29 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286394128 10415 80.91.229.12 (6 Oct 2010 19:42:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Oct 2010 19:42:08 +0000 (UTC) To: 7169@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 06 21:42:07 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P3ZsM-0006Sx-Lb for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Oct 2010 21:42:07 +0200 Original-Received: from localhost ([127.0.0.1]:36554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3ZsK-0000n5-J8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Oct 2010 15:42:04 -0400 Original-Received: from [140.186.70.92] (port=37655 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3Zs9-0000kI-L3 for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2010 15:41:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3Zs6-0006qF-Qa for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2010 15:41:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3Zs6-0006qB-Oh for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2010 15:41:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P3ZnS-0008Me-BX; Wed, 06 Oct 2010 15:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Oct 2010 19:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128639377932142 (code B ref -1); Wed, 06 Oct 2010 19:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Oct 2010 19:36:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3Zml-0008MN-9v for submit@debbugs.gnu.org; Wed, 06 Oct 2010 15:36:19 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3Zmj-0008MG-Hy for submit@debbugs.gnu.org; Wed, 06 Oct 2010 15:36:18 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P3Zpp-0003Oz-Gz; Wed, 06 Oct 2010 15:39:29 -0400 X-Spook: Sundevil Abbas covert video AFSPC Agfa Compsec SWAT John X-Ran: J*e{{b})6P*(isQN)xI{,ov28^v13E(`L|Q List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40725 Archived-At: 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.