On 27 Feb 2002 13:12:02 +0100, Dominik Vogt wrote:
> 
> On Wed, Feb 27, 2002 at 11:40:51AM +0000, Mikhael Goikhman wrote:
> > 
> > If you think this is a mix, yes, but it is not different from this:
> > 
> >   Current (foobar) Next (foobar2) Close
> > 
> > For me it should return:
> > 
> >   * Current syntax: SyntaxError
> >   * Current failed: NoMatch
> >   * Next syntax:    SyntaxError
> >   * Next failed:    NoMatch
> >   * Close syntax:   SyntaxError
> >   * Close passed:   Success
> >   * Close failed:   NoWindow
> > 
> > What should it return as it is now? Which is more useful? :)
> 
> I don't know, but I do know that you did not get the idea what the
> "error" return code stands for in the current code.  The idea was
> to use it if the pre conditions to run the command at all are not
> fulfilled, e.g.  if you issue "Pick" but select no window.  This
> is quite different from syntax errors.  Handling syntax errors may
> not be necessary at all.  Fvwm already prints error messages in
> this case.

Of course, "Error" (better to be "Canceled") as it is now has nothing to
do with "SyntaxError" or "NoFile" or "NoWindow" that I used as future
status codes.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to