From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: mac/dos/unix newline conversion without specify from Date: Wed, 05 Dec 2007 16:05:26 +0100 Organization: Organization?!? Message-ID: <85zlwptc5l.fsf@lola.goethe.zz> References: <9fce01a5-ed79-4981-8b02-29e335b694cd@d21g2000prf.googlegroups.com> <168cd816-9fd4-49e8-a2a6-fe2ff6cf69a0@s36g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196869244 26345 80.91.229.12 (5 Dec 2007 15:40:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 15:40:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 05 16:40:53 2007 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 1IzwMf-0000ym-K9 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2007 16:40:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzwMP-0006lA-1C for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2007 10:40:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:JfCcB5hVWBM1tAkJa9MiOLQuEKs= Original-Lines: 20 Original-NNTP-Posting-Date: 05 Dec 2007 16:05:03 CET Original-NNTP-Posting-Host: e1f5b7bc.newsspool1.arcor-online.net Original-X-Trace: DXC=SLf6WQ; 9dZlf1oJaJ0@dmgic==]BZ:afn4Fo<]lROoRa4nDHegD_]Rej=mB4@k]e4lCV`H8_`hhQd^9QSCVg3dOfOIC5DBZVJ9khhg2e4[0VEblnEOCFn`j@g Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:154417 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:49846 Archived-At: Xah Lee writes: > Xah Lee wrote: > < file with classic Mac OS line endings properly? (i.e. EOL shows up as > ^M)>> > > David Reitter wrote: > < shows up as "Mac" in the mode-line.>> > > I was able to reproduce this 100% on Carbon emacs and aquamacs without > customization (emacs -q). More likely than not, you have a file with inconsistent line end characters. In that case, Emacs has to choose "-unix" line encoding or it would change the file when writing it back to disk. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum