From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: File truncated at ^Z character in windows Date: Sat, 14 Feb 2004 08:43:36 +0000 Organization: muc.de e.V. -- private internet access Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1076761307 11532 80.91.224.253 (14 Feb 2004 12:21:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2004 12:21:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 13:21:37 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Arynh-0006ZW-00 for ; Sat, 14 Feb 2004 13:21:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Arymy-0005y3-Ag for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Feb 2004 07:20:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!easynews.net!newsfeed3.easynews.net!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1076760552 40183 193.149.49.134 (14 Feb 2004 12:09:12 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 14 Feb 2004 12:09:12 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:120899 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:16848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16848 John Russell wrote on 13 Feb 2004 16:03:04 -0500: > I just moved my all my emacs customization stuff to windows. > Everything seems to work ok except for one thing. > One of the files stops when it sees a ^Z character. [ .... ] > And that's it. That's the end of the file. Does anyone know what is > special about the ^Z character that makes the file end like that? I seem to remember from my long lost dark ages (~1986) that MS-DOS text files were expected to end in an End-Of-File character. Yes, you've guessed it, ASCII 26, EOF, ^Z. It was a pain in the posterior even then. > Thanks for the help. Two suggestions: (i) write the ^Z as an octal escape sequence, or something like that; (ii) move your customization stuff back to a free system again. ;-) > John -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").