Re: XForms: fl_remove_idle_callback ?

Claes Andersson (claesand@fy.chalmers.se)
Fri, 30 May 1997 17:01:29 +0200

To subscribers of the xforms list from Claes Andersson <claesand@fy.chalmers.se> :

> This sort of thing is always annoying but I think it's a mistake to blame
> fdesign. Having to answer a confirm prompt everytime you save a design is
> also annoying and can get to be such a habit that when it really matters you
> do it wrong anyway.

Well, I didn't really blame xforms... I simply stated that the save procedure
could be more optimal. There are good ways of dealing with this that makes
life safer for other files. The problem, as I see it, is that fdesign creates
more files than you intuitively think of. As suggested in another letter by
someone (I'm sorry I can't remember your name), it could look in the beginning
of existing files with conficting name for the /* Created by fdesign...*/ and
warn if that text was missing.
>
> My suggestion is to use a naming convention which helps protect you from this
> sort of mistake. For example I prefix all my form files with D_ (for dialog)
> and files containing the supporting code I_ (for interface). All other code
> can then be safely named as you please. I'm sure there are many other
> possibilities.

And I am sure that I am perfectly capable of figuring out such tvivialities
myself... This is a question about that we in fact do make mistakes sometimes.
I know that if I name my sourcecode in another way it won't be written over.
But what happens the day I accidentally fail to follow my conventions? Do I
have to pay dearly? Other programs can deal with the simplest forms of
conflicts like that. Fdesign is one of the most useful utilities that I have
come across, but a better way of handling name conflicts would make it even
more useful.

> Another piece of advice learned from bitter experience is to backup your
> files everyday. This mearly entails copying your "project" directory to a
> backup directory before you start work in the morning. This way you will only
> loose today's work if you make a blunder like you describe.

I know, I know... I will do that in the future.. but still.. it wouldn't hurt
if fdesign told me that something bad was about to happen. It would be trivial
to implement and help sloppy people like me :-)

/Claes Andersson
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/