From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bostjanv@alum.mit.edu Newsgroups: gmane.emacs.help Subject: Re: utf-8-dos files on Linux Date: Mon, 8 Jun 2009 03:14:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <47057f78-0fe1-4f53-8f29-6be63f00f768@k38g2000yqh.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244469563 11975 80.91.229.12 (8 Jun 2009 13:59:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2009 13:59:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 08 15:59:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MDfNg-0007Ls-L7 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2009 15:59:20 +0200 Original-Received: from localhost ([127.0.0.1]:41365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDfNf-0007tm-RY for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2009 09:59:19 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k38g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 95.176.166.243 Original-X-Trace: posting.google.com 1244456081 16860 127.0.0.1 (8 Jun 2009 10:14:41 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 8 Jun 2009 10:14:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k38g2000yqh.googlegroups.com; posting-host=95.176.166.243; posting-account=VAixFgoAAAC-lbg2_mXj0IQVepvbNWvH User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169801 X-Mailman-Approved-At: Mon, 08 Jun 2009 09:57:28 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65042 Archived-At: On Jun 7, 3:12=A0pm, Peter Dyballa wrote: > Am 07.06.2009 um 13:17 schrieb Bostjan Vilfan: > > >> I can't get rid of the M characters at the end of =A0 > >> lines in the display. I placed > >> -*- coding: utf-8-dos-*- > > This inverted v is the CARET character ^ or CIRCUMFLEX ACCENT at U > +005E, which, in combination with other characters, stands in a GNU =A0 > Emacs buffer for display (presentation) of Control-. > > The correct syntax would be: > > =A0 =A0 =A0 =A0 -*- coding: utf-8-dos; -*- > > Notice the final ``;=B4=B4 which actually ends the assignment. > > -- > Greetings > > =A0 =A0Pete > > Almost anything is easier to get into than out of. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =96 Allen= 's Law Thanks for your help with my Emacs problem. To repeat: The problem was that it seemed that the "-*- coding: utf-8-dos; -*-" specification in the first line of a file had no effect. After receiving your posts I went back to the manual, and it turned out that the Emacs variable inhibit-eol-conversion was set to a non nil value on my system. After setting it to the value nil in my .gnu-emacs-custom file, the editing of dos text files was possible. Regards, bostjanv