From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: Annoying ^M in text files Date: 6 Sep 2002 14:06:48 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031321675 2623 127.0.0.1 (6 Sep 2002 14:14:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2002 14:14:35 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17nJsW-0000fk-00 for ; Fri, 06 Sep 2002 16:14:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17nJu3-0001Gi-00; Fri, 06 Sep 2002 10:16:07 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!news2.euro.net!uunet!ash.uu.net!news.chips.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1031321208 18626 9.2.16.245 (6 Sep 2002 14:06:48 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 6 Sep 2002 14:06:48 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: nntp.stanford.edu gnu.emacs.help:104541 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1100 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1100 The ^M is part of a DOS style end-of-line. Probably, the file was originally created on a DOS system. Typically, emacs detects a DOS end-of-line and doesn't show the ^M. Perhaps there is something in your .emacs which is turning off this feature. If you want to actually remove the ^M (not just hide them), I recommend eol-conversion.el. Boyan writes: > > could someone help me get rid off the end of line signs ^M that I see > when I open many text files? Is there an automatic configuration > line/command that could help me for a particular editing mode? I use > gnu-emacs 21.1.1 on linux. The same files seem to open right in xemacs > 21.4 that I also have. -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646