Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: djgpp AT delorie DOT com Date: Fri, 3 Jul 1998 11:26:14 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: C++ and RHIDE In-reply-to: Precedence: bulk sl AT psycode DOT com DOT NOSPAM (Gili) wrote: > On Thu, 2 Jul 1998 15:25:18, "Salvador Eduardo Tropea (SET)" > 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