From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: how to set file coding system but using per directory variables Date: Tue, 04 Mar 2014 08:04:26 +0100 Message-ID: <53157AFA.4060304@easy-emacs.de> References: <53157760.1020502@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1393916427 2120 80.91.229.3 (4 Mar 2014 07:00:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2014 07:00:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 04 08:00:36 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WKjL9-00089z-AT for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2014 08:00:35 +0100 Original-Received: from localhost ([::1]:43445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKjL8-0004ab-TU for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2014 02:00:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKjKl-0004Vl-6D for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 02:00:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKjKc-0000R8-TD for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 02:00:11 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.13]:62550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKjKc-0000OZ-Il for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 02:00:02 -0500 Original-Received: from purzel.sitgens (brln-4dba6b41.pool.mediaWays.net [77.186.107.65]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0MZDuG-1WdM7A3E4q-00Kvsv; Tue, 04 Mar 2014 08:00:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <53157760.1020502@easy-emacs.de> X-Provags-ID: V02:K0:AabIYHk2/wJ5bPa4gBPc5XAZlYQ8gE81rg/K/+Kgn4g RYZ7RS6lQic6UTe8Y1TgRmQ5RzKoQlOfzWwkTSSqGvuLIlBmNF MeZftYMELpXe7teoXb5v7n6L/ny4FQTsA5rEnCnwcghVkUUDE0 /aBqotjM+uSCOrRU0lwxqGS0l/gWIuf3FGrwVdC1Stj05c7Mnw ELOB7Brr7v8/DNMlSbJ2VecNG+KLM1tX8/M2oP8hhPcb+NRnWQ q8EQmIrYrcVtSUZt8fXU2lrqhRWbkxPsJLjGGkqPcuf6JGp9Ru tNF46RhvI95QsJAEjw4v/UzxT79o7uljy90edU7BOjKNN4hNqo M+jxZivBDZPRzFSpXUAeYLXeLhXDzzbkr9LQunn0W X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.13 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96248 Archived-At: Am 04.03.2014 07:49, schrieb Andreas Röhler: > Am 01.03.2014 13:54, schrieb Paul K: >> when I add following as first llne in a buffer it is properly interpretted >> >> -*- coding: windows-1250-dos -*- >> >> >> I don't want to add any headers to files though, so I created >> .dir-locals.el file with following content: >> ((nil . ((buffer-file-coding-system . windows-1250-dos) >> (coding-system-for-read . windows-1250-dos) >> (coding-system-for-write . windows-1250-dos)))) >> >> >> then when I open file coding system is not automatically converted, I need >> to do extra buffer reverting for declared coding system to be applied. >> >> do You have any ideas? >> >> best regards, >> > > Maybe needs a string - "windows-1250-dos" ? > > or being quoted?