From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,d95b511473b3a931 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,d95b511473b3a931 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,d95b511473b3a931 X-Google-Attributes: gid103376,public From: john@assen.demon.co.uk (John McCabe) Subject: Re: Language Choice and Coding style Date: 1996/07/03 Message-ID: <836419222.18965.2@assen.demon.co.uk>#1/1 X-Deja-AN: 163510528 x-nntp-posting-host: assen.demon.co.uk references: <4r3bp1$cea@Starbase.NeoSoft.COM> <836339497.14712.2@assen.demon.co.uk> <4rcl9r$dss@Starbase.NeoSoft.COM> newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-07-03T00:00:00+00:00 List-Id: smize@Starbase.NeoSoft.COM (Samuel Mize) wrote: <..snip..> >True, given the current state-of-the-practice for editors. I believe >that editors exist that format the code as they read it in, to fit >your preferences. The next guy gets the code auto-formatted to HIS >preferences (if using that editor). (Or her.) Everyone sees the code >the way they like it, and how it's stored on disk is irrelevant >(the compiler won't care). I see what you mean. Presumably (in response to Jeff Dege's posting) you could also configure the editor to save the information in a pre-defined format to ensure you don't get the type of problem he mentioned with your CM diff utility. >However, I haven't seen stand-alone editors like this available >commercially, I've just seen mention of them in research articles. >The Rational editor I'm using at work gives us some of this ability, >but it's part of an expensive environment. >I'm hoping someone will post a message starting "Oh, you're talking >about editors like ..." In actual fact, to a certain extent you could do that with emacs' ada-mode by setting up the ada-mode-hook to run a formatting routine, and the exit-ada-mode-hook (or whatever it's called) to run a different one. Best Regards John McCabe