Depends
Mark Mandell - Gone Round In Jersey
>What's your lathe's voltage, 115 or 220? If 115 it will be ok so long as you wire the light fixture in parallel. If you put it in "series", you'd force the bulb's filament to carry all the juice going to the lathe, and your lathe would stop when the bulb burned out. Not likly a good idea. Note also that the switch you have drawn is surplus unless you plan on switching the whole lathe on and off with that switch.
If your lathe is 220, you will have to have a 4-wire supply and circuit [2 hots, 1 common, and 1 ground] which calls for a special fixture and plug because you would need the common wire available to safely take a 115 branch off the 220 line using only one of the hot leads.
Other way is to plug your lathe into a switched outlet with a telltale light in or on the switch and just leave the lathe plugged into the special outlet. That way, even with a 220 circuit you can use the simpler machine wire. You've still got to have a "common" conducter available in the outlet/switch box for the 220 application.