delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/12/14:16:50

From: "gunno" <gunno-delete-spamstop AT telia DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Emacs questions
Lines: 38
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <%Sw2a.34$qB6.128@newsc.telia.net>
Date: Wed, 12 Feb 2003 19:02:19 GMT
NNTP-Posting-Host: 213.64.22.177
X-Complaints-To: abuse AT telia DOT com
X-Trace: newsc.telia.net 1045076539 213.64.22.177 (Wed, 12 Feb 2003 20:02:19 CET)
NNTP-Posting-Date: Wed, 12 Feb 2003 20:02:19 CET
Organization: Telia Internet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1CJF6232765
Reply-To: djgpp AT delorie DOT com

Examples of the same file loaded into Emacs:

1:
------------------


RemP, 2413 tkn
OrtP, 6534 tkn
-------<snip>------

2:
---------------------



emP, 2413 tkn
OrtP, 6534 tkn
-----<snip>--

The file starts with two newlines, so the picture given by 1 is correct.
But what causes the file to look like example 2 in Emacs? Sometimes.
(spent time debugging the program producing the file until I realized
it was Emacs joking ... ;-)


My second question.
Is there an easy way of switching Emacs from Text mode
to Binary mode ?
(If for instance you want to save a region from a file Emacs
consider as text although it isn't.   OK, you could always
rename the file as foo.exe and reload it into Emacs, but ...)

I'm using a rather old version
GNU Emacs 19.34 (i386-unknown-ms-os)

Thanks,
Gunno

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019