From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to get rid of ^M at end of line Date: Sat, 10 Oct 2009 19:49:14 +0200 Message-ID: <04C0128E-1D0C-4859-B01B-FBE821F2A32E@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255197284 27770 80.91.229.12 (10 Oct 2009 17:54:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2009 17:54:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: bar tomas Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 10 19:54:35 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 1Mwg9I-0005J4-M0 for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Oct 2009 19:54:33 +0200 Original-Received: from localhost ([127.0.0.1]:34087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mwg9I-0007Q3-2r for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Oct 2009 13:54:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mwg8v-0007Ow-DB for help-gnu-emacs@gnu.org; Sat, 10 Oct 2009 13:54:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mwg8r-0007Mj-10 for help-gnu-emacs@gnu.org; Sat, 10 Oct 2009 13:54:09 -0400 Original-Received: from [199.232.76.173] (port=55376 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mwg8q-0007Mb-RN for help-gnu-emacs@gnu.org; Sat, 10 Oct 2009 13:54:04 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:34490) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mwg8q-0000UZ-Aj for help-gnu-emacs@gnu.org; Sat, 10 Oct 2009 13:54:04 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 4049912109E1A; Sat, 10 Oct 2009 19:49:18 +0200 (CEST) Original-Received: from [91.35.193.47] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (WEB.DE 4.110 #314) id 1Mwg4C-00026N-00; Sat, 10 Oct 2009 19:49:16 +0200 In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+xH0dHJoDMe+O44APfyYbdy+KNoxBm6eSGAR1Q hKORzbKG0HNhurtekU5cCvrn6Dp70qjPKjiLOk2aqhtr9pKZ0i NyIl/54F2zDjbeseBO0Q== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:68814 Archived-At: Am 10.10.2009 um 19:14 schrieb bar tomas: > I've noticed that Ctrl end-of-line is set to Unix when I start Emacs, > is this to blame for the ^M? Yes. > I toggle it each time back to DOS. > What should I write in my emacs init file to set Ctrl end-of-line > permanently to DOS (if this is the problem)? You could try (prefer-coding-system 'iso-latin-9-dos) -- Greetings Pete A TRUE Klingon warrior does not comment his code.