|
From: Ethan M. <merritt@u.washington.edu> - 2003-10-24 19:29:59
|
On Friday 24 October 2003 12:06, Daniel J Sebald wrote:
> I've added the necessary checks for duplicate entry. At
> the end is a #define switch:
>
> if (duplication) {
> #if NOT_PROCESS_IF_DUPLICATION
> int_error(c_token-1, "duplicated or contradicting arguments in
> X11 term options");
> #else
> if (!shown_warning)
> int_warn(c_token-1, "duplicated or contradicting arguments
> in X11 term options");
> shown_warning =3D TRUE;
> #endif
> }
Let's not proliferate conditional code. Go for one or the
other (error or warning).
> So it works fine. But I recall something now. I believe there
> was a discussion a while back about the ability to close a
> single X11 graph from the command line. So perhaps if both
> a "reset" and a number appear in the options, only the plot
> associated with that number could be closed. Right now it
> will reset the whole thing (i.e., close all windows) and then
> switch to plot number. How does that sound?
I think that should be a separate command. "reset" and
"close" do not mean the same thing to me.
I did try to add that feature a while ago, but it turned out to
be harder than it sounded at first blush. So it remains on the
list of things that would be nice but are non-trivial.
--=20
Ethan A Merritt merritt@u.washington.edu
Biomolecular Structure Center Box 357742
University of Washington, Seattle, WA 98195
|