FVWM: Re: Empty function arguments (was Re: Finally moved to 2.2 etc etc)

From: David S. Goldberg <dsg_at_mitre.org>
Date: 20 May 1999 16:47:07 -0400

> It should. It must be started:

> "Module FvwmForm MyQuitVerify".

No amount of quoting helps. Here's a trace having put some Echo's
into the functions:

In FvwmConsole I try

warp-or-run MyQuitVerify FvwmForm MyQuitVerify or
warp-or-run MyQuitVerify "FvwmForm MyQuitVerify" or
warp-or-run MyQuitVerify 'FvwmForm MyQuitVerify'

All three result in

[FVWM][Echo]: Next (MyQuitVerify CirculateHit) myfocus 50 50 Iconify -1
[FVWM][Echo]: None (MyQuitVerify CirculateHit) run-then-warp MyQuitVerify FvwmForm MyQuitVerify $2 $3 $4 $5 $6 $7 $8 $9
[FVWM][Echo]: run-then-warp MyQuitVerify FvwmForm MyQuitVerify $2 $3 $4 $5 $6 $7 $8
[FVWM][Echo]: Wait MyQuitVerify
X Error of failed request: BadValue (integer parameter out of range for operation)
  Major opcode of failed request: 1 (X_CreateWindow)
  Value in failed request: 0x0
  Serial number of failed request: 31
  Current serial number in output stream: 41
        
with the only difference being whether $2 or $3 shows up as the first
$ arg in the call to run-then-warp. In 2.0.46, the extraneous $ args
were evaluated to nothing and didn't show up in such a trace (and the
function worked).
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg_at_mitre.org
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu May 20 1999 - 15:48:14 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST