www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/03/10:20:32

Message-Id: <m0ys6gS-000S3nC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: djgpp AT delorie DOT com
Date: Fri, 3 Jul 1998 11:26:14 +0000
MIME-Version: 1.0
Subject: Re: C++ and RHIDE
In-reply-to: <bWLoegW7sFse-pn2-Pb1R2teSpSCo@portX07.lanzen.net>

sl AT psycode DOT com DOT NOSPAM (Gili) wrote:

> On Thu, 2 Jul 1998 15:25:18, "Salvador Eduardo Tropea (SET)" 
> <salvador AT inti DOT gov DOT ar> wrote:
> 
> > As Eli points you'll see all the stuff after the EOF character. What 
> > Emacs uses (and don't really like it) is a comment in the first line. 
> > You can use any kind of comment line supporte by your language, Emacs 
> > looks for a word enclosed between -*- markers.
> > I don't like it but looks like the only option for files without 
> > extentions.
> 
> 
> 	Call me silly, 

I don't have a reason for it ;-))

> but aren't editors suppose to stop reading in 
> textfiles at the EOF character? Isn't that the specification of some 
> standard? 

No, that's an M$-DOS idea. If you use some of the "cooked" DOS calls 
you'll stop reading at the ASCII 26, or when printing (writing to a 
printer device) DOS will skip this byte (isn't nice when you are 
printing a graphic because the printer gets very mad).
I don't think is a good idea to stop at ASCII 26

> Anyway, why not simply stick that comment you discussed at 
> the END of the file (after the EOF character) and that way some 
> editors won't see it altogether..

It isn't a very good idea, suppose you have an editor X that stops at 
the EOF character. Now suppose X loads the file with the comment 
AFTER EOF ... got the idea? X won't even load the comment and of 
course X won't write it to disk so you will lose it.

In my editor (no in RHIDE) you can make the editor to remmember the 
highlight of any file just adding it to the project window. But in 
RHIDE it don't have any sense because headers aren't project items.

I think I'll add a new entry to the SHL file called "EmacsStyleName" 
or something like that to support the Emacs methode. This methode is 
very dirty but I don't see a better solution.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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