comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: ada writing guide
Date: 2000/04/18
Date: 2000-04-18T00:00:00+00:00	[thread overview]
Message-ID: <8di8da$4el$1@nnrp1.deja.com> (raw)
In-Reply-To: 8dhuuu$ou5$1@nnrp1.deja.com

In article <8dhuuu$ou5$1@nnrp1.deja.com>,
  Robert Dewar <robert_dewar@my-deja.com> wrote:
> In article <8dhqi7$jv3$1@nnrp1.deja.com>,
>   Ted Dennison <dennison@telepath.com> wrote:

> T.E.D. seems to be describing a system in which people use
> neither approach, and merrily destroy one anothers fixes by
> updating old versions. I would NOT call this version control
> at all.

I must be a really crappy communicator if a complaint about an emacs
configuration file being difficult to control from long-lived sessions
comes off this horribly off-target. I guess I should quit while I'm
behind, but...

Substitute "emacs" for "people", and "exception file changes" for
"fixes", and that's my exact problem with it.

Perhaps if I rephrase it this way: How easy is it for a "fix" to get
wiped out using emacs? I have used 6 different revision control systems,
but the following process will work with all of them (ClearCase requires
custom emacs lisp files, but they exist).

  First, for a normal source file:
    The file has to be explicitly opened in an emacs buffer.
    The file has to be updated outside of the emacs buffer, while the
emacs session remains running.
    The updated version has to be checked in.
    The emacs user has to check the source file out *outside* of emacs,
while it is already in the emacs buffer. Checking it out inside of emacs
would cause the buffer to get updated with the latest copy.
    If the buffer was read-only when the user loaded it, the user must
manually change it to read/write without realoading the file. This can
be done, but few would routinely do it that way with managed files.
    Next the user would have to edit the buffer (containing the older
version). This will cause emacs to dispaly a prompt asking if they
really want to edit, as this isn't the latest version. The user *must*
type a "y" to proceed.
    Next the user must save the buffer. Again, a warning will be
displayed stating that this isn't the latest version. The user must type
a y at the prompt (which they wouldn't normally have to do) to save the
file. A backup of the old file will be created by emacs.
    Finally, the user must check in the buffer (inside or outside of
emacs).

Reading over all this, it should be clear to anyone that there is *no
way* all this is going to happen on accident.

Now, for an exceptions file:
   The user starts up emacs
   A second user (or possibly the same user with a second emacs session)
checks the file out.
   The second user modifies it somehow.
   The second user checks the file in.
   The first user checks the file out.
   The first user types Ctrl-C Ctrl-Y in their emacs session.
   The first user checks the file in.

No warnings are given, no backups are made. The old version is
over-written. Even for those who know the danger, this would be easy to
accidentally do.

Again, if anyone is still confused, I'm *not* saying this can happen
with normal source files. Its a problem with the emacs Ada-mode
capitalization files, which is cheifly an artifact of the fact that the
tool that uses them never rereads them once it has started. It would be
roughly equivalent to sources only you had to issue some special command
or reboot every time you wanted your compiler to read the latest source
files from disk.

--
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-04-18  0:00 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-12  0:00 ada writing guide Riyaz Mansoor
2000-04-12  0:00 ` Robert Dewar
2000-04-13  0:00   ` Riyaz Mansoor
2000-04-13  0:00     ` Jean-Marc Bourguet
2000-04-15  0:00     ` Robert Dewar
2000-04-12  0:00 ` Ted Dennison
2000-04-12  0:00   ` Robert Dewar
2000-04-13  0:00     ` Ted Dennison
2000-04-13  0:00     ` Jeffrey D. Cherry
2000-04-13  0:00       ` Ted Dennison
2000-04-13  0:00         ` Ray Blaak
2000-04-13  0:00         ` Jeffrey D. Cherry
2000-04-13  0:00           ` Robert A Duff
2000-04-13  0:00           ` Ted Dennison
2000-04-14  0:00             ` Pascal Obry
2000-04-14  0:00               ` Ted Dennison
2000-04-14  0:00                 ` Pascal Obry
2000-04-17  0:00                   ` Ted Dennison
2000-04-17  0:00                     ` Florian Weimer
2000-04-17  0:00                       ` Ted Dennison
2000-04-17  0:00                         ` Ted Dennison
2000-04-18  0:00                         ` Robert Dewar
2000-04-18  0:00                           ` Ted Dennison
2000-04-18  0:00                             ` Robert Dewar
2000-04-18  0:00                               ` Ted Dennison [this message]
2000-04-18  0:00                                 ` Brian Courtney
2000-04-19  0:00                                   ` Brian Courtney
2000-04-19  0:00                                   ` Florian Weimer
2000-04-19  0:00                                 ` Florian Weimer
2000-04-19  0:00                                   ` Robert Dewar
2000-04-20  0:00                                     ` Ted Dennison
2000-04-20  0:00                                       ` Florian Weimer
2000-04-20  0:00                                         ` Ted Dennison
2000-04-19  0:00                                   ` Ted Dennison
2000-04-24  0:00                                     ` Samuel T. Harris
2000-04-24  0:00                                   ` Samuel T. Harris
2000-04-24  0:00                                     ` Robert A Duff
2000-04-25  0:00                                     ` Robert Dewar
2000-04-27  0:00                                       ` Samuel T. Harris
2000-04-20  0:00                         ` Emmanuel Briot
2000-04-20  0:00                           ` Ted Dennison
2000-04-20  0:00                         ` Samuel T. Harris
2000-04-20  0:00                           ` Ted Dennison
2000-04-21  0:00                             ` Robert Dewar
     [not found]                               ` <38FFd43e.70f1bb7d@telepath.com>
2000-04-21  0:00                                 ` Larry Kilgallen
2000-04-21  0:00                               ` Ted Dennison
2000-04-21  0:00                             ` Robert Dewar
2000-04-24  0:00                             ` Samuel T. Harris
2000-04-24  0:00                               ` Robert A Duff
2000-04-27  0:00                                 ` Samuel T. Harris
2000-04-16  0:00           ` Simon Wright
2000-04-16  0:00             ` Robert Dewar
2000-04-15  0:00         ` Robert Dewar
2000-04-16  0:00           ` Simon Wright
2000-04-13  0:00       ` Paul Graham
2000-04-13  0:00       ` Samuel T. Harris
2000-04-13  0:00   ` Riyaz Mansoor
2000-04-13  0:00     ` Ted Dennison
2000-04-13  0:00     ` David C. Hoos, Sr.
2000-04-14  0:00 ` Riyaz Mansoor
2000-04-14  0:00   ` Ted Dennison
2000-04-14  0:00     ` Marin D. Condic
2000-04-14  0:00   ` tmoran
2000-04-14  0:00     ` David C. Hoos, Sr.
2000-04-15  0:00       ` tmoran
2000-04-17  0:00         ` Marc A. Criley
2000-04-15  0:00       ` Robert Dewar
2000-04-17  0:00       ` Ted Dennison
2000-04-18  0:00         ` Geoff Bull
2000-04-14  0:00   ` Robert A Duff
2000-04-15  0:00   ` Robert Dewar
2000-04-15  0:00     ` Marin D. Condic
2000-04-15  0:00       ` Ken Garlington
2000-04-27  0:00         ` gbull
2000-04-16  0:00       ` Ehud Lamm
2000-04-15  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox